📄 incom2.asp
字号:
<!--#include file="odbc_connection.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>求职信息</title>
<style type="text/css">
<!--
.style1 {
font-size: 12px;
color: #000000;
}
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>
</head>
<body>
<table width="760" height="275" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="64" align="left" valign="top" background="images/bbg.jpg"><!--#include file="top.asp"--></td>
</tr>
<tr>
<td align="center" valign="middle" background="images/bbg.jpg">
<%dim user
user=session("user")%>
<%dim rsa,sqla
sqla="select count(*) as total from userinfo where user='"&user&"'"
set rsa=db.execute(sqla)%>
<%if rsa("total")=0 then%>
<table width="700" height="38" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="38" align="center"><span class="style1">对不起,你的身份是公司,没有权利执行这个操作!</span></td>
</tr>
</table>
<%else%>
<%
sqlb="select name from userinfo where user='"&user&"'"
set rsb=db.execute(sqlb)
username=rsb("name")
comid=Request("comid")
comname=Request("comname")
usermessage=Request("usermessage")
dim rs,sql
sql="insert into message(userid,comid,username,comname,usermessage,user_date) values('"&user&"','"&comid&"','"&username&"','"&comname&"','"&usermessage&"',#"&date()&"#) "
db.execute(sql) %>
<%if Request("usermessage")<>"" then %>
<table width="700" height="38" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="38" align="center"><span class="style1">你的信息已经发送成功!谢谢你的参与!</span></td>
</tr>
</table>
<%end if%>
<%end if%></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -