📄 write.php
字号:
<?/*
======================================================
writing form
======================================================
*/?>
<?
//////////////////////////////////////////////////when write
if($mode=="write"){
$subject="发表文章";//subject
$button="发表";//button
}
//////////////////////////////////////////////////when modify
if($mode=="编辑"){
$subject="编辑文章";//subject
$button="编辑";//button
}
//////////////////////////////////////////////////when reply
if($mode=="reply"){
$subject="回复文章";//subject
$button="回复";//button
}
//////////////////////////////////////////////////form varialble establishment
$form_title="$re_mark<input type=text name=title class=input size=40 value='$title_value'>";
$form_name="<input type=text name=name class=input size=15 value='$name_value' $name_readonly>";
$form_mail="<input type=text name=mail class=input size=40 value='$mail_value'>";
$form_home="<input type=text name=home class=input size=40 value='$home_value'>";
$form_pass="<input type=password name=pass class=input size=10>";
$form_reply="<label for=reply>邮件回复</label> <input id=reply type=checkbox name=remail value=1 $remail_value> ";
$form_html="<label for=html>使用 HTML</label> <input id=html type=checkbox name=html value=1 $html_value>";
$form_secret="<label for=secret>秘密</label> <input id=secret type=checkbox name=secret value=1 $secret_value>";
if($notice_enable){$form_notice="<label for=notice>公告</label> <input id=notice type=checkbox name=notice value=1 $notice_value>";}
$form_attach1="<input type=file name=attach class=input style=\"width=80%\">";
$form_attach2="<input type=file name=attach2 class=input style=\"width=80%\">";
$form_link1="<input type=text name=link class=input style=\"width=80%\" value='$link1_value'>";
$form_link2="<input type=text name=link2 class=input style=\"width=80%\" value='$link2_value'>";
?>
<table align=center width=450 cellpadding=2 cellspacing=0 border=0 bgcolor=#F1F9FD>
<tr><td colspan=2 bgcolor=white><font size=4><b><?=$subject?></b></font></td></tr>
<tr><td colspan=2 height=3 bgcolor=#2CBBFF></td></tr>
</table>
<table width=450 cellpadding=1 cellspacing=1 align=center bgcolor=#F1F9FD>
<?include"$skin/write_form.php";///////////member check?>
<tr>
<td bgcolor=#C9F0FF width=1% nowrap> 标题 </td>
<td width=98%> <?=$form_title?></td>
<td width=1% align=right nowrap> <?=$form_secret?> <?=$form_notice?></td>
</tr>
<tr>
<td bgcolor=#C9F0FF width=1% nowrap valign=top> 内容 </td>
<td width=99% colspan=2> <textarea name=memo class=input style="overflow:auto;word-break:break-all;" style="width=98%" rows=9><?=$memo_value?></textarea></td>
</tr>
<?include"$skin/write_attach.php";/////////file link, appending select?>
<tr>
<td width=1% nowrap></td>
<td width=99% colspan=2> <input type=submit value='<?=$button?>' class=button> <input type=reset value=重置 class=button></td>
</tr>
</table>
<table align=center width=450 cellpadding=2 cellspacing=0 border=0 bgcolor=#F1F9FD>
<tr><td colspan=2 height=3 bgcolor=#2CBBFF></td></tr>
<tr bgcolor=white>
<td width=1%><?=$copyright?></td>
<td width=99% align=right><a href=naboard.php?<?=$send?>>列表</a></td>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -