<?php
//Nemo Cache @ 2012-09-23 23:02:34
echo '';
include_once template("header.htm",'template/default/','','','');
echo '
<div class="mainBody">
<script type="text/javascript" src="inc/add.js"></script>
<table width="100%" border="0" cellpadding="0" cellspacing="1" class="Add">
	<form method="post" action="'.$PHP_SELF.'?a=add"  name="frmAdd" onsubmit="return chkphpk(this);">
    <input type="hidden" name="formhash" value="';
echo _FORMHASH_;
echo '">
	<input type="hidden" name="face" value="0" />
	<input type="hidden" name="icon" value="0" />			
	<tr>
		<td class="td">许愿字条预览 </td>
		<td colspan="2" class="td">请填写愿望~~ </td>
	</tr>
	<tr>
		<td rowspan="6" class="Peview">
			<div id="Peview" class="Face0">
				<p class="Num">愿望预览：<img src="images/close.gif" alt="关闭" /></p>
				<p class="Detail"><span class="Head" id="Head"></span><br /><span id="AreaText"></span></p>
				<p class="Sign" id="Sign">倒霉鬼</p>
				<p class="Date"><script type="text/javascript">getTime();</script></p>
			</div>
		</td>
		<th>接收人：</th>
		<td><input class="input" name="pick" type="text" size="20" maxlength="10" value=""   onkeyup="InputName(this,\'Head\');" /> </td>
	</tr>
	<tr>
		<th>发送人：</th>
		<td><input class="input" name="send" type="text" size="20" maxlength="10" onkeyup="InputName(this,\'Sign\');" value="倒霉鬼" onclick="if(this.value ==\'倒霉鬼\') this.value=\'\'; "/>  <span class="red span" >*</span> </td>
	</tr>
	<tr>
		<th>字条内容：</th>
		<td>
			<textarea name="info" cols="70" rows="4" onkeyup="strCounter(this);" onchange="strCounter(this);"></textarea> <span class="red">*</span>还剩<span class="red" id="Char"> 70 </span>字
		</td>		
	</tr>
	<tr>
		<th>验证：</th>
		<td>';
if ($seccodestatus['add']) {
echo '<input class="input" name="seccode" type="text" value="" size="6" maxlength="4" onfocus="this.value=\'\';" /> <span class="red span" >*</span> <img id="secimg" class="yanzheng" src="seccode.php?&'.$timestamp.'" onClick="this.src=\'seccode.php?&\' + Math.random()" />  &nbsp;&nbsp;&nbsp;&nbsp;';
}
echo '<input name="submit" type="submit" value="提交倒霉愿望" class="sub2"/></td>
	</tr>
	</form>
</table>
</div>
';
include_once template("footer.htm",'template/default/','','','');
echo '';
?>