/***************************************************************************
* copyright            : (C) 2001-2003 Advanced Internet Designs Inc.
* email                : forum@prohost.org
* $Id: iemail.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: iemail.inc.t; output: iemail.inc;}
{REF: rev_fmt.tmpl}
{REF: smtp.tmpl}

{SECTION: iemail_body}
{TEMPLATE: header_plain}
<table border="0" cellspacing="1" cellpadding="2" class="ContentTable">
<tr class="RowStyleB">
	<td width="33%">{MSG: iemail_msg_subject}</td>
	<td width="33%">{MSG: iemail_msg_author}</td>
	<td width="33%">{MSG: iemail_msg_date}</td>
</tr>
<tr class="RowStyleA">
	<td colspan="3">
	{TEMPLATE-DATA: iemail_poll}
	{TEMPLATE-DATA: body}
	{TEMPLATE-DATA: iemail_attach}
	</td>
</tr>
<tr class="RowStyleB">
	<td colspan="3">
	[ <a href="{TEMPLATE: iemail_body_lnk}">{MSG: iemail_msg_reply}</a> ][ <a href="{TEMPLATE: iemail_body_lnk}&quote=true">{MSG: iemail_msg_quote}</a> ][ <a href="{TEMPLATE: iemail_body_lnk1}">{MSG: iemail_msg_view}</a> ]{TEMPLATE-DATA: iemail_unsub}
	</td>
</tr>
</table>
{TEMPLATE: footer_plain}
{SECTION: END}

{SECTION: iemail_poll_tbl}
<table border=0 cellspacing=1 cellpadding=2 class="PollTable">
<tr><th nowrap colspan=3>{VAR: obj->poll_name}<img src="blank.gif" alt="" height=1 width=10 /><font size="-1">[ {MSG: num_votes} ]</font></th></tr>
{TEMPLATE-DATA: iemail_poll}
</table><p>
{SECTION: END}

{SECTION: iemail_poll_result}
<tr class="{ALT-VAR: msg_poll_alt_clr RowStyleB RowStyleA}"><td>{VAR: i}.</td><td>{VAR: v[0]}</td><td><img src="{THEME_IMAGE_ROOT}/poll_pix.gif" alt="" height="10" width="{VAR: length}" /> {VAR: v[1]} / {VAR: length}%</td></tr>
{SECTION: END}

{SECTION: iemail_attach the file attachments list}
<p>
<table border=0 cellspacing=0 cellpadding=2>
{TEMPLATE-DATA: iemail_attach}
</table>
{SECTION: END}

{SECTION: iemail_attach_entry file attachment entry row}
<tr>
<td valign="middle"><a class="GenLink" href="{TEMPLATE: iemail_attach_entry_lnk}"><img alt="" src="{GVAR: WWW_ROOT}images/mime/{VAR: v[4]}" /></a></td>
<td><font class="GenText"><b>{MSG: attachment}</b></font> <a class="GenLink" href="{TEMPLATE: iemail_attach_entry_lnk}">{VAR: v[1]}</a><br />
<font class="SmallText">({MSG: size} {VAR: sz}, {MSG: download_counter})</font></td></tr>
{SECTION: END}

{SECTION: iemail_thr_subject}
{MSG: iemail_thr_subject}
{SECTION: END}

{SECTION: iemail_thr_bodyemail}
{MSG: iemail_thr_bodyemail}
{SECTION: END}

{SECTION: iemail_thr_bodyicq}
{MSG: iemail_thr_bodyicq}
{SECTION: END}

{SECTION: iemail_frm_subject}
{MSG: iemail_frm_subject}
{SECTION: END}

{SECTION: iemail_frm_bodyemail}
{MSG: iemail_frm_bodyemail}
{SECTION: END}

{SECTION: iemail_frm_bodyicq}
{MSG: iemail_frm_bodyicq}
{SECTION: END}

{SECTION: CHARSET}
{CHARSET}
{SECTION: END}

{SECTION: iemail_participate}
{MSG: iemail_participate}
{SECTION: END}

{SECTION: iemail_thread_unsub}
[ <a href="{TEMPLATE: iemail_thread_unsub_lnk}">{MSG: iemail_thread_unsub}</a> ]
{SECTION: END}

{SECTION: iemail_forum_unsub}
[ <a href="{TEMPLATE: iemail_forum_unsub_lnk}">{MSG: iemail_forum_unsub}</a> ]
{SECTION: END}

{SECTION: iemail_thread_unsub_lnk}
{ROOT}?t=rview&th={VAR: id}&notify=1&opt=off
{SECTION: END}

{SECTION: iemail_forum_unsub_lnk}
{ROOT}?t=rview&frm_id={VAR: id}&unsub=1
{SECTION: END}

{SECTION: iemail_body_lnk}
{ROOT}?t=post&reply_to={VAR: obj->id}
{SECTION: END}

{SECTION: iemail_body_lnk1}
{ROOT}?t=rview&goto={VAR: obj->id}
{SECTION: END}

{SECTION: iemail_attach_entry_lnk}
{ROOT}?t=getfile&amp;id={VAR: v[0]}&amp;{DEF: _rsid}
{SECTION: END}
