	{template}address_bar_part1{/template}
	<a href="index.php?page=usercp&amp;index=1">{$lang['User_Control_Panel']}</a>
{$_CONF['info_row']['adress_bar_separate']}
	 {$lang['home']}
	{template}address_bar_part2{/template}

<table border="0" width="98%" cellpadding="0" style="border-collapse: collapse;margin: auto;">
	<tr>
		<td width="20%" valign="top">{template}usercp_menu{/template}</td>
		<td width="80%" valign="top">
<div align="center">
<table border="0" cellspacing="0" width="98%" align="center" class="border_radius">
    	<tr align="center">
      		<td class="tcat" colspan="5">
{$lang['show_reputation_number']}
      		</td>
    	</tr>
    	<tr align="center">
    	    <td class="thead" width="2%">
      		</td>
      		<td class="thead" width="30%">
      			{$lang['subject_title']}
      		</td>
      		<td class="thead" width="20%">
      			{$lang['date']}
      		</td>
      		 <td class="thead" width="30%">
      			{$lang['Comments']}
      		</td>
             <td class="thead" width="10%">
                {$lang['By_']}
      		 </td>
    	 </tr>
 {if !{$No_Reputation}}
    	{Des::while}{MemberReputation}
    	    	<tr align="center">
    	    <td class="row2" width="2%">
          <img src='{$image_path}/reputation_pos.gif'>
      		</td>
      		<td class="row2" width="30%">
				 <a href="index.php?page=topic&amp;show=1&amp;id={$MemberReputation['subject_id']}&count={$MemberReputation['peg_count']}#{$MemberReputation['reply_id']}">
					{$MemberReputation['subject_title']}
				</a>
      		</td>
      		<td class="row2" width="20%">
<font class="smallfont">
{$MemberReputation['reputationdate']}
			</font>
      		</td>
      		 <td class="row2" width="30%">
{$MemberReputation['comments']}
      		</td>
      		 <td class="row2" width="10%">
 <a href="index.php?page=profile&amp;show=1&amp;username={$MemberReputation['by_username']}">{$MemberReputation['by_username']}</a>
      		</td>
    	</tr>
      {/Des::while}
{else}
<tr align="center">
<td class="row1" colspan="5">
{$lang['noReputation']}
</td>
</tr>
{/if}
  	</table>
  	</div>
  	<br />
  	<div align="center">
  	<table border="0" cellspacing="0" width="98%" align="center" class="border_radius">
  		<tr align="center">
  			<td class="tcat" colspan="7">
     		{$lang['Last_subject_that_you_type']}
     		</td>
    	</tr>
		</table>

</div>
<div align="center">

<table border="0" cellspacing="0" width="98%" align="center" class="border_radius">
<tr>
		<td width="60%" class="thead" align="center" colspan="3">
			{$lang['subject_title']}
		</td>
		<td width="15%" class="thead" align="center">
			{$lang['subject_writer']}
		</td>
		<td width="4%" class="thead" align="center">
			{$lang['reply_num']}
		</td>
		<td width="4%" class="thead" align="center">
			{$lang['subject_visitor']}
		</td>
		<td width="15%" class="thead" align="center">
			{$lang['write_date']}
		</td>
	</tr>
  		{if !{$No_Subjects}}
	{Des::while}{subject_list}
<?php
$subject_id = $PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['id'];
$GetReplyNumberSubject = $PowerBB->DB->sql_num_rows($PowerBB->DB->sql_query("SELECT * FROM " . $PowerBB->table['reply'] . " WHERE subject_id = '$subject_id'"));
$GetlastReplySubject = $PowerBB->DB->sql_query("SELECT * FROM " . $PowerBB->table['reply'] . " WHERE subject_id = '$subject_id' ORDER BY write_time DESC");
$LastReplySubject= @mysql_fetch_array($GetlastReplySubject);
?>
	<tr>

		<td width="3%" class="row2" align="center">
			<img alt="" src="{$image_path}/dot_folder.gif"
			 title="{$lang['subject_personal']}" />
		</td>
		<td width="3%" class="row1" align="center">
			<img src="{$subject_list['icon']}" alt="" />
		</td>
		<td width="35%" class="row2">
                      {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}
		{if {$subject_list['poll_subject']} == 1}
{$lang['poll_subject']}
        {/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 href="t{$subject_list['id']}{$password}.html">
			{$subject_list['title']}</a>
			{else}
			<a href="index.php?page=topic&amp;show=1&amp;id={$subject_list['id']}{$password}">
			{$subject_list['title']}</a>
			{/if}
			</font>
				<?php if ($GetReplyNumberSubject > $PowerBB->_CONF['template']['_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 alt="" 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']} == 1}
			<br />
			<font class="smallfont">{$subject_list['subject_describe']}</font>
			{/if}
		</td>
		<td width="15%" class="row1" align="center">
		    {if {$subject_list['writer']} == 'Guest'}
<?php echo $PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['writer'] = str_ireplace('Guest',$PowerBB->_CONF['template']['lang']['Guest_'],$PowerBB->_CONF['template']['while']['subject_list'][$this->x_loop]['writer']); ?>
		    {else}
		    {if {$_CONF['info_row']['rewriterule']} == '1'}
			<a href="{$subject_list['writer']}.html">
			{$subject_list['writer']}</a>
			{else}
			<a href="index.php?page=profile&amp;show=1&amp;username={$subject_list['writer']}">
			{$subject_list['writer']}</a>
			{/if}
			{/if}
			<br />
			<span class="smallfont">
			{$subject_list['write_date']}
			</span>
		</td>
		<td width="4%" class="row2" align="center">
       <?php if ($GetReplyNumberSubject == '0'){ ?>
       <?php echo $GetReplyNumberSubject ?>
       {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=155,height=300')"><u><font color="#000080"><?php echo $GetReplyNumberSubject ?></font></u></a>
       {/if}
       </td>
		<td width="4%" class="row1" align="center">
			{$subject_list['visitor']}
		</td>
		<td width="15%" class="row2" align="center">
			<?php if ($GetReplyNumberSubject <= '0'){ ?>
			{$lang['no_replys']}
			{else}
		   <?php if ($LastReplySubject['writer'] == 'Guest') {?>
<?php echo $LastReplySubject['writer'] = str_ireplace('Guest',$PowerBB->_CONF['template']['lang']['Guest_'],$LastReplySubject['writer']); ?>
		    {else}
			{if {$_CONF['info_row']['rewriterule']} == '1'}
			<a href="<?php echo $LastReplySubject['writer'] ?>.html">
			<?php echo $LastReplySubject['writer'] ?></a>
			{else}
			<a href="index.php?page=profile&amp;show=1&amp;username=<?php echo $LastReplySubject['writer'] ?>">
			<?php echo $LastReplySubject['writer'] ?></a>
			{/if}
			{/if}
			<br />
			<span class="smallfont">
			<?php echo $PowerBB->functions->date($LastReplySubject['write_time']) ?>
			</span>
			{/if}
		</td>
	</tr>
{/Des::while}
	{else}
	<tr align="center">
	<td class="row1" colspan="7">
	{$lang['No_Subjects']}
	</td>
	</tr>
	{/if}
	</table>
  	</div>
  	<br />
  	<div align="center">
  	<table border="0" cellspacing="0" width="98%" align="center" class="border_radius">
<tr align="center">
  			<td class="tcat" colspan="6">
     		{$lang['Last_post_that_you_type']}
     		</td>
    	</tr>
	<tr>
		<td width="25%" class="thead small_text" colspan="2">
			{$lang['Subject']} / {$lang['sort_writer']}
		</td>
		<td width="15%" class="thead small_text" align="center">
       {$lang['write_date']}
		</td>
		<td width="4%" class="thead" align="center">
			{$lang['reply_num']}
		</td>
		<td width="4%" class="thead" align="center">
			{$lang['subject_visitor']}
		</td>
			<td width="15%" class="thead small_text" align="center">
			 {$lang['forum']}
		</td>
	</tr>
	{Des::while}{ReplyList}
	<tr>
		<td width="3%" class="row2" align="center">
			<img src="{$ReplyList['icon']}" alt="" />
		</td>
		<td width="25%" class="row1">
<?php
      	$subject_id = $PowerBB->_CONF['template']['while']['ReplyList'][$this->x_loop]['subject_id'];
        $GetSubject = $PowerBB->DB->sql_query("SELECT * FROM " . $PowerBB->table['subject'] . " WHERE id = '$subject_id'");
        $Subject = @mysql_fetch_array($GetSubject);
?>
			<a href="index.php?page=topic&amp;show=1&amp;id={$ReplyList['subject_id']}">
				{$ReplyList['title']}
			</a>
			<br />
<?php echo $PowerBB->functions->GetUsernameStyleAndUserId($Subject['writer']);?>
		</td>
		<td width="15%" class="row1" align="center">
<?php

      	$section_id = $PowerBB->_CONF['template']['while']['ReplyList'][$this->x_loop]['section'];
        $GetForum = $PowerBB->DB->sql_query("SELECT * FROM " . $PowerBB->table['section'] . " WHERE id = '$section_id'");
        $Forum = @mysql_fetch_array($GetForum);
        $Forum_title = $Forum['title'];
        $Forum_id = $Forum['id'];
?>
<?php echo $PowerBB->functions->GetUsernameStyleAndUserId($Subject['last_replier']);?>
<br />
<font class="smallfont">
			{$ReplyList['reply_date']}
			</font>
		</td>
		<td width="4%" class="row1" align="center">
<?php echo $Subject['reply_number']; ?>
		</td>
		<td width="4%" class="row1" align="center">
<?php echo $Subject['visitor']; ?>
		</td>
		<td width="15%" class="row1" align="center">
			{if {$_CONF['info_row']['rewriterule']} == '1'}
					<a href="f<?php echo $Forum_id; ?>.html"><?php echo $Forum_title; ?></a>
					{else}
						<a href="index.php?page=forum&amp;show=1&amp;id=<?php echo $Forum_id; ?>"><?php echo $Forum_title; ?></a>
					{/if}
		</td>
	</tr>
{/Des::while}
	 {if {$No_posts}}
 <tr>
 		<td width="97%" class="row1" align="center" colspan="6">
{$lang['no_post']}
		</td>
			</tr>
{/if}
</table>
</div>
<span class="pager-left">{$pager} </span>
		</div>

		</td>
	</tr>
</table>



<br />