{template}pbboard_code_js{/template}
{if !{$mod_toolbar}}
 <form action="index.php?page=managementreply&amp;do_replys=1&amp;subject_id={$subject_id}" method="post">
 <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>
 {/if}
<table align="center" border="0" cellspacing="1" class="border" width="98%">
	<tr align="center">
		<td class="tcat" width="18%">
				{$lang['information_writer']}
		</td>
		<td class="tcat" width="82%">
		<div class="r-right">
			<img src="{$reply_guest['icon']}" />
			{$subject_title}
			</div>
			 <div class="l-left">
			 {$write_time}
<a title="{$lang['post']}
 ({$reply_guest['id']})" name="{$reply_guest['id']}" href="#{$reply_guest['id']}">#{$reply_guest['id']}</a>
  {if !{$mod_toolbar}}
 <input type="checkbox" name="check[]" value="{$reply_guest['id']}" />
 {/if}
			</div>
		</td>
	</tr>
	<tr align="center">
		<td class="tbar_writer_info" width="18%" valign="top">
<?php $PowerBB->_CONF['template']['reply_guest']['writer'] = str_ireplace('Guest',$PowerBB->_CONF['template']['lang']['Guest_'],$PowerBB->_CONF['template']['reply_guest']['writer']); ?>

		{$reply_guest['writer']}
		</td>
		<td class="tbar_writer_info" width="82%" name="text" colspan="2"  valign="top" align="right" onclick="switchBlock('{$reply_guest['id']}replyswitch');">
			<div class="text">{$reply_guest['text']}</div>
			{if {$reply_guest['attach_reply']}}
				{template}attach_show{/template}
			{/if}
			{if {$_CONF['group_info']['view_action_edit']}}
			{if {$reply_guest['action_by']} != ''}
 	        	<br />
 	        	<br />
 	        	<div align="center">
 	        	<i>
				{$lang['action_by_reply']}
				 {$reply_guest['action_by']}<br />
				{$lang['last_date']}
				{$reply_guest['actiondate']}
				</i>
				</div>
				<br />
			{/if}
			{/if}
			   {if {$reply_guest['reason_edit']} != ''}
 	        	<div align="center">
				<b>{$lang['reason_edit']}
				{$reply_guest['reason_edit']}</b>
				</div>
				<br />
			{/if}

			{if {$reply_guest['user_sig']} != ''}
				{template}signature_show{/template}
			{/if}
		</td>
	</tr>
	<tr align="right">
		<td class="row1" width="18%" align="center">
	<a title="{$lang['reporting_for_post']}"
			href="index.php?page=report&amp;index=1&amp;subject_id={$reply_guest['subject_id']}&amp;reply_id={$reply_guest['id']}&amp;count={$count_peg}">
			<img alt="{$lang['reporting_for_post']}"
			 border="0" cellspacing="1" src="{$image_path}/report.gif" /></a>
		</td>
		<td colspan="2" class="row1" width="82%">
<table border="0" width="100%" cellpadding="0" style="border-collapse: collapse">
		<tr>
		<td width="82%">
	<div class="r-right">

</div>

		<div class="l-left">
 <ul class="post_controls">
		{if {$_CONF['member_permission']}}
		{if !{$mod_toolbar}}
<li>
<a title="{$lang['edit_reply']}"
href="index.php?page=management&amp;reply=1&amp;section={$reply_guest['section']}&amp;subject_id={$reply_guest['subject_id']}&amp;reply_id={$reply_guest['id']}&amp;reply_number={$reply_guest['reply_number']}&amp;count={$count_peg}&amp;operator=edit" class="Button_secondary"
title="{$lang['edit_reply']}">
{$lang['edit_reply']}</a>
</li>
<li>
 <a href="index.php?page=managementreply&amp;do_replys=1&amp;section={$reply_guest['section']}&amp;subject_id={$reply_guest['subject_id']}&amp;reply_id={$reply_guest['id']}&amp;operator=delete" class="Button_secondary"
 title="{$lang['delete_reply']}">
{$lang['delete_reply']}</a>
 </li>
{else}
{if {$SubjectInfo['close']} == '0'}
{if {$timeout}}
{if {$_CONF['member_row']['username']} == {$reply_guest['username']}}
{if {$_CONF['group_info']['edit_own_reply']}}
<li>
<a title="{$lang['edit_reply']}"
href="index.php?page=management&amp;reply=1&amp;section={$reply_guest['section']}&amp;subject_id={$reply_guest['subject_id']}&amp;reply_id={$reply_guest['id']}&amp;reply_number={$reply_guest['reply_number']}&amp;count={$count_peg}&amp;operator=edit" class="Button_secondary"
title="{$lang['edit_reply']}">
{$lang['edit_reply']}</a>
</li>
{/if}
{if {$_CONF['group_info']['del_own_reply']}}
<li>
 <a href="index.php?page=managementreply&amp;do_replys=1&amp;section={$reply_guest['section']}&amp;subject_id={$reply_guest['subject_id']}&amp;reply_id={$reply_guest['id']}&amp;operator=delete" class="Button_secondary"
 title="{$lang['delete_reply']}">
{$lang['delete_reply']}</a>
 </li>
 {/if}
{/if}
{/if}
{/if}
{/if}
{/if}
<li>
<a href="index.php?page=new_reply&amp;index=1&amp;id={$subject_id}{$password}
&amp;qu_Reply={$reply_guest['id']}&amp;user={$reply_guest['username']}" class="Button_secondary"
title="{$lang['qu_reply']}">
{$lang['quote']}</a>
</li>
<li>
<a class="img-submit" id="mad_{$reply_guest['id']}" name="mad_{$reply_guest['id']}" onclick="multiquote_add('{$reply_guest['id']}'); return false;" href="#">{$lang['multiquote']}</a>
</li>
 </ul>
</div>
	</tr>
</table>

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

<br />