| <?php |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| ?> |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php tpl::lang('lang_iso_code') ?>" |
| lang="<?php tpl::lang('lang_iso_code') ?>" dir="<?php tpl::lang('lang_direction') ?>"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=<?php tpl::lang('lang_encoding') ?>" /> |
| <title><?php tpl::headTitlePage() ?></title> |
| <link rel="stylesheet" type="text/css" href="<?php tpl::url('forums') ?>style/<?php tpl::user('style') ?>.css" /> |
| <link rel="stylesheet" type="text/css" href="<?php tpl::url('template') ?>style.css" /> |
| <link rel="stylesheet" type="text/css" href="<?php tpl::urlFile('news/news.css') ?>" /> |
| <?php news::headRss() ?> |
| <script type="text/javascript" src="<?php tpl::url('themes') ?>common/js/common.js"></script> |
| <?php tpl::headExtra() ?> |
| <?php headJsIe() ?> |
| </head> |
| <body> |
| |
| <div id="punwrap"> |
| <div class="pun"> |
| |
| <?php |
| tpl::top() ?> |
| |
| <div id="puntal_main"> |
| <div id="puntal_content"> |
| <?php |
| tpl::bloc('edito') ?> |
| |
| <?php |
| if (news::isStatic()) : ?> |
| <?php news::getStaticNews('<p>%s</p>') ?> |
| |
| <?php |
| else : ?> |
| <?php |
| while ($news->fetch()) : ?> |
| <div class="block"> |
| |
| <h2 class="news"><span><a href="<?php tpl::url('forums') ?>viewtopic.php?id=<?php news::tid() ?>" title="<?php tpl::lang('Read') ?> <?php news::title() ?>"><?php news::title() ?></a></span></h2> |
| <div class="box"> |
| <div class="inbox"> |
| <?php news::avatar() ?> |
| <?php news::message() ?> |
| <p class="infos clearb"> |
| <?php tpl::lang('Written by') ?> <a href="<?php tpl::url('forums') ?>profile.php?id=<?php news::uid() ?>" title="<?php tpl::lang('See profile of') ?> <?php news::author() ?>"><?php news::author() ?></a> <?php tpl::lang('on') ?> <?php news::date() ?> <?php tpl::lang('in') ?> <a href="<?php tpl::url('forums') ?>viewforum.php?id=<?php news::forumId() ?>"><?php news::forumName() ?></a> |
| <br /> |
| <a href="<?php tpl::url('forums') ?>viewtopic.php?id=<?php news::tid() ?>&action=new" title="<?php tpl::lang('See comments of') ?> <?php news::title() ?>"><?php news::comments() ?></a> |
| | <a href="<?php tpl::url('forums') ?>viewtopic.php?id=<?php news::tid() ?>"><?php news::reads() ?></a></p> |
| </div> |
| </div> |
| </div> |
| <?php endwhile; ?> |
| <?php endif; ?> |
| |
| </div> |
| </div> |
| |
| <div id="puntal_sidebar"> |
| <?php tpl::blocsNav() ?> |
| <?php tpl::blocsExtra() ?> |
| |
| <?php |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| ?> |
| |
| </div> |
| <div class="clearer"></div> |
| |
| <?php |
| tpl::bottom() ?> |
| |
| </div> |
| </div> |
| |
| </body> |
| </html> |