📄 transferphoto.asp
字号:
<!--#include file=../conn.asp-->
<!--#include file=cookies.asp-->
<!--#include file=top.asp-->
<%
dim sql
dim rs
dim username
dim jobid,i
username=request.cookies("ijob")("username")
jobid=request.cookies("ijob")("jobid")
set rs=server.createobject("adodb.recordset")
sql="select username,jobid,photopb,photo,phototre from [person] where jobid='"&jobid&"' and UserName='"&UserName&"'"
rs.open sql,conn,1,1
if rs.eof or rs.bof then
response.write "错误,该用户不存在!<br> "
response.end
end if
%>
<link rel="stylesheet" type="text/css" href="../1.css">
<title>我的照片管理</title>
<body topmargin="0" leftmargin="0">
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="770" height="236">
<tr>
<td width="147" height="236" valign="top">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
<tr>
<td width="100%"><!--#include file=left.asp--></td>
</tr>
</table>
</td>
<td width="27" height="236" valign="top"> </td>
<td width="580" height="236" valign="top">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
<tr>
<td width="100%"> </td>
</tr>
<tr>
<td width="100%" height="30">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
<tr>
<td width="100%">
<table border="0" borderColor="#111111" cellPadding="2" cellSpacing="0" height="215" id="AutoNumber56" style="border-collapse: collapse" width="552">
<tr>
<td bgColor="#C0C0C0" colSpan="2" height="19" vAlign="bottom" width="548" style="border-bottom-style: solid; border-bottom-width: 1; border-left-style:solid; border-left-width:1">
<p style="line-height: 19px"><font style="font-size: 9pt"><b>
上传照片</b></font></td>
</tr>
<tr>
<td align="middle" bgColor="#E3E3E3" height="17" width="416" style="border-right-style: solid; border-right-width: 1; border-top-style: solid; border-top-width: 1; border-left-style:solid; border-left-width:1">
<p align="left"> </td>
<td bgColor="#ffffff" height="200" rowSpan="3" width="160" style="border-top-style: solid; border-top-width: 1; border-bottom-style: solid; border-bottom-width: 1">
<p align="center"><%if rs("photopb")=0 then%><p align="center">已经屏蔽<%else%><%if rs("phototre")=0 then%>没有上传照片<%else%>
<p align="center">
<img border="0" height="200" src="photo/<%=rs("photo")%>" width="145" style="border: 1px solid #000000"><%end if%><%end if%>
</td>
</tr>
<tr>
<form name="form" method="post" action="TransferPhotoup.asp" enctype="multipart/form-data" >
<td bgColor="#E3E3E3" height="38" width="416" style="border-right-style: solid; border-right-width: 1; border-left-style:solid; border-left-width:1">
<p style="line-height: 18px">所传照片一律为<font face="Verdana"><b>JPG</b></font>、<font face="Verdana"><b>JPEG</b></font>、或<font face="Verdana"><b>GIF</b></font>格式。如果您没有扫描仪,可以将照片邮寄给我们,我们免费为您服务。</p>
<p style="line-height: 18px">请选择登记照片:
<input type="hidden" name="filepath" value="photo">
<input type="hidden" name="act" value="upload">
<input name="filename" style="font-family: 宋体; font-size: 12px" type="file" size="20"> <input name="Send" style="font-family: 宋体; font-size: 12px" type="submit" value="上传"></td>
</tr>
</form>
<tr>
<td align="middle" bgColor="#E3E3E3" height="61" width="416" style="border-right-style: solid; border-right-width: 1; border-bottom-style: solid; border-bottom-width: 1; border-left-style:solid; border-left-width:1">
<p align="left" style="line-height: 18px">
<span style="font-family: 宋体; font-size: 12px">
<font color="black">您可以在右边预览您的简历;<br>
<font color="red">注意:</font>相片大小不能超过100K。为了使您的照片显示达到最佳效果,请把照片扫描成大小为145
x 200 像素。<br>
本地文件名不能是</font><b><font color="#FF0000">中文!</font></b>不然图片不能显示!</span></td>
</tr>
<tr>
<td bgColor="#E3E3E3" height="25" width="385" style="border-top-style: solid; border-top-width: 1; border-left-style:solid; border-left-width:1">
<p align="right">图片当前状态:<%if rs("photopb")=0 then%><font color="#F06000"><b>已经屏蔽</b></font><%else%><font color="#F06000"><b>没有屏蔽</b></font><%end if%></td>
<td bgColor="#E3E3E3" height="18" width="159" style="border-top-style: solid; border-top-width: 1">
<%if rs("phototre")<>0 then%><p align="center"><a href="TransferPhotoedit.asp?oo=0">屏蔽</a> <a href="TransferPhotoedit.asp?oo=1">恢复</a> <a href="TransferPhotodel.asp"> 删除</a><%end if%></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" height="24" style="border-left-style: solid; border-left-width: 1; border-bottom-style: solid; border-bottom-width: 1" bgcolor="#888888">
<b><font size="3"> <font color="#FFFFFF">*</font></font></b><font color="#FFFFFF">
公开照片请点击“</font><b><font color="#FFFFD0">恢复</font></b><font color="#FFFFFF">”不公开照片请点击“</font><b><font color="#FFFFD0">屏蔽</font></b><font color="#FFFFFF">”删除照片请点击“</font><b><font color="#FFFFD0">删除</font></b><font color="#FFFFFF">”</font></td>
</tr>
<tr>
<td width="100%"> </td>
</tr>
<tr>
<td width="100%"> </td>
</tr>
</table>
</td>
<td width="16" height="236" valign="top"> </td>
</tr>
</table>
</center>
</div>
<!--#include file=copyright.asp-->
<%
rs.close
set rs=nothing
call closedb
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -