📄 company.asp
字号:
<!--#include file="info.asp"-->
<!--#include file="conn.asp"-->
<!--#include file="unhtml.asp"-->
<%
sql="select id,email,ac,lock,clicks,name,trade,cxz,fund,yuangong,area,faren,fdate,jianj,address,zip,pname,pnames,phone,fax,renshi,sex,rstel,web from en_user where id="&clng(request("id"))
rs.open sql,conn,1,1
if rs("lock")=true then
rs.close
set rs=nothing
set conn=nothing
response.write "<script language=JavaScript>" & chr(13) & "alert('此用户已被管理员锁定!');"&"window.location.href = 'index.asp'"&" </script>"
response.end
end if
sql1="update en_user set clicks="&rs("clicks")+1&" where id="&rs("id")
set rs1=server.createobject("adodb.recordset")
rs1.open sql1,conn,1,1
%>
<html>
<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><%=rs("name")%></title>
</head>
<body>
<!--#include file="top.asp"-->
<div align="center">
<table border="0" width="760" cellspacing="0" cellpadding="0" id="table1" height="472">
<tr>
<td style="border-left: 1px solid #0086DF; border-right: 1px solid #0086DF" width="760" valign="top">
<div align="center">
<table border="0" width="748" cellspacing="0" cellpadding="0" id="table2" height="464">
<tr>
<td width="205" valign="top">
<table border="1" width="97%" cellspacing="0" cellpadding="0" id="table3" height="100%" bordercolor="#C0C0C0" style="border-collapse: collapse" bgcolor="#EEFFF2">
<tr>
<td bordercolor="#C0C0C0" align="center" valign="top" height="100%">
<div align="center">
<table border="0" width="100%" cellspacing="0" cellpadding="0" id="table4" height="66">
<tr>
<td height="46" style="border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; border-bottom: 1px solid #C0C0C0">
<p align="center">
<a href="company.asp?id=<%=rs("id")%>">
<img border="0" src="images/company.gif" width="200" height="40"></a></td>
</tr>
<tr>
<td width="100%" style="border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; border-bottom: 1px solid #C0C0C0">
<img border="0" src="images/job.gif" width="200" height="40"></td>
</tr>
</table>
<div align="center">
<table border="0" width="200" cellspacing="0" cellpadding="0" id="table5" height="48">
<%
sql1="select * from job where enid="&clng(rs("id"))
rs1.open sql1,conn,1,1
if rs1.eof or rs1.bof then
%>
<tr>
<td height="25" colspan="3">
<p align="center">暂时没有招聘信息</td>
</tr>
<%
else
for i1=1 to rs1.recordcount
%>
<tr>
<td height="23" width="12">
<p align="center">
</td>
<td height="23" width="23">
<p align="center">
<img border="0" src="images/link1.gif" width="6" height="11" align="middle"></td>
<td height="23" width="165">
<p align="left">
<a href="job.asp?id=<%=rs1("id")%>">
<%=rs1("jtzw")%></a></td>
</tr>
<%
rs1.movenext
if rs1.eof then exit for
next
rs1.close
set rs1=nothing
end if
%>
</table>
</div>
</div>
</td>
</tr>
</table>
</td>
<td align="center" valign="top" style="padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px">
<table border="0" width="535" cellspacing="0" cellpadding="0" id="table6" height="208">
<tr>
<td height="26" background="images/jobbg1.gif" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom-width: 1px" width="533" colspan="2"> ●
<b>企业介绍</b></td>
</tr>
<tr>
<td height="46" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom-width: 1px" width="533" colspan="2">
<p align="center"><font size="5"><%=rs("name")%></font>(被阅<font color="#FF3900"><%=rs("clicks")+1%></font>次) </td>
</tr>
<tr>
<td height="78" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom-width: 1px" width="533" colspan="2">
<div align="center">
<table border="0" width="98%" cellspacing="0" cellpadding="0" id="table7" height="64">
<tr>
<td><%=unhtml(rs("jianj"))%></td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td height="25" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom-width: 1px" bgcolor="#D5EAF4" width="533" colspan="2"> ·
<font color="#000000">基本信息</font></td>
</tr>
<tr>
<td height="25" width="268" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #D5EAF4; border-top-width: 1px; border-bottom: 1px solid #D5EAF4"> 企业性质:<%=rs("cxz")%></td>
<td height="25" width="265" style="border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #D5EAF4"> 所在区域:<%=rs("area")%></td>
</tr>
<tr>
<td height="25" width="268" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #D5EAF4; border-top-width: 1px; border-bottom: 1px solid #D5EAF4"> 所属行业:<%=rs("trade")%></td>
<td height="25" width="265" style="border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #D5EAF4"> 员工总数:<%=rs("yuangong")%></td>
</tr>
<tr>
<td height="25" width="268" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #D5EAF4; border-top-width: 1px; border-bottom: 1px solid #D5EAF4"> 注册资金:<%=rs("fund")%>万元</td>
<td height="25" width="265" style="border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #D5EAF4"> 法人代表:<%=rs("faren")%></td>
</tr>
<tr>
<td height="25" width="268" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #D5EAF4; border-top-width: 1px; border-bottom: 1px solid #D5EAF4"> 成立日期:<%=rs("fdate")%></td>
<td height="25" width="265" style="border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #D5EAF4"> </td>
</tr>
<tr>
<td height="25" width="535" colspan="2" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom-width: 1px"> </td>
</tr>
<tr>
<td height="25" width="535" colspan="2" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom-width: 1px" bgcolor="#D5EAF4"> ·
<font color="#000000">联系方式</font></td>
</tr>
<%
if session("id")="" or session("ac")="" or session("user")="" then
%>
<tr>
<td height="160" width="533" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #D5EAF4" colspan="2">
<p align="center">
<font color="#FF0000">仅有注册用户才能查看此栏,请</font><a href="index.asp">登陆</a><font color="#FF0000">或者</font><a href="register.asp">注册</a><font color="#FF0000">!</font></td>
</tr>
<%
else
%>
<tr>
<td height="25" width="268" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #D5EAF4; border-top-width: 1px; border-bottom: 1px solid #D5EAF4"> 联 系 人:<%=rs("pname")%></td>
<td height="25" width="265" style="border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #D5EAF4"> 联系人
职 位:<%=rs("pnames")%></td>
</tr>
<tr>
<td height="25" width="268" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #D5EAF4; border-top-width: 1px; border-bottom: 1px solid #D5EAF4"> 传 真:<%=rs("fax")%></td>
<td height="25" width="265" style="border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #D5EAF4"> 电
子 信 箱:<a href="mailto:<%=rs("email")%>"><%=rs("email")%></a></td>
</tr>
<tr>
<td height="25" width="268" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #D5EAF4; border-top-width: 1px; border-bottom: 1px solid #D5EAF4"> 通讯地址:<%=rs("address")%></td>
<td height="25" width="265" style="border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #D5EAF4"> 人事经理姓名:<%=rs("renshi")+rs("sex")%></td>
</tr>
<tr>
<td height="25" width="268" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #D5EAF4; border-top-width: 1px; border-bottom: 1px solid #D5EAF4"> 邮政编码:<%=rs("zip")%></td>
<td height="25" width="265" style="border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #D5EAF4"> 人事经理电话:<%=rs("rstel")%></td>
</tr>
<tr>
<td height="25" width="268" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #D5EAF4; border-top-width: 1px; border-bottom: 1px solid #D5EAF4"> 联系电话:<%=rs("phone")%></td>
<td height="25" width="265" style="border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #D5EAF4"> 公
司 网 址:<a target=_blank href="<%=rs("web")%>"><%=rs("web")%></a></td>
</tr>
<tr>
<td height="40" width="535" colspan="2" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0">
<p align="center">
<a href="JavaScript:openScript('sendmessage.asp?tid=<%=rs("id")%>&ttype=2',450,300)"><img border="0" src="images/company_m1.gif" width="124" height="22"></a>
<A HREF="JavaScript:window.print();"><img border="0" src="images/company_m2.gif" width="124" height="22"></a>
<A HREF="JavaScript:window.close();"><img border="0" src="images/company_m3.gif" width="124" height="22"></a></td>
</tr>
<%
end if
%>
</table>
</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 + -