📄 userface.asp
字号:
<!--#include file="conn.asp"-->
<!-- #include file="../inc/const.asp" -->
<BODY leftmargin="0" topmargin="0">
<base target="_top">
<%dim username
username=trim(checkStr(request("username")))
set rs=server.createobject("adodb.recordset")
sql="select titlepic,face,face_1,face_2,face_3,face_4,face_5,face_6 from [User] where username='"&UserName&"'"
rs.open sql,connshop,1,1
if rs.eof and rs.bof then
dim rs1
set rs1=server.createobject("adodb.recordset")
sql="select sex from [User] where username='"&UserName&"'"
rs1.open sql,conn,1,1%>
<table>
<tr>
<td>
<div id="Layer1" style="position:absolute; left:6px; top:6px; width:120px; height:150px; z-index:1; visibility: visible"><a href="../mymodify.asp#body" title="点击进入形象设计"><img src=userface/back/0000.gif width=120 height=150 border="0"></a></div>
<div id="Layer2" style="position:absolute; left:6px; top:6px; width:120px; height:150px; z-index:2; visibility: visible"><a href="../mymodify.asp#body" title="点击进入形象设计"><img src=userface/<%if rs1(0)=1 then%>face3.gif<%else%>face4.gif<%end if%> width=120 height=150 border="0"></a></div></td></tr></table><%
rs1.close
set rs1=nothing
conn.close
set conn=nothing
else%>
<table>
<tr>
<td>
<div id="Layer1" style="position:absolute; left:6px; top:6px; width:120px; height:150px; z-index:1; visibility: visible"><%if rs("titlepic")><"" then%><a href="../mymodify.asp#body" title="点击进入形象设计"><img src=<%=htmlencode(rs("titlepic"))%> width=120 height=150 border="0"></a><%end if%></div>
<div id="Layer2" style="position:absolute; left:6px; top:6px; width:120px; height:150px; z-index:2; visibility: visible"><%if rs("face")><"" then%><a href="../mymodify.asp#body" title="点击进入形象设计"><img src=<%=htmlencode(rs("face"))%> width=120 height=150 border="0"></a><%end if%></div>
<div id="Layer3" style="position:absolute; left:6px; top:6px; width:120px; height:150px; z-index:3; visibility: visible"><%if rs("face_1")><"" then%><a href="../mymodify.asp#body" title="点击进入形象设计"><img src=<%=htmlencode(rs("face_1"))%> width=120 height=150 border="0"></a><%end if%></div>
<div id="Layer4" style="position:absolute; left:6px; top:6px; width:120px; height:150px; z-index:4; visibility: visible"><%if rs("face_2")><"" then%><a href="../mymodify.asp#body" title="点击进入形象设计"><img src=<%=htmlencode(rs("face_2"))%> width=120 height=150 border="0"></a><%end if%></div>
<div id="Layer5" style="position:absolute; left:6px; top:6px; width:120px; height:150px; z-index:5; visibility: visible"><%if rs("face_3")><"" then%><a href="../mymodify.asp#body" title="点击进入形象设计"><img src=<%=htmlencode(rs("face_3"))%> width=120 height=150 border="0"></a><%end if%></div>
<div id="Layer6" style="position:absolute; left:6px; top:6px; width:120px; height:150px; z-index:6; visibility: visible"><%if rs("face_4")><"" then%><a href="../mymodify.asp#body" title="点击进入形象设计"><img src=<%=htmlencode(rs("face_4"))%> width=120 height=150 border="0"></a><%end if%></div>
<div id="Layer7" style="position:absolute; left:6px; top:6px; width:120px; height:150px; z-index:7; visibility: visible"><%if rs("face_5")><"" then%><a href="../mymodify.asp#body" title="点击进入形象设计"><img src=<%=htmlencode(rs("face_5"))%> width=120 height=150 border="0"></a><%end if%></div>
<div id="Layer8" style="position:absolute; left:6px; top:6px; width:120px; height:150px; z-index:8; visibility: visible"><%if rs("face_6")><"" then%><a href="../mymodify.asp#body" title="点击进入形象设计"><img src=<%=htmlencode(rs("face_6"))%> width=120 height=150 border="0"></a><%end if%></div>
</td></tr></table>
<%end if
rs.close
set rs=nothing
connshop.close
set connshop=nothing%></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -