/***************************************************************************
* copyright            : (C) 2001-2003 Advanced Internet Designs Inc.
* email                : forum@prohost.org
* $Id: reported.tmpl 21069 2010-03-25 22:47:48Z Caeies $
*
* This program is free software; you can redistribute it and/or modify it 
* under the terms of the GNU General Public License as published by the 
* Free Software Foundation; either version 2 of the License, or 
* (at your option) any later version.
***************************************************************************/

{PHP_FILE: input: reported.php.t; output: reported.php;}
{REF: security.tmpl}
{REF: header.tmpl}
{REF: footer.tmpl}
{REF: stats.tmpl}
{REF: drawmsg.tmpl}
{REF: logaction.tmpl}
{REF: is_perms.tmpl}

{SECTION: reported_reg_user_link reportee profile link}
<a class="GenLink" href="{TEMPLATE: reported_reg_user_link_lnk}">{VAR: obj->report_user_login}</a>
{SECTION: END}

{SECTION: reported_anon_user if reportee is anon section}
{GVAR: ANON_NICK}
{SECTION: END}

{SECTION: reported_msg_header}
<tr class="RowStyleC"><td colspan=2>
<table border=0 cellspacing=0 cellpadding=3 width="100%">
	<tr>
		<td align=left nowrap valign=top>
			<font class="SmallText">
			<b>{MSG: reported_reported_by}</b> {TEMPLATE-DATA: user_login}<br />
			<b>{MSG: reported_on}</b> {DATE: obj->report_stamp %a, %d %B %Y %H:%M}
			</font>
		</td>
		<td align=center width="100%" valign=top>
			<font class="SmallText"><b>{MSG: reported_reason}</b><br /></font>
			<table border=1 cellspacing=1 cellpadding=0><tr><td align="left">&nbsp;{VAR: obj->report_reason} &nbsp;</td></tr></table>
			
		</td>
		<td nowrap>[<a class="GenLink" href="{TEMPLATE: reported_msg_header_lnk}">{MSG: reported_del_report}</a>]</td>
	</tr>
	
	<tr>
		<td colspan=3><font class="SmallText"><b>{MSG: reported_in_thread}:</b></font> <a href="{TEMPLATE: reported_msg_header_lnk1}" target="_blank">{VAR: obj->thread_subject}</a></td>
	</tr>
</table>
</td></tr>
{SECTION: END}

{SECTION: reported_message}
{TEMPLATE: reported_msg_header}
{TEMPLATE-DATA: message}
{SECTION: END}

{PAGE: REPORTED_PAGE a list of the reported messages}
{TEMPLATE: header}
<table border="0" cellspacing="1" cellpadding="2" class="MsgTable">
<tr><th colspan=2>{MSG: reported_reported_msg}</th></tr>
{TEMPLATE-DATA: reported_message}
</table>
{TEMPLATE-DATA: page_stats}
{TEMPLATE: footer}
{PAGE: END}

{SECTION: reported_no_messages}
<tr><td>{MSG: reported_no_messages}</td></tr>
{SECTION: END}

{SECTION: reported_reg_user_link_lnk}
{ROOT}?t=usrinfo&amp;id={VAR: obj->report_user_id}&amp;{DEF: _rsid}
{SECTION: END}

{SECTION: reported_msg_header_lnk}
{ROOT}?t=reported&amp;{DEF: _rsid}&amp;del={VAR: obj->report_id}
{SECTION: END}

{SECTION: reported_msg_header_lnk1}
{ROOT}?t={DEF: d_thread_view}&amp;goto={VAR: obj->id}&amp;{DEF: _rsid}
{SECTION: END}
