<!--#include file="../../Include/Class_Conn.asp" -->
<!--#include file="../../Include/Class_Main.asp" -->
<% 
Dim Param
Dim Cmd,Rs,SQL,Perid,UserName,UserEmail,LastUpdate_Time,Ncid
Dim RealName,Sex,PhotoUrl,Language_One,Language_Two,Mandarin,Computer,ComputerOther,Skill_Memo
Dim PerType,InterView,ProvideHouse,Posts
Dim Sex_Str,Birth_Str,CodeType_Str,Marry_Str,Edus_Str,Works_Str,JobTitle_Str,Language_Str
Dim Computer_Str,PerType_Str,Deal_Str,WorkWillClass_Str,WorkWill_Str,AreaWill_Str,Posts_Str
Dim Appraise_Str,Develop_Str,Other_Str
Dim BeginAndEndTime,SchoolName,Speciality,Edus,CompanyName,Properity,Industry,WorkName,WorkMemo,Demission
Dim PhotoKeep,ResumeKeep,ContactKeep

'//判断用户是否是管理员
If Session("Web_Suppername") = "" Then 
 Response.write "<script>alert('-当前用户没有权限进行该操作！-');window.close();</script>"
 Response.End()
End if

'//获取用户的标记
Perid    = Replace_Text(Request.QueryString("param"))

'//查找用户基本数据
Set Rs = Conn.Execute("Select Ncid,UserEmail,LastUpdate_Time,LoginCount From [pH_Person_Base] Where Perid='"&Perid&"'")
If Rs.Eof Then
 Rs.Close
 CloseDB
 Response.write "没有找到会员资料！"
 Response.End()
End if
Ncid               = Rs(0) '//ID
UserEmail          = Rs(1) '//电子邮件
LastUpdate_Time    = Rs(2) '//最后更新时间

Rs.Close

'//调用存储过程[Per_Resume_PreView]
Set Cmd = Server.Createobject("ADODB.Command")
Cmd.ActiveConnection = Conn
Cmd.CommandText      = "Per_Resume_PreView"
Cmd.CommandType      = 4
Cmd.Parameters.Append Cmd.CreateParameter("@Perid",200,1,30)
Cmd.Parameters("@Perid") = Perid
Set Rs = Cmd.Execute

If Rs.Eof Then '//判断有没有找到该用户
 Rs.Close
 Set Cmd = Nothing
 CloseDB
 Response.write "没有找到会员资料！"
 Response.End()
End if

Tmp = Rs.GetRows() '//将数据填充到数组

'//0用户ID,1用户名,2姓名,3性别,4民族,5学历,6婚姻,7年龄,8毕业学校,9专业类别,10专业名称,11户口省份,12户口城市,13所在地,14所在城市,15身高,16毕业年,17出生年,18月,19日,20电话,21聊天工具,22个人网站,23自我评价,24技能描述,25意向职位,26意向职位,27意向职位,28意向工作地区,29意向工作地区,30意向工作地区,31待遇,32可面谈,33提供住房,34到岗位,35到岗时间,36显示次数,37计算机能力,38计算机其他能力,39第一外语,40水平,41第二外语,42水平,43普通话,44技能关键字,45工作年限,46其他要求,47发展方向,48联系方式保密,49简历保密,50个人照片,51照片保密,52身份证件号码,53证件类型,54体重,55手机,56邮政编码,57地址,58职位类型,59在多少家工作过,60意向职位类别,61意向职位类别,62意向职位类别,63职称,64有否视频简历,65视频简历状态,66开通日期,67截止日期,68视频简历路径,69工作经验,70特长
'//如：Tmp(1,0)表示 用户名

'//关闭数据库连接
Rs.Close
Set Cmd = Nothing
'//查看用户是否将简历设置成保密
ResumeKeep               = Tmp(49,0)
If ResumeKeep = 1 Then
 Response.write "简历被设置成完全保密状态，暂时无法查看..."
 Response.End()
End if
'//更新显示次数
Conn.Execute("Update [pH_Person_Info] Set ViewClicks=ViewClicks+1 Where Perid='"&Perid&"'")

'//将数组元素值代入变量
Perid					 = Tmp(0,0)
RealName                 = Tmp(2,0)
Sex                      = Tmp(3,0)
Birth_Str                = Tmp(17,0)&"年"&Tmp(18,0)&"月"&Tmp(19,0)&"日"
ComputerOther            = Tmp(38,0)
Skill_Memo               = Tmp(24,0)
PerType                  = Tmp(58,0)
InterView                = Tmp(32,0)
ProvideHouse             = Tmp(33,0)
Appraise_Str             = Tmp(23,0)
Develop_Str              = Tmp(47,0)
Other_Str                = Tmp(46,0)
PhotoKeep                = Tmp(51,0)
ContactKeep              = Tmp(48,0)
Nc_Video                 = Tmp(64,0)
V_Flag                   = Tmp(65,0)
V_Date                   = Tmp(66,0)
V_EndDate                = Tmp(67,0)
V_FilePath               = Tmp(68,0)
'//功能代码
Sex_Str                  = Cls_Sex(Sex)   '//获取性别
Codeid					 = Tmp(52,0)
If Codeid <> "" And Len(Codeid)>=6 Then Codeid = Left(Codeid,(Len(Codeid)-6))&"******"
CodeType_Str             = Cls_CodeType(Tmp(53,0)) '//获取证件类型
Marry_Str                = Cls_Marry(Tmp(6,0)) '//获取婚姻状况
Edus_Str                 = Cls_Edus(Tmp(5,0)) '//获取学历
Works_Str                = Cls_Works(Tmp(45,0)) '//获取工作年限
JobTitle_Str             = Cls_JobTitle(Tmp(63,0)) '//获取职称
Language_One             = Cls_Language(Tmp(39,0))   '//获得外语类型
Language_Two             = Cls_Language(Tmp(41,0))   '//获得外语类型
Mandarin                 = Cls_Mandarin(Tmp(43,0))   '//获得普通话水平
Computer                 = Cls_Computer(Tmp(37,0))   '//获得计算机证书
Posts                    = Cls_Posts(Tmp(35,0))      '//获得到岗位时间

'//个人照片显示 判断语句
If PhotoKeep = 1 Then
 PhotoUrl = ""
Else
If Tmp(50,0) <> Null or Tmp(50,0) <> "" Then
  If Left(Tmp(50,0),1) = "p" Then
   PhotoUrl = "<img src=""../../UpLoadFiles/PersonFile/"&Tmp(50,0)&""">"
  Else
   PhotoUrl = "<img src=""../../UpLoadFiles/PersonFile/"&Tmp(50,0)&""" width=""135"" height=""160"">"
  End if
Else
 PhotoUrl = "<img src=""../../UpLoadFiles/DefaultFile/Person.gif"" width=""135"" height=""160"">"
End if
End if
'//外语 判断语句
Language_Str = ""
If Language_One <> "" Then 
 Language_Str = Language_Str&Language_One&" "&Tmp(40,0)&" ; "
End if
If Language_Two <> "" Then 
 Language_Str = Language_Str&Language_Two&" "&Tmp(42,0)&" ; "
End if
If Mandarin <> "" Then 
 Language_Str = Language_Str&"普通话 "&Mandarin
End if
'//计算机能力
Computer_Str = ""
If Computer <> "" Then
 Computer_Str = Computer_Str&"证书 "&Computer&" ;"
End if
If ComputerOther <> "" Then
 Computer_Str = Computer_Str&"技能 "&ComputerOther
End if
'//求职类型
If PerType = 1 Then
 PerType_Str = "全 职"
Elseif PerType = 2 Then
 PerType_Str = "兼 职"
End if
'//待遇要求
Deal_Str = Tmp(31,0)&"元/月 "
If InterView = True Then
 Deal_Str = Deal_Str&" 可面议 ; "
End if
If ProvideHouse = 1 Then
 Deal_Str = Deal_Str&"需要提供住房"
Else
 Deal_Str = Deal_Str&"不需要提供住房" 
End if
'//希望的工作岗位类别
WorkWillClass_Str = ""
If Tmp(60,0) <> "" or Tmp(60,0) <> Null Then
 WorkWillClass_Str = WorkWillClass_Str&Tmp(60,0)&"<Br>"
End if
If Tmp(61,0) <> "" or Tmp(61,0) <> Null Then
 WorkWillClass_Str = WorkWillClass_Str&Tmp(61,0)&"<Br>"
End if 
If Tmp(62,0) <> "" or Tmp(62,0) <> Null Then
 WorkWillClass_Str = WorkWillClass_Str&Tmp(62,0)&"<Br>"
End if 
'//求职职位名称
WorkWill_Str = ""
If Tmp(25,0) <> "" or Tmp(25,0) <> Null Then
 WorkWill_Str = WorkWill_Str&Tmp(25,0)&" ; "
End if
If Tmp(26,0) <> "" or Tmp(26,0) <> Null Then
 WorkWill_Str = WorkWill_Str&Tmp(26,0)&" ; "
End if
If Tmp(27,0) <> "" or Tmp(27,0) <> Null Then
 WorkWill_Str = WorkWill_Str&Tmp(27,0)
End if
'//希望工作地区
AreaWill_Str = ""
If Tmp(28,0) <> "" or Tmp(28,0) <> Null Then
 AreaWill_Str = AreaWill_Str&Tmp(28,0)&" ; "
End if
If Tmp(29,0) <> "" or Tmp(29,0) <> Null Then
 AreaWill_Str = AreaWill_Str&Tmp(29,0)&" ; "
End if
If Tmp(30,0) <> "" or Tmp(30,0) <> Null Then
 AreaWill_Str = AreaWill_Str&Tmp(30,0)
End if
'//到岗时间
If Tmp(34,0) = 0 Then
 Posts_Str = "可随时到岗"
Elseif Tmp(34,0) = 1 Then
 Posts_Str = Posts 
End if

'视频简历判断语句
Video_Str = ""
If Nc_Video = True And DateDiff("d",V_Date,Date()) >= 0 And DateDiff("d",V_EndDate,Date()) <= 0 Then
 If V_Flag = 0 Then
    Video_Str = "<a href=../../Person/Per_VideoView.asp?Perid="&Perid&" target=_blank><font color=#ff6600><img src=""../../Images/video2.gif"" width=""14"" height=""16"" align=""absmiddle"" border=""0""> <u>点击浏览视频简历<u></font></a>" '完全开放
 Elseif V_Flag = 1 Then
  If IsArray(Session("Company")) Then
    Video_Str = "<a href=../../Person/Per_VideoView.asp?Perid="&Perid&" target=_blank><font color=#999999><img src=""../../Images/video2.gif"" width=""14"" height=""16"" align=""absmiddle"" border=""0""> 点击浏览视频简历</font></a>" '完全开放
  Else
    Video_Str = "<font color=#999999>视频简历屏蔽中...</font>" '屏蔽
  End if
 Elseif V_Flag = 2 Then
    Video_Str = "<font color=#999999>视频简历屏蔽中...</font>" '完全屏蔽
 End if
End if

Exper = Tmp(69,0)
Skills = Tmp(70,0)
 %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%= Cls_WebName&" -- "&RealName&" 个人简历"%></title>
<link href="../../Css/Resume1.css" rel="stylesheet" type="text/css">
</head>
<SCRIPT language=JavaScript>
function showalert(id)
{
  
  if (id=="persondb")
   {
     <% If IsArray(Session("Company")) Then %>
	   	theForm.target='rslt';
		//theForm.action="../../Company/Com_Option.asp?param=persondb";
		theForm.action="../../Company/Com_toPersonDB.asp";
		openwin();
		theForm.submit();
	 <% Else %>
	   alert("登录后才能进行该操作！");
	 <% End if %>
   }

  if (id=="send")
   {
     <% If IsArray(Session("Company")) Then %>
	    theForm.target='rslt';
		theForm.action="../../Company/Com_SendApplication.asp";
		openwin();
		theForm.submit();
	 <% Else %>
	   alert("登录后才能进行该操作！");
	 <% End if %>
   } 
   
  if (id=="video")
   {
     <% If IsArray(Session("Company")) Then %>
	    theForm.target='rslt';
		theForm.action="../../Company/Com_SendVideoBox.asp";
		openwin();
		theForm.submit();
	 <% Else %>
	   alert("登录后才能进行该操作！");
	 <% End if %>
   }  

    
}



function openwin()
  {
    disp=window.open("","rslt","width=500,height=320,resizable=yes");
	disp.focus();
  }
</script>

<body topMargin=0 marginheight="0" marginwidth="0" leftMargin=0  background="../../images/resume/1/bg15.gif">
<table width="778" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="148" valign="top" background="../../Images/Resume/1/bg10.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="85">&nbsp;</td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="30" align="center"><STRONG class=title><SPAN 
            id=lbl_realname><%= RealName %> -&nbsp;</SPAN>个人简历</STRONG><span class="navy">（№: <%= "VR1000"&Ncid %>）</span></td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="10"></td>
        </tr>
        <tr>
          <td height="20" align="center">[更新日期]：<SPAN class=jl><%= FormatDateTime(LastUpdate_Time,2) %></SPAN>&nbsp;&nbsp;&nbsp; [浏览次数]：<SPAN class=jl><%= Tmp(36,0)+1 %> 次</SPAN>&nbsp;&nbsp;&nbsp; [查询时间]：<SPAN class=jl><%= Now() %></SPAN></td>
        </tr>
      </table></td>
  </tr>
</table>
<table width="778" border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td background="../../Images/Resume/1/bg11.gif" style="padding-top:5px;padding-bottom:5px;"> 
      <table width="735" border="0" align="center" cellpadding="0" cellspacing="0" class="border1">
        <tr> 
          <td align="center" style="padding-top:5px;padding-bottom:5px;"> <table width="700" border="0" cellpadding="4" cellspacing="1" bgcolor="#c9c9c9">
              <tr> 
                <td width="80" bgcolor="#f6f6f6"><img src="../../Images/ar.gif" width="7" height="7" align="absmiddle"> 
                  基本信息 </td>
                <td colspan="3" bgcolor="#f6f6f6">&nbsp;</td>
                <td width="150" align="center" bgcolor="#f6f6f6"><img src="../../Images/ar.gif" width="7" height="7" align="absmiddle"> 
                  个人相片 </td>
              </tr>
              <tr> 
                <td width="80" bgcolor="#FFFFFF">姓　　名：</td>
                <td width="170" bgcolor="#FFFFFF" class="jl"><%= RealName %></td>
                <td width="80" bgcolor="#FFFFFF">性　　别：</td>
                <td bgcolor="#FFFFFF" class="jl"><%= Sex_Str %></td>
                <td rowspan="8" valign="top" bgcolor="#FFFFFF"> 
                  <!--个人照片-->
                  <table width="100%" border="0" cellspacing="0" class="text01">
                    <tr> 
                      <td align="center"><%= PhotoUrl %></td>
                    </tr>
                  </table>
                  <!--个人照片结束-->
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td height="30" align="center"><%= Video_Str %></td>
                    </tr>
                  </table></td>
              </tr>
              <tr> 
                <td width="80" bgcolor="#FFFFFF">民　　族：</td>
                <td width="170" bgcolor="#FFFFFF" class="jl"><%= Tmp(4,0) %></td>
                <td width="80" bgcolor="#FFFFFF">出生年月：</td>
                <td bgcolor="#FFFFFF" class="jl"><%= Birth_Str %></td>
              </tr>
              <tr> 
                <td width="80" bgcolor="#FFFFFF">证件号码：</td>
                <td width="170" bgcolor="#FFFFFF" class="jl"><%= Codeid %></td>
                <td width="80" bgcolor="#FFFFFF">婚姻状况：</td>
                <td bgcolor="#FFFFFF" class="jl"><%= Marry_Str %></td>
              </tr>
              <tr> 
                <td width="80" bgcolor="#FFFFFF">身　　高：</td>
                <td width="170" bgcolor="#FFFFFF" class="jl"><%= Tmp(15,0) %>cm</td>
                <td width="80" bgcolor="#FFFFFF">体　　重：</td>
                <td bgcolor="#FFFFFF" class="jl"><%= Tmp(54,0) %>kg</td>
              </tr>
              <tr> 
                <td width="80" bgcolor="#FFFFFF">户　　籍：</td>
                <td width="170" bgcolor="#FFFFFF" class="jl"><%= Tmp(11,0)&Tmp(12,0) %></td>
                <td width="80" bgcolor="#FFFFFF">现所在地：</td>
                <td bgcolor="#FFFFFF" class="jl"><%= Tmp(13,0)&Tmp(14,0) %></td>
              </tr>
              <tr> 
                <td width="80" bgcolor="#FFFFFF">毕业学校：</td>
                <td width="170" bgcolor="#FFFFFF" class="jl"><%= Tmp(8,0) %></td>
                <td width="80" bgcolor="#FFFFFF">学　　历：</td>
                <td bgcolor="#FFFFFF" class="jl"><%= Edus_Str %></td>
              </tr>
              <tr> 
                <td width="80" bgcolor="#FFFFFF">专业名称：</td>
                <td width="170" bgcolor="#FFFFFF" class="jl"><%= Tmp(10,0) %></td>
                <td width="80" bgcolor="#FFFFFF">毕业年份：</td>
                <td bgcolor="#FFFFFF" class="jl"><%= Tmp(16,0)&"年" %></td>
              </tr>
              <tr> 
                <td width="80" bgcolor="#FFFFFF">工作年限：</td>
                <td width="170" bgcolor="#FFFFFF" class="jl"><%= Works_Str %></td>
                <td width="80" bgcolor="#FFFFFF">职　　称：</td>
                <td bgcolor="#FFFFFF" class="jl"><%= JobTitle_Str %></td>
              </tr>
            </table>
            <table width="700" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="5"></td>
              </tr>
            </table>
            <table width="700" border="0" cellpadding="4" cellspacing="1" borderColorDark=#ffffff bgcolor="#c9c9c9">
              <tr> 
                <td width="80" bgcolor="#f6f6f6"><img src="../../Images/ar.gif" width="7" height="7" align="absmiddle"> 
                  求职意向</td>
                <td bgcolor="#f6f6f6">&nbsp;</td>
              </tr>
              <tr bgcolor="#FFFFFF"> 
                <td width="80">职位性质：</td>
                <td class="jl"><%= PerType_Str %></td>
              </tr>
              <tr bgcolor="#FFFFFF"> 
                <td width="80">职位类别：</td>
                <td class="jl"><%= WorkWillClass_Str %></td>
              </tr>
              <tr bgcolor="#FFFFFF"> 
                <td width="80">职位名称：</td>
                <td class="jl"><%= WorkWill_Str %></td>
              </tr>
              <tr bgcolor="#FFFFFF"> 
                <td width="80">工作地区：</td>
                <td class="jl"><%= AreaWill_Str %></td>
              </tr>
              <tr bgcolor="#FFFFFF"> 
                <td width="80">待遇要求：</td>
                <td class="jl"><%= Deal_Str %></td>
              </tr>
              <tr bgcolor="#FFFFFF"> 
                <td width="80">到职时间：</td>
                <td class="jl"><%= Posts_Str %></td>
              </tr>
            </table>
            <table width="700" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="5"></td>
              </tr>
            </table>
            <table width="700" border="0" cellpadding="4" cellspacing="1" borderColorDark=#ffffff bgcolor="#c9c9c9">
              <tr bgcolor="#f6f6f6"> 
                <td width="80"><img src="../../Images/ar.gif" width="7" height="7" align="absmiddle"> 
                  技能专长</td>
                <td>&nbsp;</td>
              </tr>
              <tr bgcolor="#FFFFFF"> 
                <td width="80">语言能力：</td>
                <td class="jl"><%= Language_Str %></td>
              </tr>
              <% 
SQL = "Select * From [pH_Person_Skill] Where Perid='"&Perid&"'"
Set Re = Conn.Execute(SQL)
If Not Re.eof Then
 While Not Re.Eof
 %>
              <tr bgcolor="#FFFFFF"> 
                <td width="80"><%= Re("SkillClass") %>：</td>
                <td class="jl"><%= Re("SkillMemo") %></td>
              </tr>
              <% 
			Re.Movenext
			Wend
 
End if
Re.Close
 %>
            </table>
            <table width="700" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="5"></td>
              </tr>
            </table>
            <table width="700" border="0" cellpadding="4" cellspacing="1" borderColorDark=#ffffff bgcolor="#c9c9c9">
              <tr bgcolor="#f6f6f6"> 
                <td width="80"><img src="../../Images/ar.gif" width="7" height="7" align="absmiddle"> 
                  教育培训</td>
                <td>&nbsp;</td>
              </tr>
              <tr bgcolor="#FFFFFF"> 
                <td width="80">教育经历：</td>
                <td> 
                  <table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#CCCCCC">
                    <tr bgcolor="#efefef"> 
                      <td width="35%" height="20">时间</td>
                      <td width="50%" height="20">所在学校</td>
                      <td height="20">学历</td>
                    </tr>
                    <% 
SQL = "Select Begin_Year,Begin_Month,End_Year,End_Month,SchoolName,Speciality,Edus From [pH_Person_Education] Where Perid='"&Perid&"' And Type=1"
Set Rs = Conn.Execute(SQL)
If Not Rs.Eof Then
 While Not Rs.eof
  BeginAndEndTime = Rs("Begin_Year")&"年"&Rs("Begin_Month")&"月 - "&Rs("End_Year")&"年"&Rs("End_Month")&"月"
  SchoolName      = Rs("SchoolName")
  Speciality      = Rs("Speciality")
  Edus            = Cls_Edus(Rs("Edus"))
 %>
                    <tr bgcolor="#FFFFFF"> 
                      <td class="jl"><%= BeginAndEndTime %></td>
                      <td class="jl"><%= SchoolName  %></td>
                      <td class="jl"><%= Edus %></td>
                    </tr>
                    <% 
  Rs.Movenext
 Wend 
End if
Rs.Close
 %>
                  </table></td>
              </tr>
              <tr bgcolor="#FFFFFF"> 
                <td>培训经历：</td>
                <td> 
                  <table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#CCCCCC">
                    <tr bgcolor="#efefef"> 
                      <td width="35%">时间</td>
                      <td width="35%">培训机构</td>
                      <td>证书</td>
                    </tr>
                    <% 
SQL = "Select Begin_Year,Begin_Month,End_Year,End_Month,SchoolName,CertName,Edus From [pH_Person_Education] Where Perid='"&Perid&"' And Type=2"
Set Rs = Conn.Execute(SQL)
If Not Rs.Eof Then
 While Not Rs.eof
  BeginAndEndTime = Rs("Begin_Year")&"年"&Rs("Begin_Month")&"月 - "&Rs("End_Year")&"年"&Rs("End_Month")&"月"
  SchoolName      = Rs("SchoolName")
  CertName        = Rs("CertName")
  Edus            = Cls_Edus(Rs("Edus"))
 %>
                    <tr bgcolor="#FFFFFF"> 
                      <td class="jl"><%= BeginAndEndTime %></td>
                      <td class="jl"><%= SchoolName %></td>
                      <td class="jl"><%= CertName %></td>
                    </tr>
                    <% 
  Rs.Movenext
 Wend 
End if
Rs.Close
 %>
                  </table></td>
              </tr>
            </table>
            <table width="700" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="5"></td>
              </tr>
            </table>
            <table width="700" border="0" cellpadding="4" cellspacing="1" borderColorDark=#ffffff bgcolor="#c9c9c9">
              <tr bgcolor="#f6f6f6"> 
                <td width="80"><img src="../../Images/ar.gif" width="7" height="7" align="absmiddle"> 
                  工作经历</td>
                <td>&nbsp;</td>
              </tr>
              <!--工作经历-->
              <% 
SQL = "Select Begin_Year,Begin_Month,End_Year,End_Month,CompanyName,Properity,Industry,WorkName,WorkMemo,Demission From [pH_Person_Work] Where Perid='"&Perid&"'"
Set Rs = Conn.Execute(SQL)
If Not Rs.Eof Then
 While Not Rs.eof
 If Rs("End_Year") = 0 Then
  BeginAndEndTime = Rs("Begin_Year")&"年"&Rs("Begin_Month")&"月 - "&"至今"
 Else
  BeginAndEndTime = Rs("Begin_Year")&"年"&Rs("Begin_Month")&"月 - "&Rs("End_Year")&"年"&Rs("End_Month")&"月"
 End if
  
  CompanyName     = Rs("CompanyName")
  Properity       = Cls_Properity(Rs("Properity"))
  Industry        = Cls_Industry(Rs("Industry"))
  WorkName        = Rs("WorkName")
  WorkMemo        = Rs("WorkMemo")
  Demission       = Rs("Demission")
   
 %>
              <tr bgcolor="#FFFFFF"> 
                <td width="80">&nbsp;</td>
                <td> 
                  <table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#CCCCCC">
                    <tr bgcolor="#efefef"> 
                      <td width="77">所在公司：</td>
                      <td class="jl"><%= CompanyName %></td>
                    </tr>
                    <tr bgcolor="#FFFFFF"> 
                      <td width="77">时间范围：</td>
                      <td class="jl"><%= BeginAndEndTime %></td>
                    </tr>
                    <tr bgcolor="#FFFFFF"> 
                      <td width="77">公司性质：</td>
                      <td class="jl"><%= Properity %></td>
                    </tr>
                    <tr bgcolor="#FFFFFF"> 
                      <td width="77">所属行业：</td>
                      <td class="jl"><%= Industry %></td>
                    </tr>
                    <tr bgcolor="#FFFFFF"> 
                      <td width="77">担任职位：</td>
                      <td class="jl"><%= WorkName %></td>
                    </tr>
                    <tr bgcolor="#FFFFFF"> 
                      <td width="77">工作描述：</td>
                      <td class="jl"><%= WorkMemo %></td>
                    </tr>
                    <tr bgcolor="#FFFFFF"> 
                      <td width="77">离职原因：</td>
                      <td class="jl"><%= Demission %></td>
                    </tr>
                  </table></td>
              </tr>
              <% 
  Rs.Movenext
 Wend
End if
Rs.Close 
 %>
            </table>
            <table width="700" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="5"></td>
              </tr>
            </table>
            <table width="700" border="0" cellpadding="4" cellspacing="1" borderColorDark=#ffffff bgcolor="#c9c9c9">
              <tr bgcolor="#f6f6f6"> 
                <td width="80"><img src="../../Images/ar.gif" width="7" height="7" align="absmiddle"> 
                  其他信息</td>
                <td>&nbsp;</td>
              </tr>
              <tr bgcolor="#FFFFFF"> 
                <td width="80">自我评价：</td>
                <td class="jl"><%= Appraise_Str %></td>
              </tr>
              <tr bgcolor="#FFFFFF"> 
                <td width="80">发展方向：</td>
                <td class="jl"><%= Develop_Str %></td>
              </tr>
              <tr bgcolor="#FFFFFF"> 
                <td width="80">其他要求：</td>
                <td class="jl"><%= Other_Str %></td>
              </tr>
            </table>
            <table width="700" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="5"></td>
              </tr>
            </table>
            <table width="700" border="0" cellpadding="4" cellspacing="1" borderColorDark=#ffffff bgcolor="#c9c9c9">
              <tr> 
                <td width="80" bgcolor="#f6f6f6"><img src="../../Images/ar.gif" width="7" height="7" align="absmiddle"> 
                  联系方式</td>
                <td colspan="3" bgcolor="#f6f6f6">&nbsp;</td>
              </tr>
              <tr bgcolor="#FFFFFF"> 
                <td width="80">联系电话：</td>
                <td width="240" class="jl"><%= Tmp(20,0) %></td>
                <td width="80">手机号码：</td>
                <td class="jl"><%= Tmp(55,0) %></td>
              </tr>
              <tr bgcolor="#FFFFFF"> 
                <td width="80">电子邮件：</td>
                <td width="240" class="jl"><%= UserEmail %></td>
                <td width="80">QQ(OICQ)：</td>
                <td class="jl"><%= Tmp(21,0) %></td>
              </tr>
              <tr bgcolor="#FFFFFF"> 
                <td width="80">个人网站：</td>
                <td width="240" class="jl"><%= Tmp(22,0) %></td>
                <td width="80">邮政编码：</td>
                <td class="jl"><%= Tmp(56,0) %></td>
              </tr>
              <tr bgcolor="#FFFFFF"> 
                <td width="80">通讯地址：</td>
                <td colspan="3" class="jl"><%= Tmp(57,0) %></td>
              </tr>
            </table>
            <table width="735" border="0" cellspacing="0" cellpadding="0">
              <Form action="" method="post" name="theForm">
                <tr> 
                  <td align="center" valign="bottom" style="padding-right:10px;"> 
                    <input type="button" name="Submit3" value="打印简历" onClick="window.print();"> 
                    <input type="submit" name="Submit4" value="关闭窗口" onClick="window.close();"> 
                    <input name="perid" type="hidden" id="perid3" value="<%= Perid %>"> 
                  </td>
                  <td width="68" align="center"><img src="../../Images/Resume/1/bg12.gif" width="134" height="68"></td>
                </tr>
                
              </Form>
            </table></td>
        </tr>
      </table></td>
  </tr>
  <tr>
    <td align="center" background="../../Images/Resume/1/bg11.gif" style="padding-top:5px;padding-bottom:5px;"> 
      <table width="735" border="0" cellspacing="0" cellpadding="4" style="BORDER-TOP: #9b9b9b 1px solid; BORDER-LEFT: #9b9b9b 1px solid">
        <tr>
          <td align="center" bgcolor="#e5e5e5">&copy; <%= Cls_Webname %> 版权所有</td>
        </tr>
      </table></td>
  </tr>
</table>
<table width="778" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><img src="../../Images/Resume/1/bg14.gif" width="778" height="17"></td>
  </tr>
</table>
</body>
</html>

<% 
Sub ContactKeep_Sub()
 '该会员将联系方式设置成保密状态
 Response.write "对不起！该会员将联系方式设置成保密状态,暂时不能查看..."
End Sub

'//关闭数据库连接
Set Rs = Nothing
CloseDB
 %>
