<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<% data_path="../" 'ACC连接数据库路径，对SQL无效 %>
<!--#include file="../conn/conn.asp"-->
<!--#include file="../inc/safe.asp"-->
<!--#include file="../manage/makehtml/index/temp_inc.asp"-->
<title><%=webname%>个人求职</title>
<LINK href="../js/style_full.css" type=text/css rel=stylesheet>
<SCRIPT language=JavaScript1.2 src="../js/DateSelect.js" 
type=text/javascript></SCRIPT>
<script>
function SA80open(url) 
	{ 
		ContentWindow=window.open(url,"_blank","toolbar=no,width=480,height=280;,directories=no,status=no,scrollbars=yes,resize=no,menubar=no,left=200,top=200"); 
	} 
</script>
  <style type="text/css">
  .bgc{ 
	filter:	progid:DXImageTransform.Microsoft.Gradient(GradientType=1, StartColorStr=#FFFFFF, EndColorStr=#E6E6E6);
 }
  .STYLE1 {color: #0099CC}
  /*列表*/
.tabls{width:100%; margin-top:5px; border-bottom:1px solid #ddd;border-right:1px solid #ddd;}
.tabls .tabls_head{text-align:center;}
.tabls .tabls_head td{border-top:1px solid #ddd; padding:5px 0px; background-color:#F8F8F8; font-weight:bold;}
.tabls .tabls_tr_1{background-color:#f6f6f6;}
.tabls .tabls_tr_1 td,.tabls .tabls_tr_2 td{padding:5px;}
.tabls td{border-left:1px solid #ddd;border-top:1px solid #ddd;}
.tabls  td td{border:none; padding:0px; }
.tabls_1{border:1px #ddd solid;}

/*表格*/
.tab1{border-left:1px solid #dddddd; border-top:1px solid #dddddd;}
.tab1 td,.tab1 th{border-right:1px solid #dddddd; border-bottom:1px solid #dddddd; padding:3px 10px;}
.tab1 th{font-size:14px; background-color:#F6F6F6; text-align:right; color:#5A5A5A; }
.tab1 td{ background-color:#F4FBFF;}
/**/
  </style>
<LINK href="../images/style.css" type=text/css rel=stylesheet>
<body>
<%
'------------------------------------
  if isSession=0 then
 	  if Replace_Text(Request.Cookies("jobuser"))=""  or Replace_Text(Request.Cookies("jobuserid"))="" then
	   response.Redirect(HOPE_InstallDir&"job/")
	  end if
	  jobid=Replace_Text(Request.Cookies("jobuserid"))
  else
	  if session("jobid")="" or  session("jobuser")="" then
	   response.Redirect(HOPE_InstallDir&"job/")
	  end if  
	  jobid=session("jobid")
  end if
  if Replace_Text(Request("action"))="del" then
 	id=Replace_Text(Request("delid"))
 	conn.execute("delete from YiXiang_jobGuest where id="&id&"")
	response.write("<script>alert('删除留言成功');location='person_msg.asp';</script>")
	response.end()
  end if
%>
<!--#include file="person_top.asp"-->
<table width="988" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:5px;">
  <tr>
    <td align="center" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td valign="top"><!--#include file="person.asp"--></td>
      </tr>
      <tr>
        <td><table width="100%" border="0" cellpadding="0" cellspacing="0" class="jobTable_top">
          <tr>
            <td width="25" height="29"><img src="../images/ico.gif" style="padding-left:5px;" /></td>
            <td width="699"><font class="title">留言中心</font></td>
          </tr>
          <tr>
            <td colspan="2" align="center">
	<table width="98%" border="0" cellpadding="0" cellspacing="0"  class="tabls" id="tabls">
        <tr class="tabls_head">
                    <td width="43">编号</td>
                    <td >留言公司</td>
                    <td width="141" ><strong>留言时间</strong></td>
                    
         
          <td width="129" align="center"><strong>操作</strong></td>
			</tr>
                      <%
	 set rs=server.CreateObject("adodb.recordset")
	 sqljj="select  * from yixiang_jobGuest where userid="&jobid&" order by dateandtime desc"
	 rs.open sqljj,conn,1,1
 	 
	 msg_per_page=20 '定义每页显示记录条数
%>
                      <!--#include file="../inc/headpage.asp"-->
                      <%
   if rs.eof then
   
response.Write" <tr><td colspan=5  height=40 align=center><font color=red>暂无信息</font>！</td></tr>"
 else
 i=1
do while not rs.eof and rowcount > 0 
	   %>
                      <tr height="25" class="tabls_head">
                        <td align="center" ><%=i%></td>
                        <td><%=GetUserList(rs("gsid"))%></td>
                        <td><%=DateToStr(rs("dateandtime"),"Y-m-d")%></td>
                        <td><a href="javascript:void(0);" onClick="SA80open('GuestInfo.asp?id=<%=rs("id")%>')">查看</a>&nbsp;<a href="?action=del&delid=<%=rs("id")%>" onClick="return isok();">删除</a></td>
                      </tr>
                      <%
	    
  i=i+1
	 rowcount=rowcount-1
rs.movenext
loop
end if
%>
                      <tr>
                        <td colspan="4" align="center" ><%=listPages("myjobinfo.asp")%></td>
                      </tr>
                  </table></td>
          </tr>
        </table></td>
      </tr>
    </table>
    <%
rs.close
set rs=nothing
sub showmsg(msgtitle)
response.write "<table width=""98%"" border=""0"" align=""center"" cellpadding=""0"" cellspacing=""0"" style=""border:1px solid #DDDDDD;margin-top:5px;margin-bottom:5px;"">"
response.write "  <tr>"
response.write "    <td height=""77"" align=""center""><font style=""color:#FF6F02;font-size:15px;font-weight:bold;"">"&msgtitle&"</font></td>"
response.write "  </tr>"
response.write "</table>"
end sub
%></td>
    <td width="264" valign="top">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="jobTable_top">
  <tr>
    <td width="23" height="29"><img src="../images/ico.gif" style="padding-left:5px;" /></td>
    <td width="239"><font class="title">招聘职位类别</font></td>
  </tr>
  <tr>
    <td colspan="2"><%=HOPE_JobKind(1,1,4,14)%></td>
  </tr>
</table>	</td>
  </tr>
</table>
<!--#include file="bottom.asp"-->
</body>
</html>