{if !{$mod_toolbar}}
<form action="index.php?page=managementreply&do_replys=1&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="{$Info['icon']}" />
{$subject_title}
</div>
<div class="l-left">
{$Info['write_time']}
<a title="{$lang['post']}
({$Info['reply_number']})" name="{$Info['reply_id']}" href="#{$Info['reply_id']}">#{$Info['reply_number']}</a>
{if !{$mod_toolbar}}
<input type="checkbox" name="check[]" value="{$Info['reply_id']}" />
{/if}
</div>
</td>
</tr>
<tr align="center">
<td class="tbar_writer_info" width="18%" valign="top">
<!-- Code switch Menu start -->
<ul class="writer_controls">
<li>
<a href="javascript:switchMenuNone('{$Info['reply_id']}replyswitch')" class="Button_secondary">
<?php echo $PowerBB->functions->GetwriterGroupStyle($PowerBB->_CONF['template']['Info']['username'],$PowerBB->_CONF['template']['Info']['usergroup']);?>
<img border="0" alt="" src="{$image_path}/menu_open.gif" /></a>
</li>
</ul>
<div style="display:none;" class="drop_menu" id="{$Info['reply_id']}replyswitch">
<div class="thead">
<a href="javascript:switchMenuNone('{$Info['reply_id']}replyswitch')">
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="name-{$Info['username']}.html">
{else}
<a href="index.php?page=profile&show=1&username={$Info['username']}">
{/if}
{$Info['display_username']}</a>
</a>
</div>
<div class="menu_popup">
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="name-{$Info['username']}.html">
{else}
<a href="index.php?page=profile&show=1&username={$Info['username']}">
{/if}
{$lang['view_profile']}
</a>
</div>
<div class="menu_popup">
<a href="index.php?page=search&option=3&username={$Info['username']}&starteronly=0§ion=all&exactname=1&sort_order=DESC">
{$lang['search_for_all_posts']}
{$Info['username']}</a>
</div>
<div class="menu_popup">
<a href="index.php?page=search&option=4&username={$Info['username']}&starteronly=0§ion=all&exactname=1&sort_order=DESC">
{$lang['search_for_all_replys']}
{$Info['username']}</a>
</div>
{if {$_CONF['member_permission']}}
<div class="menu_popup">
<a href="index.php?page=pm_send&send=1&index=1&username={$Info['username']}">
{$lang['send_a_private_message_to']}
{$Info['username']} </a>
</div>
{/if}
{if {$_CONF['member_permission']}}
<div class="menu_popup">
<a href="index.php?page=send&member=1&index=1&username={$Info['username']}">
{$lang['send_a_message_to_the_mailing']}
{$Info['username']} </a>
</div>
{/if}
{if {$mod_edit_member}}
{if {$_CONF['member_permission']}}
<div class="menu_popup">
<a target="_blank" href="admin.php?page=member&edit=1&main=1&username={$Info['username']}">
{$lang['edit_member_data']}
{$Info['username']} </a>
</div>
{/if}
{/if}
</div>
<!-- Code switch Menu End -->
<div onclick="switchBlock('{$Info['reply_id']}replyswitch');">
{template}writer_info{/template}
</div>
<br />
{if {$Awards_nm} > '0'}
{template}awards{/template}
{/if}
<br />
{if {$_CONF['info_row']['show_list_last_5_posts_member']} == 1}
{template}last_subject_writer{/template}
{/if}
</td>
<td class="tbar_writer_info" width="82%" name="text" colspan="2" valign="top" align="right" onclick="switchBlock('{$Info['reply_id']}replyswitch');">
{$resview_reply}
<br />
<div class="text">{$Info['text']}</div>
{if {$Info['attach_reply']}}
{template}attach_show{/template}
{/if}
{if {$_CONF['group_info']['view_action_edit']}}
{if {$Info['action_by']} != ''}
<br />
<br />
<div align="center">
<i>
{$lang['action_by_reply']}
{$Info['action_by']}<br />
{$lang['last_date']}
{$Info['actiondate']}
</i>
</div>
<br />
{/if}
{/if}
{if {$Info['reason_edit']} != ''}
<div align="center">
<b>{$lang['reason_edit']}
{$Info['reason_edit']}</b>
</div>
<br />
{/if}
{if {$Info['user_sig']} != ''}
{template}signature_show{/template}
{/if}
</td>
</tr>
<tr align="right">
<td class="row1" width="18%" align="center">
{if {$_CONF['member_row']['username']} != {$Info['username']}}
{if {$_CONF['info_row']['reputationallw']} == 1}
<a href="javascript:switchMenuNone('{$Info['reply_number']}replyreputation')"
title="{$lang['add_reputation_to']}
{$Info['username']}">
<img border="0" src="{$image_path}/reputation.gif" />
</a>
{template}reply_reputation{/template}
{/if}
{/if}
<a title="{$lang['reporting_for_post']}"
href="index.php?page=report&index=1&subject_id={$Info['subject_id']}&reply_id={$Info['reply_id']}&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&reply=1&section={$Info['section']}&subject_id={$Info['subject_id']}&reply_id={$Info['reply_id']}&reply_number={$Info['reply_number']}&count={$count_peg}&operator=edit" class="Button_secondary"
title="{$lang['edit_reply']}">
{$lang['edit_reply']}</a>
</li>
<li>
<a href="index.php?page=managementreply&do_replys=1&section={$Info['section']}&subject_id={$Info['subject_id']}&reply_id={$Info['reply_id']}&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']} == {$Info['username']}}
{if {$_CONF['group_info']['edit_own_reply']}}
<li>
<a title="{$lang['edit_reply']}"
href="index.php?page=management&reply=1&section={$Info['section']}&subject_id={$Info['subject_id']}&reply_id={$Info['reply_id']}&reply_number={$Info['reply_number']}&count={$count_peg}&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&do_replys=1&section={$Info['section']}&subject_id={$Info['subject_id']}&reply_id={$Info['reply_id']}&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&index=1&id={$subject_id}{$password}
&qu_Reply={$Info['reply_id']}&user={$Info['username']}" class="Button_secondary"
title="{$lang['qu_reply']}">
{$lang['quote']}</a>
</li>
<li>
<?php $post_id = $PowerBB->_CONF['template']['Info']['reply_id']; ?>
<a class="img-submit" id="mad_<?php echo "$post_id"; ?>" name="mad_<?php echo "$post_id"; ?>" onclick="multiquote_add(<?php echo "$post_id"; ?>); return false;" href="#">{$lang['multiquote']}</a>
</li>
</ul>
</div>
</tr>
</table>
</td>
</tr>
</table>
<br />