[PHP典型模塊與項目實戰大全]-第五章(訪客留言版post.html檔案)
[PHP典型模塊與項目實戰大全]-第五章(訪客留言版post.html檔案)
code2html:http://tohtml.com/
post.html 內容
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<htmlxmlns="http://www.w3.org/1999/xhtml">
<head>
<metahttp-equiv="Content-Type"content="text/html; charset=utf-8"/>
<title>留言板-留言頁面</title>
<linkhref="style.css"rel="stylesheet"type="text/css"/>
</head>
<body>
<divid="mainbt">
<ul>
<liid="mainbt_top"></li>
<liid="mainbt_middle"style="padding:0px0px15px0px;">
<pclass="tit_bbs">我要留言</p>
<formaction="sent.php"method="post"name="message board">
<tablewidth="80%"border="0"align="center"cellpadding="0"cellspacing="0"class="tab_b">
<tr>
<tdclass="td_bright">用戶名:</td>
<tdwidth="150"class="td_pad">
<label>
<inputtype="text"name="name"id="name"/>
</label>
</td>
<tdwidth="50">
驗證碼:
</td>
<tdwidth="90"class="td_pad">
<label>
<inputtype="text"name="password"style="width:80px;"/>
</label>
</td>
<td>
<imgsrc="images/checkno.gif"/>
</td>
</tr>
<tr>
<tdclass="td_bright">提交部門:</td>
<tdcolspan="4"class="td_pad">
<label>
<selectname="select">
<optionvalue="#"> —— 全部 ——</option>
</select>
</label>
</td>
</tr>
<tr>
<tdvalign="top"class="td_bright">發表內容:</td>
<tdcolspan="4"class="td_pad">
<label>
<textareaname="content"id="post"cols="40"rows="5"></textarea>
</label>
</td>
</tr>
<tr>
<td> </td>
<tdcolspan="4">
<tablewidth="20%"border="0"cellspacing="0"cellpadding="0">
<tr>
<tdclass="td_pad"><inputtype="submit"name="Submit"value="提交"onclick="return checkInput();"/></td>
<tdclass="td_pad"><inputtype="reset"name="Submit2"value="重置"/></td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</li>
<liid="mainbt_bt"></li>
</ul>
</div>
</body>
</html>
|