<script type="text/javascript" src='jscripts/ipb_xhr_findnames.js'></script>
<script type="text/javascript">
<!--
	function find_users(){
		url = "index.{$this->ipsclass->vars['php_ext']}?act=legends&CODE=finduser_one&s={$this->ipsclass->session_id}&entry=textarea&name=carbon_copy&sep=line";
		window.open(url,"FindUsers","width=400,height=250,resizable=yes,scrollbars=yes"); 
	}
-->
</script>
<form id='postingform' style='display:block' action="{$this->ipsclass->base_url}act=msg" method="post" name="REPLIER" {$data['form_extra']} onsubmit="return ValidateForm(1);">
<input type="hidden" name="removeattachid" value="0" />
<input type="hidden" name="OID"  value="{$data['OID']}" />
<input type="hidden" name="act" value="Msg" />
<input type="hidden" name="CODE" value="04" />
<input type="hidden" name="MODE" value="01" />
<input type="hidden" name="attach_post_key" value="{$data['attach_post_key']}" />
<input type="hidden" name="auth_key" value="{$this->ipsclass->md5_check}" />
{$data['upload']}
<div id='ipb-get-members' style='border:1px solid #000; background:#FFF; padding:2px;position:absolute;width:210px;display:none;z-index:1'></div>
<table width='100%' class='ipbtable' cellpadding='0' cellspacing='0'>
	<tr>
		<td class='subtitle' colspan='2'>{$this->ipsclass->lang['pro_recips']}</td>
	</tr>
	<tr>
		<td class='row1' style='text-align: right; width: 20%'>
			<strong>{$this->ipsclass->lang['to_whom']}</strong>
		</td>
		<td class='row2'>
			<input type="text" id='entered_name' name="entered_name" size="30" autocomplete='off' style='width:210px' value="{$data['N_ENTER']}" tabindex="1" /> &nbsp; {$data['CONTACTS']}
		</td>
	</tr>
	<!--IBF.MASS_PM_BOX-->
	<tr>
		<td class='subtitle' colspan='2'>{$this->ipsclass->lang['pro_details']}</td>
	</tr>
	<tr>
		<td class='row1' style='text-align: right'>
			<strong>{$this->ipsclass->lang['msg_title']}</strong>
		</td>
		<td class='row2'>
			<input type="text" name="msg_title" size="40" tabindex="3" maxlength="40" value="{$data['O_TITLE']}" />
		</td>
	</tr>