<script type='text/javascript'>
//<![CDATA[
function checkAll(form){
  for (var i = 0; i < form.elements.length; i++){
    eval("form.elements[" + i + "].checked = form.elements[0].checked");
  }
}
//]]>
</script>
<table align="center" border="0" width="98%" cellspacing="0" style="border-collapse: collapse">
	<tr>
			<td width="2%" align="right">
			{if {$pager}}
<table width="6%" border="0" cellpadding="1" class="pager" align="left">
	<tr align="center">
		<td width="2%" class="pager">
 <a href="javascript:switchMenuNone('pager_top')"><img border="0" alt="" src="{$image_path}/menu_open.gif"
 title="{$lang['Jump_between_pages']}" /></a>
<div style="display:none;" class="drop_menu" id="pager_top">
			<table width="120" border="0" cellspacing="1" class="border">
				<tr align="center">
					<td class="tbar">
				{$lang['Go_to_the_page']}
					</td>
				</tr>
				<tr align="center">
					<td class="menu_popup" onclick="pagerBlock('pager_top')">
					<form name="misc" method="post" action="index.php?page=misc&amp;pagenav_forum=1">
		            <input type="hidden" name="section_id" value="{$section_id}" />
			        <input class="bginput" name="count" style="font-size: 11px;" size="4" type="text" />
			        <input class="button" type="submit" value="{$lang['Go']}" name="page_button" />
		           </form>
            		</td>
				</tr>
				</table>
			</div>
			</td>
		<td align="left">{$pager}</td>
	</tr>
</table>
{/if}
			{template}add_subject_link{/template}
<br />

			</td>
			</tr>
		</table>
  <br />
 <table border="0" cellspacing="0" width="98%" align="center" class="border_radius">
	<tr>
<td class="top_forum_bar" nowrap="nowrap">
 <span class="r-right">
        {$lang['forum_subjects']}
        {$section_info['title']}</span>
{if {$_CONF['group_info']['search_allow']} == 1}
<span class="l-left">
<span style="cursor: pointer;" class='popmenubutton'><a href="javascript:switchMenuNone('section_searchs_witch')">{$lang['search']}
&nbsp;<img border="0" alt="" src="{$image_path}/menu_open.gif" /></a> </span>
</span>
      <!-- Code search forum Menu start -->
<div style="display:none; left:20px; padding:24px 0 0 0;" class="drop_menu" id="section_searchs_witch">
<form name="search" action="index.php?page=forum" method="get">
<input type="hidden" name="page" value="forum" />
<input type="hidden" name="start" value="1" />
<input type="hidden" name="sort_order" value="DESC" />
<input type="hidden" name="section" value="{$SECTION_ID}" />
		<table width="120" border="0" cellspacing="0">
		<tr align="center">
		<td class="menu_popup" onclick="sBlock('section_searchs_witch')">
		<input type="text" name="keyword" value="{$lang['search_keyword']}" onfocus="if (this.value == '{$lang['search_keyword']}') this.value = '';" size="20"
		 dir="{$_CONF['info_row']['content_dir']}" />
		<input type="submit" value="{$lang['start_search']}" name="search" />
		</td>
		</tr>
		<tr>
		<td class="menu_popup" align="center">
		<a href="index.php?page=search&amp;index=1">{$lang['advanced_search']}</a>
		</td>
		</tr>
		</table>
		</form>
</div>
{/if}
</td>
	</tr>
</table>

<form action="index.php?page=management&amp;subject=1&amp;section={$SECTION_ID}&amp;operator=tools_thread" name="form1" method="post">
<table border="0" cellspacing="1" class="border" width="98%" align="center">
	<tr>
		<td width="75%" class="tcat" align="center" colspan="3">
			{$lang['subject_title']}
		</td>

		<td width="4%" class="tcat" align="center">
			{$lang['reply_num']}
		</td>
		<td width="4%" class="tcat" align="center">
			{$lang['subject_visitor']}
		</td>
		<td width="15%" class="tcat" align="center">
			{$lang['write_date']}
		</td>
		{if !{$mod_toolbar}}
			<td class="tcat" width="1%">
			<input type="checkbox" name="check_all" onclick="checkAll(this.form)" />
		</td>
		{/if}
	</tr>
{template}adsense_forum{/template}
{template}forum--announcement_table{/template}
	{if !{$NO_REVIEW_SUBJECTS}}
	<tr>
		<td width="98%" colspan="{$colspan}" class="thead" align="center">
			{$lang['subjects_review']}
		</td>
	</tr>
		{Des::while}{review_subject_list}
	<tr>
		<td width="1%" class="row2" align="center">
             {if {$review_subject_list['review_subject']}  == 1}
             <img alt="" src="{$image_path}/dot_review.gif" border="0"
             title="{$lang['subject_review']}" />
			{/if}

		</td>
		<td width="1%" class="row1" align="center">
			<img src="{$review_subject_list['icon']}" alt="" />
		</td>
		<td width="65%" class="row2">
<?php $PowerBB->_CONF['template']['while']['review_subject_list'][$this->x_loop]['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['review_subject_list'][$this->x_loop]['title']); ?>

                      {if {$_CONF['info_row']['rewriterule']} == '1'}
			               <a target="_blank" href="t{$review_subject_list['id']}{$password}.html" title="{$lang['opin_subject']}">
			               <img border="0" alt="{$lang['opin_subject']}"
				         src="{$image_path}/open.gif" /></a>
                      {else}
			          <a target="_blank" href="index.php?page=topic&amp;show=1&amp;id={$review_subject_list['id']}{$password}">
			          	 <img border="0" alt="{$lang['opin_subject']}"
				         src="{$image_path}/open.gif" /></a>
                     {/if}
                      <font class="title_font">
                      <span dir="{$_CONF['info_row']['content_dir']}">
                     <b>{$review_subject_list['prefix_subject']}</b>
                     </span>
                      {if {$_CONF['info_row']['rewriterule']} == '1'}
			         <a href="t{$review_subject_list['id']}{$password}.html">
			          {$review_subject_list['title']}</a>
                      {else}
			          <a href="index.php?page=topic&amp;show=1&amp;id={$review_subject_list['id']}{$password}">
			           {$review_subject_list['title']}</a>
                     {/if}
                     </font>

				{if {$review_subject_list['reply_number']} > {$_CONF['info_row']['perpage']}}
<img src="{$image_path}/multipage.gif"
alt="{$lang['subject_multipage']}"
title="{$lang['subject_multipage']}" align="left" />
	          {/if}
	      {if {$review_subject_list['attach_subject']} == 1}
<img src="{$image_path}/attach.gif"
alt="{$lang['subject_attach']}"
title="{$lang['subject_attach']}" align="left" />
	          {/if}
	          	          {if {$review_subject_list['rating']} > {$_CONF['info_row']['show_rating_num_max']}}
	          <img alt="" src="{$image_path}/rating/rating_5.gif"
title="{$lang['Rate_Topic']}
{$review_subject_list['rating']} " align="left" />
	          {/if}
			{if {$review_subject_list['close']}}
			{$lang['subject_close']}
			{/if}
			{if {$review_subject_list['delete_topic']}}
			{$lang['subject_delete']}
			{/if}
			{if {$review_subject_list['special']}}
			{$lang['subject_special']}
			<span class="l-left">
			<img border="0" src="{$image_path}/star.gif"
			alt="{$lang['s_special']}" /> </span>
			{/if}
			{if {$_CONF['info_row']['subject_describe_show']} and {$review_subject_list['subject_describe']} != ''}
			<br />
			<font class="smallfont">{$review_subject_list['subject_describe']}</font>
			{/if}
			<br />
<?php echo $PowerBB->functions->GetUsernameStyleAndUserId($PowerBB->_CONF['template']['while']['review_subject_list'][$this->x_loop]['writer']);?>
		</td>
		<td width="4%" class="row2" align="center">
       {if {$review_subject_list['reply_number']} == 0}
       {$review_subject_list['reply_number']}
       {else}
         <a onclick="window.open('index.php?page=misc&amp;whoposted=1&amp;subject_id={$review_subject_list['id']}','mywindow','location=1,status=1,scrollbars=1,width=150,height=300')"><u><font color="#000080">{$review_subject_list['reply_number']}</font></u></a>
       {/if}
		</td>
		<td width="4%" class="row1" align="center">
			{$review_subject_list['visitor']}
		</td>
		<td width="25%" class="row2" align="center">
			{if {$review_subject_list['reply_number']} <= 0}
			{$lang['no_replys']}
			{else}
<?php echo $PowerBB->functions->GetUsernameStyleAndUserId($PowerBB->_CONF['template']['while']['review_subject_list'][$this->x_loop]['last_replier']);?>

			<br />
			           <span class="smallfont">
			{$review_subject_list['reply_date']}
					</span >

			{/if}
		</td>
		{if !{$mod_toolbar}}
            <td width="1%" class="row1" align="center">
				<input type="checkbox" name="check[]" value="{$review_subject_list['id']}" />
			</td>
			{/if}
	</tr>
{/Des::while}
	{/if}
	{if !{$NO_STICK_SUBJECTS}}
	<tr>
		<td width="98%" colspan="{$colspan}" class="thead" align="center">
      {$lang['stick_subject_list']}
		</td>
	</tr>
	{/if}
	{Des::while}{stick_subject_list}
	<tr>
		<td width="1%" class="row2" align="center">
             {if {$stick_subject_list['stick']}  == 1}
             <img alt="" src="{$image_path}/sticky.gif"
              title="{$lang['stick_subject']}" />
			{/if}

		</td>
		<td width="1%" class="row1" align="center">
			<img src="{$stick_subject_list['icon']}" alt="" />
		</td>
		<td width="65%" class="row2">
<?php
$PowerBB->_CONF['template']['while']['stick_subject_list'][$this->x_loop]['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['stick_subject_list'][$this->x_loop]['title']);
$num ='99';
$PowerBB->_CONF['template']['while']['stick_subject_list'][$this->x_loop]['text'] = $PowerBB->functions->words_count_replace_strip_tags_html2bb($PowerBB->_CONF['template']['while']['stick_subject_list'][$this->x_loop]['text'],$num);

?>
                      {if {$_CONF['info_row']['rewriterule']} == '1'}
			               <a target="_blank" href="t{$stick_subject_list['id']}{$password}.html" title="{$lang['opin_subject']}">
			               <img border="0" alt="{$lang['opin_subject']}"
				         src="{$image_path}/open.gif" /></a>
                      {else}
			          <a target="_blank" href="index.php?page=topic&amp;show=1&amp;id={$stick_subject_list['id']}{$password}">
			          	 <img border="0" alt="{$lang['opin_subject']}"
				         src="{$image_path}/open.gif" /></a>
                     {/if}
                 <font class="title_font">
                 <span dir="{$_CONF['info_row']['content_dir']}">
                 <b>{$stick_subject_list['prefix_subject']}</b>
                 </span>
                 {if {$_CONF['info_row']['rewriterule']} == '1'}
			<a title="{$stick_subject_list['text']}" href="t{$stick_subject_list['id']}{$password}.html">
			{else}
			<a title="{$stick_subject_list['text']}" href="index.php?page=topic&amp;show=1&amp;id={$stick_subject_list['id']}{$password}">
            {/if}
             <b>{$lang['sticky']} : </b>
              {$stick_subject_list['title']}</a>
              </font>

				{if {$stick_subject_list['reply_number']} > {$_CONF['info_row']['perpage']}}
				 {template}forum_stick_perpage_reply{/template}
<img alt="" src="{$image_path}/multipage.gif"
 title="{$lang['subject_multipage']}" align="left" />
	          {/if}
	      {if {$stick_subject_list['attach_subject']} == 1}
<img alt="" src="{$image_path}/attach.gif"
title="{$lang['subject_attach']}" align="left" />
	          {/if}
	          	          {if {$stick_subject_list['rating']} > {$_CONF['info_row']['show_rating_num_max']}}
	          <img alt="" src="{$image_path}/rating/rating_5.gif"
title="{$lang['Rate_Topic']}
{$stick_subject_list['rating']} " align="left" />
	          {/if}
			{if {$stick_subject_list['close']}}
			{$lang['subject_close']}
			{/if}
			{if {$stick_subject_list['delete_topic']}}
			{$lang['subject_delete']}
			{/if}
			{if {$stick_subject_list['special']}}
			{$lang['subject_special']}
			<span class="l-left">
			<img border="0" src="{$image_path}/star.gif"
			alt="{$lang['s_special']}" /> </span>
			{/if}
			{if {$_CONF['info_row']['subject_describe_show']} and {$stick_subject_list['subject_describe']} != ''}
			<br />
			<font class="smallfont">{$stick_subject_list['subject_describe']}</font>
			{/if}
			<br />
			<?php echo $PowerBB->functions->GetUsernameStyleAndUserId($PowerBB->_CONF['template']['while']['stick_subject_list'][$this->x_loop]['writer']);?>
		</td>

		<td width="4%" class="row2" align="center">
		{if {$stick_subject_list['reply_number']} == 0}
       {$stick_subject_list['reply_number']}
       {else}
        <a onclick="window.open('index.php?page=misc&amp;whoposted=1&amp;subject_id={$stick_subject_list['id']}','mywindow','location=1,status=1,scrollbars=1,width=150,height=300')"><u><font color="#000080">{$stick_subject_list['reply_number']}</font></u></a>
       {/if}
		</td>
		<td width="4%" class="row1" align="center">
			{$stick_subject_list['visitor']}
		</td>
		<td width="15%" class="row2" align="center">
			{if {$stick_subject_list['reply_number']} <= 0}
			{$lang['no_replys']}
			{else}
			<?php echo $PowerBB->functions->GetUsernameStyleAndUserId($PowerBB->_CONF['template']['while']['stick_subject_list'][$this->x_loop]['last_replier']);?>
			<br />
			<span class="smallfont">
			{$stick_subject_list['reply_date']}
			</span >
			{/if}
		</td>
		{if !{$mod_toolbar}}
			<td width="1%" class="row1" align="center">
				<input type="checkbox" name="check[]" value="{$stick_subject_list['id']}" />
			</td>
			{/if}
	</tr>
{/Des::while}
		<tr>
		<td width="98%" colspan="{$colspan}" class="thead" align="center">
			{$lang['subject_list']}
		</td>
	</tr>

{Des::while}{subject_list}
	<tr>
		<td width="1%" class="row2" align="center">

                    <?php
		 $subject_id = $PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['id'];
		 $member_row = $PowerBB->_CONF['template']['_CONF']['member_row']['username'];
		 $ReplyArr = $PowerBB->DB->sql_query("SELECT writer FROM " . $PowerBB->table['reply'] . " WHERE writer = '$member_row' and subject_id = '$subject_id'");
		 	$r = $PowerBB->DB->sql_fetch_array($ReplyArr);
            ?>
			{if {$subject_list['delete_topic']} == 1}
			<img alt="" src="{$image_path}/dot_trash.gif"
			title="{$lang['s_delete']}" />
			 {elseif {$subject_list['poll_subject']} == 1}
			<img alt="" src="{$image_path}/dot_poll.gif"
			 title="{$lang['dot_poll']}" />
             {elseif {$subject_list['close']}  == 1}
             <img alt="" src="{$image_path}/dot_lockfolder.gif" border="0"
             title="{$lang['s_close']}" />
             <?php }elseif ($r) {   ?>
			<img alt="" src="{$image_path}/dot_newposts.gif"
			title="{$lang['dot_newposts']}" />
			{elseif {$subject_list['writer']} == {$_CONF['member_row']['username']}}
			<img alt="" src="{$image_path}/dot_folder.gif"
			 title="{$lang['subject_personal']}" />
			 {elseif {$subject_list['reply_number']} > 15 and {$subject_list['visitor']} > 150}
			<img alt="" src="{$image_path}/dot_hotfolder.gif"
			title="{$lang['Hot_subject']}" />
			{elseif {$subject_list['stick']} == 1}
			<img alt="" src="{$image_path}/sticky.gif"
			 title="{$lang['stick_subject']}" />
			{elseif {$subject_list['write_time']} > {$_CONF['member_row']['lastvisit']}}
			<img alt="" src="{$image_path}/dot_newfolder.gif"
			title="{$lang['there_are_new_posts']}" />
			{elseif {$subject_list['write_time']} > {$_CONF['member_row']['lastvisit']}}
			<img alt="" src="{$image_path}/dot_nonewfolder.gif"
			title="{$lang['no_newPosts']}" />
			{else}
			<img alt="" src="{$image_path}/dot_nonewfolder.gif"
			title="{$lang['no_newPosts']}" />
			{/if}

		</td>
		<td width="1%" class="row1" align="center">
			<img src="{$subject_list['icon']}" alt="" />
		</td>
		<td width="65%" class="row2">
<?php
$PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['title']);
$num ='99';
$PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['text'] = $PowerBB->functions->words_count_replace_strip_tags_html2bb($PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['text'],$num);
?>
                      {if {$_CONF['info_row']['rewriterule']} == '1'}
			               <a target="_blank" href="t{$subject_list['id']}{$password}.html" title="{$lang['opin_subject']}">
			               <img border="0" alt="{$lang['opin_subject']}"
				         src="{$image_path}/open.gif" /></a>
                      {else}
			          <a target="_blank" href="index.php?page=topic&amp;show=1&amp;id={$subject_list['id']}{$password}">
			          	 <img border="0" alt="{$lang['opin_subject']}"
				         src="{$image_path}/open.gif" /></a>
                     {/if}

			 <?php $PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['title'] = str_replace('&amp;','&',$PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['title']); ?>
			 <font class="title_font">
			 <span dir="{$_CONF['info_row']['content_dir']}">
             <b>{$subject_list['prefix_subject']}</b>
             </span>
           {if {$_CONF['info_row']['rewriterule']} == '1'}
			<a title="{$subject_list['text']}" href="t{$subject_list['id']}{$password}.html">
			{$subject_list['title']}</a>
			{else}
			   <a title="{$subject_list['text']}"href="index.php?page=topic&amp;show=1&amp;id={$subject_list['id']}{$password}">
			{$subject_list['title']}</a>
			{/if}
			</font>
				{if {$subject_list['reply_number']} > {$_CONF['info_row']['perpage']}}
 {template}forum_perpage_reply{/template}
<img src="{$image_path}/multipage.gif"
alt="{$lang['subject_multipage']}"
title="{$lang['subject_multipage']}" align="left" />
	          {/if}
	      {if {$subject_list['attach_subject']} == 1}
<img src="{$image_path}/attach.gif"
alt="{$lang['subject_attach']}"
title="{$lang['subject_attach']}" align="left" />
	          {/if}
	          	      {if {$subject_list['review_reply']}  > 0}
<img src="{$image_path}/moderated_small.gif"
alt="{$subject_list['review_reply']}
{$lang['Posts_was_observed']}"
title="{$subject_list['review_reply']}
{$lang['Posts_was_observed']}" align="left" />
	          {/if}
	          {if {$subject_list['rating']} > {$_CONF['info_row']['show_rating_num_max']}}
	          <img alt="" src="{$image_path}/rating/rating_5.gif"
title="{$lang['Rate_Topic']}
{$subject_list['rating']} " align="left" />
	          {/if}

			{if {$subject_list['close']}}
			{$lang['subject_close']}
			{/if}
			{if {$subject_list['delete_topic']}}
			{$lang['subject_delete']}
			{/if}
			{if {$subject_list['special']}}
			{$lang['subject_special']}
			<span class="l-left">
			<img border="0" src="{$image_path}/star.gif"
			 alt="{$lang['s_special']}" /> </span>
			{/if}
			{if {$_CONF['info_row']['subject_describe_show']} and {$subject_list['subject_describe']} != ''}
			<br />
			<font class="smallfont">{$subject_list['subject_describe']}</font>
			{/if}
			<br />
		    {if {$subject_list['writer']} == 'Guest'}
		    {$lang['Guest_']}
		    {else}
			<?php echo $PowerBB->functions->GetUsernameStyleAndUserId($PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['writer']);?>
			{/if}

		</td>
		<td width="4%" class="row2" align="center">
       {if {$subject_list['reply_number']} == 0}
       {$subject_list['reply_number']}
       {else}
       <a onclick="window.open('index.php?page=misc&amp;whoposted=1&amp;subject_id={$subject_list['id']}','mywindow','location=1,status=1,scrollbars=1,width=150,height=300')"><u><font color="#000080">{$subject_list['reply_number']}</font></u></a>
       {/if}
       </td>
		<td width="4%" class="row1" align="center">
			{$subject_list['visitor']}
		</td>
		<td width="25%" class="row2" align="center">
			{if {$subject_list['reply_number']} <= 0}
			{$lang['no_replys']}
			{else}
		    {if {$subject_list['last_replier']} == 'Guest'}
		    {$lang['Guest_']}
		    {else}
<?php echo $PowerBB->functions->GetUsernameStyleAndUserId($PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['last_replier']);?>
<br />
			<span class="smallfont">
			{$subject_list['reply_date']}
			</span>
			{/if}
			{/if}
		</td>
		{if !{$mod_toolbar}}
			<td width="1%" class="row1" align="center">
				<input type="checkbox" name="check[]" value="{$subject_list['id']}" />
			</td>
			{/if}
	</tr>
{/Des::while}
 {if {$NO_SUBJECTS} == 0}
	<tr>
		<td width="98%" colspan="{$colspan}" class="row1" align="center">
		{$lang['No_thread_forum']}</td>
	</tr>
{/if}
</table>
<br />
{template}options_mod{/template}
</form>
<br />
	<table align="center" border="0" width="99%" cellspacing="0" style="border-collapse: collapse">
	<tr>
		<td align="left">
		{if {$pager}}
<table align="center" border="0" width="99%" cellspacing="0" style="border-collapse: collapse">
	<tr>

			<td width="2%" align="right">
			<table width="6%" border="0" cellpadding="1" class="pager" align="left">
	<tr align="center">
		<td width="2%" class="pager">
 <a href="javascript:switchMenuNone('pager_duwn')"><img border="0" alt="" src="{$image_path}/menu_open.gif"
 title="{$lang['Jump_between_pages']}" /></a>
<div style="display:none;" class="drop_menu" id="pager_duwn">
			<table width="120" border="0" class="border">
				<tr align="center">
					<td class="tbar">
				{$lang['Go_to_the_page']}
					</td>
				</tr>
				<tr align="center">
					<td class="menu_popup" onclick="pagerBlock('pager_duwn')">
					<form name="misc" method="post" action="index.php?page=misc&amp;pagenav_forum=1">
		            <input type="hidden" name="section_id" value="{$section_id}" />
			        <input class="bginput" name="count" style="font-size: 11px;" size="4" type="text" />
			        <input class="button" type="submit" value="{$lang['Go']}" name="page_button" />
		           </form>
            		</td>
				</tr>
				</table>
			</div>

			</td>
		<td align="left">{$pager}</td>
	</tr>
</table>
			{template}add_subject_link{/template}
<br />
		</td>
			</tr>
		</table>
		{/if}
</td>
	</tr>
</table>

<br />
<table class="border" border="0" cellspacing="1" width="98%" align="center">
	<tr>
		<td  width="40%" class="thead">{$lang['Display_Options']}</td>
		<td width="30%" class="thead">{$lang['online_naw']}: {$online_number}
		 ({$MemberNumber}
		 {$lang['Member_and']}
		  {$GuestNumber}
		  {$lang['Guest_']})</td>
		<td  width="20%" class="thead">{$lang['moderators_forum']}</td>
	</tr>
	<tr>
	<td width="40%" class="row1">
<div align="right">
	<table border="0" width="100%" cellpadding="0" style="border-collapse: collapse">
		<tr>
			<td>
<form action="index.php?page=forum" method="get">
<input type="hidden" name="page" value="forum" />
<input type="hidden" name="show" value="1" />
<input type="hidden" name="order" value="1" />
<input type="hidden" name="id" value="{$SECTION_ID}" />
					<div>
						<label>{$lang['sort_view']}</label></div>
					<select name="sort">
					<option value="desc" selected="selected">{$lang['sort_desc']}</option>
					<option value="asc">{$lang['sort_asc']}</option>
				</select>
				<input type="submit" value="{$lang['Count']}" name="submit" />
				</form></td>
			<td>
<form action="index.php?page=forum" method="get">
<input type="hidden" name="page" value="forum" />
<input type="hidden" name="show" value="1" />
<input type="hidden" name="orderby" value="1" />
<input type="hidden" name="id" value="{$SECTION_ID}" />
					<div>
					<label>{$lang['Sort_by']}</label></div>
					<select name="sort">
					<option value="reply_number">{$lang['sort_reply_number']}</option>
					<option value="visitor">{$lang['sort_visitor']}</option>
					<option value="rating">{$lang['sort_rating']}</option>
					<option value="writer">{$lang['sort_writer']}</option>
					<option value="title">{$lang['sort_title']}</option>
					<option value="write_time" selected="selected">{$lang['sort_Last_Post']}</option>
				</select>
				<input type="submit" value="{$lang['Count']}" name="submit" />
				</form></td>
		</tr>
	</table>
</div>
	</td>
		<td width="30%" class="row1">{template}forum--online_table{/template}</td>
		<td width="20%" class="row1">
{template}forum--moderator_table{/template}
</td>
	</tr>
</table>
<br />
<table class="border" align="center" border="0" cellspacing="1" width="98%">
		<tr>
			<td class="row2" align="right" width="70%">
<div align="center">
<table border="0" width="98%" cellpadding="0" style="border-collapse: collapse">
	<tr>
		<td>
		<img title="{$lang['newPosts']}"
		  src="{$image_path}/dot_newfolder.gif"
		 alt="{$lang['newPosts']}" border="0" /></td>
		<td class="smallfont">{$lang['newPosts']}</td>
		<td>
		<img title="{$lang['no_newPosts']}"
		 src="{$image_path}/dot_nonewfolder.gif"
		alt="{$lang['no_newPosts']}" border="0" /></td>
		<td class="smallfont">{$lang['no_newPosts']}</td>
		<td class="smallfont" width="65%">&nbsp;</td>
	</tr>
	<tr>
			<td>
		<img title="{$lang['s_delete']}"
		 src="{$image_path}/dot_trash.gif"
		 alt="{$lang['s_delete']}" border="0" /></td>
		<td class="smallfont">{$lang['s_delete']}</td>
		<td>
		<img title="{$lang['dot_hotfolder']}"
		 src="{$image_path}/dot_hotfolder.gif"
		alt="{$lang['dot_hotfolder']}" border="0" /></td>
		<td class="smallfont">{$lang['Hot_subject']} </td>
		<td class="smallfont">&nbsp;</td>
		</tr>
<tr>
			<td>
		<img title="{$lang['dot_poll']}"
		 src="{$image_path}/dot_poll.gif"
		 alt="{$lang['dot_poll']}" border="0" /></td>
		<td class="smallfont">{$lang['dot_poll']}</td>
		<td>
		<img title="{$lang['dot_newposts']}"
		 src="{$image_path}/dot_newposts.gif"
		alt="{$lang['dot_newposts']}" border="0" /></td>
		<td class="smallfont">{$lang['dot_newposts']}</td>
		<td class="smallfont">&nbsp;</td>
		</tr>
	<tr>
		<td>
		<img title="{$lang['su_close']}"
		 src="{$image_path}/dot_lockfolder.gif"
		 alt="{$lang['su_close']}" border="0" /></td>
		<td class="smallfont">{$lang['su_close']}</td>
		<td>
		<img title="{$lang['your_subject_personal']}"
		 alt="" src="{$image_path}/dot_folder.gif" border="0" /></td>
		<td class="smallfont">{$lang['your_subject_personal']}</td>
	<td class="smallfont" align="left">
	{if {$_CONF['info_row']['active_rss']} == '1'}
{$lang['rss_section']} :<a href="index.php?page=rss&amp;section=1&amp;id={$SECTION_ID}">
				<img border="0" alt="" src="{$image_path}/rss.gif"
				title="{$lang['rss_section']}" /></a>{/if}</td>
	</tr>
</table>
			</div>
			</td>
		</tr>
	</table>
<br />