?? add_article.php
字號(hào):
<html>
<head>
<title>神之居所</title>
<link rel=stylesheet href="system/god.css">
</head>
<body bgcolor=444444>
<!-- 主頁(yè)頭部信息 -->
<?php include("include/header.inc"); ?>
<div id="content-two-column">
<!-- 左邊的網(wǎng)站導(dǎo)航 -->
<div id="leftside">
<?php include("include/leftside.inc"); ?>
</div>
<?php
if (!isGod())
{
echo ("<script>location.href='login_failed.php'</script>");
}
?>
<div id="content-main">
<!-- 添加一個(gè)新文章 -->
<form action="action_add_article.php" method="post" name="form1">
<table width=100% align=center valign=top border=1 bordercolor=green cellpadding="3" cellspacing="0"
style="font-size: 9pt; font-family: '宋體'" bgcolor=#CCCCCC>
<tr bgcolor=green><td align=center><b>發(fā)表新文章</b></td></tr>
<tr><td>
姓名:<input type="text" name="name" maxlength="10"/></td></tr>
<tr><td>
主題:<input type="text" name="title" style="width: 480px" maxlength="30"/></td></tr>
<tr><td>
內(nèi)容:<textarea name="content" value="" rows="15" style="width: 500px;" maxlength="30"></textarea>
<br>
<font color=red>字?jǐn)?shù)不能超過(guò)7000個(gè)</font></td></tr>
<tr><td><input type="hidden" name="block"/></td></tr>
<tr><td>
<input type="submit" value="提交" style="width: 80px"/></td></tr>
</table>
</form>
<?php
// 設(shè)置隱藏控件的值,傳遞版塊ID
$gid = 1;
if ($_REQUEST["gid"] != NULL)
{
$gid = $_REQUEST["gid"];
}
echo "<script language='javascript'>document.form1.block.value='".$gid."';</script>";
?>
</div>
</div>
<!-- 網(wǎng)站頁(yè)腳,版權(quán)信息 -->
<?php include("include/footer.inc"); ?>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -