📄 in_uppic.asp
字号:
<!--#include file="info.asp"-->
<!--#include file="conn.asp"-->
<html>
<%
if session("id")="" or session("ac")="" or session("user")<>"1" then
response.write "<script language=JavaScript>" & chr(13) & "alert('您不具备此权限!');"&"window.location.href = 'index.asp'"&" </script>"
Response.End
end if
%>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="css.css" type="text/css">
<title><%=webname%> - 会员中心 - 基本资料设置 - 上传个人照片</title>
<style type="text/css">
<!--
.style1 {color: #990033}
-->
</style>
</head>
<body>
<!--#include file="top.asp"-->
<div align="center">
<table border="0" width="760" cellspacing="0" cellpadding="0" id="table1" height="421">
<tr>
<td style="border-left: 1px solid #0086DF; border-right: 1px solid #0086DF" width="760" valign="top" bgcolor="#FEFBF4">
<div align="center">
<table border="0" width="705" cellspacing="0" cellpadding="0" id="table2" height="379">
<tr>
<td height="86" width="214">
<img border="0" src="images/control.gif" width="282" height="90"></td>
<td height="86" width="237"> </td>
<td height="86" width="128">
<img border="0" src="images/controltop1.gif" width="128" height="90"></td>
<td height="86" width="58"> </td>
</tr>
<tr bgcolor="#CCCCFF">
<td width="705" colspan="4" valign="top">
<%
sql="select pic from in_user where id="&clng(session("id"))
rs.open sql,conn,1,1
%> <div align="center">
<table border="0" width="98%" cellspacing="0" cellpadding="0" id="table3" height="272">
<tr>
<td height="27" colspan="2">
<p align="left">
会员中心 → 上传个人照片</td>
</tr>
<tr>
<td width="25%" valign="top">
<!--#include file="in_menu.asp"-->
</td>
<td width="72%" valign="top" align="center" style="border: 1px solid #000000">
<table border="0" width="94%" cellspacing="0" cellpadding="0" id="table4">
<%if rs("pic")<>"" then%>
<tr>
<td height="160" align="center">
<table border="0" width="433" cellspacing="0" cellpadding="0" id="table5" height="170">
<tr>
<td height="140" width="0">
<p align="left">
<span class="style1">您已经上传了个人照片,如果您要重新上传,原照片将被删除。</span></td>
<td height="170" rowspan="2" width="152">
<p align="center">
<img border="0" src="<%=rs("pic")%>" style="border-style: solid; border-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px" width="120" height="150"></td>
</tr>
<tr>
<td height="30" width="0">
<p align="left"><b>
<a onclick="{if(confirm('此操作将删除原照片,继续吗?')){return true;}return false;}" href="re_up.asp">我要重新上传/删除照片</a></b></td>
</tr>
</table>
</td>
</tr>
<%else%>
<tr>
<td height="160">
<FORM name="myform" method=post action="upload.asp?">
<TABLE width="396" border="0" align=center bgcolor="#FFFBF7">
<TR>
<TD width="87" height="10" align="center"><div align="center" class="style5 style1">我的照片</div></TD>
<TD width="293" align="left"><input name="bookpic" type="text" id="bookpic">
<input class="button" type="button" name="Submit2" value="上传图片" onClick="window.open('Up_BookPic.asp?formname=myform&editname=bookpic&uppath=bookpic&filelx=jpg','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')"></TD>
</TR>
<TR><TD height="23" colspan=2 align=middle>
<INPUT type=submit value=发表 name=b1>
<INPUT type=reset value=重置 name=b2>
</TD></TR>
</TABLE>
</FORM>
</td>
</tr>
<%end if%>
</table>
</td>
</tr>
</table>
</div>
<%'表格%> </td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</div>
<%
rs.close
set rs=nothing
set conn=nothing
%>
<!--#include file="base.asp"-->
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -