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

Set Qsite = New Site_Class

Qsite.SiteConfig()
Qsite.GotoErrPage()

PageTitle = Qsite.SiteName & " - 企业会员管理中心"

Qsite.arrMember = Qsite.Member_Info()

Dim Rs,i
Dim LastLoginDate,ViewQuantity,IsLock
Dim TodayDate,JobQuantityTotal,JobQuantity
Dim MailQuantity,NewMailQuantity,SendMailQuantity,PerPoolQuantity
Dim Qperson
Dim MemberBeginDate,MemberEndDate,RegDate
Dim ViewJlQuantity

Set Qperson = New Person_Class

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

Qsite.Nav_Company()
%>
<!--#include file="Check_Login.asp" -->
<%
Rs.Open "select * from CompanyTbl where ComId = "& Session("ComId") , Conn , 1 , 1
If Rs.Eof Then
	ViewQuantity = 0
	LastLoginDate = ""
	IsLock = "1"
	MemberBeginDate = ""
	MemberEndDate = ""
	ViewJlQuantity = 0
	RegDate = ""
Else
	ViewQuantity = Rs("ViewQuantity")
	LastLoginDate = Rs("LastLoginDate")
	IsLock = Rs("IsLock")
	MemberBeginDate = Rs("MemberBeginDate")
	MemberEndDate = Rs("MemberEndDate")
	ViewJlQuantity = Rs("ViewJlQuantity")
	RegDate = Rs("RegDate")
End If
Rs.Close

If IsLock = "0" Then
	IsLock = "正常"
Else
	IsLock = "锁定"
End If

If MemberBeginDate = "" Or IsNull(MemberBeginDate) Then MemberBeginDate = FormatDateTime(RegDate , 2)
If MemberEndDate = "" Or IsNull(MemberEndDate) Then MemberEndDate = FormatDateTime(Cdate(MemberBeginDate) + 720 , 2)

ViewJlQuantity = Cint(Qsite.arrMember(4 , Session("MemberType"))) - Cint(ViewJlQuantity)

TodayDate = Qsite.FormatDate(Date())

JobQuantityTotal = Conn.Execute("select count(RecruitId) as JobQuantityTotal from RecruitTbl where ComId = "& Session("ComId"))
JobQuantityTotal = JobQuantityTotal("JobQuantityTotal")

JobQuantity = Conn.Execute("select count(RecruitId) as JobQuantity from RecruitTbl where ValidityDate > '"& TodayDate &"' and ComId = "& Session("ComId"))
JobQuantity = JobQuantity("JobQuantity")

MailQuantity = Conn.Execute("select count(BoxId) as MailQuantity from CompanyBoxTbl where ComId = "& Session("ComId"))
MailQuantity = MailQuantity("MailQuantity")

NewMailQuantity = Conn.Execute("select count(BoxId) as NewMailQuantity from CompanyBoxTbl where IsRead = '0' and ComId = "& Session("ComId"))
NewMailQuantity = NewMailQuantity("NewMailQuantity")

SendMailQuantity = Conn.Execute("select count(SendBoxId) as SendMailQuantity from CompanySendBoxTbl where ComId = "& Session("ComId"))
SendMailQuantity = SendMailQuantity("SendMailQuantity")

PerPoolQuantity = Conn.Execute("select count(PoolId) as PerPoolQuantity from CompanyPerPoolTbl where ComId = "& Session("ComId"))
PerPoolQuantity = PerPoolQuantity("PerPoolQuantity")
%>
<script language="javascript" src="../Comm/Job_All.js"></script>
<script language="javascript" src="../Comm/Job_Function.js"></script>
<script language="javascript" src="../Comm/Area_All.js"></script>
<script language="javascript" src="../Comm/Area_Function.js"></script>
<script language="javascript">
	function BoxDel()
	{
		var bid = document.getElementsByName("BoxId");
		var chkflag = true;
		var delboxid = "0";
		for(var i = 0; i < bid.length; i++)
		{
			if(bid[i].checked == true)
			{
				chkflag = false;
				break;
			}
		}
		if(chkflag)
		{
			alert("请先选择要删除的邮件");
			return false;
		}
		var question = confirm("你确定要删除选中的邮件吗？");
		if (question !="0")
		{
			for(i = 0; i < bid.length; i++)
			{
				if(bid[i].checked == true)
				{
					delboxid += "|" + bid[i].value;
				}
			}
			window.showModalDialog("DelMail.asp?BoxId=" + delboxid,"DelMail","");
			location.reload();
		}
	}

	function selAll()
	{
		var selobj = document.getElementsByName("BoxId");
		for(var i = 0; i < selobj.length; i++)
		{
			selobj[i].checked = true;
		}
	}
	
	function removeAll()
	{
		var selobj = document.getElementsByName("BoxId");
		for(var i = 0; i < selobj.length; i++)
		{
			selobj[i].checked = false;
		}
	}
	
	function onclicksel()
	{
		var chkobj = document.all("BoxIdAll");
		if(chkobj.checked == true)
		{
			selAll();
		}
		else
		{
			removeAll();
		}
	}
	
	function ReadMail(BoxId , PerId)
	{
		window.open('ReadMail.asp?BoxId=' + BoxId + '&PerId=' + PerId , '' , '');
	}
</script>

   <table width="974" height="413" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr> 
        <td width="185" valign="top"> 
<!--#include file="Left_Menu.asp" -->
        </td>
        <td width="789" valign="top"> 
          <table width="98%" height="63" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr> 
              <td width="4%" height="39" valign="middle"><img src="../images/ico_2.gif" width="15" height="12" hspace="6" align="absmiddle" /></td>
              <td width="96%"><font color="#FF0000">【<span style="font-size:14px;"><strong><%=Session("RealName")%>，欢迎您进入胶州人才网企业会员管理系统！</strong></span>】</font></td>
            </tr>
            <tr bgcolor="#FFF0D9"> 
              <td height="24" valign="top">&nbsp;</td>
              <td style="line-height: 22px;">如果您是第一次登录，请在<a href="ChgComInfo_2.asp"><font color="#0066CC"><u><font color="#FF0000">账号管理</font></u></font></a>中完善您的企业信息、联系方式的设置<br />
                <font color="#FF0000">为了提高贵公司在胶州人才网招聘的权威性和增强信用度，进一步规范企业招聘信息，达到促进企业招聘效果、提高招聘成功率的目的，企业招聘时请尽量提供营业执照进行审核。 
                </font> </td>
            </tr>
          </table>
          <table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td><hr size="1" noshade="noshade" color="#FFAB66"/></td>
            </tr>
          </table>
          <table width="98%" height="56" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr> 
              <td width="4%" height="24" valign="middle"><img src="../images/ico_2.gif" width="15" height="12" hspace="6" align="absmiddle" /></td>
              <td width="96%"><font color="#333333">【<span style="font-size:14px;"><strong>帐号信息</strong></span>】</font></td>
            </tr>
            <tr bgcolor="#FFF0D9"> 
              <td height="32" valign="top">&nbsp;</td>
              <td style="line-height: 22px;"> 会员类型： <%
If IsLock = "正常" Then
%>
                <span id="LabBY_MemberType">您目前的身份是 <font color='#666666'><%=Qsite.arrMember(1 , Session("thisMemberType"))%> <%=Session("MemberZt")%> (<font color="#FF0000"><%=IsLock%></font>)</font></span><br />
                  开始时间： <font color=#ff0000><%=MemberBeginDate%></font>  &nbsp;&nbsp;&nbsp;&nbsp; 结束时间：<font color=#ff0000><%=MemberEndDate%></font></span><br />
                <%
Else
%><font color=#ff0000>
尊敬的用户，您的帐号目前处于锁定状态，锁定原因可能是您的资料不正确或者您发布的信息不符合本网站的规定。请正确修改您的资料及您发布的信息，我们的管理员会在您修改后重新审核您的帐号。</font></br>
<%
End If
%>
帐户信息：您发布的职位信息共被浏览<font color=#ff0000><%=ViewQuantity%></font>次&nbsp;&nbsp;&nbsp;&nbsp;  招聘岗位：<font color=#ff0000><%=JobQuantity%>/<%=JobQuantityTotal%></font>个&nbsp;&nbsp;&nbsp;&nbsp;人才库：<font color=#ff0000><%=PerPoolQuantity%></font>份&nbsp;&nbsp;&nbsp;&nbsp;应聘简历：<font color=#ff0000><%=NewMailQuantity%>/<%=MailQuantity%></font>份 &nbsp;&nbsp;&nbsp;&nbsp;面试通知：<font color=#ff0000><%=SendMailQuantity%></font>人</br>
上次登录时间：<font color=#ff0000><%=LastLoginDate%> </font>&nbsp;&nbsp;&nbsp;&nbsp;共登录 <font color=#ff0000><%=Session("LoginQuantity")%></font>次
                 </td>
            </tr>
          </table>
          <table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr> 
              <td><hr size="1" noshade="noshade" color="#FFAB66"/></td>
            </tr>
          </table>
  
<table width="85%" border="0" align="center" cellpadding="0" cellspacing="0">
						<tr>
							<td width="174" height="50"><img src="../Images/CompanyDetailIco.gif" width="30" height="26" align="absmiddle" /> <a href="ChgComInfo_2.asp">基本信息修改</a></td>
							<td width="174" height="50"><img src="../Images/ContactIco.gif" width="28" height="19" align="absmiddle" /> <a href="ChgComInfo_3.asp">联系方式修改</a></td>
							<td width="178" height="50"><img src="../Images/SeeIco.gif" width="34" height="33" align="absmiddle" /> <a href="../Company_View.asp?ComId=<%=Session("ComId")%>" target="_blank">公司页面预览</a></td>
							<td width="174" height="50"><img src="../Images/QQIco.gif" width="28" height="33" align="absmiddle" /> <a href="ChgComInfo_4.asp">在线QQ设置</a> </td>
						</tr>
						<tr>
							<td height="50"><img src="../Images/PostJobIco.gif" width="26" height="27" align="absmiddle" /> <a href="Job_Add.asp">发布招聘信息</a> </td>
							<td height="50"><img src="../Images/ManageJobIco.gif" width="27" height="29" align="absmiddle" /> <a href="Job_Manage.asp">管理招聘信息</a></td>
							<td height="50"><img src="../Images/YPico.gif" width="29" height="31" align="absmiddle" /> <a href="BoxList.asp">在线应聘简历</a> </td>
							<td height="50"><img src="../Images/NewsResumeIco.gif" width="27" height="30" align="absmiddle" /> <a href="../Person_Index.asp" target="_blank">浏览最新简历</a></td>
						</tr>
					</table>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr> 
              <td><hr size="1" noshade="noshade" color="#FFAB66"/></td>
            </tr>
          </table>
          <table width="98%" height="56" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr> 
              <td width="4%" height="24" valign="middle"><img src="../images/ico_2.gif" width="15" height="12" hspace="6" align="absmiddle" /></td>
              <td width="96%"><font color="#333333">【<span style="font-size:14px;"><strong>搜索器</strong></span>】</font></td>
            </tr>
            <tr bgcolor="#FFF0D9"> 
              <td height="80" valign="top">&nbsp;</td>
              <td>
 
 <form id="SearchForm" name="SearchForm" method="post" action="../Person_Index.asp" target="_blank" style="margin:0">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="16%" rowspan="2"><img src="../Images/Search_t_03.jpg" width="105" height="27" /></td>
							<td height="30" colspan="2"><select name="Position_b" class="input_bk_D2D2D2" id="Position_b" style="width:160px;" onChange="SelectChange('Position_s' , document.all.Position_b.options[document.all.Position_b.selectedIndex].value , arrPosition_b , arrPosition_s);">
								<option value="">-选择工作职能-</option>
							</select>
							 	<select name="Position_s" class="input_bk_D2D2D2" id="Position_s" style="width:170px;">
							 		<option value="">-选择工作职位-</option>
								</select>
							 	<select name="Province" id="Province" style="width:60px;" onChange="SelChgCity('City' , document.all.Province.options[document.all.Province.selectedIndex].value , arrProvince , arrCity , 'County');">
									<option value="">省份</option>
								</select>
								 <select name="City" id="City" style="width:70px;" onChange="SelChgCounty('County' , document.all.City.options[document.all.City.selectedIndex].value , arrCity , arrCounty);">
									<option value="">地级市</option>
								</select>
								 <select name="County" id="County" style="width:60px;">
									<option value="">不限</option>
								</select>								</td>
					  </tr>
						<tr>
							<td width="71%" height="30"><select name="Qualification" class="input_bk_D2D2D2" id="Qualification" style="width:87px;">
								<option value="">-学历要求-</option>
								<%
									Rs.Open "select * from QualificationTbl order by QualificationId asc" , Conn , 1 , 1
									Do While Not Rs.Eof
										Response.Write("<option value="""& Rs("QualificationName") &""">"& Rs("QualificationName") &"</option>")
									Rs.MoveNext
									Loop
									Rs.Close
									%>
							</select>
								<select name="ValidityDate" id="ValidityDate" style="width:130px;">
								<option value="">-选择发布时间-</option>
								<option value="1">一天内</option>
								<option value="2">两天内</option>
								<option value="3">三天内</option>
								<option value="7">一周内</option>
								<option value="14">两周内</option>
								<option value="30">一月内</option>
								<option value="60">两月内</option>
								<option value="90">三月内</option>
							</select>
							<input name="keyword" type="text"  id="keyword" value="请输入要查询的关键字" size="40" onfocus="javascript:if(this.value=='请输入要查询的关键字')this.value='';" onblur="javascript:if(this.value=='')this.value='请输入要查询的关键字';" /></td>
							<td width="13%"><input type="image" name="imageField" src="../Images/Search_t_02.jpg" /></td>
						</tr>
					</table>
				</form>	 
<script language="javascript">
	InitPosition("Position_b" , "Position_s" , arrPosition_b , arrPosition_s , "" , "")
	InitArea("Province" , "City" , "County" , arrProvince , arrCity , arrCounty , "" , "" , "")
</script>
 </td>
            </tr>
          </table>
          <table width="98%" border="0" align="center" cellpadding="10" cellspacing="0">
            <tr> 
              <td height="37" bgcolor="#fafafa" style="line-height: 22px;"> 在使用本网站过程中如有不清楚或对我们的客户服务有好的建议，请给我们打电话、写信、发邮件或者传真，我们将在第一时间为您作出答复，在此感谢您对我们网站成长给予的关怀和支持！ 
                <br />
                  招聘、求职服务热线：<span id="Labeltell">0512-69937211</span>
                邮 箱：<span id="Labelemail">ks189@189.cn </span><br />
                  在线客服：<span id="LabelQQ"><a target=blank href=tencent://message/?uin=763003276&Site=a&Menu=yes><img border='0' SRC=http://wpa.qq.com/pa?p=1:763003276:10 alt='有事点这里'></a> &nbsp;</span></td>
            </tr>
          </table>
          <table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr> 
              <td><hr size="1" noshade="noshade" color="#FFAB66"/></td>
            </tr>
          </table>
        </td>
      </tr>
    </table>
    <table width="990" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td>
<table width="974" height="8" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr height="8">
        <td height="8"></td>
      </tr>
    </table>
  <!--#include file="../foot.asp" -->
