<!-- END TABLE -->
<if="$is_outline == 1">
<br />
<div class="borderwrap">
</if>
<!-- TABLE FOOTER -->
<div class="barc">
	<div style="float: right; padding: 5px 5px 0 0;"><a href="{$this->ipsclass->base_url}showtopic={$data['TOPIC']['tid']}&amp;view=old" style='text-decoration:none'>&laquo; {$this->ipsclass->lang['t_old']}</a>
	&middot; <a href="{$this->ipsclass->base_url}showforum={$data['FORUM']['id']}" style='font-weight: bold;text-decoration:none'>{$data['FORUM']['name']}</a>
	&middot; <a href="{$this->ipsclass->base_url}showtopic={$data['TOPIC']['tid']}&amp;view=new" style='text-decoration:none'>{$this->ipsclass->lang['t_new']} &raquo;</a></div>
	<div>
		<form action="{$this->ipsclass->base_url}" method="post" name="search">
			<input type="hidden" name="forums" value="{$data['FORUM']['id']}" />
			<input type="hidden" name="topic" value="{$data['TOPIC']['tid']}" />
			<input type="hidden" name="act" value="Search" />
			<input type="hidden" name="CODE" value="searchtopic" />
			<input type="text" size="25" name="keywords" class="searchinput" value="{$this->ipsclass->lang['enter_keywords']}" onfocus="this.value = '';" />&nbsp;
			<input type="submit" value="{$this->ipsclass->lang['search_topic']}" class="button" />
		</form>
	</div>
</div>
</div>
<br />
<!--IBF.MOD_FULL_WRAPPER-->
<!--IBF.MOD_PANEL_NO_MOD-->
<table class='ipbtable' cellspacing="0">
	<tr>
		<td style='padding-left:0px' width="30%" nowrap="nowrap" valign="middle"><div>{$data['TOPIC']['SHOW_PAGES']}</div></td>
		<td class='nopad' style='padding:5px 0px 5px 0px' align="right" width="70%"><!--IBF.QUICK_REPLY_CLOSED--><!--IBF.TOPIC_REPLY--><a href="{$this->ipsclass->base_url}act=post&amp;do=new_post&amp;f={$data['FORUM']['id']}" title="{$this->ipsclass->lang['start_new_topic']}"><{A_POST}></a></td>
	</tr>
</table>
<!--IBF.TOPIC_ACTIVE-->
<!--IBF.QUICK_REPLY_OPEN-->
<br />
<div class="borderwrap">
	<div class="row2" style="padding: 5px;">
		<!--IBF.MULTIMOD-->
		<div align="right">{$data['FORUM']['JUMP']}</div>
	</div>
</div>
<br />
<!-- NON JS STUFF -->
<div id='topicoptionsjs'>
 <a name='topicdisplay'></a>
 <div class='borderwrap'>
  <div class="bar" style="padding: 5px;text-align:center">
  <strong>{$this->ipsclass->lang['topic_display']}:</strong> {$data['TOPIC']['to_button_standard']} &middot;
  {$data['TOPIC']['to_button_linearpl']} &middot;
  {$data['TOPIC']['to_button_threaded']}
  </div>
 </div>
 <br />
 <a name='topicoptions'></a>
 <div class='borderwrap'>
  <div class="bar" style="padding: 5px;text-align:center">
  <a href='{$this->ipsclass->base_url}act=usercp&amp;CODE=start_subs&amp;method=topic&amp;tid={$data['TOPIC']['tid']}'>{$this->ipsclass->lang['track_topic']}</a> &middot;
  <a href='{$this->ipsclass->base_url}act=Forward&amp;f={$data['FORUM']['id']}&amp;t={$data['TOPIC']['tid']}'>{$this->ipsclass->lang['forward']}</a> &middot;
  <a href='{$this->ipsclass->base_url}act=Print&amp;client=printer&amp;f={$data['FORUM']['id']}&amp;t={$data['TOPIC']['tid']}'>{$this->ipsclass->lang['print']}</a> &middot;
  <a href='{$this->ipsclass->base_url}act=usercp&amp;CODE=start_subs&amp;method=forum&amp;fid={$data['FORUM']['id']}'>{$this->ipsclass->lang['ft_title']}</a>
  </div>
 </div>
 <br />
<if="$data['TOPIC']['_allow_rate'] != 0">
<a name='topicrating'></a>
 <div class='borderwrap'>
  <div class="bar" style="padding: 5px;text-align:center">
  <form action='{$this->ipsclass->base_url}&amp;showtopic={$data['TOPIC']['tid']}&amp;addrating=1&amp;st={$this->ipsclass->input['st']}' method='POST'>
  <strong>{$this->ipsclass->lang['topic_rating']}</strong> &nbsp;<select name='rating'>
   <option value='5'>* * * * *</option>
   <option value='4'>* * * *</option>
   <option value='3'>* * *</option>
   <option value='2'>* *</option>
   <option value='1'>*</option>
  </select> <input class='button' type='submit' value=' {$this->ipsclass->lang['dd_rate_button']} ' />
  </form>
  </div>
 </div>
</if>
</div>
<script type='text/javascript'>
//<![CDATA[
document.getElementById('topicoptionsjs').style.display = 'none';
 
// Scroll to PID?
topic_scroll_to_post( parseInt("{$this->ipsclass->input['gopid']}") );
//]]>
</script>