📄 mail.tpl.php
字号:
<? if (!defined('IN_www.wan-e.net')){exit('Access Denied');}?><table align="center" width="<?=TABLEWIDTH?>" border="0" cellpadding="<?=TABLESPACE?>" cellspacing="<?=TABLECELL?>" class="frontground">
<tr valign="top">
<td>
<script language="javascript">
function checkdata(theform)
{
if (theform.toer.value == "")
{
alert("<?=$VIEW_MAIL[MAIL_RECER]?>");
theform.toer.focus();
return false;
}
if (theform.to.value == "")
{
alert("<?=$VIEW_MAIL[MAIL_RECMAIL]?>");
theform.to.focus();
return false;
}
if (theform.fromer.value == "")
{
alert("<?=$VIEW_MAIL[MAIL_SENDER]?>");
theform.fromer.focus();
return false;
}
if (theform.sendfrom.value == "")
{
alert("<?=$VIEW_MAIL[MAIL_SENDMAIL]?>");
theform.sendfrom.focus();
return false;
}
if (theform.message.value == "")
{
alert("<?=$VIEW_MAIL[MAIL_CONTENT]?>");
theform.message.focus();
return false;
}
else
{
theform.Submit.disabled = true;
return true;
}
}
</script>
<table width="100%" border="0" cellpadding="<?=TABLESPACE?>" cellspacing="<?=TABLECELL?>" class="tableborder">
<tr class="categround">
<td colspan="2"><?=$VIEW_MAIL[MAIL_TITLE]?></td>
</tr>
<form action="view.php?action=mail" method="post" name="wane_post" onSubmit="return checkdata(this)">
<tr class="contentground">
<td width="25%"><?=$VIEW_MAIL[MAIL_RECER]?></td>
<td><input name="toer" type="text" id="toer" size="30"> e.g: someone</td>
</tr>
<tr class="contentground">
<td><?=$VIEW_MAIL[MAIL_RECMAIL]?></td>
<td><input name="to" type="text" id="to" size="30"> e.g: someone@example.com </td>
</tr>
<tr class="contentground">
<td><?=$VIEW_MAIL[MAIL_SENDER]?></td>
<td><input name="fromer" type="text" id="fromer" value="<?=SQL_SENDER?>" size="30"></td>
</tr>
<tr class="contentground">
<td><?=$VIEW_MAIL[MAIL_SENDMAIL]?></td>
<td><input name="sendfrom" type="text" id="sendfrom" value="<?=SQL_SENDEMAIL?>" size="30"></td>
</tr>
<tr class="contentground">
<td><?=$VIEW_MAIL[MAIL_CONTENT]?></td>
<td><textarea name="message" cols="90" rows="10" wrap="VIRTUAL" id="message"><?=SQL_CONTENT?></textarea></td>
</tr>
<tr align="center" class="contentground">
<td colspan="2"><input type="submit" name="Submit" value="<?=$VIEW_MAIL[MAIL_SUBMIT]?>"><input name="mailsubmit" type="hidden" id="mailsubmit" value="1"></td>
</tr>
</form>
</table>
</td>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -