<!--<?php 
if($action=='mailto'){
print <<<EOT
-->
<div id="breadCrumb">
<img src="$imgpath/$stylepath/thread/home.gif" class="breadHome" /><em class="breadEm"></em><a href="$db_bfn" title="$db_bbsname">$db_bbsname</a><em>&gt;</em>发送电子邮件
</div>

<form method="post" action="sendemail.php?">
<input type="hidden" name="verify" value="$verifyhash" />
<input type="hidden" name="action" value="mailto" />
<input type="hidden" name="step" value="2" />
<input type="hidden" name="uid" value="$userdb[uid]" />
<div class="t" style="margin-top:8px">
<table width="100%" cellspacing="0" cellpadding="0" align="center">
	<tr>
		<td colspan="2" class="h"><b>发送电子邮件</b></td>
	</tr>
	<tr class="tr3">
		<th width="21%">您的名字:</th>
		<th>
			<input type="text" class="input" name="fromname" size="25" maxlength="40" value="$windid" readonly />
		</th>
	</tr>
	<tr class="tr3">
		<th>您的电子邮箱:</th>
		<th><input type="text" class="input" name="fromemail" size="25" value="$winddb[email]" /></th>
	</tr>
<!--
EOT;
if($hasReceiver){print <<<EOT
-->
	<tr class="tr3">
		<th>对方姓名:</th>
		<th><input type="text" class="input" name="sendtoname" size="25" value="$to_user" readonly /></th>
	</tr>
<!--
EOT;
}print <<<EOT
-->
	<tr class="tr3">
		<th>对方电子邮箱:</th>
		<th>
<!--
EOT;
if($hiddenmail){print <<<EOT
-->
电子邮箱已设置保密不影响电子邮件发送
<!--
EOT;
}else{print <<<EOT
-->
			<input type="text" class="input" name="sendtoemail" size="25" value="$to_mail" readonly />
<!--
EOT;
}print <<<EOT
-->
		</th>
	</tr>
	<tr class="tr3">
		<th>标题</th>
		<th><input type="text" class="input" name="subject" size="65" value="" /></th>
	</tr>
<!--
EOT;
if($db_gdcheck & 16){
$checkCode = L::loadClass('checkcode', 'site');
$checkCodeString = $checkCode->getCheckCodeTemplate();
print <<<EOT
-->
	<tr class="tr3">
		<th>验证码</th>
		<th>
			<div id="menu_gd" style="display:none;"></div>$checkCodeString
			<input class="input" type="text" name="gdcode" size="6" onfocus="showgd('menu_gd');" /><span style="cursor:pointer; margin-left:3px" onclick="this.previousSibling.focus();">点此显示验证码</span>
		</th>
		</th>
	</tr>
<!--
EOT;
}print <<<EOT
-->
	<tr class="tr3">
		<th style="vertical-align: top;border:0;">内容</th>
		<th style="border:0;"><textarea rows="9" cols="65" name="atc_content"></textarea></th>
	</tr>
</table></div>
<div style="text-align:center;margin-bottom:25px">
<input class="btn" type="submit" name="sendsubmit" value="提 交" /></div>
</form>
<!--
EOT;
}?>-->