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

📄 gedit.asp

📁 wapgo网址导航整站源码,WAP源码,更多登陆http://xywap.cn
💻 ASP
字号:
<%
if session("admin")="" then
  response.redirect "admin.asp"
end if
%>
<!--#include file="conn.asp"-->
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<title>修 改 网 址</title>
<link rel="stylesheet" type="text/css" href="style.css">
<%
id=request("id")
ids=request("ids")

dim rst
dim Sql
set rst=server.createobject("ADODB.Recordset")
Sql="select * from class order by ClassID asc"
rst.open Sql,conn,1,1

set rs=Server.CreateObject("ADODB.Recordset")
rsstr="select * from [urls] where wid=" & id &" and classid="& ids
rs.open rsstr,conn,1,2
%>
</head>

<body>
<br><br>
<form method="POST" name="myform" action="geditok.asp">
  <div align="center"><center><table cellspacing="0" width="80%" border="1" cellpadding="0" cellspacing="0" bordercolor="#999999">
    <tr>
      <td width="100%" bgcolor="#999999" height="20"><font color="#FFFFFF"><center><p><b>修 改 网 址</b></font></td>
    </tr>
    <tr align="center">
      <td width="100%">
	<table border="0" cellspacing="1" width="100%">
         <tr>
                <td width="30%" align="right" valign="top" height="20"><b>网址分类:</b></td>
                <td width="70%">
<select title="分类" name="fenlei" value="<%=ids%>">
<%
i=1
do while not rst.eof
%>
<option value="<%=rst("ClassID")%>"><%=rst("ClassID")%>.<%=rst("ClassName")%></option>
<%
i=i+1
rst.movenext
loop
rst.Close
set rst=nothing
%>
</select>
		</td></tr>
        <tr>
          <td width="30%" align="right" height="30"><b>网站名称:</b></td>
          <td width="70%" height="30">
			<input type="text" name="site" size="26"
          class="smallinput" maxlength="90" value="<%=rs("site")%>">&nbsp;&nbsp;
<select title="show" name="show" value="show" size="1">
<option value="0" selected>首页不推荐</option>
<option  value="1">首页推荐</option>
</select><select title="hzhb" name="hzhb" value="hzhb" size="1">
<option value="0" selected>请选择</option>
<option  value="1">合作伙伴</option>
</select></td>
        </tr>
        <tr>
          <td width="30%" align="right" height="7"><b>网站地址:</b></td>
          <td width="70%" height="7"><input type="text" name="url" size="60"
          class="smallinput" maxlength="90" value="<%=rs("url")%>"></td>
        </tr>
		  <tr>
          <td width="30%" align="right" height="19"><b>排序顺序:&nbsp;&nbsp; </b></td>
          <td width="70%" height="19">
			<input type="text" name="showorder" size="18"
          class="smallinput" maxlength="90" value="<%=rs("showorder")%>"><font color="#FF0000"><b>(请输入在网站的具体排序位置序号)</b></font></td>
        	</tr>
		  <tr>
          <td width="30%" align="right" valign="top"><b>描述描述:</b></td>
          <td width="70%"><textarea rows="10" name="about" cols="60" class="smallarea"><%=rs("about")%></textarea></td>
        </tr>
          
      </table>
      </td>
    </tr>
  </table>
  </center></div>
  <div align="center">
  <center>
  <p>
  <input type="submit" value=" 修 改"
  name="cmdok" class="buttonface">&nbsp; <input type="reset" value=" 清 除 "
  name="cmdcancel" class="buttonface"></p>
  <input type="hidden" name="id" value="<%=id%>">
  </center></div>
</form>
</body>
</html>

⌨️ 快捷键说明

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