<!-- #include file="include/config_other.asp" -->
<!-- #include file="include/conn.asp" -->
<BODY leftmargin="0" topmargin="0">
<base target="_top">
<%dim username
username=trim(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_v] where username='"&UserName&"'"
rs.open sql,conn,1,1
if rs.eof and rs.bof then
dim rs1,sex
set rs1=server.createobject("adodb.recordset")
sql="select sex from [User_data] where username='"&UserName&"'"
rs1.open sql,conn,1,1
sex=rs1(0)
%>
<table>
<tr>
<td>
<div id="Layer1" style="position:absolute; left:6px; top:6px; width:120px; height:150px; z-index:1; visibility: visible"><img src=images/userface/back/0000.gif width=120 height=150 border="0" alt=您可以在用户中心设计您的虚拟形象></div>
<div id="Layer2" style="position:absolute; left:6px; top:6px; width:120px; height:150px; z-index:2; visibility: visible"><img src=images/userface/<%if rs1(0)=false then%>face4.gif<%else%>face3.gif<%end if%> width=120 height=150 border="0" alt=您可以在用户中心设计您的虚拟形象></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%><img src=<%=rs("titlepic")%> width=120 height=150 border="0" alt=您可以在用户中心设计您的虚拟形象><%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%><img src=<%=rs("face")%> width=120 height=150 border="0" alt=您可以在用户中心设计您的虚拟形象><%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%><img src=<%=rs("face_1")%> width=120 height=150 border="0" alt=您可以在用户中心设计您的虚拟形象><%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%><img src=<%=rs("face_2")%> width=120 height=150 border="0" alt=您可以在用户中心设计您的虚拟形象><%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%><img src=<%=rs("face_3")%> width=120 height=150 border="0" alt=您可以在用户中心设计您的虚拟形象><%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%><img src=<%=rs("face_4")%> width=120 height=150 border="0" alt=您可以在用户中心设计您的虚拟形象><%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%><img src=<%=rs("face_5")%> width=120 height=150 border="0" alt=您可以在用户中心设计您的虚拟形象><%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%><img src=<%=rs("face_6")%> width=120 height=150 border="0" alt=您可以在用户中心设计您的虚拟形象><%end if%></div>
</td></tr></table>
<%
rs.close
set rs=nothing
conn.close
set conn=nothing
end if
%></BODY></HTML>