📄 control.asp
字号:
<!--#include file="info.asp"-->
<!--#include file="conn.asp"-->
<html>
<%
if session("id")="" or session("ac")="" or session("user")="" then
response.write "<script language=JavaScript>" & chr(13) & "alert('您还未登陆!');"&"window.location.href = 'index.asp'"&" </script>"
Response.End
end if
if session("name")="" then
if session("user")="1" then
response.write "<script language=JavaScript>" & chr(13) & "alert('您还未填写基本信息,请填写!');"&"window.location.href = 'in_control1.asp'"&" </script>"
else
response.write "<script language=JavaScript>" & chr(13) & "alert('您还未填写基本信息,请填写!');"&"window.location.href = 'en_control1.asp'"&" </script>"
Response.End
end if
end if
%>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="css.css" type="text/css">
<title><%=webname%> - 会员中心</title>
</head>
<body>
<!--#include file="top.asp"-->
<div align="center">
<table border="0" width="760" cellspacing="0" cellpadding="0" id="table1" height="421">
<tr>
<td style="border-left: 1px solid #0086DF; border-right: 1px solid #0086DF" width="760" valign="top" bgcolor="#FEFBF4">
<div align="center">
<table border="0" width="705" cellspacing="0" cellpadding="0" id="table2" height="379">
<tr>
<td height="86" width="214">
<img border="0" src="images/control.gif" width="282" height="90"></td>
<td height="86" width="237"> </td>
<td height="86" width="128">
<img border="0" src="images/controltop1.gif" width="128" height="90"></td>
<td height="86" width="58"> </td>
</tr>
<tr>
<td width="705" colspan="4" valign="top">
<%
if session("user")="1" then
%>
<div align="center">
<table border="0" width="100%" cellspacing="0" cellpadding="0" id="table3" height="272">
<tr>
<td height="27" colspan="2">
<p align="left">
会员中心 → 首页</td>
</tr>
<tr>
<td width="26%" valign="top">
<!--#include file="in_menu.asp"-->
</td>
<td width="74%" valign="top" align="center" background="images/men.gif" bgcolor="#FEFBF4">
<div align="center">
<table border="0" width="90%" cellspacing="0" cellpadding="0" id="table5" height="242">
<tr>
<td valign="top">
<table border="0" width="470" cellspacing="0" cellpadding="0" id="table6" height="237">
<tr>
<td height="30" colspan="3">
<font color="#000000"><b>
</b></font><b>
<font color="#0A5DF6">亲爱的个人用户:<%=session("ac")%>,您好!欢迎加入<%=webname%>,我们将为您提供最贴切的服务!</font></b></td>
</tr>
<tr>
<td height="30" width="466" colspan="3"> </td>
</tr>
<tr>
<td height="30" width="466" colspan="3">
<p align="left"><b>
以下是您的站内基本信息:</b></td>
</tr>
<tr>
<td height="30" width="115" align="left">
<p align="right">用户类别:</td>
<td height="30" width="4" align="left">
</td>
<td height="30" width="351">
<font color="#FF0000"><%
if session("vip")=true then
response.write "高级"
else
response.write "普通"
end if
%></font>个人用户
系统编号:<%
if session("user")="1" then
response.write "IN"&session("id")
else
response.write "EN"&session("id")
end if
%></td>
</tr>
<tr>
<td height="30" width="115" align="left">
<p align="right">
您的站内信息:</td>
<%
sql="select id from message where ttype='"&session("user")&"' and tid="&session("id")
rs.open sql,conn,1,1
%>
<td height="30" width="4" align="left">
</td>
<td height="30" width="351"><%=rs.recordcount%>条</td>
</tr>
<tr>
<td height="30" width="115" align="left">
<p align="right">您的职位库存:</td>
<%
rs.close
sql="select id from indepot where inid="&session("id")
rs.open sql,conn,1,1
%>
<td height="30" width="4" align="left">
</td>
<td height="30" width="351"><%=rs.recordcount%>个</td>
</tr>
<tr>
<td height="30" width="115" align="left">
<p align="right">
您的个人简历被阅:</td>
<%
rs.close
sql="select clicks from in_user where id="&session("id")
rs.open sql,conn,1,1
%>
<td height="30" width="4" align="left">
</td>
<td height="30" width="351"><%=rs("clicks")%>次</td>
</tr>
<tr>
<td height="30" width="115" align="left">
<p align="right">
收录您入库的企业:</td>
<%
rs.close
sql="select id from endepot where inid="&session("id")
rs.open sql,conn,1,1
%>
<td height="30" width="4" align="left">
</td>
<td height="30" width="351"><%=rs.recordcount%>个</td>
</tr>
<tr>
<td height="57" width="100%" align="left" colspan="3"> <p>
<b>
提示:只有所有必填信息填写完毕后您的资料才可能被用人单位所搜索</b></td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</div>
<%
else
%>
<div align="center">
<table border="0" width="100%" cellspacing="0" cellpadding="0" id="table3" height="272">
<tr>
<td height="27" colspan="2">
<p align="left">
会员中心 → 首页用户</td>
</tr>
<tr>
<td width="26%" valign="top">
<!--#include file="en_menu.asp"-->
</td>
<td width="74%" valign="top" align="center" background="images/men.gif" bgcolor="#FEFBF4">
<div align="center">
<table border="0" width="90%" cellspacing="0" cellpadding="0" id="table5" height="242">
<tr>
<td valign="top">
<table border="0" width="470" cellspacing="0" cellpadding="0" id="table6" height="237">
<tr>
<td height="30" colspan="3">
<font color="#000000"><b>
</b></font><b>
<font color="#0A5DF6">亲爱的企业用户:<%=session("ac")%>,您好!欢迎加入<%=webname%>,我们将为您提供最贴切的服务!</font></b></td>
</tr>
<tr>
<td height="30" width="466" colspan="3"> </td>
</tr>
<tr>
<td height="30" width="466" colspan="3">
<p align="left"><b>
以下是您的站内基本信息:</b></td>
</tr>
<tr>
<td height="30" width="115" align="left">
<p align="right">用户类别:</td>
<td height="30" width="4" align="left">
</td>
<td height="30" width="351"><font color="#FF0000"><%
if session("vip")=true then
response.write "高级"
else
response.write "普通"
end if
%></font>企业用户
系统编号:<%
if session("user")="1" then
response.write "IN"&session("id")
else
response.write "EN"&session("id")
end if
%></td>
</tr>
<tr>
<td height="30" width="115" align="left">
<p align="right">
您的站内信息:</td>
<%
sql="select id from message where ttype='"&session("user")&"' and tid="&session("id")
rs.open sql,conn,1,1
%>
<td height="30" width="4" align="left">
</td>
<td height="30" width="351"><%=rs.recordcount%>条</td>
</tr>
<tr>
<td height="30" width="115" align="left">
<p align="right">您的招聘信息:</td>
<%
rs.close
sql="select id from job where enid="&session("id")
rs.open sql,conn,1,1
%>
<td height="30" width="4" align="left">
</td>
<td height="30" width="351"><%=rs.recordcount%>条</td>
</tr>
<tr>
<td height="30" width="115" align="left">
<p align="right">您的人才库存:</td>
<%
rs.close
sql="select id from endepot where enid="&session("id")
rs.open sql,conn,1,1
%>
<td height="30" width="4" align="left">
</td>
<td height="30" width="351"><%=rs.recordcount%>个</td>
</tr>
<tr>
<td height="30" width="115" align="left">
<p align="right">
您的公司资料被阅:</td>
<%
rs.close
sql="select clicks from en_user where id="&session("id")
rs.open sql,conn,1,1
%>
<td height="30" width="4" align="left">
</td>
<td height="30" width="351"><%=rs("clicks")%>次</td>
</tr>
<tr>
<td height="30" width="115" align="left">
<p align="right">
招聘信息被收录:</td>
<%
rs.close
sql="select id from indepot where jobid in (select id from job where enid="&session("id")&")"
rs.open sql,conn,1,1
%>
<td height="30" width="4" align="left">
</td>
<td height="30" width="351"><%=rs.recordcount%>次</td>
</tr>
<tr>
<td height="57" width="100%" align="left" colspan="3"> <p>
<b>
提示:只有所有必填信息填写完毕您的资料才可能被求职者所搜索</b></td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</div><%
end if
%>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</div>
<%
rs.close
set rs=nothing
set conn=nothing
%>
<!--#include file="base.asp"-->
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -