Файл: apwa/cache/tpl_red-gold_viewforum_body.html.php
Строк: 386
<?php if (!defined('IN_PHPBB')) exit; $this->_tpl_include('overall_header.html'); ?>
<h3 class="panel-header"><span class="panel-icon bc-links"><a href="<?php echo (isset($this->_rootref['U_INDEX'])) ? $this->_rootref['U_INDEX'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_INDEX'])) ? $this->_rootref['L_INDEX'] : ((isset($user->lang['INDEX'])) ? $user->lang['INDEX'] : '{ INDEX }')); ?>" accesskey="h"><i class="icon-home"></i></a></span>
<ul class="linklist navlinks">
<li><?php $_navlinks_count = (isset($this->_tpldata['navlinks'])) ? sizeof($this->_tpldata['navlinks']) : 0;if ($_navlinks_count) {for ($_navlinks_i = 0; $_navlinks_i < $_navlinks_count; ++$_navlinks_i){$_navlinks_val = &$this->_tpldata['navlinks'][$_navlinks_i]; ?> <strong> » </strong> <a href="<?php echo $_navlinks_val['U_VIEW_FORUM']; ?>"><?php echo $_navlinks_val['FORUM_NAME']; ?></a><?php }} ?></li>
</ul>
</h3>
<div class="panel">
<h2><a href="<?php echo (isset($this->_rootref['U_VIEW_FORUM'])) ? $this->_rootref['U_VIEW_FORUM'] : ''; ?>"><?php echo (isset($this->_rootref['FORUM_NAME'])) ? $this->_rootref['FORUM_NAME'] : ''; ?></a></h2>
<?php if ($this->_rootref['FORUM_DESC'] || $this->_rootref['MODERATORS'] || $this->_rootref['U_MCP']) { ?><!-- NOTE: remove the style="display: none" when you want to have the forum description on the forum body --><?php if ($this->_rootref['FORUM_DESC']) { ?><div style="display: none !important;"><?php echo (isset($this->_rootref['FORUM_DESC'])) ? $this->_rootref['FORUM_DESC'] : ''; ?><br /></div><?php } if ($this->_rootref['MODERATORS']) { ?><p><strong><?php if ($this->_rootref['S_SINGLE_MODERATOR']) { echo ((isset($this->_rootref['L_MODERATOR'])) ? $this->_rootref['L_MODERATOR'] : ((isset($user->lang['MODERATOR'])) ? $user->lang['MODERATOR'] : '{ MODERATOR }')); } else { echo ((isset($this->_rootref['L_MODERATORS'])) ? $this->_rootref['L_MODERATORS'] : ((isset($user->lang['MODERATORS'])) ? $user->lang['MODERATORS'] : '{ MODERATORS }')); } ?>:</strong> <?php echo (isset($this->_rootref['MODERATORS'])) ? $this->_rootref['MODERATORS'] : ''; ?></p><?php } } if ($this->_rootref['S_FORUM_RULES']) { ?>
<div class="rules">
<?php if ($this->_rootref['U_FORUM_RULES']) { ?>
<a href="<?php echo (isset($this->_rootref['U_FORUM_RULES'])) ? $this->_rootref['U_FORUM_RULES'] : ''; ?>"><?php echo ((isset($this->_rootref['L_FORUM_RULES'])) ? $this->_rootref['L_FORUM_RULES'] : ((isset($user->lang['FORUM_RULES'])) ? $user->lang['FORUM_RULES'] : '{ FORUM_RULES }')); ?></a>
<?php } else { ?>
<strong><?php echo ((isset($this->_rootref['L_FORUM_RULES'])) ? $this->_rootref['L_FORUM_RULES'] : ((isset($user->lang['FORUM_RULES'])) ? $user->lang['FORUM_RULES'] : '{ FORUM_RULES }')); ?></strong><br />
<?php echo (isset($this->_rootref['FORUM_RULES'])) ? $this->_rootref['FORUM_RULES'] : ''; ?>
<?php } ?>
</div>
<?php } if ($this->_rootref['S_DISPLAY_POST_INFO'] || $this->_rootref['PAGINATION'] || $this->_rootref['TOTAL_POSTS'] || $this->_rootref['TOTAL_TOPICS']) { ?>
<div class="topic-actions">
<?php if (! $this->_rootref['S_IS_BOT'] && $this->_rootref['S_DISPLAY_POST_INFO']) { ?>
<div class="buttons">
<?php if ($this->_rootref['S_IS_LOCKED']) { ?>
<a href="<?php echo (isset($this->_rootref['U_POST_NEW_TOPIC'])) ? $this->_rootref['U_POST_NEW_TOPIC'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_FORUM_LOCKED'])) ? $this->_rootref['L_FORUM_LOCKED'] : ((isset($user->lang['FORUM_LOCKED'])) ? $user->lang['FORUM_LOCKED'] : '{ FORUM_LOCKED }')); ?>"><span class="button-icon"><i class="icon-lock"></i></span><?php echo ((isset($this->_rootref['L_FORUM_LOCKED'])) ? $this->_rootref['L_FORUM_LOCKED'] : ((isset($user->lang['FORUM_LOCKED'])) ? $user->lang['FORUM_LOCKED'] : '{ FORUM_LOCKED }')); ?></a><?php } else { ?>
<a href="<?php echo (isset($this->_rootref['U_POST_NEW_TOPIC'])) ? $this->_rootref['U_POST_NEW_TOPIC'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_POST_TOPIC'])) ? $this->_rootref['L_POST_TOPIC'] : ((isset($user->lang['POST_TOPIC'])) ? $user->lang['POST_TOPIC'] : '{ POST_TOPIC }')); ?>"><span class="button-icon"><i class="icon-doc-new"></i></span><?php echo ((isset($this->_rootref['L_POST_TOPIC'])) ? $this->_rootref['L_POST_TOPIC'] : ((isset($user->lang['POST_TOPIC'])) ? $user->lang['POST_TOPIC'] : '{ POST_TOPIC }')); ?></a>
<?php } ?></div>
<?php } if ($this->_rootref['S_DISPLAY_SEARCHBOX']) { ?>
<div class="search-box">
<form method="get" id="forum-search" action="<?php echo (isset($this->_rootref['S_SEARCHBOX_ACTION'])) ? $this->_rootref['S_SEARCHBOX_ACTION'] : ''; ?>">
<fieldset>
<div class="inside-search-box">
<input class="inputbox search tiny" type="text" name="keywords" id="search_keywords" size="20" value="<?php echo ((isset($this->_rootref['L_SEARCH_FORUM'])) ? $this->_rootref['L_SEARCH_FORUM'] : ((isset($user->lang['SEARCH_FORUM'])) ? $user->lang['SEARCH_FORUM'] : '{ SEARCH_FORUM }')); ?>" onclick="if(this.value=='<?php echo ((isset($this->_rootref['L_SEARCH_FORUM'])) ? $this->_rootref['L_SEARCH_FORUM'] : ((isset($user->lang['SEARCH_FORUM'])) ? $user->lang['SEARCH_FORUM'] : '{ SEARCH_FORUM }')); ?>')this.value='';" onblur="if(this.value=='')this.value='<?php echo ((isset($this->_rootref['L_SEARCH_FORUM'])) ? $this->_rootref['L_SEARCH_FORUM'] : ((isset($user->lang['SEARCH_FORUM'])) ? $user->lang['SEARCH_FORUM'] : '{ SEARCH_FORUM }')); ?>';" />
<input class="button2" type="submit" value="" />
<?php echo (isset($this->_rootref['S_SEARCH_LOCAL_HIDDEN_FIELDS'])) ? $this->_rootref['S_SEARCH_LOCAL_HIDDEN_FIELDS'] : ''; ?>
</div>
</fieldset>
</form>
</div>
<?php } if ($this->_rootref['PAGINATION'] || $this->_rootref['TOTAL_POSTS'] || $this->_rootref['TOTAL_TOPICS']) { ?>
<div class="pagination">
<?php if ($this->_rootref['TOTAL_TOPICS']) { echo (isset($this->_rootref['TOTAL_TOPICS'])) ? $this->_rootref['TOTAL_TOPICS'] : ''; } if ($this->_rootref['PAGE_NUMBER']) { if ($this->_rootref['PAGINATION']) { ?> • <a href="#" onclick="jumpto(); return false;" title="<?php echo ((isset($this->_rootref['L_JUMP_TO_PAGE'])) ? $this->_rootref['L_JUMP_TO_PAGE'] : ((isset($user->lang['JUMP_TO_PAGE'])) ? $user->lang['JUMP_TO_PAGE'] : '{ JUMP_TO_PAGE }')); ?>"><?php echo (isset($this->_rootref['PAGE_NUMBER'])) ? $this->_rootref['PAGE_NUMBER'] : ''; ?></a> • <span><?php echo (isset($this->_rootref['PAGINATION'])) ? $this->_rootref['PAGINATION'] : ''; ?></span><?php } else { ?> • <?php echo (isset($this->_rootref['PAGE_NUMBER'])) ? $this->_rootref['PAGE_NUMBER'] : ''; } } ?>
</div>
<?php } ?>
</div>
<?php } ?>
</div><!-- PANEL END --><?php if ($this->_rootref['S_HAS_SUBFORUM']) { $this->_tpl_include('forumlist_body.html'); } ?><!-- Forum Menu start here --><?php $this->_tpl_include('forum_menu.html'); ?><!-- Forum Menu ends here --><?php if ($this->_rootref['S_NO_READ_ACCESS']) { ?>
<div class="panel">
<strong><?php echo ((isset($this->_rootref['L_NO_READ_ACCESS'])) ? $this->_rootref['L_NO_READ_ACCESS'] : ((isset($user->lang['NO_READ_ACCESS'])) ? $user->lang['NO_READ_ACCESS'] : '{ NO_READ_ACCESS }')); ?></strong>
</div>
<?php if (! $this->_rootref['S_USER_LOGGED_IN'] && ! $this->_rootref['S_IS_BOT']) { ?>
<form action="<?php echo (isset($this->_rootref['S_LOGIN_ACTION'])) ? $this->_rootref['S_LOGIN_ACTION'] : ''; ?>" method="post">
<div class="panel">
<div class="content">
<h3><a href="<?php echo (isset($this->_rootref['U_LOGIN_LOGOUT'])) ? $this->_rootref['U_LOGIN_LOGOUT'] : ''; ?>"><?php echo ((isset($this->_rootref['L_LOGIN_LOGOUT'])) ? $this->_rootref['L_LOGIN_LOGOUT'] : ((isset($user->lang['LOGIN_LOGOUT'])) ? $user->lang['LOGIN_LOGOUT'] : '{ LOGIN_LOGOUT }')); ?></a><?php if ($this->_rootref['S_REGISTER_ENABLED']) { ?> • <a href="<?php echo (isset($this->_rootref['U_REGISTER'])) ? $this->_rootref['U_REGISTER'] : ''; ?>"><?php echo ((isset($this->_rootref['L_REGISTER'])) ? $this->_rootref['L_REGISTER'] : ((isset($user->lang['REGISTER'])) ? $user->lang['REGISTER'] : '{ REGISTER }')); ?></a><?php } ?></h3>
<fieldset class="fields1">
<dl>
<dt><label for="username"><?php echo ((isset($this->_rootref['L_USERNAME'])) ? $this->_rootref['L_USERNAME'] : ((isset($user->lang['USERNAME'])) ? $user->lang['USERNAME'] : '{ USERNAME }')); ?>:</label></dt>
<dd><input type="text" tabindex="1" name="username" id="username" size="25" value="<?php echo (isset($this->_rootref['USERNAME'])) ? $this->_rootref['USERNAME'] : ''; ?>" class="inputbox autowidth" /></dd>
</dl>
<dl>
<dt><label for="password"><?php echo ((isset($this->_rootref['L_PASSWORD'])) ? $this->_rootref['L_PASSWORD'] : ((isset($user->lang['PASSWORD'])) ? $user->lang['PASSWORD'] : '{ PASSWORD }')); ?>:</label></dt>
<dd><input type="password" tabindex="2" id="password" name="password" size="25" class="inputbox autowidth" /></dd>
<?php if ($this->_rootref['S_AUTOLOGIN_ENABLED']) { ?><dd><label for="autologin"><input type="checkbox" name="autologin" id="autologin" tabindex="3" /> <?php echo ((isset($this->_rootref['L_LOG_ME_IN'])) ? $this->_rootref['L_LOG_ME_IN'] : ((isset($user->lang['LOG_ME_IN'])) ? $user->lang['LOG_ME_IN'] : '{ LOG_ME_IN }')); ?></label></dd><?php } ?>
<dd><label for="viewonline"><input type="checkbox" name="viewonline" id="viewonline" tabindex="4" /> <?php echo ((isset($this->_rootref['L_HIDE_ME'])) ? $this->_rootref['L_HIDE_ME'] : ((isset($user->lang['HIDE_ME'])) ? $user->lang['HIDE_ME'] : '{ HIDE_ME }')); ?></label></dd>
</dl>
<dl>
<dt> </dt>
<dd><input type="submit" name="login" tabindex="5" value="<?php echo ((isset($this->_rootref['L_LOGIN'])) ? $this->_rootref['L_LOGIN'] : ((isset($user->lang['LOGIN'])) ? $user->lang['LOGIN'] : '{ LOGIN }')); ?>" class="button1" /></dd>
</dl>
<?php echo (isset($this->_rootref['S_LOGIN_REDIRECT'])) ? $this->_rootref['S_LOGIN_REDIRECT'] : ''; ?>
</fieldset>
</div>
</div>
</form>
<?php } } $_topicrow_count = (isset($this->_tpldata['topicrow'])) ? sizeof($this->_tpldata['topicrow']) : 0;if ($_topicrow_count) {for ($_topicrow_i = 0; $_topicrow_i < $_topicrow_count; ++$_topicrow_i){$_topicrow_val = &$this->_tpldata['topicrow'][$_topicrow_i]; if (! $_topicrow_val['S_TOPIC_TYPE_SWITCH'] && ! $_topicrow_val['S_FIRST_ROW']) { ?>
</ul>
</div>
<?php } if ($_topicrow_val['S_FIRST_ROW'] || ! $_topicrow_val['S_TOPIC_TYPE_SWITCH']) { ?>
<div class="forumbg<?php if ($_topicrow_val['S_TOPIC_TYPE_SWITCH'] && ( $_topicrow_val['S_POST_ANNOUNCE'] || $_topicrow_val['S_POST_GLOBAL'] )) { ?> announcement<?php } ?>">
<ul class="topiclist">
<li class="header">
<dl class="<?php $_reput_count = (isset($_topicrow_val['reput'])) ? sizeof($_topicrow_val['reput']) : 0;if ($_reput_count) {for ($_reput_i = 0; $_reput_i < $_reput_count; ++$_reput_i){$_reput_val = &$_topicrow_val['reput'][$_reput_i]; if ($_reput_val['S_THANKS_TOPIC_REPUT_VIEW_COLUMN'] && ! $this->_rootref['S_IS_BOT']) { ?>thanks<?php } else { ?>icon<?php } }} ?>">
<dt><?php if ($this->_rootref['S_DISPLAY_ACTIVE']) { ?><span class="panel-icon"><i class="icon-fire"></i></span><?php echo ((isset($this->_rootref['L_ACTIVE_TOPICS'])) ? $this->_rootref['L_ACTIVE_TOPICS'] : ((isset($user->lang['ACTIVE_TOPICS'])) ? $user->lang['ACTIVE_TOPICS'] : '{ ACTIVE_TOPICS }')); } else if ($_topicrow_val['S_TOPIC_TYPE_SWITCH'] && ( $_topicrow_val['S_POST_ANNOUNCE'] || $_topicrow_val['S_POST_GLOBAL'] )) { ?><span class="panel-icon"><i class="icon-attention-alt"></i></span><?php echo ((isset($this->_rootref['L_ANNOUNCEMENTS'])) ? $this->_rootref['L_ANNOUNCEMENTS'] : ((isset($user->lang['ANNOUNCEMENTS'])) ? $user->lang['ANNOUNCEMENTS'] : '{ ANNOUNCEMENTS }')); } else { ?><span class="panel-icon"><i class="icon-docs"></i></span><?php echo ((isset($this->_rootref['L_TOPICS'])) ? $this->_rootref['L_TOPICS'] : ((isset($user->lang['TOPICS'])) ? $user->lang['TOPICS'] : '{ TOPICS }')); } ?></dt>
<dd class="replies"><?php echo ((isset($this->_rootref['L_REPLIES'])) ? $this->_rootref['L_REPLIES'] : ((isset($user->lang['REPLIES'])) ? $user->lang['REPLIES'] : '{ REPLIES }')); ?></dd>
<dd class="views"><?php echo ((isset($this->_rootref['L_VIEWS'])) ? $this->_rootref['L_VIEWS'] : ((isset($user->lang['VIEWS'])) ? $user->lang['VIEWS'] : '{ VIEWS }')); ?></dd>
<?php $_reput_count = (isset($_topicrow_val['reput'])) ? sizeof($_topicrow_val['reput']) : 0;if ($_reput_count) {for ($_reput_i = 0; $_reput_i < $_reput_count; ++$_reput_i){$_reput_val = &$_topicrow_val['reput'][$_reput_i]; if ($_reput_val['S_THANKS_TOPIC_REPUT_VIEW'] && $_reput_val['S_THANKS_TOPIC_REPUT_VIEW_COLUMN'] && ! $this->_rootref['S_IS_BOT']) { ?>
<dd style="display: block; width: <?php echo $_reput_val['THANKS_REPUT_GRAPHIC_WIDTH']; ?>;"><?php echo ((isset($this->_rootref['L_REPUT'])) ? $this->_rootref['L_REPUT'] : ((isset($user->lang['REPUT'])) ? $user->lang['REPUT'] : '{ REPUT }')); ?></dd>
<?php } }} ?>
<dd class="lastpostthanks"><span><?php echo ((isset($this->_rootref['L_LAST_POST'])) ? $this->_rootref['L_LAST_POST'] : ((isset($user->lang['LAST_POST'])) ? $user->lang['LAST_POST'] : '{ LAST_POST }')); ?></span></dd>
</dl>
</li>
</ul>
<ul class="topiclist topics">
<?php } ?>
<li class="row<?php if (!($_topicrow_val['S_ROW_COUNT'] & 1) ) { ?> bg1<?php } else { ?> bg2<?php } if ($_topicrow_val['S_POST_GLOBAL']) { ?> global-announce<?php } if ($_topicrow_val['S_POST_ANNOUNCE']) { ?> announce<?php } if ($_topicrow_val['S_POST_STICKY']) { ?> sticky<?php } if ($_topicrow_val['S_TOPIC_REPORTED']) { ?> reported<?php } ?>">
<dl class="<?php $_reput_count = (isset($_topicrow_val['reput'])) ? sizeof($_topicrow_val['reput']) : 0;if ($_reput_count) {for ($_reput_i = 0; $_reput_i < $_reput_count; ++$_reput_i){$_reput_val = &$_topicrow_val['reput'][$_reput_i]; if ($_reput_val['S_THANKS_TOPIC_REPUT_VIEW_COLUMN'] && ! $this->_rootref['S_IS_BOT']) { ?>thanks<?php } else { ?>icon<?php } }} ?>" style="background-image: url(<?php echo $_topicrow_val['TOPIC_FOLDER_IMG_SRC']; ?>); background-repeat: no-repeat;">
<dt<?php if ($_topicrow_val['TOPIC_ICON_IMG'] && $this->_rootref['S_TOPIC_ICONS']) { ?> style="background-image: url(<?php echo (isset($this->_rootref['T_ICONS_PATH'])) ? $this->_rootref['T_ICONS_PATH'] : ''; echo $_topicrow_val['TOPIC_ICON_IMG']; ?>); background-repeat: no-repeat;"<?php } ?> title="<?php echo $_topicrow_val['TOPIC_FOLDER_IMG_ALT']; ?>"><?php if ($_topicrow_val['S_UNREAD_TOPIC']) { ?>
<a href="<?php echo $_topicrow_val['U_NEWEST_POST']; ?>"><i class="fa fa-file"></i></a> <?php } ?><a href="<?php echo $_topicrow_val['U_VIEW_TOPIC']; ?>" class="topictitle"><?php echo $_topicrow_val['TOPIC_TITLE']; ?></a>
<?php if ($_topicrow_val['S_POSTS_UNAPPROVED']) { ?>
<a title="<?php echo ((isset($this->_rootref['L_POSTS_UNAPPROVED'])) ? $this->_rootref['L_POSTS_UNAPPROVED'] : ((isset($user->lang['POSTS_UNAPPROVED'])) ? $user->lang['POSTS_UNAPPROVED'] : '{ POSTS_UNAPPROVED }')); ?>" href="<?php echo $_topicrow_val['U_MCP_QUEUE']; ?>"><i class="icon-help-circled-alt ic-unaproved"></i></a><?php } if ($_topicrow_val['S_TOPIC_UNAPPROVED']) { ?>
<a title="<?php echo ((isset($this->_rootref['L_TOPIC_UNAPPROVED'])) ? $this->_rootref['L_TOPIC_UNAPPROVED'] : ((isset($user->lang['TOPIC_UNAPPROVED'])) ? $user->lang['TOPIC_UNAPPROVED'] : '{ TOPIC_UNAPPROVED }')); ?>" href="<?php echo $_topicrow_val['U_MCP_QUEUE']; ?>"><i class="icon-help-circled-alt ic-unaproved"></i></a><?php } if ($_topicrow_val['S_TOPIC_REPORTED']) { ?><a href="<?php echo $_topicrow_val['U_MCP_REPORT']; ?>"><i title="<?php echo ((isset($this->_rootref['L_TOPIC_REPORTED'])) ? $this->_rootref['L_TOPIC_REPORTED'] : ((isset($user->lang['TOPIC_REPORTED'])) ? $user->lang['TOPIC_REPORTED'] : '{ TOPIC_REPORTED }')); ?>" class="icon-attention-alt ic-reported"></i></a><?php } ?><br />
<?php if ($_topicrow_val['PAGINATION']) { ?><strong class="pagination"><span><?php echo $_topicrow_val['PAGINATION']; ?></span></strong><?php } if ($_topicrow_val['ATTACH_ICON_IMG']) { ?><i title="<?php echo ((isset($this->_rootref['L_TOTAL_ATTACHMENTS'])) ? $this->_rootref['L_TOTAL_ATTACHMENTS'] : ((isset($user->lang['TOTAL_ATTACHMENTS'])) ? $user->lang['TOTAL_ATTACHMENTS'] : '{ TOTAL_ATTACHMENTS }')); ?>" class="icon-picture"></i> <?php } echo ((isset($this->_rootref['L_POST_BY_AUTHOR'])) ? $this->_rootref['L_POST_BY_AUTHOR'] : ((isset($user->lang['POST_BY_AUTHOR'])) ? $user->lang['POST_BY_AUTHOR'] : '{ POST_BY_AUTHOR }')); ?> <?php echo $_topicrow_val['TOPIC_AUTHOR_FULL']; ?> » <?php echo $_topicrow_val['FIRST_POST_TIME']; ?>
</dt>
<dd class="replies"><?php echo $_topicrow_val['REPLIES']; ?> <dfn><?php echo ((isset($this->_rootref['L_REPLIES'])) ? $this->_rootref['L_REPLIES'] : ((isset($user->lang['REPLIES'])) ? $user->lang['REPLIES'] : '{ REPLIES }')); ?></dfn></dd>
<dd class="views"><?php echo $_topicrow_val['VIEWS']; ?> <dfn><?php echo ((isset($this->_rootref['L_VIEWS'])) ? $this->_rootref['L_VIEWS'] : ((isset($user->lang['VIEWS'])) ? $user->lang['VIEWS'] : '{ VIEWS }')); ?></dfn></dd>
<?php $_reput_count = (isset($_topicrow_val['reput'])) ? sizeof($_topicrow_val['reput']) : 0;if ($_reput_count) {for ($_reput_i = 0; $_reput_i < $_reput_count; ++$_reput_i){$_reput_val = &$_topicrow_val['reput'][$_reput_i]; if ($_reput_val['S_THANKS_TOPIC_REPUT_VIEW'] && ! $this->_rootref['S_IS_BOT'] && $_reput_val['S_THANKS_TOPIC_REPUT_VIEW_COLUMN']) { ?>
<dd style="display: block; width: <?php echo $_reput_val['THANKS_REPUT_GRAPHIC_WIDTH']; ?>;">
<?php if ($_reput_val['TOPIC_REPUT']) { ?>
<span style="display: block;"><?php echo $_reput_val['TOPIC_REPUT']; ?>
<?php if ($_reput_val['S_THANKS_REPUT_GRAPHIC']) { ?>
<span style="display: block; width: <?php echo $_reput_val['THANKS_REPUT_GRAPHIC_WIDTH']; ?>; height: <?php echo $_reput_val['THANKS_REPUT_HEIGHT']; ?>; background: url(<?php echo $_reput_val['THANKS_REPUT_IMAGE_BACK']; ?>); background-repeat: repeat-x;"><span style="display: block; height: <?php echo $_reput_val['THANKS_REPUT_HEIGHT']; ?>; width: <?php echo $_reput_val['TOPIC_REPUT']; ?>; background: url(<?php echo $_reput_val['THANKS_REPUT_IMAGE']; ?>); background-repeat: repeat-x;"> </span></span>
<?php } ?>
</span><dfn><?php echo ((isset($this->_rootref['L_REPUT'])) ? $this->_rootref['L_REPUT'] : ((isset($user->lang['REPUT'])) ? $user->lang['REPUT'] : '{ REPUT }')); ?></dfn>
<?php } ?>
</dd>
<?php } }} ?>
<dd class="lastpost<?php $_reput_count = (isset($_topicrow_val['reput'])) ? sizeof($_topicrow_val['reput']) : 0;if ($_reput_count) {for ($_reput_i = 0; $_reput_i < $_reput_count; ++$_reput_i){$_reput_val = &$_topicrow_val['reput'][$_reput_i]; if ($_reput_val['S_THANKS_TOPIC_REPUT_VIEW_COLUMN'] && ! $this->_rootref['S_IS_BOT']) { ?> lastpostthanks<?php } }} ?>"><span><dfn><?php echo ((isset($this->_rootref['L_LAST_POST'])) ? $this->_rootref['L_LAST_POST'] : ((isset($user->lang['LAST_POST'])) ? $user->lang['LAST_POST'] : '{ LAST_POST }')); ?> </dfn><?php echo ((isset($this->_rootref['L_POST_BY_AUTHOR'])) ? $this->_rootref['L_POST_BY_AUTHOR'] : ((isset($user->lang['POST_BY_AUTHOR'])) ? $user->lang['POST_BY_AUTHOR'] : '{ POST_BY_AUTHOR }')); ?> <?php echo $_topicrow_val['LAST_POST_AUTHOR_FULL']; ?>
<?php if (! $this->_rootref['S_IS_BOT']) { ?><a href="<?php echo $_topicrow_val['U_LAST_POST']; ?>" title="<?php echo ((isset($this->_rootref['L_VIEW_LATEST_POST'])) ? $this->_rootref['L_VIEW_LATEST_POST'] : ((isset($user->lang['VIEW_LATEST_POST'])) ? $user->lang['VIEW_LATEST_POST'] : '{ VIEW_LATEST_POST }')); ?>"><?php if ($this->_rootref['S_CONTENT_DIRECTION'] == ('rtl')) { ?><i class="fa fa-arrow-left last-post-icon"></i><?php } else { ?><i class="fa fa-arrow-right last-post-icon"></i><?php } ?></a> <?php } ?><br /><?php echo $_topicrow_val['LAST_POST_TIME']; ?></span>
</dd>
</dl>
</li>
<?php if ($_topicrow_val['S_LAST_ROW']) { ?>
</ul>
</div>
<?php } }} else { if ($this->_rootref['S_IS_POSTABLE']) { ?>
<div class="panel">
<strong><?php echo ((isset($this->_rootref['L_NO_TOPICS'])) ? $this->_rootref['L_NO_TOPICS'] : ((isset($user->lang['NO_TOPICS'])) ? $user->lang['NO_TOPICS'] : '{ NO_TOPICS }')); ?></strong>
</div>
<?php } } ?>
<div class="panel">
<?php if ($this->_rootref['S_SELECT_SORT_DAYS'] && ! $this->_rootref['S_DISPLAY_ACTIVE']) { ?>
<form method="post" action="<?php echo (isset($this->_rootref['S_FORUM_ACTION'])) ? $this->_rootref['S_FORUM_ACTION'] : ''; ?>">
<fieldset class="display-options">
<?php if ($this->_rootref['PREVIOUS_PAGE']) { ?><a href="<?php echo (isset($this->_rootref['PREVIOUS_PAGE'])) ? $this->_rootref['PREVIOUS_PAGE'] : ''; ?>" class="left-box <?php echo (isset($this->_rootref['S_CONTENT_FLOW_BEGIN'])) ? $this->_rootref['S_CONTENT_FLOW_BEGIN'] : ''; ?>"><?php echo ((isset($this->_rootref['L_PREVIOUS'])) ? $this->_rootref['L_PREVIOUS'] : ((isset($user->lang['PREVIOUS'])) ? $user->lang['PREVIOUS'] : '{ PREVIOUS }')); ?></a><?php } if ($this->_rootref['NEXT_PAGE']) { ?><a href="<?php echo (isset($this->_rootref['NEXT_PAGE'])) ? $this->_rootref['NEXT_PAGE'] : ''; ?>" class="right-box <?php echo (isset($this->_rootref['S_CONTENT_FLOW_END'])) ? $this->_rootref['S_CONTENT_FLOW_END'] : ''; ?>"><?php echo ((isset($this->_rootref['L_NEXT'])) ? $this->_rootref['L_NEXT'] : ((isset($user->lang['NEXT'])) ? $user->lang['NEXT'] : '{ NEXT }')); ?></a><?php } if (! $this->_rootref['S_IS_BOT']) { ?>
<label><?php echo ((isset($this->_rootref['L_DISPLAY_TOPICS'])) ? $this->_rootref['L_DISPLAY_TOPICS'] : ((isset($user->lang['DISPLAY_TOPICS'])) ? $user->lang['DISPLAY_TOPICS'] : '{ DISPLAY_TOPICS }')); ?>: <?php echo (isset($this->_rootref['S_SELECT_SORT_DAYS'])) ? $this->_rootref['S_SELECT_SORT_DAYS'] : ''; ?></label>
<label><?php echo ((isset($this->_rootref['L_SORT_BY'])) ? $this->_rootref['L_SORT_BY'] : ((isset($user->lang['SORT_BY'])) ? $user->lang['SORT_BY'] : '{ SORT_BY }')); ?> <?php echo (isset($this->_rootref['S_SELECT_SORT_KEY'])) ? $this->_rootref['S_SELECT_SORT_KEY'] : ''; ?></label>
<label><?php echo (isset($this->_rootref['S_SELECT_SORT_DIR'])) ? $this->_rootref['S_SELECT_SORT_DIR'] : ''; ?> <input type="submit" name="sort" value="<?php echo ((isset($this->_rootref['L_GO'])) ? $this->_rootref['L_GO'] : ((isset($user->lang['GO'])) ? $user->lang['GO'] : '{ GO }')); ?>" class="button2" /></label>
<?php } ?>
</fieldset>
</form>
<hr />
<?php } if (sizeof($this->_tpldata['topicrow']) && ! $this->_rootref['S_DISPLAY_ACTIVE']) { ?>
<div class="topic-actions">
<?php if (! $this->_rootref['S_IS_BOT'] && $this->_rootref['S_DISPLAY_POST_INFO']) { ?>
<div class="buttons">
<?php if ($this->_rootref['S_IS_LOCKED']) { ?>
<a href="<?php echo (isset($this->_rootref['U_POST_NEW_TOPIC'])) ? $this->_rootref['U_POST_NEW_TOPIC'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_FORUM_LOCKED'])) ? $this->_rootref['L_FORUM_LOCKED'] : ((isset($user->lang['FORUM_LOCKED'])) ? $user->lang['FORUM_LOCKED'] : '{ FORUM_LOCKED }')); ?>"><span class="button-icon"><i class="icon-lock"></i></span><?php echo ((isset($this->_rootref['L_FORUM_LOCKED'])) ? $this->_rootref['L_FORUM_LOCKED'] : ((isset($user->lang['FORUM_LOCKED'])) ? $user->lang['FORUM_LOCKED'] : '{ FORUM_LOCKED }')); ?></a><?php } else { ?>
<a href="<?php echo (isset($this->_rootref['U_POST_NEW_TOPIC'])) ? $this->_rootref['U_POST_NEW_TOPIC'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_POST_TOPIC'])) ? $this->_rootref['L_POST_TOPIC'] : ((isset($user->lang['POST_TOPIC'])) ? $user->lang['POST_TOPIC'] : '{ POST_TOPIC }')); ?>"><span class="button-icon"><i class="icon-doc-new"></i></span><?php echo ((isset($this->_rootref['L_POST_TOPIC'])) ? $this->_rootref['L_POST_TOPIC'] : ((isset($user->lang['POST_TOPIC'])) ? $user->lang['POST_TOPIC'] : '{ POST_TOPIC }')); ?></a>
<?php } ?>
</div>
<?php } if ($this->_rootref['PAGINATION'] || $this->_rootref['TOTAL_POSTS'] || $this->_rootref['TOTAL_TOPICS']) { ?>
<div class="pagination">
<?php if ($this->_rootref['TOTAL_POSTS'] && ! $this->_rootref['NEWEST_USER']) { ?> <?php echo (isset($this->_rootref['TOTAL_POSTS'])) ? $this->_rootref['TOTAL_POSTS'] : ''; } else if ($this->_rootref['TOTAL_TOPICS'] && ! $this->_rootref['NEWEST_USER']) { ?> <?php echo (isset($this->_rootref['TOTAL_TOPICS'])) ? $this->_rootref['TOTAL_TOPICS'] : ''; } if ($this->_rootref['TOTAL_USERS']) { echo (isset($this->_rootref['TOTAL_USERS'])) ? $this->_rootref['TOTAL_USERS'] : ''; } if ($this->_rootref['PAGINATION']) { ?> • <a href="#" onclick="jumpto(); return false;" title="<?php echo ((isset($this->_rootref['L_JUMP_TO_PAGE'])) ? $this->_rootref['L_JUMP_TO_PAGE'] : ((isset($user->lang['JUMP_TO_PAGE'])) ? $user->lang['JUMP_TO_PAGE'] : '{ JUMP_TO_PAGE }')); ?>"><?php echo (isset($this->_rootref['PAGE_NUMBER'])) ? $this->_rootref['PAGE_NUMBER'] : ''; ?></a>
• <span><?php echo (isset($this->_rootref['PAGINATION'])) ? $this->_rootref['PAGINATION'] : ''; ?></span><?php } else { ?> • <?php echo (isset($this->_rootref['PAGE_NUMBER'])) ? $this->_rootref['PAGE_NUMBER'] : ''; } ?>
</div>
<?php } ?>
</div>
<?php } $this->_tpl_include('jumpbox.html'); ?>
</div>
<?php if ($this->_rootref['S_DISPLAY_ONLINE_LIST']) { ?>
<h3 class="panel-header"><span class="panel-icon"><i class="icon-info-circled-alt"></i></span><?php if ($this->_rootref['U_VIEWONLINE']) { ?><a href="<?php echo (isset($this->_rootref['U_VIEWONLINE'])) ? $this->_rootref['U_VIEWONLINE'] : ''; ?>"><?php echo ((isset($this->_rootref['L_WHO_IS_ONLINE'])) ? $this->_rootref['L_WHO_IS_ONLINE'] : ((isset($user->lang['WHO_IS_ONLINE'])) ? $user->lang['WHO_IS_ONLINE'] : '{ WHO_IS_ONLINE }')); ?></a><?php } else { echo ((isset($this->_rootref['L_WHO_IS_ONLINE'])) ? $this->_rootref['L_WHO_IS_ONLINE'] : ((isset($user->lang['WHO_IS_ONLINE'])) ? $user->lang['WHO_IS_ONLINE'] : '{ WHO_IS_ONLINE }')); } ?></h3>
<div class="panel" ><p><?php echo (isset($this->_rootref['LOGGED_IN_USER_LIST'])) ? $this->_rootref['LOGGED_IN_USER_LIST'] : ''; ?></p></div>
<?php } if ($this->_rootref['S_DISPLAY_POST_INFO']) { ?>
<h3 class="panel-header"><span class="panel-icon"><i class="icon-error"></i></span><?php echo ((isset($this->_rootref['L_FORUM_PERMISSIONS'])) ? $this->_rootref['L_FORUM_PERMISSIONS'] : ((isset($user->lang['FORUM_PERMISSIONS'])) ? $user->lang['FORUM_PERMISSIONS'] : '{ FORUM_PERMISSIONS }')); ?></h3>
<div class="panel" ><p><?php $_rules_count = (isset($this->_tpldata['rules'])) ? sizeof($this->_tpldata['rules']) : 0;if ($_rules_count) {for ($_rules_i = 0; $_rules_i < $_rules_count; ++$_rules_i){$_rules_val = &$this->_tpldata['rules'][$_rules_i]; echo $_rules_val['RULE']; ?><br /><?php }} ?></p></div>
<?php } $this->_tpl_include('overall_footer.html'); ?>