📄 usermain.asp
字号:
<!--#include file="odbc_connection.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>开始页面</title>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
.style9 {font-size: 12px; color: #0066FF; }
.style10 {
font-size: 12px;
color: #FF3300;
}
.style11 {
font-size: 12px;
color: #000000;
}
-->
</style></head>
<body>
<%dim user_id
user_id=session("user")%>
<table width="560" height="381" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="381" align="center" valign="top"><table width="530" height="256" border="0" cellpadding="0" cellspacing="0">
<tr align="center">
<td height="56" colspan="2"><img src="images/subtop.jpg" width="530" height="56"></td>
</tr>
<tr>
<td height="40" colspan="2" align="left"><span class="style9">
<%response.Write user_id %>
</span> <span class="style11">您好,真诚欢迎您的到来!</span></td>
</tr>
<tr>
<td width="318" height="40" align="right"><span class="style9">今天收到的招聘信息条数:</span></td>
<%dim rs,sql
sql="select count(*) as total from message where userid='"&user_id&"'and user_date=#"&date()&"# and commessage<>'无' "
set rs=db.execute(sql)%>
<td width="212" height="40" class="style10"><%=rs("total")%> 条</td>
</tr>
<tr>
<td height="40" align="right"><span class="style9">你总共收到招聘信息条数:</span></td>
<%dim rs1,sql1
sql1="select count(*) as total from message where userid='"&user_id&"'and commessage<>'无' "
set rs1=db.execute(sql1)%>
<td height="40" class="style10"><%=rs1("total")%> 条</td>
</tr>
<tr>
<td height="40" align="right"><span class="style9">你已经发送应聘消息条数:</span></td>
<%dim rs2,sql2
sql2="select count(*) as total from message where userid='"&user_id&"'and usermessage<>'无' "
set rs2=db.execute(sql2)%>
<td height="40" class="style10"><%=rs2("total")%> 条</td>
</tr>
<tr>
<td height="40" align="right"><span class="style9">今天日期:</span><span class="style10">
<%response.Write formatdatetime(date(),vblongdate)%>
</tr>
</table>
</td>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -