Вход Регистрация
Файл: apwa/cache/tpl_mobile_portal_index_body.html.php
Строк: 122
<?php if (!defined('IN_PHPBB')) exit; $this->_tpl_include('overall_header.html'); ?>

<div class="row1">
    <?php if ($this->_rootref['S_USER_LOGGED_IN'] && ! $this->_rootref['S_IS_BOT']) {  ?>

    <a href="<?php echo (isset($this->_rootref['U_PROFILE'])) ? $this->_rootref['U_PROFILE'] : ''?>" title="<?php echo ((isset($this->_rootref['L_PROFILE'])) ? $this->_rootref['L_PROFILE'] : ((isset($user->lang['PROFILE'])) ? $user->lang['PROFILE'] : '{ PROFILE }')); ?> <?php echo (isset($this->_rootref['S_USERNAME'])) ? $this->_rootref['S_USERNAME'] : ''?>" class="avatar rt"><?php echo (isset($this->_rootref['SITE_AVATAR_IMG'])) ? $this->_rootref['SITE_AVATAR_IMG'] : ''?></a><?php ?>

 <?php echo (isset($this->_rootref['WELCOME_USER'])) ? $this->_rootref['WELCOME_USER'] : ''?>

</div>
<?php if ($this->_rootref['ANNO_TEXT']) {  ?><div class="row1"><?php echo (isset($this->_rootref['ANNO_TITLE'])) ? $this->_rootref['ANNO_TITLE'] : ''?><br /><?php echo (isset($this->_rootref['ANNO_TEXT'])) ? $this->_rootref['ANNO_TEXT'] : ''?></div><?php } if ($this->_rootref['S_DISPLAY_SEARCH']) {  ?>

<div class="row1">
<a href="<?php echo (isset($this->_rootref['U_SEARCH'])) ? $this->_rootref['U_SEARCH'] : ''?>"><?php echo ((isset($this->_rootref['L_SEARCH'])) ? $this->_rootref['L_SEARCH'] : ((isset($user->lang['SEARCH'])) ? $user->lang['SEARCH'] : '{ SEARCH }')); ?></a> | <a href="<?php echo (isset($this->_rootref['U_SEARCH_ACTIVE_TOPICS'])) ? $this->_rootref['U_SEARCH_ACTIVE_TOPICS'] : ''?>"><?php echo ((isset($this->_rootref['L_SEARCH_ACTIVE_TOPICS'])) ? $this->_rootref['L_SEARCH_ACTIVE_TOPICS'] : ((isset($user->lang['SEARCH_ACTIVE_TOPICS'])) ? $user->lang['SEARCH_ACTIVE_TOPICS'] : '{ SEARCH_ACTIVE_TOPICS }')); ?></a>
<?php if ($this->_rootref['S_USER_LOGGED_IN']) {  ?> | <a href="<?php echo (isset($this->_rootref['U_SEARCH_NEW'])) ? $this->_rootref['U_SEARCH_NEW'] : ''?>"><?php echo ((isset($this->_rootref['L_SEARCH_NEW'])) ? $this->_rootref['L_SEARCH_NEW'] : ((isset($user->lang['SEARCH_NEW'])) ? $user->lang['SEARCH_NEW'] : '{ SEARCH_NEW }')); ?></a> | <a href="./news.php">Новости мира</a><?php ?>

</div>
<?php ?>

<div class="tab clear"><a href="<?php echo (isset($this->_rootref['U_INDEX'])) ? $this->_rootref['U_INDEX'] : ''?>"><img src="<?php echo (isset($this->_rootref['T_THEME_PATH'])) ? $this->_rootref['T_THEME_PATH'] : ''?>/images/icon_mini_forums.gif" alt="" /> <?php echo ((isset($this->_rootref['L_FORUM'])) ? $this->_rootref['L_FORUM'] : ((isset($user->lang['FORUM'])) ? $user->lang['FORUM'] : '{ FORUM }')); ?></a>
<span class="rt">[<?php echo (isset($this->_rootref['TOTAL_TOPICS'])) ? $this->_rootref['TOTAL_TOPICS'] : ''?>/<?php echo (isset($this->_rootref['TOTAL_POSTS'])) ? $this->_rootref['TOTAL_POSTS'] : ''?>]</span></div>
<?php if ($this->_rootref['S_DISPLAY_RECENT']) {  $_recent_posts_count = (isset($this->_tpldata['recent_posts'])) ? sizeof($this->_tpldata['recent_posts']) : 0;if ($_recent_posts_count) {for ($_recent_posts_i 0$_recent_posts_i $_recent_posts_count; ++$_recent_posts_i){$_recent_posts_val = &$this->_tpldata['recent_posts'][$_recent_posts_i]; ?>

<div class="row<?php if (!($_recent_posts_val['S_ROW_COUNT'] & 1)  ) {  ?>_hard<?php } else { ?>_easy<?php ?>">
<a href="<?php echo $_recent_posts_val['U_VIEW_TOPIC']; ?>" title="<?php echo $_recent_posts_val['FULL_TITLE']; ?>"><?php echo $_recent_posts_val['TITLE']; ?></a> (<a href="<?php echo $_recent_posts_val['U_LAST_POST']; ?>"<?php if ($_recent_posts_val['S_UNREAD_TOPIC']) {  ?> style="color:red"<?php ?> title="<?php echo ((isset($this->_rootref['L_RECENT_NEWS'])) ? $this->_rootref['L_RECENT_NEWS'] : ((isset($user->lang['RECENT_NEWS'])) ? $user->lang['RECENT_NEWS'] : '{ RECENT_NEWS }')); ?>"><?php echo $_recent_posts_val['TOPIC_REPLIES']; ?></a>)
</div>
<?php }} } if ($this->_rootref['U_GALLERY_MOD']) {  ?>

<div class="tab">
<a href="<?php echo (isset($this->_rootref['U_GALLERY_MOD'])) ? $this->_rootref['U_GALLERY_MOD'] : ''?>"><img src="<?php echo (isset($this->_rootref['T_THEME_PATH'])) ? $this->_rootref['T_THEME_PATH'] : ''?>/images/icon_mini_gallery.gif" alt="" /> <?php echo ((isset($this->_rootref['L_GALLERY_EXPLAIN'])) ? $this->_rootref['L_GALLERY_EXPLAIN'] : ((isset($user->lang['GALLERY_EXPLAIN'])) ? $user->lang['GALLERY_EXPLAIN'] : '{ GALLERY_EXPLAIN }')); ?></a>
<span class="rt">[<?php echo (isset($this->_rootref['TOTAL_IMAGES'])) ? $this->_rootref['TOTAL_IMAGES'] : ''?>/<?php echo (isset($this->_rootref['TOTAL_COMMENTS'])) ? $this->_rootref['TOTAL_COMMENTS'] : ''?>]</span><br class="clear" /></div>
<?php ?>

<table width="100%" cellpadding="2" cellspacing="2" border="0" class="row1">
<?php $_imageblock_count = (isset($this->_tpldata['imageblock'])) ? sizeof($this->_tpldata['imageblock']) : 0;if ($_imageblock_count) {for ($_imageblock_i 0$_imageblock_i $_imageblock_count; ++$_imageblock_i){$_imageblock_val = &$this->_tpldata['imageblock'][$_imageblock_i]; $_imagerow_count = (isset($_imageblock_val['imagerow'])) ? sizeof($_imageblock_val['imagerow']) : 0;if ($_imagerow_count) {for ($_imagerow_i 0$_imagerow_i $_imagerow_count; ++$_imagerow_i){$_imagerow_val = &$_imageblock_val['imagerow'][$_imagerow_i]; ?>

<tr>
<?php $_image_count = (isset($_imagerow_val['image'])) ? sizeof($_imagerow_val['image']) : 0;if ($_image_count) {for ($_image_i 0$_image_i $_image_count; ++$_image_i){$_image_val = &$_imagerow_val['image'][$_image_i]; ?>

<td style="width:<?php echo $_imageblock_val['S_COL_WIDTH']; ?>;" class="gall"><?php echo $_image_val['UC_THUMBNAIL']; ?></td>
<?php }} ?>

</tr>
<?php }} }} ?>

</table>
<div class="tab clear"><a href="<?php echo (isset($this->_rootref['U_MEMBERLIST'])) ? $this->_rootref['U_MEMBERLIST'] : ''?>"><img src="<?php echo (isset($this->_rootref['T_THEME_PATH'])) ? $this->_rootref['T_THEME_PATH'] : ''?>/images/icon_mini_members.gif" alt="" /> <?php echo ((isset($this->_rootref['L_MEMBERLIST'])) ? $this->_rootref['L_MEMBERLIST'] : ((isset($user->lang['MEMBERLIST'])) ? $user->lang['MEMBERLIST'] : '{ MEMBERLIST }')); ?></a>
<span class="rt">[<?php echo (isset($this->_rootref['TOTAL_USERS'])) ? $this->_rootref['TOTAL_USERS'] : ''?>]</span></div>
<div class="link">
<div class="row1"><a href="<?php echo (isset($this->_rootref['U_TEAM'])) ? $this->_rootref['U_TEAM'] : ''?>"><img src="<?php echo (isset($this->_rootref['T_THEME_PATH'])) ? $this->_rootref['T_THEME_PATH'] : ''?>/images/icon_mini_groups.gif" alt=""/> <?php echo ((isset($this->_rootref['L_THE_TEAM'])) ? $this->_rootref['L_THE_TEAM'] : ((isset($user->lang['THE_TEAM'])) ? $user->lang['THE_TEAM'] : '{ THE_TEAM }')); ?></a></div>
<?php if ($this->_rootref['U_MEDALS']) {  ?>

<div class="row1"><a href="<?php echo (isset($this->_rootref['U_MEDALS'])) ? $this->_rootref['U_MEDALS'] : ''?>"><img src="<?php echo (isset($this->_rootref['T_THEME_PATH'])) ? $this->_rootref['T_THEME_PATH'] : ''?>/images/icon_medal.gif" alt=""/> <?php echo ((isset($this->_rootref['L_MEDALS_VIEW'])) ? $this->_rootref['L_MEDALS_VIEW'] : ((isset($user->lang['MEDALS_VIEW'])) ? $user->lang['MEDALS_VIEW'] : '{ MEDALS_VIEW }')); ?></a></div><?php } if ($this->_rootref['S_DISPLAY_TOPLIST']) {  ?>

<div class="row1">
<a href="<?php echo (isset($this->_rootref['U_REPUT_TOPLIST'])) ? $this->_rootref['U_REPUT_TOPLIST'] : ''?>" title="<?php echo ((isset($this->_rootref['L_REPUT_TOPLIST'])) ? $this->_rootref['L_REPUT_TOPLIST'] : ((isset($user->lang['REPUT_TOPLIST'])) ? $user->lang['REPUT_TOPLIST'] : '{ REPUT_TOPLIST }')); ?>"><img src="<?php echo (isset($this->_rootref['T_THEME_PATH'])) ? $this->_rootref['T_THEME_PATH'] : ''?>/images/icon_mini_thanks.gif" alt=""/> <?php echo ((isset($this->_rootref['L_GRATITUDES'])) ? $this->_rootref['L_GRATITUDES'] : ((isset($user->lang['GRATITUDES'])) ? $user->lang['GRATITUDES'] : '{ GRATITUDES }')); ?></a></div>
<?php } if ($this->_rootref['U_MCP']) {  ?>

<div class="row1"><a href="<?php echo (isset($this->_rootref['U_MCP'])) ? $this->_rootref['U_MCP'] : ''?>"><img src="<?php echo (isset($this->_rootref['T_THEME_PATH'])) ? $this->_rootref['T_THEME_PATH'] : ''?>/images/icon_mini_groups.gif" alt=""/> <?php echo ((isset($this->_rootref['L_MCP'])) ? $this->_rootref['L_MCP'] : ((isset($user->lang['MCP'])) ? $user->lang['MCP'] : '{ MCP }')); ?></a></div><?php } if ($this->_rootref['U_ACP']) {  ?>

<div class="row1"><a href="<?php echo (isset($this->_rootref['U_ACP'])) ? $this->_rootref['U_ACP'] : ''?>"><img src="<?php echo (isset($this->_rootref['T_THEME_PATH'])) ? $this->_rootref['T_THEME_PATH'] : ''?>/images/icon_mini_blogs.gif" alt=""/> <?php echo ((isset($this->_rootref['L_ACP'])) ? $this->_rootref['L_ACP'] : ((isset($user->lang['ACP'])) ? $user->lang['ACP'] : '{ ACP }')); ?></a></div><?php ?>

</div>
<?php if (sizeof($this->_tpldata['recent_topics'])) {  ?>

<div class="tab"><?php echo ((isset($this->_rootref['L_RECENT_TOPICS'])) ? $this->_rootref['L_RECENT_TOPICS'] : ((isset($user->lang['RECENT_TOPICS'])) ? $user->lang['RECENT_TOPICS'] : '{ RECENT_TOPICS }')); ?></div>
    <?php $_recent_topics_count = (isset($this->_tpldata['recent_topics'])) ? sizeof($this->_tpldata['recent_topics']) : 0;if ($_recent_topics_count) {for ($_recent_topics_i 0$_recent_topics_i $_recent_topics_count; ++$_recent_topics_i){$_recent_topics_val = &$this->_tpldata['recent_topics'][$_recent_topics_i]; ?>

    <div class="row1">
        <a href="<?php echo $_recent_topics_val['U_VIEW_TOPIC']; ?>" title="<?php echo $_recent_topics_val['FULL_TITLE']; ?>"><?php echo $_recent_topics_val['TITLE']; ?></a>
        <a href="<?php echo $_recent_topics_val['U_LAST_POST']; ?>"<?php if ($_recent_topics_val['S_UNREAD_TOPIC']) {  ?> style="color:red"<?php ?>>(<?php echo $_recent_topics_val['TOPIC_REPLIES']; ?>)</a>
    </div>
    <?php }} } if ($this->_rootref['S_DISPLAY_BIRTHDAY_LIST'] && $this->_rootref['BIRTHDAY_LIST']) {  echo ((isset($this->_rootref['L_CONGRATULATIONS'])) ? $this->_rootref['L_CONGRATULATIONS'] : ((isset($user->lang['CONGRATULATIONS'])) ? $user->lang['CONGRATULATIONS'] : '{ CONGRATULATIONS }')); ?><?php echo (isset($this->_rootref['BIRTHDAY_LIST'])) ? $this->_rootref['BIRTHDAY_LIST'] : ''?><br /><?php } if ($this->_rootref['WHO_WAS_HERE_TOTAL']) {  ?>

<p class="gensmall">Недавно заходили</p>
<?php echo (isset($this->_rootref['WHO_WAS_HERE_LIST'])) ? $this->_rootref['WHO_WAS_HERE_LIST'] : ''?><br />
<?php } else if ($this->_rootref['U_ACP']) {  ?>

<p><?php echo ((isset($this->_rootref['L_WHO_WAS_HERE'])) ? $this->_rootref['L_WHO_WAS_HERE'] : ((isset($user->lang['WHO_WAS_HERE'])) ? $user->lang['WHO_WAS_HERE'] : '{ WHO_WAS_HERE }')); ?></p>
<?php echo ((isset($this->_rootref['L_WWH_UPDATE_NEED'])) ? $this->_rootref['L_WWH_UPDATE_NEED'] : ((isset($user->lang['WWH_UPDATE_NEED'])) ? $user->lang['WWH_UPDATE_NEED'] : '{ WWH_UPDATE_NEED }')); ?><br />
<?php ?>

<?php echo (isset($this->_rootref['NEWEST_USER'])) ? $this->_rootref['NEWEST_USER'] : ''?>

<form method="post" action="forum.php">
<div class="select"><select name="style_css"><?php echo (isset($this->_rootref['S_STYLE_CSS_OPTIONS'])) ? $this->_rootref['S_STYLE_CSS_OPTIONS'] : ''?></select><input type="submit" value="Go!" class="subbutton" /></div></form>
<?php $this->_tpl_include('overall_footer.html'); ?>
Онлайн: 1
Реклама