<!--#include file="../Conn.asp" -->
<!--#include file="../Comm/Site_Class.asp" -->
<!--#include file="../Comm/Company_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.SiteTopPerson()
%>
<!--#include file="Check_Login.asp" -->
<%
Dim Rs,jbFlag,qzFlag,lxFlag,jyFlag,pxFlag,yyFlag,gzFlag,IsHidden,IsLock
Dim EditDate,LastLoginDate,ViewQuantity,LoginQuantity
Dim act
Dim MailQuantity,NewMailQuantity,SendMailQuantity,PerPoolQuantity
Dim Qcompany,i

Set Qcompany = New Company_Class

act = Request.QueryString("action")

If act = "sxjl" Then
	Conn.Execute("update PersonTbl set EditDate = '"& Qsite.FormatDate(Now()) &"' where PerId = "& Session("PerId"))
	Response.Redirect("Index.asp")
	Response.End()
ElseIf act = "ycjl" Then
	Conn.Execute("update PersonTbl set IsHidden = '1' where PerId = "& Session("PerId"))
	Response.Redirect("Index.asp")
	Response.End()
ElseIf act = "gkjl" Then
	Conn.Execute("update PersonTbl set IsHidden = '0' where PerId = "& Session("PerId"))
	Response.Redirect("Index.asp")
	Response.End()
End If

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

Rs.Open "select * from PersonTbl where PerId = "& Session("PerId") , Conn , 1 , 1
If Rs.Eof Then
	jbFlag = "<font color=""#FF0000"">×</font>"
	qzFlag = "<font color=""#FF0000"">×</font>"
	lxFlag = "<font color=""#FF0000"">×</font>"
	jyFlag = "<font color=""#FF0000"">×</font>"
	pxFlag = "<font color=""#FF0000"">×</font>"
	yyFlag = "<font color=""#FF0000"">×</font>"
	gzFlag = "<font color=""#FF0000"">×</font>"
	IsHidden = "隐藏"
	EditDate = ""
	LastLoginDate = ""
	ViewQuantity = ""
	LoginQuantity = ""
	IsLock = "锁定"
Else
	EditDate = Rs("EditDate")
	LastLoginDate = Rs("LastLoginDate")
	ViewQuantity = Rs("ViewQuantity")
	LoginQuantity = Rs("LoginQuantity")
	If Rs("jbFlag") = "1" Then
		jbFlag = "√"
	Else
		jbFlag = "<font color=""#FF0000"">×</font>"
	End If
	If Rs("qzFlag") = "1" Then
		qzFlag = "√"
	Else
		qzFlag = "<font color=""#FF0000"">×</font>"
	End If
	If Rs("lxFlag") = "1" Then
		lxFlag = "√"
	Else
		lxFlag = "<font color=""#FF0000"">×</font>"
	End If
	If Rs("jyFlag") = "1" Then
		jyFlag = "√"
	Else
		jyFlag = "<font color=""#FF0000"">×</font>"
	End If
	If Rs("pxFlag") = "1" Then
		pxFlag = "√"
	Else
		pxFlag = "<font color=""#FF0000"">×</font>"
	End If
	If Rs("yyFlag") = "1" Then
		yyFlag = "√"
	Else
		yyFlag = "<font color=""#FF0000"">×</font>"
	End If
	If Rs("gzFlag") = "1" Then
		gzFlag = "√"
	Else
		gzFlag = "<font color=""#FF0000"">×</font>"
	End If
	If Rs("IsHidden") = "1" Then
		IsHidden = "隐藏"
	Else
		IsHidden = "公开"
	End If
	If Rs("IsLock") = "0" Then
		IsLock = "正常"
	Else
		IsLock = "锁定"
	End If
End If
Rs.Close

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

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

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

PerPoolQuantity = Conn.Execute("select count(PoolId) as PerPoolQuantity from PersonComPoolTbl where PerId = "& Session("PerId"))
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;
				}
			}
			//alert(delboxid);
			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 , ComId)
	{
		window.open('ReadMail.asp?BoxId=' + BoxId + '&ComId=' + ComId , '' , '');
	}
</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")%>，欢迎进入<%=Qsite.SiteName%>个人会员管理系统！</strong></span>】</font></td>
            </tr>
<TR>              <td height="24" valign="top">&nbsp;</td><TD>提示：如果您是第一次登陆胶州人才网请进一步<a href=ChgPerInfo_5.asp><font color=#ff0000><u>完善个详细详简历</u></font></a>，否则您的简历将有可能遭到管理员锁定！</td></tr>
            <tr bgcolor="#FFF0D9"> 
              <td height="24" valign="top">&nbsp;</td>
              <td style="line-height: 22px;">
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
 
				<tr>
					<td width="370" valign="top"><table width="365" border="0" cellspacing="0" cellpadding="0">
							<tr>

								<td width="278" height="30" style="color:#BC3A3A; font-size:14px; font-weight:bold;">帐号状态</td>
							</tr>
							<tr>

								<td valign="top" style="line-height:25px;">·当前帐号状态：普通会员 (<font color="#FF0000"><%=IsLock%></font>)<br />
									·当前简历处于 <font color="#FF0000"><%=IsHidden%></font> 状态 &nbsp;
									<%
										If IsHidden = "公开" Then
											Response.Write("<a href=""Index.asp?action=ycjl""><font color=""#CC0000"">隐藏简历</font></a>")
										Else
											Response.Write("<a href=""Index.asp?action=gkjl""><font color=""#CC0000"">公开简历</font></a>")
										End If
										%>
								<br />
								·更新时间：<%=EditDate%> &nbsp;&nbsp;&nbsp;<a href="Index.asp?action=sxjl"><font color="#CC0000">刷新简历</font></a></td>
							</tr>
					</table></td>
					<td width="1" bgcolor="#FFDCDC"></td>
					<td width="361" valign="top"><table width="360" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td width="17" height="30">&nbsp;</td>
								<td width="343" height="30" style="color:#BC3A3A; font-size:14px; font-weight:bold;">使用情况</td>
							</tr>
							<tr>
								<td align="center" valign="bottom">&nbsp;</td>
								<td valign="top" style="line-height:25px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
										<tr>
											<td height="25">上次登录时间：<font color=#ff0000><%=LastLoginDate%></font>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;共登录<font color=#ff0000><%=Session("LoginQuantity")%></font>次</td>
										</tr>
										<tr>
											<td height="25" >简历已被查看：<font color=#ff0000><%=ViewQuantity%></font>次 </td>
										</tr>
										<tr>
											<td width="46%" height="25">面试邀请：<font color=#ff0000><%=NewMailQuantity%>/<%=MailQuantity%></font>份&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;求职记录：<font color=#ff0000><%=SendMailQuantity%></font>份&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;职位收藏夹 ：<font color=#ff0000><%=PerPoolQuantity%></font>个</td>
										</tr>
 
								</table></td>
							</tr>
					</table></td>
				</tr>
		 
			</table> </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="140" height="50"><p><img src="../Images/CompanyDetailIco.gif" width="30" height="26" align="absmiddle" /> <a href="ChgPerInfo_2.asp">基本信息修改</a></p>
							    </td>
								<td width="140" height="50"><img src="../Images/CompanyDetailIco.gif" width="30" height="26" align="absmiddle" /> <a href="ChgPerInfo_3.asp">求职意向修改</a></td>
								<td width="140" height="50"><img src="../Images/ContactIco.gif" width="28" height="19" align="absmiddle" /> <a href="ChgPerInfo_4.asp">联系方式修改</a></td>
								<td height="50" colspan="2"><img src="../Images/CompanyDetailIco.gif" width="30" height="26" align="absmiddle" /> <a href="ChgPerInfo_5.asp">教育/培训/语言/工作经历修改</a></td>
							</tr>
							<tr>
								<td height="50"><img src="../Images/YPico.gif" width="29" height="31" align="absmiddle" /> <a href="BoxList.asp">在线面试邀请</a> </td>
								<td width="140" height="50"><img src="../Images/SeeIco.gif" width="34" height="33" align="absmiddle" /> <a href="../Person_View.asp?PerId=<%=Session("PerId")%>" target="_blank">简历页面预览</a></td>
								<td width="140"><img src="../Images/QQIco.gif" width="28" height="33" align="absmiddle" /> <a href="ChgPerInfo_9.asp">在线QQ设置</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="../Company_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_01.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>" & vbCrLf)
									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>				</td>
				 
<%
Response.Write("<script language=""javascript"">" & vbCrLf)
Response.Write("InitPosition(""Position_b"" , ""Position_s"" , arrPosition_b , arrPosition_s , """" , """")" & vbCrLf)
If Cint(Qsite.FzId) = 0 Then
	Response.Write("InitArea(""Province"" , ""City"" , ""County"" , arrProvince , arrCity , arrCounty , """" , """" , """")" & vbCrLf)
Else
	Response.Write("FzInitArea(""Province"" , ""City"" , ""County"" , arrProvince , arrCity , arrCounty , """ & Qsite.FzProvince & """ , """ & Qsite.FzCity & """ , """ & Qsite.FzCounty & """)" & vbCrLf)
End If
Response.Write("</script>" & vbCrLf)
%>
 </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 style="line-height: 22px;">
                  ·在发出去求职意向的同时，请拨打电话联系该企业，以示礼貌，未经确实请勿登门造访。
                  <br />
                  ·<font color="#FF0000">为了能更好的让企业找到你，请完善左边的所有个人资料管理栏目信息，请填写完整，这样会增加企业搜索到你的机会；</font><br />
                ·<font color="#FF0000">请务必保持个人简历的准确、客观； </font><br />
                ·如果您答应参加面试，请务必准时赴约； <br />
                ·约定好的面试如果无法参加请及时电话通知招聘方； <br />
                ·<font color="#FF0000">个人工作经历和联系方式如有变动，请及时在简历上修改； </font><br />
                ·不良的求职行为将影响到您的简历诚信度； <br />
	·<font color="#FF0000">最后提醒：每天登陆会员账号<a href="Index.asp?action=sxjl"><font color="#CC0000">“刷新简历”</font></a>您的简历将重新排在最前！ </font>
        </td>
      </tr>
    </table>
        </td>
      </tr>
    </table>
 
<table width="974" height="8" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr height="8">
        <td height="8"></td>
      </tr>
    </table>
 
<%
Qsite.Bottom()
%>                                                                                              
