<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="../conn/conn.asp"-->
<!--#include file="../inc/Commoncode.asp"-->
<!--#include file="checkpmember.asp" -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>求职信预览--<%=SiteTitle%></title>
<link href="../member/css.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="memmenul">
<div class="leftmenutit"><span>求职信预览</span></div>
<table width="760" height="38" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
<%
if request("id")<>"" then
letter_id=Chkint(trim(request("id")))
set rs=server.createobject("ADODB.Recordset")
sql="select letter_title,letter_content from job_p_letter where letter_id="&letter_id&""
rs.open sql,conn,1,1
if not rs.eof then 
%>
<table width="860" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#F1F8FC" style="line-height:22px;">
  <tr> 
    <td width="113"  height="26" align="right" bgcolor="#FFFFFF">
<div align="right"><B>求职信标题：</B></div></td>
    <td width="641" align="left" bgcolor="#FFFFFF"><%=rs("letter_title")%></td>
  </tr>
  <tr> 
    <td height="169" valign="top" bgcolor="#FFFFFF">
<div align="right"><B>求职信内容：</B></div></td>
    <td align="left" valign="top" bgcolor="#FFFFFF"><%=rs("letter_content")%></td>
  </tr>
</table>
<%
else
Response.Write("求职信不存在,请返回!")
end if
rs.close:set rs=nothing
end if
%>
<table width="760" height="38" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td align="center">
      <input type="button" name="Submit" value="打印求职信" onClick="javascript:window.print();" />
      　
      <input type="button" name="Submit2" value="关闭窗口" onClick="javascript:window.close();" /></td>
  </tr>
</table>
</div>
<%CloseConn%>