?? admin_list.asp
字號:
<!--#include file="conn.asp"-->
<%
if session("login")<>"yes" then
response.write "<script language=JavaScript>" & chr(13) & "alert('您還未登錄或者超時,請重登錄!');"&"window.location.href = '../'"&" </script>"
response.end
end if
%>
<html>
<script language="javascript">
function openScript(url, width, height){
var Win = window.open(url,"openScript",'width=' + width + ',height=' + height + ',resizable=1,scrollbars=yes,menubar=no,status=yes' );
}
</script>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../css.css" type="text/css">
<title>網站信息項目管理</title>
<base target="_self">
</head>
<body bgcolor="#CAD7F7" vlink="#000000">
<table border="0" width="759" cellspacing="0" cellpadding="4" bgcolor="#FFFFFF" style="border:1px solid #000000; " height="414">
<tr>
<td width="749" height="24" bgcolor="#9966FF">
<p align="center"><font size="2" color="#FFFFFF"><b>職位、地區、專業、企業類別設置</b></font></td>
</tr>
<tr>
<td bgcolor="#F1F3F5" height="95%" align="center" valign="top" width="740" style="border-left-width: 1px; border-top-width: 1px; border-bottom-width: 1px">
<table border="0" width="100%" cellspacing="0" cellpadding="0" id="table1" height="342">
<tr>
<td height="52"><font color="#FF0000"><b>提示</b></font><b><font color="#FF0000">:</font></b>以下項目請盡量在地一次運行系統時設置完畢,以后建議勿修改和刪除(添加無妨),否則注冊用戶數據可能無法正常識別。</td>
</tr>
<tr>
<td valign="top">
<table border="0" width="100%" cellspacing="0" cellpadding="0" id="table2" height="283">
<tr>
<td width="359" height="147" valign="top">
<table border="1" width="95%" style="border-collapse: collapse" bordercolor="#C0C0C0" id="table3" height="59">
<tr>
<td height="31" colspan="3" bgcolor="#C0C0C0">
<div align="left">
<table border="0" width="100%" cellspacing="0" cellpadding="0" id="table7" height="25">
<tr>
<td width="122"><b>職位列表</b></td>
<form method="POST" action="adddata_list.asp?how=job">
<td>
<p>添加:<input type="text" name="what" size="14">
<input type="submit" value="提交" name="B1"></p>
</td>
</form>
</tr>
</table>
</div>
</td>
</tr>
<%
sql="select * from joblist order by id desc"
rs.open sql,conn,1,1
for i=1 to rs.recordcount
%>
<tr>
<td width="63%" height="25"><%=rs("jobclass")%></td>
<td width="16%" align="center" height="25">
<a href="JavaScript:openScript('admin_up_list.asp?id=<%=rs("id")%>&how=job',300,90)">修改</a></td>
<td width="17%" align="center" height="25">
<a onclick="{if(confirm('警告:此操作將刪除項目〈<%=rs("jobclass")%>〉!繼續嗎?')){return true;}return false;}" href="del_list.asp?id=<%=rs("id")%>&how=job">刪除</a></td>
</tr>
<%
rs.movenext
if rs.eof then exit for
next
rs.close
%>
</table>
</td>
<td height="147" valign="top">
<table border="1" width="95%" style="border-collapse: collapse" bordercolor="#C0C0C0" id="table4" height="59">
<tr>
<td height="31" colspan="3" bgcolor="#C0C0C0">
<div align="left">
<table border="0" width="100%" cellspacing="0" cellpadding="0" id="table7" height="25">
<tr>
<td width="122"><b>地區列表</b></td>
<form method="POST" action="adddata_list.asp?how=area">
<td>
<p>添加:<input type="text" name="what" size="14">
<input type="submit" value="提交" name="B1"></p>
</td>
</form>
</tr>
</table>
</div>
</td>
</tr>
<%
sql="select * from arealist order by id desc"
rs.open sql,conn,1,1
for i=1 to rs.recordcount
%>
<tr>
<td width="63%" height="25"><%=rs("areaclass")%></td>
<td width="16%" align="center" height="25"><a href="JavaScript:openScript('admin_up_list.asp?id=<%=rs("id")%>&how=area',300,90)">修改</a></td>
<td width="17%" align="center" height="25"><a onclick="{if(confirm('警告:此操作將刪除項目〈<%=rs("areaclass")%>〉!繼續嗎?')){return true;}return false;}" href="del_list.asp?id=<%=rs("id")%>&how=area">刪除</a></td>
</tr>
<%
rs.movenext
if rs.eof then exit for
next
rs.close
%>
</table>
</td>
</tr>
<tr>
<td width="359" height="16"></td>
<td height="16"></td>
</tr>
<tr>
<td width="359" valign="top">
<table border="1" width="95%" style="border-collapse: collapse" bordercolor="#C0C0C0" id="table5" height="59">
<tr>
<td height="31" colspan="3" bgcolor="#C0C0C0">
<div align="left">
<table border="0" width="100%" cellspacing="0" cellpadding="0" id="table7" height="25">
<tr>
<td width="122"><b>專業列表</b></td>
<form method="POST" action="adddata_list.asp?how=zhy">
<td>
<p>添加:<input type="text" name="what" size="14">
<input type="submit" value="提交" name="B1"></p>
</td>
</form>
</tr>
</table>
</div>
</td>
</tr>
<%
sql="select * from zhylist order by id desc"
rs.open sql,conn,1,1
for i=1 to rs.recordcount
%>
<tr>
<td width="63%" height="25"><%=rs("zhyclass")%></td>
<td width="16%" align="center" height="25">
<a href="JavaScript:openScript('admin_up_list.asp?id=<%=rs("id")%>&how=zhy',300,90)">修改</a></td>
<td width="17%" align="center" height="25">
<a onclick="{if(confirm('警告:此操作將刪除項目〈<%=rs("zhyclass")%>〉!繼續嗎?')){return true;}return false;}" href="del_list.asp?id=<%=rs("id")%>&how=zhy">刪除</a></td>
</tr>
<%
rs.movenext
if rs.eof then exit for
next
rs.close
%>
</table>
</td>
<td valign="top">
<table border="1" width="95%" style="border-collapse: collapse" bordercolor="#C0C0C0" id="table6" height="59">
<tr>
<td height="31" colspan="3" bgcolor="#C0C0C0">
<div align="left">
<table border="0" width="100%" cellspacing="0" cellpadding="0" id="table7" height="25">
<tr>
<td width="122"><b>公司類別列表</b></td>
<form method="POST" action="adddata_list.asp?how=company">
<td>
<p>添加:<input type="text" name="what" size="14">
<input type="submit" value="提交" name="B1"></p>
</td>
</form>
</tr>
</table>
</div>
</td>
</tr>
<%
sql="select * from companylist order by id desc"
rs.open sql,conn,1,1
for i=1 to rs.recordcount
%>
<tr>
<td width="16%" align="center" height="25">
<a href="JavaScript:openScript('admin_up_list.asp?id=<%=rs("id")%>&how=company',300,90)">修改</a></td>
<td width="17%" align="center" height="25">
<a onclick="{if(confirm('警告:此操作將刪除項目〈<%=rs("companyclass")%>〉!繼續嗎?')){return true;}return false;}" href="del_list.asp?id=<%=rs("id")%>&how=company">刪除</a></td>
</tr>
<%
rs.movenext
if rs.eof then exit for
next
rs.close
%>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
<%
set rs=nothing
set conn=nothing
%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -