Файл: apwa/cache/tpl_red-gold_viewtopic_body.html.php
Строк: 600
<?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> <span itemscope itemtype="http://data-vocabulary.org/Breadcrumb"><a href="<?php echo $_navlinks_val['U_VIEW_FORUM']; ?>" itemprop="url"><span itemprop="title"><?php echo $_navlinks_val['FORUM_NAME']; ?></span></a></span><?php }} ?></li>
</ul>
<?php if ($this->_rootref['S_VIEWTOPIC'] || $this->_rootref['S_VIEW_MESSAGE'] || ( sizeof($this->_tpldata['searchresults']) && ! $this->_rootref['S_SHOW_TOPICS'] )) { ?>
<ul class="linklist rightside">
<li><span class="panel-icon bc-links"><a href="#" id="profile-switcher" onclick="switchProfiles(false); return false;" title="<?php echo ((isset($this->_rootref['LA_PROFILES_LEFT'])) ? $this->_rootref['LA_PROFILES_LEFT'] : ((isset($this->_rootref['L_PROFILES_LEFT'])) ? addslashes($this->_rootref['L_PROFILES_LEFT']) : ((isset($user->lang['PROFILES_LEFT'])) ? addslashes($user->lang['PROFILES_LEFT']) : '{ PROFILES_LEFT }'))); ?>/<?php echo ((isset($this->_rootref['LA_PROFILES_RIGHT'])) ? $this->_rootref['LA_PROFILES_RIGHT'] : ((isset($this->_rootref['L_PROFILES_RIGHT'])) ? addslashes($this->_rootref['L_PROFILES_RIGHT']) : ((isset($user->lang['PROFILES_RIGHT'])) ? addslashes($user->lang['PROFILES_RIGHT']) : '{ PROFILES_RIGHT }'))); ?>" style="margin-right:15px;"><i class="icon-cog-1"></i></a></span></li>
</ul>
<?php } ?>
</h3>
<!-- NOTE: remove the style="display: none" when you want to have the forum description on the topic 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 } ?>
<div class="panel">
<h2><a href="<?php echo (isset($this->_rootref['U_VIEW_TOPIC'])) ? $this->_rootref['U_VIEW_TOPIC'] : ''; ?>"><?php echo (isset($this->_rootref['TOPIC_TITLE'])) ? $this->_rootref['TOPIC_TITLE'] : ''; ?></a></h2>
<?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'] : ''; } ?>
</div>
<?php } if ($this->_rootref['ADS_3']) { ?>
<div class="post" style="text-align:center;overflow:auto;"><?php echo (isset($this->_rootref['ADS_3'])) ? $this->_rootref['ADS_3'] : ''; ?></div>
<?php } ?>
<div class="topic-actions">
<div class="buttons">
<?php if (! $this->_rootref['S_IS_BOT'] && $this->_rootref['S_DISPLAY_REPLY_INFO']) { if ($this->_rootref['S_IS_LOCKED']) { ?>
<a href="<?php echo (isset($this->_rootref['U_POST_REPLY_TOPIC'])) ? $this->_rootref['U_POST_REPLY_TOPIC'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_TOPIC_LOCKED'])) ? $this->_rootref['L_TOPIC_LOCKED'] : ((isset($user->lang['TOPIC_LOCKED'])) ? $user->lang['TOPIC_LOCKED'] : '{ TOPIC_LOCKED }')); ?>"><span class="button-icon"><i class="icon-lock"></i></span><?php echo ((isset($this->_rootref['L_TOPIC_LOCKED_SHORT'])) ? $this->_rootref['L_TOPIC_LOCKED_SHORT'] : ((isset($user->lang['TOPIC_LOCKED_SHORT'])) ? $user->lang['TOPIC_LOCKED_SHORT'] : '{ TOPIC_LOCKED_SHORT }')); ?></a><?php } else { ?>
<a href="<?php echo (isset($this->_rootref['U_POST_REPLY_TOPIC'])) ? $this->_rootref['U_POST_REPLY_TOPIC'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_POST_REPLY'])) ? $this->_rootref['L_POST_REPLY'] : ((isset($user->lang['POST_REPLY'])) ? $user->lang['POST_REPLY'] : '{ POST_REPLY }')); ?>"><span class="button-icon"><i class="icon-reply"></i></span><?php echo ((isset($this->_rootref['L_POST_REPLY'])) ? $this->_rootref['L_POST_REPLY'] : ((isset($user->lang['POST_REPLY'])) ? $user->lang['POST_REPLY'] : '{ POST_REPLY }')); ?></a>
<?php } } ?>
</div>
<?php if ($this->_rootref['S_DISPLAY_SEARCHBOX']) { ?>
<div class="search-box">
<form method="get" id="topic-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_TOPIC'])) ? $this->_rootref['L_SEARCH_TOPIC'] : ((isset($user->lang['SEARCH_TOPIC'])) ? $user->lang['SEARCH_TOPIC'] : '{ SEARCH_TOPIC }')); ?>" onclick="if(this.value=='<?php echo ((isset($this->_rootref['LA_SEARCH_TOPIC'])) ? $this->_rootref['LA_SEARCH_TOPIC'] : ((isset($this->_rootref['L_SEARCH_TOPIC'])) ? addslashes($this->_rootref['L_SEARCH_TOPIC']) : ((isset($user->lang['SEARCH_TOPIC'])) ? addslashes($user->lang['SEARCH_TOPIC']) : '{ SEARCH_TOPIC }'))); ?>')this.value='';" onblur="if(this.value=='')this.value='<?php echo ((isset($this->_rootref['LA_SEARCH_TOPIC'])) ? $this->_rootref['LA_SEARCH_TOPIC'] : ((isset($this->_rootref['L_SEARCH_TOPIC'])) ? addslashes($this->_rootref['L_SEARCH_TOPIC']) : ((isset($user->lang['SEARCH_TOPIC'])) ? addslashes($user->lang['SEARCH_TOPIC']) : '{ SEARCH_TOPIC }'))); ?>';" />
<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']) { ?>
<div class="pagination">
<?php if ($this->_rootref['U_VIEW_UNREAD_POST'] && ! $this->_rootref['S_IS_BOT']) { ?><a href="<?php echo (isset($this->_rootref['U_VIEW_UNREAD_POST'])) ? $this->_rootref['U_VIEW_UNREAD_POST'] : ''; ?>"><?php echo ((isset($this->_rootref['L_VIEW_UNREAD_POST'])) ? $this->_rootref['L_VIEW_UNREAD_POST'] : ((isset($user->lang['VIEW_UNREAD_POST'])) ? $user->lang['VIEW_UNREAD_POST'] : '{ VIEW_UNREAD_POST }')); ?></a> • <?php } echo (isset($this->_rootref['TOTAL_POSTS'])) ? $this->_rootref['TOTAL_POSTS'] : ''; ?>
<?php 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>
</div><!-- PANEL END --><?php if ($this->_rootref['S_HAS_POLL']) { ?>
<form method="post" action="<?php echo (isset($this->_rootref['S_POLL_ACTION'])) ? $this->_rootref['S_POLL_ACTION'] : ''; ?>">
<div class="panel">
<div class="content">
<h2><?php echo (isset($this->_rootref['POLL_QUESTION'])) ? $this->_rootref['POLL_QUESTION'] : ''; ?></h2>
<p class="author"><?php echo ((isset($this->_rootref['L_POLL_LENGTH'])) ? $this->_rootref['L_POLL_LENGTH'] : ((isset($user->lang['POLL_LENGTH'])) ? $user->lang['POLL_LENGTH'] : '{ POLL_LENGTH }')); if ($this->_rootref['S_CAN_VOTE'] && $this->_rootref['L_POLL_LENGTH']) { ?><br /><?php } if ($this->_rootref['S_CAN_VOTE']) { echo ((isset($this->_rootref['L_MAX_VOTES'])) ? $this->_rootref['L_MAX_VOTES'] : ((isset($user->lang['MAX_VOTES'])) ? $user->lang['MAX_VOTES'] : '{ MAX_VOTES }')); } ?></p>
<fieldset class="polls">
<?php $_poll_option_count = (isset($this->_tpldata['poll_option'])) ? sizeof($this->_tpldata['poll_option']) : 0;if ($_poll_option_count) {for ($_poll_option_i = 0; $_poll_option_i < $_poll_option_count; ++$_poll_option_i){$_poll_option_val = &$this->_tpldata['poll_option'][$_poll_option_i]; ?>
<dl<?php if ($_poll_option_val['POLL_OPTION_VOTED']) { ?> class="voted"<?php } if ($_poll_option_val['POLL_OPTION_VOTED']) { ?> title="<?php echo ((isset($this->_rootref['L_POLL_VOTED_OPTION'])) ? $this->_rootref['L_POLL_VOTED_OPTION'] : ((isset($user->lang['POLL_VOTED_OPTION'])) ? $user->lang['POLL_VOTED_OPTION'] : '{ POLL_VOTED_OPTION }')); ?>"<?php } ?>>
<dt><?php if ($this->_rootref['S_CAN_VOTE']) { ?><label for="vote_<?php echo $_poll_option_val['POLL_OPTION_ID']; ?>"><?php echo $_poll_option_val['POLL_OPTION_CAPTION']; ?></label><?php } else { echo $_poll_option_val['POLL_OPTION_CAPTION']; } ?></dt>
<?php if ($this->_rootref['S_CAN_VOTE']) { ?><dd style="width: auto;"><?php if ($this->_rootref['S_IS_MULTI_CHOICE']) { ?><input type="checkbox" name="vote_id[]" id="vote_<?php echo $_poll_option_val['POLL_OPTION_ID']; ?>" value="<?php echo $_poll_option_val['POLL_OPTION_ID']; ?>"<?php if ($_poll_option_val['POLL_OPTION_VOTED']) { ?> checked="checked"<?php } ?> /><?php } else { ?><input type="radio" name="vote_id[]" id="vote_<?php echo $_poll_option_val['POLL_OPTION_ID']; ?>" value="<?php echo $_poll_option_val['POLL_OPTION_ID']; ?>"<?php if ($_poll_option_val['POLL_OPTION_VOTED']) { ?> checked="checked"<?php } ?> /><?php } ?></dd><?php } if ($this->_rootref['S_DISPLAY_RESULTS']) { ?><dd class="resultbar"><div class="meter"><div class="<?php if ($_poll_option_val['POLL_OPTION_PCT'] < (20)) { ?>pollbar1<?php } else if ($_poll_option_val['POLL_OPTION_PCT'] < (40)) { ?>pollbar2<?php } else if ($_poll_option_val['POLL_OPTION_PCT'] < (60)) { ?>pollbar3<?php } else if ($_poll_option_val['POLL_OPTION_PCT'] < (80)) { ?>pollbar4<?php } else { ?>pollbar5<?php } ?>" style="width:<?php echo $_poll_option_val['POLL_OPTION_PERCENT']; ?>;max-width:<?php echo $_poll_option_val['POLL_OPTION_PERCENT']; ?>;"><?php echo $_poll_option_val['POLL_OPTION_RESULT']; ?> </div></div></dd>
<dd><?php if ($_poll_option_val['POLL_OPTION_RESULT'] == 0) { echo ((isset($this->_rootref['L_NO_VOTES'])) ? $this->_rootref['L_NO_VOTES'] : ((isset($user->lang['NO_VOTES'])) ? $user->lang['NO_VOTES'] : '{ NO_VOTES }')); } else { echo $_poll_option_val['POLL_OPTION_PERCENT']; } ?></dd><?php } ?>
</dl>
<?php }} if ($this->_rootref['S_DISPLAY_RESULTS']) { ?>
<dl>
<dt> </dt>
<dd class="resultbar"><?php echo ((isset($this->_rootref['L_TOTAL_VOTES'])) ? $this->_rootref['L_TOTAL_VOTES'] : ((isset($user->lang['TOTAL_VOTES'])) ? $user->lang['TOTAL_VOTES'] : '{ TOTAL_VOTES }')); ?> : <?php echo (isset($this->_rootref['TOTAL_VOTES'])) ? $this->_rootref['TOTAL_VOTES'] : ''; ?></dd>
</dl>
<?php } if ($this->_rootref['S_CAN_VOTE']) { ?>
<dl style="border-top: none;">
<dt> </dt>
<dd class="resultbar"><input type="submit" name="update" value="<?php echo ((isset($this->_rootref['L_SUBMIT_VOTE'])) ? $this->_rootref['L_SUBMIT_VOTE'] : ((isset($user->lang['SUBMIT_VOTE'])) ? $user->lang['SUBMIT_VOTE'] : '{ SUBMIT_VOTE }')); ?>" class="button1" /></dd>
</dl>
<?php } if (! $this->_rootref['S_DISPLAY_RESULTS']) { ?>
<dl style="border-top: none;">
<dt> </dt>
<dd class="resultbar"><a href="<?php echo (isset($this->_rootref['U_VIEW_RESULTS'])) ? $this->_rootref['U_VIEW_RESULTS'] : ''; ?>"><?php echo ((isset($this->_rootref['L_VIEW_RESULTS'])) ? $this->_rootref['L_VIEW_RESULTS'] : ((isset($user->lang['VIEW_RESULTS'])) ? $user->lang['VIEW_RESULTS'] : '{ VIEW_RESULTS }')); ?></a></dd>
</dl>
<?php } ?>
</fieldset>
</div>
<?php echo (isset($this->_rootref['S_FORM_TOKEN'])) ? $this->_rootref['S_FORM_TOKEN'] : ''; ?>
<?php echo (isset($this->_rootref['S_HIDDEN_FIELDS'])) ? $this->_rootref['S_HIDDEN_FIELDS'] : ''; ?>
</div>
</form>
<?php } $_postrow_count = (isset($this->_tpldata['postrow'])) ? sizeof($this->_tpldata['postrow']) : 0;if ($_postrow_count) {for ($_postrow_i = 0; $_postrow_i < $_postrow_count; ++$_postrow_i){$_postrow_val = &$this->_tpldata['postrow'][$_postrow_i]; if ($_postrow_val['S_FIRST_UNREAD']) { ?><a id="unread"></a><?php } ?>
<div id="p<?php echo $_postrow_val['POST_ID']; ?>" class="post <?php if (($_postrow_val['S_ROW_COUNT'] & 1) ) { ?>bg1<?php } else { ?>bg2<?php } if ($_postrow_val['S_UNREAD_POST']) { ?> unreadpost<?php } if ($_postrow_val['S_POST_REPORTED']) { ?> reported<?php } ?>"<?php if ($_postrow_val['S_FIRST_ROW']) { ?> itemscope itemtype="http://schema.org/ScholarlyArticle"<?php } ?>>
<?php if (! $_postrow_val['S_IGNORE_POST']) { ?>
<dl class="postprofile" id="profile<?php echo $_postrow_val['POST_ID']; ?>">
<dt><span class="status-position<?php if ($_postrow_val['S_ONLINE']) { ?> online<?php } else { ?> offline<?php } ?>"><i <?php if ($_postrow_val['S_ONLINE']) { ?> title="<?php echo ((isset($this->_rootref['L_ONLINE'])) ? $this->_rootref['L_ONLINE'] : ((isset($user->lang['ONLINE'])) ? $user->lang['ONLINE'] : '{ ONLINE }')); ?>"<?php } else { ?> title="<?php echo ((isset($this->_rootref['L_OFFLINE'])) ? $this->_rootref['L_OFFLINE'] : ((isset($user->lang['OFFLINE'])) ? $user->lang['OFFLINE'] : '{ OFFLINE }')); ?>"<?php } ?> class="icon-circle"></i></span>
<?php if ($_postrow_val['POSTER_AVATAR']) { if ($_postrow_val['U_POST_AUTHOR']) { ?><a href="<?php echo $_postrow_val['U_POST_AUTHOR']; ?>"><?php echo $_postrow_val['POSTER_AVATAR']; ?></a><?php } else { ?>
<?php echo $_postrow_val['POSTER_AVATAR']; } } else { ?><img src="<?php echo (isset($this->_rootref['T_THEME_PATH'])) ? $this->_rootref['T_THEME_PATH'] : ''; ?>/images/no_avatar.gif" alt="no avatar" class="avatar">
<?php } ?><br />
</dt>
<span class="profile-up-right">
<dd><strong><?php echo ((isset($this->_rootref['L_AUTHOR'])) ? $this->_rootref['L_AUTHOR'] : ((isset($user->lang['AUTHOR'])) ? $user->lang['AUTHOR'] : '{ AUTHOR }')); ?></strong> <p<?php if ($_postrow_val['S_FIRST_ROW']) { ?> itemprop="author"<?php } ?>><?php if (! $_postrow_val['U_POST_AUTHOR']) { echo $_postrow_val['POST_AUTHOR_FULL']; } else { echo $_postrow_val['POST_AUTHOR_FULL']; } ?></p></dd>
<?php if ($_postrow_val['RANK_TITLE']) { ?><dd><strong><?php echo ((isset($this->_rootref['L_RANK'])) ? $this->_rootref['L_RANK'] : ((isset($user->lang['RANK'])) ? $user->lang['RANK'] : '{ RANK }')); ?></strong> <p><?php echo $_postrow_val['RANK_TITLE']; ?></p></dd><?php } if ($_postrow_val['RANK_IMG']) { ?><dd><?php echo $_postrow_val['RANK_IMG']; ?></dd><?php } if ($_postrow_val['POSTER_POSTS'] != ('')) { ?><dd class="pa-posts"><strong><?php echo ((isset($this->_rootref['L_POSTS'])) ? $this->_rootref['L_POSTS'] : ((isset($user->lang['POSTS'])) ? $user->lang['POSTS'] : '{ POSTS }')); ?></strong> <p><?php echo $_postrow_val['POSTER_POSTS']; ?></p></dd><?php } if ($_postrow_val['GALLERY_IMAGES'] != ('')) { ?><dd><strong><?php echo ((isset($this->_rootref['L_IMAGES'])) ? $this->_rootref['L_IMAGES'] : ((isset($user->lang['IMAGES'])) ? $user->lang['IMAGES'] : '{ IMAGES }')); ?></strong> <p><?php if ($_postrow_val['U_GALLERY_SEARCH']) { ?><a href="<?php echo $_postrow_val['U_GALLERY_SEARCH']; ?>"><?php echo $_postrow_val['GALLERY_IMAGES']; ?></a><?php } else { echo $_postrow_val['GALLERY_IMAGES']; } ?></p></dd><?php } if ($_postrow_val['POSTER_JOINED']) { ?><dd><strong><?php echo ((isset($this->_rootref['L_JOINED'])) ? $this->_rootref['L_JOINED'] : ((isset($user->lang['JOINED'])) ? $user->lang['JOINED'] : '{ JOINED }')); ?></strong> <p><?php echo $_postrow_val['POSTER_JOINED']; ?></p></dd><?php } if ($_postrow_val['POSTER_FROM']) { ?><dd><strong><?php echo ((isset($this->_rootref['L_LOCATION'])) ? $this->_rootref['L_LOCATION'] : ((isset($user->lang['LOCATION'])) ? $user->lang['LOCATION'] : '{ LOCATION }')); ?></strong> <p><?php echo $_postrow_val['POSTER_FROM']; ?></p></dd><?php } $_medal_count = (isset($_postrow_val['medal'])) ? sizeof($_postrow_val['medal']) : 0;if ($_medal_count) {for ($_medal_i = 0; $_medal_i < $_medal_count; ++$_medal_i){$_medal_val = &$_postrow_val['medal'][$_medal_i]; if ($_medal_val['S_HAS_MEDALS'] || $_medal_val['S_HAS_NOMINATIONS']) { ?><dd><strong><?php echo ((isset($this->_rootref['L_MEDALS'])) ? $this->_rootref['L_MEDALS'] : ((isset($user->lang['MEDALS'])) ? $user->lang['MEDALS'] : '{ MEDALS }')); ?>:</strong> <?php echo $_medal_val['MEDALS_COUNT']; echo $_medal_val['MEDALS_NOMINATED']; ?></dd><?php } $_medal_row_count = (isset($_medal_val['medal_row'])) ? sizeof($_medal_val['medal_row']) : 0;if ($_medal_row_count) {for ($_medal_row_i = 0; $_medal_row_i < $_medal_row_count; ++$_medal_row_i){$_medal_row_val = &$_medal_val['medal_row'][$_medal_row_i]; ?>
<dd>
<?php $_medal_col_count = (isset($_medal_row_val['medal_col'])) ? sizeof($_medal_row_val['medal_col']) : 0;if ($_medal_col_count) {for ($_medal_col_i = 0; $_medal_col_i < $_medal_col_count; ++$_medal_col_i){$_medal_col_val = &$_medal_row_val['medal_col'][$_medal_col_i]; ?>
<img src="<?php echo $_medal_col_val['MEDAL_IMAGE']; ?>" border="0" alt="<?php echo $_medal_col_val['MEDAL_NAME']; ?> <?php echo $_medal_col_val['MEDAL_COUNT']; ?>" title="<?php echo $_medal_col_val['MEDAL_NAME']; ?> <?php echo $_medal_col_val['MEDAL_COUNT']; ?>" <?php echo $_medal_col_val['MEDAL_WIDTH']; ?> <?php echo $_medal_col_val['MEDAL_HEIGHT']; ?> />
<?php }} ?>
</dd>
<?php }} }} if ($_postrow_val['S_PROFILE_FIELD1']) { ?><!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
<dd><strong><?php echo $_postrow_val['PROFILE_FIELD1_NAME']; ?> </strong> <p><?php echo $_postrow_val['PROFILE_FIELD1_VALUE']; ?></p></dd>
<?php } $_custom_fields_count = (isset($_postrow_val['custom_fields'])) ? sizeof($_postrow_val['custom_fields']) : 0;if ($_custom_fields_count) {for ($_custom_fields_i = 0; $_custom_fields_i < $_custom_fields_count; ++$_custom_fields_i){$_custom_fields_val = &$_postrow_val['custom_fields'][$_custom_fields_i]; ?>
<dd><strong><?php echo $_custom_fields_val['PROFILE_FIELD_NAME']; ?> </strong> <p><?php echo $_custom_fields_val['PROFILE_FIELD_VALUE']; ?></p></dd>
<?php }} if (! $this->_rootref['S_IS_BOT']) { if ($_postrow_val['U_PM'] || $_postrow_val['U_EMAIL'] || $_postrow_val['U_WWW'] || $_postrow_val['U_MSN'] || $_postrow_val['U_ICQ'] || $_postrow_val['U_YIM'] || $_postrow_val['U_AIM'] || $_postrow_val['U_JABBER']) { ?>
<dd>
<ul class="profile-icons">
<?php if ($_postrow_val['U_PM']) { ?><li class="pm-icon"><a href="<?php echo $_postrow_val['U_PM']; ?>" title="<?php echo ((isset($this->_rootref['L_PRIVATE_MESSAGE'])) ? $this->_rootref['L_PRIVATE_MESSAGE'] : ((isset($user->lang['PRIVATE_MESSAGE'])) ? $user->lang['PRIVATE_MESSAGE'] : '{ PRIVATE_MESSAGE }')); ?>"><i class="icon-user-male"></i><span><?php echo ((isset($this->_rootref['L_PRIVATE_MESSAGE'])) ? $this->_rootref['L_PRIVATE_MESSAGE'] : ((isset($user->lang['PRIVATE_MESSAGE'])) ? $user->lang['PRIVATE_MESSAGE'] : '{ PRIVATE_MESSAGE }')); ?></span></a></li><?php } if ($_postrow_val['U_EMAIL']) { ?><li class="email-icon"><a href="<?php echo $_postrow_val['U_EMAIL']; ?>" title="<?php echo ((isset($this->_rootref['L_SEND_EMAIL_USER'])) ? $this->_rootref['L_SEND_EMAIL_USER'] : ((isset($user->lang['SEND_EMAIL_USER'])) ? $user->lang['SEND_EMAIL_USER'] : '{ SEND_EMAIL_USER }')); ?> <?php echo $_postrow_val['POST_AUTHOR']; ?>"><i class="icon-mail-alt"></i><span><?php echo ((isset($this->_rootref['L_SEND_EMAIL_USER'])) ? $this->_rootref['L_SEND_EMAIL_USER'] : ((isset($user->lang['SEND_EMAIL_USER'])) ? $user->lang['SEND_EMAIL_USER'] : '{ SEND_EMAIL_USER }')); ?> <?php echo $_postrow_val['POST_AUTHOR']; ?></span></a></li><?php } if ($_postrow_val['U_WWW']) { ?><li class="web-icon"><a href="<?php echo $_postrow_val['U_WWW']; ?>" title="<?php echo ((isset($this->_rootref['L_VISIT_WEBSITE'])) ? $this->_rootref['L_VISIT_WEBSITE'] : ((isset($user->lang['VISIT_WEBSITE'])) ? $user->lang['VISIT_WEBSITE'] : '{ VISIT_WEBSITE }')); ?>: <?php echo $_postrow_val['U_WWW']; ?>"><i class="icon-globe"></i><span><?php echo ((isset($this->_rootref['L_WEBSITE'])) ? $this->_rootref['L_WEBSITE'] : ((isset($user->lang['WEBSITE'])) ? $user->lang['WEBSITE'] : '{ WEBSITE }')); ?></span></a></li><?php } if ($_postrow_val['U_MSN']) { ?><li class="msnm-icon"><a href="<?php echo $_postrow_val['U_MSN']; ?>" onclick="popup(this.href, 550, 320); return false;" title="<?php echo ((isset($this->_rootref['L_MSNM'])) ? $this->_rootref['L_MSNM'] : ((isset($user->lang['MSNM'])) ? $user->lang['MSNM'] : '{ MSNM }')); ?>"><i class="icon-users"></i><span><?php echo ((isset($this->_rootref['L_MSNM'])) ? $this->_rootref['L_MSNM'] : ((isset($user->lang['MSNM'])) ? $user->lang['MSNM'] : '{ MSNM }')); ?></span></a></li><?php } if ($_postrow_val['U_ICQ']) { ?><li class="icq-icon"><a href="<?php echo $_postrow_val['U_ICQ']; ?>" onclick="popup(this.href, 550, 320); return false;" title="<?php echo ((isset($this->_rootref['L_ICQ'])) ? $this->_rootref['L_ICQ'] : ((isset($user->lang['ICQ'])) ? $user->lang['ICQ'] : '{ ICQ }')); ?>"><i class="icon-icq"></i><span><?php echo ((isset($this->_rootref['L_ICQ'])) ? $this->_rootref['L_ICQ'] : ((isset($user->lang['ICQ'])) ? $user->lang['ICQ'] : '{ ICQ }')); ?></span></a></li><?php } if ($_postrow_val['U_YIM']) { ?><li class="yahoo-icon"><a href="<?php echo $_postrow_val['U_YIM']; ?>" onclick="popup(this.href, 780, 550); return false;" title="<?php echo ((isset($this->_rootref['L_YIM'])) ? $this->_rootref['L_YIM'] : ((isset($user->lang['YIM'])) ? $user->lang['YIM'] : '{ YIM }')); ?>"><i class="icon-yahoo"></i><span><?php echo ((isset($this->_rootref['L_YIM'])) ? $this->_rootref['L_YIM'] : ((isset($user->lang['YIM'])) ? $user->lang['YIM'] : '{ YIM }')); ?></span></a></li><?php } if ($_postrow_val['U_AIM']) { ?><li class="aim-icon"><a href="<?php echo $_postrow_val['U_AIM']; ?>" onclick="popup(this.href, 550, 320); return false;" title="<?php echo ((isset($this->_rootref['L_AIM'])) ? $this->_rootref['L_AIM'] : ((isset($user->lang['AIM'])) ? $user->lang['AIM'] : '{ AIM }')); ?>"><i class="icon-aim"></i><span><?php echo ((isset($this->_rootref['L_AIM'])) ? $this->_rootref['L_AIM'] : ((isset($user->lang['AIM'])) ? $user->lang['AIM'] : '{ AIM }')); ?></span></a></li><?php } if ($_postrow_val['U_JABBER']) { ?><li class="jabber-icon"><a href="<?php echo $_postrow_val['U_JABBER']; ?>" onclick="popup(this.href, 550, 320); return false;" title="<?php echo ((isset($this->_rootref['L_JABBER'])) ? $this->_rootref['L_JABBER'] : ((isset($user->lang['JABBER'])) ? $user->lang['JABBER'] : '{ JABBER }')); ?>"><i class="icon-lightbulb"></i><span><?php echo ((isset($this->_rootref['L_JABBER'])) ? $this->_rootref['L_JABBER'] : ((isset($user->lang['JABBER'])) ? $user->lang['JABBER'] : '{ JABBER }')); ?></span></a></li><?php } if ($_postrow_val['U_GALLERY']) { ?><li class="gallery-icon"><a href="<?php echo $_postrow_val['U_GALLERY']; ?>" title="<?php echo ((isset($this->_rootref['L_PERSONAL_ALBUM'])) ? $this->_rootref['L_PERSONAL_ALBUM'] : ((isset($user->lang['PERSONAL_ALBUM'])) ? $user->lang['PERSONAL_ALBUM'] : '{ PERSONAL_ALBUM }')); ?>"><span><?php echo ((isset($this->_rootref['L_PERSONAL_ALBUM'])) ? $this->_rootref['L_PERSONAL_ALBUM'] : ((isset($user->lang['PERSONAL_ALBUM'])) ? $user->lang['PERSONAL_ALBUM'] : '{ PERSONAL_ALBUM }')); ?></span></a></li><?php } ?>
</ul>
</dd>
<?php } } ?>
</span>
</dl>
<?php } ?>
<div class="postbody">
<?php if ($_postrow_val['S_IGNORE_POST']) { ?>
<div class="ignore"><?php echo $_postrow_val['L_IGNORE_POST']; ?></div>
<?php } else { if (! $this->_rootref['S_IS_BOT']) { if ($_postrow_val['U_EDIT'] || $_postrow_val['U_DELETE'] || $_postrow_val['U_REPORT'] || $_postrow_val['U_WARN'] || $_postrow_val['U_INFO'] || $_postrow_val['U_QUOTE']) { ?>
<ul class="profile-icons">
<?php if ($this->_rootref['S_QUICK_REPLY']) { ?><li class="quote-icon"><a href="#" title="<?php echo ((isset($this->_rootref['L_QUICKREPLY'])) ? $this->_rootref['L_QUICKREPLY'] : ((isset($user->lang['QUICKREPLY'])) ? $user->lang['QUICKREPLY'] : '{ QUICKREPLY }')); ?>" onclick="dE('qr_editor_div', 1);dE('qr_showeditor_div',-1);insert_text('[b]<?php echo $_postrow_val['POST_AUTHOR']; ?>[/b], ');return false;"><i class="icon-comment-1"></i></a></li><?php } if ($_postrow_val['U_QUOTE']) { ?><li class="quote-icon"><a href="<?php echo $_postrow_val['U_QUOTE']; ?>" title="<?php echo ((isset($this->_rootref['L_REPLY_WITH_QUOTE'])) ? $this->_rootref['L_REPLY_WITH_QUOTE'] : ((isset($user->lang['REPLY_WITH_QUOTE'])) ? $user->lang['REPLY_WITH_QUOTE'] : '{ REPLY_WITH_QUOTE }')); ?>"><i class="icon-quote-circled"></i><span><?php echo ((isset($this->_rootref['L_REPLY_WITH_QUOTE'])) ? $this->_rootref['L_REPLY_WITH_QUOTE'] : ((isset($user->lang['REPLY_WITH_QUOTE'])) ? $user->lang['REPLY_WITH_QUOTE'] : '{ REPLY_WITH_QUOTE }')); ?></span></a></li><?php } if (! $_postrow_val['S_FIRST_POST_ONLY'] || $_postrow_val['S_ONLY_TOPICSTART']) { if (! $_postrow_val['S_GLOBAL_POST_THANKS'] && ! $_postrow_val['S_POST_ANONYMOUS'] && $_postrow_val['S_FORUM_THANKS'] && ! $_postrow_val['S_IS_OWN_POST'] && ( ! $_postrow_val['S_ALREADY_THANKED'] || $_postrow_val['S_REMOVE_THANKS'] )) { ?><li class="<?php echo $_postrow_val['THANKS_IMG']; ?>"><a href="<?php echo $_postrow_val['THANKS_LINK']; ?>" title="<?php echo $_postrow_val['THANK_ALT']; echo $_postrow_val['POST_AUTHOR']; ?>"><i class="<?php if ($_postrow_val['S_ALREADY_THANKED']) { ?>icon-thumbs-down<?php } else { ?>icon-thumbs-up<?php } ?>"></i><span><?php echo $_postrow_val['THANK_ALT']; echo $_postrow_val['POST_AUTHOR']; ?></span></a></li><?php } } if ($_postrow_val['U_EDIT']) { ?><li class="edit-icon"><a href="<?php echo $_postrow_val['U_EDIT']; ?>" title="<?php echo ((isset($this->_rootref['L_EDIT_POST'])) ? $this->_rootref['L_EDIT_POST'] : ((isset($user->lang['EDIT_POST'])) ? $user->lang['EDIT_POST'] : '{ EDIT_POST }')); ?>"><i class="icon-pencil-alt"></i><span><?php echo ((isset($this->_rootref['L_EDIT_POST'])) ? $this->_rootref['L_EDIT_POST'] : ((isset($user->lang['EDIT_POST'])) ? $user->lang['EDIT_POST'] : '{ EDIT_POST }')); ?></span></a></li><?php } if ($_postrow_val['U_DELETE']) { ?><li class="delete-icon"><a href="<?php echo $_postrow_val['U_DELETE']; ?>" title="<?php echo ((isset($this->_rootref['L_DELETE_POST'])) ? $this->_rootref['L_DELETE_POST'] : ((isset($user->lang['DELETE_POST'])) ? $user->lang['DELETE_POST'] : '{ DELETE_POST }')); ?>"><i class="icon-cancel"></i><span><?php echo ((isset($this->_rootref['L_DELETE_POST'])) ? $this->_rootref['L_DELETE_POST'] : ((isset($user->lang['DELETE_POST'])) ? $user->lang['DELETE_POST'] : '{ DELETE_POST }')); ?></span></a></li><?php } if ($_postrow_val['U_REPORT']) { ?><li class="report-icon"><a href="<?php echo $_postrow_val['U_REPORT']; ?>" title="<?php echo ((isset($this->_rootref['L_REPORT_POST'])) ? $this->_rootref['L_REPORT_POST'] : ((isset($user->lang['REPORT_POST'])) ? $user->lang['REPORT_POST'] : '{ REPORT_POST }')); ?>"><i class="icon-attention-alt"></i><span><?php echo ((isset($this->_rootref['L_REPORT_POST'])) ? $this->_rootref['L_REPORT_POST'] : ((isset($user->lang['REPORT_POST'])) ? $user->lang['REPORT_POST'] : '{ REPORT_POST }')); ?></span></a></li><?php } if ($_postrow_val['U_WARN']) { ?><li class="warn-icon"><a href="<?php echo $_postrow_val['U_WARN']; ?>" title="<?php echo ((isset($this->_rootref['L_WARN_USER'])) ? $this->_rootref['L_WARN_USER'] : ((isset($user->lang['WARN_USER'])) ? $user->lang['WARN_USER'] : '{ WARN_USER }')); ?>"><i class="icon-error"></i><span><?php echo ((isset($this->_rootref['L_WARN_USER'])) ? $this->_rootref['L_WARN_USER'] : ((isset($user->lang['WARN_USER'])) ? $user->lang['WARN_USER'] : '{ WARN_USER }')); ?></span></a></li><?php } if ($_postrow_val['U_INFO']) { ?><li class="info-icon"><a href="<?php echo $_postrow_val['U_INFO']; ?>" title="<?php echo ((isset($this->_rootref['L_INFORMATION'])) ? $this->_rootref['L_INFORMATION'] : ((isset($user->lang['INFORMATION'])) ? $user->lang['INFORMATION'] : '{ INFORMATION }')); ?>"><i class="icon-info-circled-alt"></i><span><?php echo ((isset($this->_rootref['L_INFORMATION'])) ? $this->_rootref['L_INFORMATION'] : ((isset($user->lang['INFORMATION'])) ? $user->lang['INFORMATION'] : '{ INFORMATION }')); ?></span></a></li><?php } ?>
</ul>
<?php } } ?>
<h3 <?php if ($_postrow_val['S_FIRST_ROW']) { ?>class="first"<?php } ?>><?php if ($_postrow_val['POST_ICON_IMG']) { ?><img src="<?php echo (isset($this->_rootref['T_ICONS_PATH'])) ? $this->_rootref['T_ICONS_PATH'] : ''; echo $_postrow_val['POST_ICON_IMG']; ?>" width="<?php echo $_postrow_val['POST_ICON_IMG_WIDTH']; ?>" height="<?php echo $_postrow_val['POST_ICON_IMG_HEIGHT']; ?>" alt="" /> <?php } ?><a href="<?php echo (isset($this->_rootref['U_VIEW_TOPIC'])) ? $this->_rootref['U_VIEW_TOPIC'] : ''; ?>#p<?php echo $_postrow_val['POST_ID']; ?>"<?php if ($_postrow_val['S_FIRST_ROW']) { ?> itemprop="headline"<?php } ?>><?php echo $_postrow_val['POST_SUBJECT']; ?></a></h3>
<p class="author"><?php if ($this->_rootref['S_IS_BOT']) { ?><i class="fa fa-file-o"></i> <?php } else { ?><a href="<?php echo $_postrow_val['U_MINI_POST']; ?>"><?php if ($_postrow_val['S_UNREAD_POST']) { ?><i class="fa fa-file"></i> <?php } else { ?><i class="fa fa-file-o"></i> <?php } ?></a><?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 }')); ?> <strong><?php echo $_postrow_val['POST_AUTHOR_FULL']; ?></strong> » <?php echo $_postrow_val['POST_DATE']; ?> </p>
<?php if ($_postrow_val['S_POST_UNAPPROVED'] || $_postrow_val['S_POST_REPORTED']) { ?>
<p class="rules">
<?php if ($_postrow_val['S_POST_UNAPPROVED']) { ?><i title="<?php echo ((isset($this->_rootref['L_POST_UNAPPROVED'])) ? $this->_rootref['L_POST_UNAPPROVED'] : ((isset($user->lang['POST_UNAPPROVED'])) ? $user->lang['POST_UNAPPROVED'] : '{ POST_UNAPPROVED }')); ?>" class="icon-help-circled-alt ic-unaproved"></i><a href="<?php echo $_postrow_val['U_MCP_APPROVE']; ?>"><strong><?php echo ((isset($this->_rootref['L_POST_UNAPPROVED'])) ? $this->_rootref['L_POST_UNAPPROVED'] : ((isset($user->lang['POST_UNAPPROVED'])) ? $user->lang['POST_UNAPPROVED'] : '{ POST_UNAPPROVED }')); ?></strong></a><br /><?php } if ($_postrow_val['S_POST_REPORTED']) { ?><i title="<?php echo ((isset($this->_rootref['L_POST_REPORTED'])) ? $this->_rootref['L_POST_REPORTED'] : ((isset($user->lang['POST_REPORTED'])) ? $user->lang['POST_REPORTED'] : '{ POST_REPORTED }')); ?>" class="icon-attention-alt ic-reported"></i> <a href="<?php echo $_postrow_val['U_MCP_REPORT']; ?>"><strong><?php echo ((isset($this->_rootref['L_POST_REPORTED'])) ? $this->_rootref['L_POST_REPORTED'] : ((isset($user->lang['POST_REPORTED'])) ? $user->lang['POST_REPORTED'] : '{ POST_REPORTED }')); ?></strong></a><?php } ?>
</p>
<?php } ?>
<div class="content"<?php if ($_postrow_val['S_FIRST_ROW']) { ?> itemprop="articleBody"<?php } if ($this->_rootref['S_QUICK_REPLY']) { ?> onmouseup="quick_quote('<?php echo $_postrow_val['POST_AUTHOR']; ?>', event);"<?php } ?>><?php echo $_postrow_val['MESSAGE']; ?></div>
<?php if ($_postrow_val['S_HAS_ATTACHMENTS']) { ?>
<dl class="attachbox">
<dt><?php echo ((isset($this->_rootref['L_ATTACHMENTS'])) ? $this->_rootref['L_ATTACHMENTS'] : ((isset($user->lang['ATTACHMENTS'])) ? $user->lang['ATTACHMENTS'] : '{ ATTACHMENTS }')); ?></dt>
<?php $_attachment_count = (isset($_postrow_val['attachment'])) ? sizeof($_postrow_val['attachment']) : 0;if ($_attachment_count) {for ($_attachment_i = 0; $_attachment_i < $_attachment_count; ++$_attachment_i){$_attachment_val = &$_postrow_val['attachment'][$_attachment_i]; ?>
<dd><?php echo $_attachment_val['DISPLAY_ATTACHMENT']; ?></dd>
<?php }} ?>
</dl>
<?php } if ($_postrow_val['S_DISPLAY_NOTICE']) { ?><div class="rules"><?php echo ((isset($this->_rootref['L_DOWNLOAD_NOTICE'])) ? $this->_rootref['L_DOWNLOAD_NOTICE'] : ((isset($user->lang['DOWNLOAD_NOTICE'])) ? $user->lang['DOWNLOAD_NOTICE'] : '{ DOWNLOAD_NOTICE }')); ?></div><?php } if ($_postrow_val['EDITED_MESSAGE'] || $_postrow_val['EDIT_REASON']) { ?>
<div class="notice"><?php echo $_postrow_val['EDITED_MESSAGE']; ?>
<?php if ($_postrow_val['EDIT_REASON']) { ?><br /><strong><?php echo ((isset($this->_rootref['L_REASON'])) ? $this->_rootref['L_REASON'] : ((isset($user->lang['REASON'])) ? $user->lang['REASON'] : '{ REASON }')); ?>:</strong> <em><?php echo $_postrow_val['EDIT_REASON']; ?></em><?php } ?>
</div>
<?php } if ($_postrow_val['BUMPED_MESSAGE']) { ?><div class="notice"><br /><br /><?php echo $_postrow_val['BUMPED_MESSAGE']; ?></div><?php } if ($_postrow_val['SIGNATURE']) { ?><div id="sig<?php echo $_postrow_val['POST_ID']; ?>" class="signature"><?php echo $_postrow_val['SIGNATURE']; ?></div><?php } } ?>
</div>
<?php if ($_postrow_val['THANKS'] && $_postrow_val['THANKS_POSTLIST_VIEW']) { ?>
<hr />
<ul class="linklist leftside">
<?php if (! $_postrow_val['S_POST_ANONYMOUS'] && ! $this->_rootref['S_IS_BOT'] && $_postrow_val['S_MOD_THANKS']) { ?>
<li><a href="<?php echo $_postrow_val['U_CLEAR_LIST_THANKS_POST']; ?>" title="<?php echo ((isset($this->_rootref['L_CLEAR_LIST_THANKS'])) ? $this->_rootref['L_CLEAR_LIST_THANKS'] : ((isset($user->lang['CLEAR_LIST_THANKS'])) ? $user->lang['CLEAR_LIST_THANKS'] : '{ CLEAR_LIST_THANKS }')); ?>"><i class="icon-cancel"></i></a></li>
<?php } ?>
<li><span class="small"><?php echo $_postrow_val['THANK_TEXT']; echo $_postrow_val['POST_AUTHOR_FULL']; echo $_postrow_val['THANK_TEXT_2']; ?> <?php echo $_postrow_val['THANKS']; ?></span></li>
</ul>
<?php } if ($_postrow_val['S_THANKS_POST_REPUT_VIEW'] && $_postrow_val['POST_REPUT'] && ! $this->_rootref['S_IS_BOT']) { if (! $_postrow_val['THANKS'] && ! $_postrow_val['THANKS_POSTLIST_VIEW']) { ?><hr /><?php } ?>
<ul class="linklist rightside">
<?php if ($_postrow_val['S_THANKS_REPUT_GRAPHIC']) { ?>
<li><div style="width: <?php echo $_postrow_val['THANKS_REPUT_GRAPHIC_WIDTH']; ?>; height: <?php echo $_postrow_val['THANKS_REPUT_HEIGHT']; ?>; background: url(<?php echo $_postrow_val['THANKS_REPUT_IMAGE_BACK']; ?>); background-repeat: repeat-x;"><div style="height: <?php echo $_postrow_val['THANKS_REPUT_HEIGHT']; ?>; width: <?php echo $_postrow_val['POST_REPUT']; ?>; background: url(<?php echo $_postrow_val['THANKS_REPUT_IMAGE']; ?>); background-repeat: repeat-x;"></div></div></li>
<?php } ?>
<li><span class="small"><?php echo $_postrow_val['POST_REPUT']; ?></span></li>
</ul>
<?php } ?>
</div>
<?php if (( $this->_rootref['ADS_5'] && $_postrow_val['S_FIRST_ROW'] && $this->_rootref['S_NUM_POSTS'] > (2) ) || ( $this->_rootref['ADS_6'] && ! $_postrow_val['S_FIRST_ROW'] )) { ?>
<div class="post" style="text-align:center;overflow:auto;"><?php if ($_postrow_val['S_FIRST_ROW']) { echo (isset($this->_rootref['ADS_5'])) ? $this->_rootref['ADS_5'] : ''; } else { echo (isset($this->_rootref['ADS_6'])) ? $this->_rootref['ADS_6'] : ''; } ?></div>
<?php } }} if ($this->_rootref['S_QUICK_REPLY']) { $this->_tpl_include('quickreply_editor.html'); } ?>
<div class="panel">
<?php if ($this->_rootref['S_NUM_POSTS'] > (1) || $this->_rootref['PREVIOUS_PAGE']) { ?>
<form id="viewtopic" method="post" action="<?php echo (isset($this->_rootref['S_TOPIC_ACTION'])) ? $this->_rootref['S_TOPIC_ACTION'] : ''; ?>">
<fieldset class="display-options" style="margin-top: 0; ">
<?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_POSTS'])) ? $this->_rootref['L_DISPLAY_POSTS'] : ((isset($user->lang['DISPLAY_POSTS'])) ? $user->lang['DISPLAY_POSTS'] : '{ DISPLAY_POSTS }')); ?>: <?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 } ?>
<div class="topic-actions">
<div class="buttons">
<?php if (! $this->_rootref['S_IS_BOT'] && $this->_rootref['S_DISPLAY_REPLY_INFO']) { if ($this->_rootref['S_IS_LOCKED']) { ?>
<a href="<?php echo (isset($this->_rootref['U_POST_REPLY_TOPIC'])) ? $this->_rootref['U_POST_REPLY_TOPIC'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_TOPIC_LOCKED'])) ? $this->_rootref['L_TOPIC_LOCKED'] : ((isset($user->lang['TOPIC_LOCKED'])) ? $user->lang['TOPIC_LOCKED'] : '{ TOPIC_LOCKED }')); ?>"><span class="button-icon"><i class="icon-lock"></i></span><?php echo ((isset($this->_rootref['L_TOPIC_LOCKED_SHORT'])) ? $this->_rootref['L_TOPIC_LOCKED_SHORT'] : ((isset($user->lang['TOPIC_LOCKED_SHORT'])) ? $user->lang['TOPIC_LOCKED_SHORT'] : '{ TOPIC_LOCKED_SHORT }')); ?></a><?php } else { ?>
<a href="<?php echo (isset($this->_rootref['U_POST_REPLY_TOPIC'])) ? $this->_rootref['U_POST_REPLY_TOPIC'] : ''; ?>" title="<?php echo ((isset($this->_rootref['L_POST_REPLY'])) ? $this->_rootref['L_POST_REPLY'] : ((isset($user->lang['POST_REPLY'])) ? $user->lang['POST_REPLY'] : '{ POST_REPLY }')); ?>"><span class="button-icon"><i class="icon-reply"></i></span><?php echo ((isset($this->_rootref['L_POST_REPLY'])) ? $this->_rootref['L_POST_REPLY'] : ((isset($user->lang['POST_REPLY'])) ? $user->lang['POST_REPLY'] : '{ POST_REPLY }')); ?></a>
<?php } } ?>
</div>
<?php if ($this->_rootref['PAGINATION'] || $this->_rootref['TOTAL_POSTS']) { ?>
<div class="pagination">
<?php echo (isset($this->_rootref['TOTAL_POSTS'])) ? $this->_rootref['TOTAL_POSTS'] : ''; ?>
<?php 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 $this->_tpl_include('jumpbox.html'); if ($this->_rootref['S_TOPIC_MOD']) { ?>
<form method="post" action="<?php echo (isset($this->_rootref['S_MOD_ACTION'])) ? $this->_rootref['S_MOD_ACTION'] : ''; ?>">
<fieldset class="quickmod">
<label for="quick-mod-select"><?php echo ((isset($this->_rootref['L_QUICK_MOD'])) ? $this->_rootref['L_QUICK_MOD'] : ((isset($user->lang['QUICK_MOD'])) ? $user->lang['QUICK_MOD'] : '{ QUICK_MOD }')); ?>:</label> <?php echo (isset($this->_rootref['S_TOPIC_MOD'])) ? $this->_rootref['S_TOPIC_MOD'] : ''; ?> <input type="submit" value="<?php echo ((isset($this->_rootref['L_GO'])) ? $this->_rootref['L_GO'] : ((isset($user->lang['GO'])) ? $user->lang['GO'] : '{ GO }')); ?>" class="button2" />
<?php echo (isset($this->_rootref['S_FORM_TOKEN'])) ? $this->_rootref['S_FORM_TOKEN'] : ''; ?>
</fieldset>
</form>
<?php } ?>
</div><!-- PANEL END --><?php if ($this->_rootref['ADS_4']) { echo (isset($this->_rootref['ADS_4'])) ? $this->_rootref['ADS_4'] : ''; } if ($this->_rootref['S_RELATED_RESULTS']) { ?><div class="clear"> </div><br /><br />
<div class="forumbg">
<ul class="topiclist">
<li class="header">
<dl class="icon"><dt><span class="panel-icon"><i class="icon-attention-alt"></i></span><?php echo ((isset($this->_rootref['L_RELATED_TOPICS'])) ? $this->_rootref['L_RELATED_TOPICS'] : ((isset($user->lang['RELATED_TOPICS'])) ? $user->lang['RELATED_TOPICS'] : '{ RELATED_TOPICS }')); ?></dt></dl>
</li>
</ul>
<ul class="topiclist forums">
<?php $_related_count = (isset($this->_tpldata['related'])) ? sizeof($this->_tpldata['related']) : 0;if ($_related_count) {for ($_related_i = 0; $_related_i < $_related_count; ++$_related_i){$_related_val = &$this->_tpldata['related'][$_related_i]; ?>
<li class="row bg1<?php if ($_related_val['S_POST_ANNOUNCE']) { ?> announce<?php } if ($_related_val['S_POST_STICKY']) { ?> sticky<?php } if ($_related_val['S_TOPIC_REPORTED']) { ?> reported<?php } ?>">
<dl class="icon" style="background-image: url(<?php echo $_related_val['TOPIC_FOLDER_IMG_SRC']; ?>); background-repeat: no-repeat;">
<dt <?php if ($_related_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 $_related_val['TOPIC_ICON_IMG']; ?>); background-repeat: no-repeat;"<?php } ?>>
<?php if ($_related_val['U_FORUM'] && ! $_related_val['S_POST_GLOBAL']) { ?><a class="topictitle" href="<?php echo $_related_val['U_FORUM']; ?>" title="<?php echo $_related_val['FORUM']; ?>"><?php echo $_related_val['FORUM']; ?></a> » <?php } if ($_related_val['S_UNREAD_TOPIC']) { ?><a href="<?php echo $_related_val['U_NEWEST_POST']; ?>"><?php echo (isset($this->_rootref['NEWEST_POST_IMG'])) ? $this->_rootref['NEWEST_POST_IMG'] : ''; ?></a> <?php } ?><a class="topictitle" href="<?php echo $_related_val['U_TOPIC']; ?>" title="<?php echo $_related_val['TOPIC_TITLE']; ?> : <?php echo $_related_val['FORUM']; ?>"><?php echo $_related_val['TOPIC_TITLE']; ?></a> [<?php echo ((isset($this->_rootref['L_REPLIES'])) ? $this->_rootref['L_REPLIES'] : ((isset($user->lang['REPLIES'])) ? $user->lang['REPLIES'] : '{ REPLIES }')); ?>: <?php echo $_related_val['REPLIES']; ?> <?php echo ((isset($this->_rootref['L_VIEWS'])) ? $this->_rootref['L_VIEWS'] : ((isset($user->lang['VIEWS'])) ? $user->lang['VIEWS'] : '{ VIEWS }')); ?>: <?php echo $_related_val['VIEWS']; ?>]
<?php if ($_related_val['S_TOPIC_UNAPPROVED']) { ?><a href="<?php echo $_related_val['U_MCP_QUEUE']; ?>"><?php echo (isset($this->_rootref['UNAPPROVED_IMG'])) ? $this->_rootref['UNAPPROVED_IMG'] : ''; ?></a> <?php } if ($_related_val['S_TOPIC_REPORTED']) { ?><a href="<?php echo $_related_val['U_MCP_REPORT']; ?>"><?php echo (isset($this->_rootref['REPORTED_IMG'])) ? $this->_rootref['REPORTED_IMG'] : ''; ?></a><?php } ?><br />
<?php if ($_related_val['PAGINATION']) { ?><strong class="pagination"><span><?php echo $_related_val['PAGINATION']; ?></span></strong><?php } if ($_related_val['ATTACH_ICON_IMG']) { echo $_related_val['ATTACH_ICON_IMG']; ?> <?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 $_related_val['TOPIC_AUTHOR_FULL']; ?> » <?php echo $_related_val['FIRST_POST_TIME']; ?></dd>
<dd class="lastpost"><?php echo ((isset($this->_rootref['L_LAST_POST'])) ? $this->_rootref['L_LAST_POST'] : ((isset($user->lang['LAST_POST'])) ? $user->lang['LAST_POST'] : '{ LAST_POST }')); ?> <?php echo $_related_val['LAST_POST_TIME']; ?> <?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 $_related_val['LAST_POST_AUTHOR_FULL']; ?> <a href="<?php echo $_related_val['U_LAST_POST']; ?>"><?php echo (isset($this->_rootref['LAST_POST_IMG'])) ? $this->_rootref['LAST_POST_IMG'] : ''; ?></a>
</dd>
</dl>
</li>
<?php }} ?>
</ul>
</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 } $this->_tpl_include('overall_footer.html'); ?>