⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xhrevise.asp

📁 大家好
💻 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="/zhao/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="/zhao/images/smallmark.gif" width=120></td>
    <td colspan="2" valign="bottom" height="30">&nbsp;</td>
  </tr>
  <tr> 
    <td width="285" valign="bottom"><A href="/zhao/default.asp">本站首页</a> &gt;&gt;笑话天地</td>
    <td width="238" valign="bottom" align="right">&nbsp; </td>
  </tr>
  <tr> 
    <td colspan="3" bgcolor="#006600"></td>
  </tr>
  <tr valign="bottom"> 
    <td colspan="3">&nbsp; </td>
  </tr>
</table>
<h2 align="center"><font face="Times New Roman, Times, serif">修改笑话</font></h2>
<form method="post" action="/zhao/revise/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%">&nbsp;</td>
    </tr>
    <tr> 
      <td width="11%" nowrap>&nbsp;</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 virtual="/zhao/include/end.htm"-->
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -