?? xhrevise.asp
字號:
<%@ LANGUAGE="VBSCRIPT"%>
<!-- #include file="../ADOVBS.INc" -->
<%
set conn=server.createobject("adodb.connection")
conn.open Application("DBCon_ConnectionString")
set rs=server.createobject("adodb.recordset")
rs.LockType=adLockOptimistic
'response.write fenlei
'response.end
'response.write "<br>"
rs.open "select * from xiaohua ",conn
%>
<html>
<head>
<title>xiaohuatijiao</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language=javascript>
<!--
function check(){
if (document.frmsend.select.value=="0")
alert("請選擇分類!");
else{
if (document.frmsend.xiaohua.value=="")
alert("內容不能為空!")
else {
if (document.frmsend.xiaohua.value.length>600)
alert("內容多于600字!")
else
document.frmsend.submit()
}
}
}
//-->
</script>
<link rel="stylesheet" href="../html/3508.css">
<style type="text/css">
<!--
.botton { color: #006600; font-size: 12px}
-->
</style>
</head>
<body bgcolor="#fffffa">
<table width="740" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td width="217" align="middle" valign="bottom" rowspan="2"><IMG height=25 src="../images/smallmark.gif" width=120></td>
<td colspan="2" valign="bottom" height="30"> </td>
</tr>
<tr>
<td width="285" valign="bottom"><A href="../default.asp">本站首頁</a> >>笑話天地</td>
<td width="238" valign="bottom" align="right"> </td>
</tr>
<tr>
<td colspan="3" bgcolor="#006600"></td>
</tr>
<tr valign="bottom">
<td colspan="3"> </td>
</tr>
</table>
<h2 align="center"><font face="Times New Roman, Times, serif">修改笑話</font></h2>
<form method="post" action="xhtijiao.asp" name=frmsend>
<table width="75%" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td width="11%" nowrap align="right" >〖分類〗</td>
<td width="89%">
<select name="select" class="botton" value=<%=rs("fenlei")%>>
<option value="0">-選擇分類-</option>
<option value="1">原創笑話</option>
<option value="2">愛情笑話</option>
<option value="3">成人笑話</option>
<option value="4">現代笑話</option>
<option value="5">古代笑話</option>
<option value="6">文革笑話</option>
<option value="7">名人笑話</option>
<option value="8">兒童笑話</option>
<option value="9">電腦笑話</option>
<option value="10">英文笑話</option>
<option value="11">外國笑話</option>
<option value="12">歇后語</option>
<option value="13">順口溜</option>
<option value="14">魔鬼定律</option>
<option value="15">謎語</option>
</select>
</td>
</tr>
<tr>
<td width="11%" nowrap align="right"> 〖標題〗</td>
<td width="89%">
<input name="biaoti" maxLength=20 class="botton" value=<%=rs("biaoti")%>>
</td>
</tr>
<tr>
<td width="11%" nowrap align="right">〖作者〗</td>
<td width="89%">
<input name="zuoze " maxLength=12 class="botton" value=<%=rs("zuozexm")%>>
</td>
</tr>
<tr>
<td width="11%" nowrap align="right">〖笑話〗</td>
<td width="89%"> </td>
</tr>
<tr>
<td width="11%" nowrap> </td>
<td width="89%"><TEXTAREA class=botton cols=60 name=xiaohua rows=8 style="BACKGROUND-COLOR: white" ><%=rs("neirong")%></TEXTAREA>
</td>
</tr>
</table>
<table width="75%" border="0" cellpadding="0" cellspacing="0" align="center">
<tr align="left">
<td colspan="3">
<input type="button" value="提交" onclick="check()" style="BACKGROUND-COLOR: silver; HEIGHT: 24px; WIDTH: 61px" class="botton">
</td>
</tr>
</table>
</form>
<!-- #include file="../include/end.htm"-->
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -