<!--#include file="Conn.asp" -->
<!--#include file="Comm/Site_Class.asp" -->
<%
Dim strMenu,PageTitle
strMenu = ""

Set Qsite = New Site_Class

Qsite.SiteConfig()
Qsite.GotoErrPage()

Dim Rs,ComId,i
Dim CompanyName,CompanyIndustry,CompanyNature,CompanyFormation,RegFunds,EmployeeNum
Dim CompanyLocation_Province,CompanyLocation_City,CompanyLocation_County
Dim CompanyContent,Contact,Tel,Mobile,Fax,QQ,CompanyAddr,Postcode,Email
Dim EditDate,ViewQuantity,MemberType,MemberBeginDate,MemberEndDate
Dim arrRs
Dim strTitle
Dim TodayDate
Dim ShowContactFlag

Set Rs = server.CreateObject("ADODB.recordset")

If Not IsObject(Conn) Then ConnectionDatabase()

ComId = Trim(Request.QueryString("ComId"))

If ComId = "" Or IsNull(ComId) Or Not IsNumeric(ComId) Then ComId = 0

Rs.Open "select * from CompanyTbl where ComId = "& ComId &" and IsLock = '0'" , Conn , 3 , 2
If Rs.Eof Then
	Response.Write("信息不存在，或已被管理员删除！")
	Response.End()
Else
	Rs("ViewQuantity") = Rs("ViewQuantity") + 1
	Rs.Update
	
	Email = Rs("Email")
	CompanyName = Rs("CompanyName")
	CompanyIndustry = Rs("CompanyIndustry")
	CompanyNature = Rs("CompanyNature")
	CompanyFormation = Rs("CompanyFormation")
	RegFunds = Rs("RegFunds")
	EmployeeNum = Rs("EmployeeNum")
	CompanyLocation_Province = Rs("CompanyLocation_Province")
	CompanyLocation_City = Rs("CompanyLocation_City")
	CompanyLocation_County = Rs("CompanyLocation_County")
	CompanyContent = Rs("CompanyContent")
	Contact = Rs("Contact")
	Tel = Rs("Tel")
	Fax = Rs("Fax")
	QQ = Rs("QQ")
	CompanyAddr = Rs("CompanyAddr")
	Postcode = Rs("Postcode")
	EditDate = Rs("EditDate")
	ViewQuantity = Rs("ViewQuantity")
	
	MemberType = Rs("MemberType")
	MemberBeginDate = Rs("MemberBeginDate")
	MemberEndDate = Rs("MemberEndDate")
	
End If
Rs.Close


arrRs = ""

Rs.Open "select * from RecruitTbl Where ComId = "& ComId &" order by IsPause asc , EditDate desc" , Conn , 1 , 1
If Not Rs.Eof Then
	arrRs = Rs.GetRows(-1)
End If
Rs.Close

strTitle = CompanyName

If IsArray(arrRs) Then
	strTitle = strTitle & " 招聘岗位："
	For i = 0 To Ubound(arrRs , 2)
		strTitle = strTitle & " - " & arrRs(4 , i)
	Next
End If


PageTitle = strTitle & " - " & Qsite.SiteName

Qsite.SiteHead()


TodayDate = Qsite.FormatDate(Date())

If MemberBeginDate > TodayDate Then
	MemberType = 0
ElseIf MemberEndDate < TodayDate Then
	MemberType = 0
End If

Qsite.arrMember = Qsite.Member_Info()
%>
<!--#include file="top.asp" -->
<script language="javascript">
function CopyUrl()
{
	var UrlContent = this.location.href;
	window.clipboardData.setData("Text",UrlContent)
	alert("复制成功，请粘贴到你的QQ或MSN上推荐给你的好友");
}

function AddComPool(ComId , Btn)
{
	Btn.disabled = true;
	window.showModalDialog("Person_ComPool_Add.asp?ComId=" + ComId,"Person_ComPool_Add","");
	var Btn = document.getElementsByName("Btn_01");
	for(var i = 0; i < Btn.length; i++)
	{
		Btn[i].disabled = false;
	}
}

function SendJl(ComId , RecruitId , Btn)
{
	Btn.disabled = true;
	window.showModalDialog("Person_SendJl.asp?ComId=" + ComId +"&RecruitId=" + RecruitId,"Person_SendJl","");
	var Btn = document.getElementsByName("Btn_02");
	for(var i = 0; i < Btn.length; i++)
	{
		Btn[i].disabled = false;
	}
}
</script>
<table width="628" border="0" align="center" cellpadding="0" cellspacing="0">
	<tr>
		<td height="60"><img src="Yn_Logo/Logo.jpg" width="225" height="58" /></td>
	</tr>
	<tr>
		<td>&nbsp;</td>
	</tr>
</table>
<table width="628" border="0" align="center" cellpadding="0" cellspacing="0">
			<tr>
				<td height="35" align="center" class="td_line_col_FFFFFF"><span class="com_title"><%=CompanyName%></span></td>
			</tr>
			<tr>
				<td height="25" align="center" class="td_line_col_FFFFFF">最后更新于 <%=EditDate%> | 该企业信息已被浏览 <%=ViewQuantity%> 次</td>
			</tr>
			<tr>
				<td style="padding-top:10px; padding-bottom:10px; line-height:25px;" class="td_line_col_FFFFFF"><%=Qsite.chgStr2(CompanyContent)%></td>
			</tr>
			<tr>
				<td>&nbsp;</td>
			</tr>
</table>
			<table width="628" border="0" align="center" cellpadding="5" cellspacing="0" class="tblbk_D2D2D2">
				<tr>
					<td><img src="Images/arrow1.gif" width="13" height="9" align="absmiddle" /> <span style="color: #394F6B; font-weight: bold">公司信息</span></td>
				</tr>
				<tr>
					<td><table width="618" border="0" align="center" cellpadding="5" cellspacing="0" bgcolor="#FBFBFB" class="tblbk_F1F1F1">
						<tr>
							<td width="192" height="20" class="td_line_col_FFFFFF">成立时间：<%=CompanyFormation%></td>
							<td width="195" height="20" class="td_line_col_FFFFFF">所属行业：<%=CompanyIndustry%></td>
							<td width="201" height="20" class="td_line_col_FFFFFF">公司性质：<%=CompanyNature%></td>
						</tr>
						<tr>
							<td height="20" class="td_line_col_FFFFFF">注册资金：<%=RegFunds%> 万元</td>
							<td height="20" class="td_line_col_FFFFFF">员工人数：<%=EmployeeNum%></td>
							<td height="20" class="td_line_col_FFFFFF">所在地：<%=CompanyLocation_City%> - <%=CompanyLocation_County%></td>
						</tr>
					</table></td>
				</tr>
			</table>
			<table width="628" border="0" align="center" cellpadding="0" cellspacing="0">
				<tr>
					<td>&nbsp;</td>
				</tr>
			</table>
			<table width="628" border="0" align="center" cellpadding="5" cellspacing="0" class="tblbk_D2D2D2">
				<tr>
					<td><img src="Images/arrow1.gif" width="13" height="9" align="absmiddle" /> <span style="color: #394F6B; font-weight: bold">联系方式</span></td>
				</tr>
				<tr>
					<td>
<%
#@~^5QEAAA==@#@&qW,pkkYRm.Dt+h4Dc,~Ptn:(+D:z2+*P@!@*~JqE,r.Pv}/bYn mDD\ns4nDv,~~t+s4+MKH2+*PxPrFE~zxN,}/bY+cC.Dt+s4nDc{,~~Hh4DPza+#~x,JqJ,)	N~v?//bW	cJh+.q9Jb~{PJr~rMP?ddkKxvJi/n.:X2+rbP@!@*~Eh+DdG	Jb#,P4+U@#@&i?tKh;GxDl^YwVCL,'PwCVk+@#@&7(0,?/dkGUvJi/.KHwnE*P'~EtldY.rPP4+	@#@&idU4WSZGxDl^OwVlT~',KD!n@#@&i2	N~qW@#@&d(0,j+k/rG	`JidDPXanr#~{PrZWswmUXrP)x9P/jDD`Un/kkW	cEZK:&NE#b~{P/?D.`;Wh(9#PP4x@#@&i7UtGSZKxYmmDoVmo~',K.;@#@&i3x9Pq6@#@&2^/@#@&dj4Kh/W	Ol1YosmoPx~:D;+@#@&Ax[,q6@#@&B4oAAA==^#~@

If ShowContactFlag = False Then
%>
					<table width="618" border="0" align="center" cellpadding="5" cellspacing="0" bgcolor="#FBFBFB" class="tblbk_F1F1F1">
							<tr>
								<td height="20" style="color:#FF0000;">对不起，只有个人会员才能查看企业联系信息！请先 <a href="Login.asp"><font color="#CC0000"><strong>登录</strong></font></a> 或 <a href="Person_Reg.asp"><font color="#CC0000"><strong>注册</strong></font></a></td>
							</tr>
							
					</table>
<%
Else
%>
						<table width="618" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FBFBFB" class="tblbk_F1F1F1">
							<tr>
								<td width="78" height="25" align="center" class="td_line_col_FFFFFF">地&nbsp;&nbsp;&nbsp;&nbsp;址：</td>
								<td width="283" height="25" class="td_line_col_FFFFFF"><%=CompanyAddr%>&nbsp;</td>
								<td width="49" height="25" align="center" class="td_line_col_FFFFFF">邮编：</td>
								<td width="208" height="25" class="td_line_col_FFFFFF"><%=Postcode%>&nbsp;</td>
							</tr>
							<tr>
								<td height="25" align="center" class="td_line_col_FFFFFF">联&nbsp;系&nbsp;人：</td>
								<td height="25" class="td_line_col_FFFFFF"><%=Contact%>&nbsp;</td>
								<td height="25" align="center" class="td_line_col_FFFFFF">&nbsp;</td>
								<td height="25" class="td_line_col_FFFFFF">&nbsp;</td>
							</tr>
							<tr>
								<td height="25" align="center" class="td_line_col_FFFFFF">电&nbsp;&nbsp;&nbsp;&nbsp;话：</td>
								<td height="25" class="td_line_col_FFFFFF"><%=Tel%>&nbsp;</td>
								<td height="25" align="center" class="td_line_col_FFFFFF">传真：</td>
								<td height="25" class="td_line_col_FFFFFF"><%=Fax%>&nbsp;</td>
							</tr>
							<tr>
								<td height="25" align="center" class="td_line_col_FFFFFF">电子信箱：</td>
								<td height="25" class="td_line_col_FFFFFF"><%=Email%>&nbsp;</td>
								<td height="25" align="center" class="td_line_col_FFFFFF">Q &nbsp;Q：</td>
								<td height="25" class="td_line_col_FFFFFF"><%
								If QQ <> "" Then
									Response.Write("<a target=blank href=tencent://message/?uin="& QQ &"&Site="& Qsite.SiteName &"&Menu=yes><img border=""0"" SRC=http://wpa.qq.com/pa?p=1:"& QQ &":5 alt="""& CompanyName &"""></a>")
								End If
								%></td>
							</tr>
						</table>
<%
End If
%>
					</td>
				</tr>
			</table>
<%
If IsArray(arrRs) Then
	For i = 0 To Ubound(arrRs , 2)
		If arrRs(7 , i) >= TodayDate And ArrRs(21 , i) = "0" Then
%>
			<table width="628" border="0" align="center" cellpadding="5" cellspacing="0">
				<tr>
					<td height="15" colspan="4"></td>
				</tr>
				<tr>
					<td colspan="4" style="font-size:14px; color:#FF0000; font-weight:bold;" class="td_line_col_FFFFFF"><%=arrRs(4 , i)%></td>
				</tr>
				<tr>
					<td width="72" height="20" class="td_line_col_FBFBFB">职位类型：</td>
					<td width="220" height="20" class="td_line_col_FBFBFB"><%=arrRs(1 , i)%></td>
					<td width="81" height="20" class="td_line_col_FBFBFB">性别要求：</td>
					<td width="215" height="20" class="td_line_col_FBFBFB"><%=arrRs(13 , i)%></td>
				</tr>
				<tr>
					<td height="20" class="td_line_col_FFFFFF">招聘人数：</td>
					<td height="20" class="td_line_col_FFFFFF"><%
					If Cstr(arrRs(5 , i)) = "0" Then
						Response.Write("若干人")
					Else
						Response.Write(arrRs(5 , i) & " 人")
					End If
					%></td>
					<td height="20" class="td_line_col_FFFFFF">薪资待遇：</td>
					<td height="20" class="td_line_col_FFFFFF"><%
					If Cstr(arrRs(6 , i)) = "0" Then
						Response.Write("面议")
					Else
						Response.Write(arrRs(6 , i) & " 元/月")
					End If
					%></td>
				</tr>
				<tr>
					<td height="20" class="td_line_col_FBFBFB">工作地区：</td>
					<td height="20" class="td_line_col_FBFBFB"><%=arrRs(9 , i)%>/<%=arrRs(10 , i)%></td>
					<td height="20" class="td_line_col_FBFBFB">学历要求：</td>
					<td height="20" class="td_line_col_FBFBFB"><%=arrRs(11 , i)%></td>
				</tr>
				<tr>
					<td height="20" class="td_line_col_FFFFFF">工作经验：</td>
					<td height="20" class="td_line_col_FFFFFF"><%=arrRs(12 , i)%></td>
					<td height="20" class="td_line_col_FFFFFF">年龄要求：</td>
					<td height="20" class="td_line_col_FFFFFF"><%
					If Cstr(arrRs(14 , i)) = "不限" And Cstr(arrRs(15 , i)) <> "不限" Then
						Response.Write(arrRs(15 , i) & "岁以下")
					ElseIf Cstr(arrRs(14 , i)) <> "不限" And Cstr(arrRs(15 , i)) = "不限" Then
						Response.Write(arrRs(14 , i) & "岁以上")
					ElseIf Cstr(arrRs(14 , i)) <> "不限" And Cstr(arrRs(15 , i)) <> "不限" Then
						Response.Write(arrRs(14 , i) & " - " & arrRs(15 , i) & "岁")
					Else
						Response.Write("不限")
					End If
					%></td>
				</tr>
				<tr>
					<td height="20" class="td_line_col_FBFBFB">发布时间：</td>
					<td height="20" class="td_line_col_FBFBFB"><%=FormatDateTime(arrRs(17 , i) , 2)%></td>
					<td height="20" class="td_line_col_FBFBFB">截止时间：</td>
					<td height="20" class="td_line_col_FBFBFB"><%=arrRs(7 , i)%></td>
				</tr>
				<tr>
					<td height="20" valign="top" class="td_line_col_FFFFFF" style="line-height:20px;">具体要求：</td>
					<td height="20" colspan="3" class="td_line_col_FFFFFF" style="line-height:20px;"><%=Qsite.chgStr2(arrRs(16 , i))%></td>
				</tr>
				<tr>
					<td height="30" colspan="4" align="center"></td>
				</tr>
			</table>
<%
		End If
	Next
End If
%>
<script language="javascript">
	window.print();
</script>