📄 web_manage.asp
字号:
<!--#include file="../setup.asp"-->
<!--#include file="login_admin.asp"-->
<%
'================================================================================
'Product:K-Search Version 2.1
'本“软件产品”受《中华人民共和国著作权法》和《中华人民共和国计算机软件保护条例》
'和国际条约的保护。如未经授权而擅自复制或传播本程序(或其中任何部分),将受到严厉
'的刑事及民事制裁,并将在法律许可的范围内受到最大可能的起诉!
'Homepage:http://www.lucoo.com/
'--------------------------------------------------------------------------------
'Copyright(c) 2005 lucoo.com All Rights Reserved 绿色互联 版权所有
'================================================================================
if session("rank")<>1 then
response.write "<Script>window.alert('您的管理员级别不能操作!');history.go(-1);</Script>"
response.end
end if
%>
<!--#include file="conn.asp"-->
<%
dim rs
dim id
id=Request.QueryString("id")
if isnumeric(id)=0 or id="" then
response.write "非法ID参数"
response.end
end if
Set rs= Server.CreateObject("ADODB.Recordset")
rs.open "select * from web where id="&id,conn,1,1
%>
<head>
<title>管理中心</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!--#include file="top.asp"-->
<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
<tr>
<td width="60" height="24" valign="bottom" bgcolor="#e1e1e1"> <table border="0" align="center" cellpadding="0" cellspacing="0">
<tr align="center">
<td width="55" height="23">网站查询</td>
</tr>
</table></td>
<td bgcolor="#e1e1e1"><table border="0" cellpadding="0" cellspacing="0">
<form name="search" method="get" action="search.asp">
<tr>
<td width="150" align="center"><input name="keyword" type="text" id="keyword"></td>
<td width="250"><input name="sort" type="radio" value="title" checked>
网站标题
<input type="radio" name="sort" value="url">
网站网址
<input type="radio" name="sort" value="content">
网站描述</td>
<td width="45"><input type="submit" value="查询"></td>
</tr>
</form>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="100%" valign="top" bgcolor="#FFFFFF"><table border="0" cellpadding="0" cellspacing="5">
<tr>
<td width="768" height="20" valign="top"><table border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="600" height="20"></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<form name="form" method="post" action="web_manage_ok.asp">
<tr>
<td width="65" height="25">网站审核:</td>
<td><input <%if rs("verify")=0 then response.write "checked"%> name=verify type=radio value=0>
已审核
<INPUT <%if rs("verify")=-1 then response.write "checked"%> name=verify type=radio value=-1>
未审核</td>
</tr>
<tr>
<td height="25">审核通知:</td>
<td>[<a href="verify_ok.asp?action=yes&id=<%=rs("id")%>" target="_blank"><font color="#009900">审核成功通知</font></a>] [<a href="verify_ok.asp?action=no&id=<%=rs("id")%>" target="_blank"><font color="#FF0000">审核失败通知</font></a>]</td>
</tr>
<%if session("rank")=1 then%>
<tr>
<td height="25">目录推荐:</td>
<td><input name="show_path" type="text" id="show_path" value="<%=rs("show_path")%>" size="50">
注:在多个分类目录中显示该网站,每个ID用“|”分隔,例如:|18|;</td>
</tr>
<tr>
<td height="25">网站排序:</td>
<td><input name="sequence" type="text" id="sequence" value="<%=rs("sequence")%>" size="10">
注:填写的数字越大,排名越高,为“0”时表示没有使用排名排序;</td>
</tr>
<tr>
<td height="25">排序时间:</td>
<td><input name="sequence_time" type="text" id="sequence_time" value="<%=rs("sequence_time")%>">
<a href="#"><img align=absMiddle border="0" height="16" id="daysOfMonthPos" name="daysOfMonthPos"
onmouseup="toggleDatePicker('daysOfMonth','form.sequence_time')"
src="image/time.gif" width="16"></a>
<div id="daysOfMonth" style="POSITION: absolute; visibility: hidden;"></div>
注:网站排序的到期时间;</td>
</tr>
<tr>
<td height="25">右侧推荐:</td>
<td><input name="commend" type="text" id="commend" value="<%=rs("commend")%>" size="10">
注:右侧的网站推荐,数字越大排名越高,为“0”时表示没有推荐;</td>
</tr>
<tr>
<td height="25">右侧时间:</td>
<td><input name="commend_time" type="text" id="commend_time" value="<%=rs("commend_time")%>">
<a href="#"><img align=absMiddle border="0" height="16" id="daysOfMonthPos2" name="daysOfMonthPos2"
onmouseup="toggleDatePicker('daysOfMonth','form.commend_time')"
src="image/time.gif" width="16"></a>
<div id="daysOfMonth2" style="POSITION: absolute; visibility: hidden;"></div>
注:右侧推荐的到期时间;</td>
</tr>
<tr>
<td height="25">一 点 通:</td>
<td><input name="one_click" type="text" id="one_click" value="<%=rs("one_click")%>">
注:一点通只能填写一个词组;</td>
</tr>
<tr>
<td height="25">弹出窗口:</td>
<td><input <%if rs("one_click_open")=1 then response.write "checked"%> name=one_click_open type=radio value=1>
是
<input <%if rs("one_click_open")=0 then response.write "checked"%> name=one_click_open type=radio value=0>
否 (同一个一点通词组只能设置一个弹出窗口)</td>
</tr>
<tr>
<td height="25">点通时间:</td>
<td><input name="one_click_time" type="text" id="one_click_time" value="<%=rs("one_click_time")%>">
<a href="#"><img align=absMiddle border="0" height="16" id="daysOfMonthPos3" name="daysOfMonthPos3"
onmouseup="toggleDatePicker('daysOfMonth','form.one_click_time')"
src="image/time.gif" width="16"></a>
<div id="daysOfMonth3" style="POSITION: absolute; visibility: hidden;"></div>
注:一点通的到期时间;</td>
</tr>
<%else%>
<%end if%>
<tr>
<td width="65" height="25">分类目录:</td>
<td><input name="sort_id" type="text" id="sort_id" value="<%=rs("sort_id")%>" size="10" readonly>
<input name="button" id="b5" type="button" onClick="select_sort();" value="选择分类">
*</td>
</tr>
<tr>
<td height="25">网站名称:</td>
<td><input name="title" type="text" id="title" value="<%=rs("title")%>" size="50" maxlength="25">
*</td>
</tr>
<tr>
<td height="60"></td>
<td><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="20">1、请填写网站的正式名称,不得超过25个中文字;</td>
</tr>
<tr>
<td height="20">2、若是公司网站,请填公司的正式名称;</td>
</tr>
<tr>
<td height="20">3、请不要使用广告或夸大的用语(例如“最佳网站”或“中国最大”等词);</td>
</tr>
</table></td>
</tr>
<tr>
<td height="25">网站网址:</td>
<td><input name="url" type="text" id="url" value="<%=rs("url")%>" size="50">
*</td>
</tr>
<tr>
<td height="25">关 键 字:</td>
<td><input name="keyword" type="text" id="keyword" value="<%=rs("keyword")%>" size="50" maxlength="25">
</td>
</tr>
<tr>
<td height="20"></td>
<td>关键字不得超过12个中文字,用“,”号分隔每一个关键字;</td>
</tr>
<tr>
<td height="75">网站描述:</td>
<td><textarea name="content" cols="41" rows="5" id="textarea2"><%=rs("content")%></textarea>
* </td>
</tr>
<tr>
<td height="80"></td>
<td><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="20">1、请用简短文字描述网站内容,不得超过35个中文字,包括标点符号;</td>
</tr>
<tr>
<td height="20">2、描述中请避免重覆叙述网站名称或类目;</td>
</tr>
<tr>
<td height="20">3、请不要使用HTML标记;</td>
</tr>
<tr>
<td height="20">4、请不要使用广告或夸大的用语(例如“最佳网站”或“中国最大”等词);</td>
</tr>
</table></td>
</tr>
<tr>
<td height="25">联 系 人:</td>
<td><input name="name" type="text" id="name" value="<%=rs("name")%>">
注:请输入联系人的真实姓名,用于修改网站资料身份验证,请牢记;</td>
</tr>
<tr>
<td height="25">电子邮箱:</td>
<td><input name="email" type="text" id="email" value="<%=rs("email")%>">
注:请输入您常用的电子邮箱,用于修改网站资料身份验证,请牢记;</td>
</tr>
<tr>
<td height="25">腾讯OICQ:</td>
<td><input name="oicq" type="text" id="oicq" value="<%=rs("oicq")%>" maxlength="10">
注:请输入您常用的OICQ号码;</td>
</tr>
<tr>
<td height="25">联系地址:</td>
<td><input name="address" type="text" id="address" value="<%=rs("address")%>" size="50">
注:请输入联系人的详细地址;</td>
</tr>
<tr>
<td height="25">邮政编码:</td>
<td><input name="postcode" type="text" id="postcode" value="<%=rs("postcode")%>" maxlength="10">
注:请输入联系人所在地址地区的邮政编码;</td>
</tr>
<tr>
<td height="30"></td>
<td><input name="submit" id="s4" type="submit" value="确定">
<input name="reset" type="reset" value="重写">
<input name="id" type="hidden" id="id" value="<%=id%>">
</td>
</tr>
</form>
</table>
<script language="JavaScript">
function select_sort(){
window.open ("select_sort.asp?sort_id=<%=rs("sort_id")%>","选择分类","height=400,width=625, top=0, left=0, toolbar=no, menubar=no, scrollbars=yes,resizable=no,location=no, status=no")
}
</script>
<%
rs.close
set rs=nothing
conn.close
set conn=nothing
session("url")=""
session("url")="web_manage.asp?id="&id&""
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -