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

📄 auditsiteedit.asp

📁 个性网名转换-繁体字转换-qq强制聊天-qq秀查看-空间留言代码编辑器-等其他常用工具
💻 ASP
字号:
<!-- #include file="conn.asp"-->
<%
If Request.Form("DomainName")<>"" Then
set rs=Server.CreateObject("adodb.recordset")
rs.open "select * from info where infoid=" & Request("id"),conn,3,3
rs("DomainName")=Request.Form("DomainName")
rs("classbid")=Request.Form("ClassID_id")
rs("ClassID_id")=Request.Form("ClassID")
rs("province")=Request.Form("province")
rs("adminSiteName")=Request.Form("adminSiteName")
rs("adminKey")=Request.Form("adminKey")
rs("adminDes")=Request.Form("adminDes")
rs("good")=Request.Form("good")
rs.update
rs.close
Call AlertUrl("修改成功!","AuditSite.asp")
End if
set rs=Server.CreateObject("ADODB.recordset")
sql="select * from info where infoid="&Request("id")&""
rs.open sql,conn,1,1
DomainName=rs("DomainName")
classbid=rs("classbid")
ClassID_id=rs("ClassID_id")
adminSiteName=rs("adminSiteName")
adminKey=rs("adminKey")
adminDes=rs("adminDes")
good=rs("good")
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>站长帐户 - <%=sitetitle%></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="Content-Language" content="zh-cn" />
<link href="/favicon.ico" type="image/x-icon" rel="shortcut icon" />
<link href="/favicon.ico" type="image/x-icon" rel="bookmark" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="imagetoolbar" content="no" />
<meta content="Copyright 2007 netsoz.com" name="copyright" />
<link href="../css/accounts.css" type="text/css" rel="stylesheet" />
<script src="../accounts/js/dir.js" type="text/javascript"></script>
<script src="../accounts/js/city.js" type="text/javascript"></script>
</head>
<body bgcolor="#FFFFFF">
<DIV id=Head>
<table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="220" align="center" style="padding:1px 0px 0px 0px;"><a href="../index.asp" onFocus="this.blur();"><img src="../images/logo_coodirs.gif" width=206 height=50 vspace=7 border=0 alt="netsoz中文网站目录"></a></td>
    <td valign="top" style="padding:1px 0px 0px 0px;"><table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
    <tr>
      <td align="right" valign="top" style="padding:6px 16px 0px 0px;">
	 
	  <strong><%=Session("user")%></strong> - <a href="../accounts/" class="linkNo">我的帐户</a> - <a href="../index.asp" class="linkNo">网站目录首页</a> - <a href="../accounts/logout/" class="linkNo">退出</a>
	  
	  </td>
    </tr>
</table>
</td>
  </tr>
</table> 
  <table width="100%" border="0" cellpadding="2" cellspacing="1" style="border-top:1px solid #99B2CC; border-bottom:1px solid #99B2CC;">
    <tr>
      <td height="20" bgcolor="#DBE9F4">&nbsp;您的位置:<strong><%=Session("user")%></strong> 的管理中心</td>
    </tr>
  </table>
	  <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
		  <td width="160" valign="top" style="padding:6px 0px 0px 0px;">
		   <table width="100%" border="0" cellspacing="1" cellpadding="2">
  <tr>
	<td nowrap="nowrap" class="f60b14" style="padding:3px 0px 3px 6px;">管理中心</td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="1" cellpadding="2">
   <tr>
     <td height="1" background="../images/dot_line.gif"></td>
 </tr>		
</table>
<!-- #include file="LeftMenu.asp"-->

<table width="100%" border="0" cellspacing="1" cellpadding="2" style="margin-bottom:30px;">
  <tr>
     <td height="1" background="../images/dot_line.gif"></td>
 </tr>		
</table>
 	
		  </td>
		  <td width="1" background="../images/dot_line.gif"></td>
          <td valign="top" style="padding:0px 0px 10px 16px;">
	
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:10px;">
   <tr>
     <td height="1" background="../images/dot_line.gif"></td>
   </tr>		
</table>

			<table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
				<tr> 
			       <td><span class=txtcolor><strong>添加网站</strong></span><br><br></td>
			    </tr>
			</table>
		  <table width="100%" border="0" cellspacing="2" cellpadding="2" bgcolor="#FFFFFF" style="margin-bottom:6px;">
<form action="AuditSiteEdit.asp?id=<%=request("id")%>" method="post">
			 <tr bgcolor="#FFFFFF"> 
				<td width="80" height="25" align="right" nowrap><strong>域名:</strong></td>
			   <td class="gray"> <INPUT class=box size=50 name=DomainName maxlength="80" value="<%=DomainName%>">
			   <br>
				例:www.netsoz.com</td>
			  </tr>
			   <tr bgcolor="#FFFFFF"> 
				<td height="25" align="right" nowrap bgcolor="#FFFFFF"><strong>所属目录:</strong></td>
				<td bgcolor="#FFFFFF">
					<SELECT onchange=change_dir(this.options[this.selectedIndex].value) size=1 name=ClassID_id>
					 <script>
						for (var i=0;i<onecount_yi;i++)
						if(""==subcat_yi[i][0])		
						document.write("<option value='"+subcat_yi[i][0]+"' selected>"+subcat_yi[i][1]+"</option>")
						else
						document.write("<option value='"+subcat_yi[i][0]+"'>"+subcat_yi[i][1]+"</option>")
						</script>
					  </SELECT> 
					  <SELECT id=ClassID name=ClassID>
					  <OPTION value="6700B0700B101407208A">二级类别</OPTION>
				    </SELECT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;推荐目录 <input type="text" name="tempclassname" size="8" maxlength="8" title="没有适合贵站的目录时请推荐"></td>
			  </tr>			  
			  <tr bgcolor="#FFFFFF"> 
				<td height="25" align="right" nowrap bgcolor="#FFFFFF"><strong>所属地区:</strong></td>
				<td bgcolor="#FFFFFF">
					<SELECT onchange=changelocation(this.options[this.selectedIndex].value) size=1 name=province>
					 <script>
						for (var i=0;i<onecount_p;i++)
						if(""==subcat_p[i][0])		
						document.write("<option value='"+subcat_p[i][0]+"' selected>"+subcat_p[i][1]+"</option>")
						else
						document.write("<option value='"+subcat_p[i][0]+"'>"+subcat_p[i][1]+"</option>")
						</script>
					  </SELECT> 
					  <SELECT id=city name=city>
					  <OPTION value="6700B0700B101407208A">选择城市</OPTION>
				    </SELECT></td>
			  </tr>
			  <tr bgcolor="#FFFFFF"> 
				<td height="25" align="right" nowrap bgcolor="#FFFFFF"><strong>网站名称:</strong></td>
				<td bgcolor="#FFFFFF" class="gray"><INPUT size=50  name=adminSiteName maxlength="32" value="<%=adminSiteName%>">
				  <br>
32个字符以内,中文字为2个字符,不要带有任何符号</td>
			  </tr>
			  <tr bgcolor="#FFFFFF"> 
				<td height="25" align="right" nowrap bgcolor="#FFFFFF"><strong>网站截图:</strong></td>
				<td bgcolor="#FFFFFF" class="gray"><INPUT size=50  name=adminSiteImg maxlength="32" onclick="javascript:login();">
				  <br>
如:http://www.netsoz.com/img/logo.gif</td>
			  </tr>
			  <tr bgcolor="#FFFFFF"> 
				<td height="25" align="right" nowrap bgcolor="#FFFFFF"><strong>关键字:</strong></td>
				<td bgcolor="#FFFFFF"> <TEXTAREA id=MsgForm name=adminKey rows=3 cols=52 onclick="javascript:login();"><%=adminKey%></TEXTAREA> 
<br>
<span class="gray">80个字符以内,多个关键字之间请用半角逗号“,”隔开</span></td>
			  </tr>
			  <tr bgcolor="#FFFFFF"> 
				<td height="25" align="right" nowrap bgcolor="#FFFFFF"><strong>网站描述:</strong></td>
				<td bgcolor="#FFFFFF" class="gray"> <TEXTAREA id=MsgForm name=adminDes rows=5 cols=52 onclick="javascript:login();"><%=adminDes%></TEXTAREA><br>
160个字符以内</td>
			  </tr>
			  <tr bgcolor="#FFFFFF"> 
				<td height="25" align="right" nowrap bgcolor="#FFFFFF"><strong>推荐信息:</strong></td>
				<td bgcolor="#FFFFFF" class="gray"> <TEXTAREA id=MsgForm name=good rows=5 cols=52 onclick="javascript:login();"><%=good%></TEXTAREA><br>
160个字符以内</td>
			  </tr>

              </table>


	
		  <div style="padding:0px 0px 0px 160px;"><br>
               <input type="submit" name="Submit" value=" 提交 ">
<input type="reset" name="reset" value=" 重填 " ><br><br></div>
		  </td>
          </tr>
		 </form>
      </table>


		  </td>
        </tr>
      </table>
<%=sitefoot%>
</div>
</body>
</html>

⌨️ 快捷键说明

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