<%Response.Expires=0
Response.ExpiresAbsolute = Now() - 1
Response.AddHeader "Pragma","No-Cache"
Response.AddHeader "Cache-Control","Private"
Response.CacheControl = "No-Cache"
Response.Expires=0
if Application("jhshowurl")<>"http://qqshow-item.tencent.com" then
	showgif=Application("jhshowurl") & "gif/pic/[img].gif"
	showgif1="src="& Application("jhshowurl") & "gif/'+j+'/'+showArray[i]+'.gif"
else
	showgif=Application("jhshowurl") & "/[img]/0/00/00.gif"
	showgif1="src="& Application("jhshowurl") &"/'+showArray[i]+'/'+j+'/00/00.gif"
end if
cwjh_name=Session("cwjh_name")
if cwjh_name="" then
Response.Redirect "login.asp"
Response.End
end if
Set conn=Server.CreateObject("ADODB.CONNECTION")
Set rs=Server.CreateObject("ADODB.RecordSet")
conn.open Application("showmdb")
rs.Open "select * from use where a='"& cwjh_name &"'", conn, 1,1
if rs.eof and rs.bof then
rs.close
set rs=nothing
conn.close
set conn=nothing
Response.Redirect "reg.asp"
Response.End
end if
par4=rs("c")
if par4="M" then
mysex="男"
else
mysex="女"
end if
myjb=rs("e")
Response.Write "<script Language=Javascript>"
myhy=rs("d")
if myhy=true then
Response.Write "var myhy=1;"
else
Response.Write "var myhy=0;"
end if
Response.Write "var myshow='"& rs("f") &"';"
Response.Write "var par4='"& par4 &"';"
Response.Write "</script>"
if rs("g")<>"" then
myhpoto=rs("g")
else
myhpoto=""
end if
rs.close
set rs=nothing
conn.close
set conn=nothing
Response.Write"<HTML><HEAD><TITLE>江湖秀</TITLE><META http-equiv=Content-Type content=text/html; charset=gb2312><LINK href=images/show.css rel=stylesheet></HEAD>"
Response.Write"<BODY text=#000000 leftMargin=0 background=images/bg.gif topMargin=0  marginheight=0 marginwidth=0>"
Response.Write"<table width=100% height=865 border=0 align=center cellpadding=0 cellspacing=0><tr><td width=21% height=852 align=left valign=top bgcolor=#FF9900>"
Response.Write"<table width=97% border=1 align=center cellpadding=0 cellspacing=0 bordercolor=#000000><tr><td height=444 align=center valign=top> <table width=140 border=0 align=center cellpadding=0 cellspacing=0 bordercolorlight=#00215a bordercolordark=#000000>"
Response.Write"<tr><td width=140 height=226 align=center valign=middle bgcolor=#FFFFFF >"
Response.Write"<div id=show style='PADDING-RIGHT: 0px; PADDING-LEFT: 0px; LEFT: 0; PADDING-BOTTOM: 0px; WIDTH: 140px; PADDING-TOP: 0px; POSITION: relative; TOP: 0; HEIGHT: 226px;'></div>"
Response.Write"</td></tr><tr><td height=44 align=center bgcolor=#CCCC99> <A href=javascript:userAv();><IMG height=20 src=images/main_right_24.gif width=55 border=0></A>&nbsp;<A href=javascript:userPhoto();><IMG height=20 src=images/main_right_25.gif width=55 border=0></A><BR>"
Response.Write"<A onclick=javascript:initshow(); href=#><IMG height=20 src=images/main_right_26.gif width=55 border=0></A>&nbsp;<A onclick=javascipt:deleteshow(); href=main.asp?id="& id &"&sex="& sex &"&CurPage=1><IMG height=20 src=images/main_right_27.gif width=55 border=0></A></td>"
Response.Write"</tr></table><TABLE cellSpacing=2 cellPadding=0 width=140 border=0><TBODY><TR><TD width=38 height=19>姓名：</TD><TD>&nbsp;"& cwjh_name &"</TD></TR><TR><TD height=19>性别：</TD>"
Response.Write"<TD>&nbsp;"& mysex &" <SCRIPT>if(myhy==1){document.write('<img src=images/vip_gif.gif>');}else{document.write('<font color=red>普通用户</font>')}</SCRIPT></TD></TR><TR><TD width=38 height=19><IMG src=images/left_tu_10.gif></TD>"
Response.Write"<TD bgColor=#e6e7e9>&nbsp;金币:"& myjb &"个</TD></TR><TR><TD width=38 height=19><IMG src=images/left_tu_04.gif width=38 height=19></TD><TD bgColor=#e6e7e9><A href=hy.asp target=_blank>&nbsp;帐户充值</A></TD>"
Response.Write"</TR><TR><TD width=38 height=19><IMG src=images/left_tu_03.gif width=38 height=19></TD><TD bgColor=#e6e7e9><A href=mysp.asp>&nbsp;物品管理</A></TD></TR><TR><TD width=38 height=19><IMG src=images/left_tu_05.gif width=38 height=19></TD><TD bgColor=#e6e7e9><A href=# onClick=javascript:faceurl()>&nbsp;形像代码</A></TD>"
Response.Write"</TR><TR><TD width=38 height=19><IMG src=images/left_tu_07.gif width=38 height=19></TD><TD bgColor=#e6e7e9>&nbsp;<strike>购买记录</strike></TD></TR><TR><TD width=38 height=19><IMG height=19 src=images/left_tu_08.gif width=38></TD>"
Response.Write"<TD bgColor=#e6e7e9>&nbsp;<strike>赠送记录</strike></TD></TR><TR><TD width=38 height=19><IMG height=19 src=images/left_tu_09.gif width=38></TD><TD bgColor=#e6e7e9>&nbsp;<strike>获赠记录</strike></TD></TR>"
Response.Write"<TR><TD width=38 height=19><IMG height=19 src=images/left_tu_11.gif width=38></TD><TD bgColor=#e6e7e9>&nbsp;<a href=exit.asp>退出</a></TD></TR></TBODY></TABLE></td></tr></table>"
Response.Write"<br><TABLE cellSpacing=0 cellPadding=0 width=162 border=0><TBODY><TR><TD><TABLE cellSpacing=0 cellPadding=0 width=162 border=0><TBODY><TR><TD><IMG height=19 src=images/main_left_31.gif width=162></TD>"
Response.Write"</TR></TBODY></TABLE><TABLE cellSpacing=0 cellPadding=0 width=162 border=0><TBODY><TR><TD width=9 background=images/main_left_32.gif>&nbsp;</TD><TD vAlign=top width=140 background=images/main_left_39.gif height=30> <P><IMG height=24 src=images/main_left_35.gif width=101></P></TD>"
Response.Write"<TD width=13 background=images/main_left_33.gif>&nbsp;</TD></TR></TBODY></TABLE><TABLE cellSpacing=0 cellPadding=0 width=162 border=0><TBODY><TR>"
Response.Write"<TD width=9 height=108 background=images/main_left_32.gif>&nbsp;</TD><TD vAlign=top width=140 background=images/main_left_39.gif><script language=javascript src=top.asp></script></TD>"
Response.Write"<TD vAlign=top width=13 background=images/main_left_33.gif>&nbsp;</TD></TR></TBODY></TABLE><TABLE cellSpacing=0 cellPadding=0 width=162 border=0>"
Response.Write"<TBODY><TR><TD><IMG height=8 src=images/main_left_38.gifwidth=162></TD></TR></TBODY></TABLE><br> <IMG height=19 src=images/main_left_34.gif width=162></TD>"
Response.Write"</TR></TBODY></TABLE><TABLE cellSpacing=0 cellPadding=0 width=162 border=0><TBODY><TR><TD width=9 background=images/main_left_32.gif>&nbsp;</TD>"
Response.Write"<TD vAlign=top width=140 background=images/main_left_39.gif height=30> <P><IMG height=24 src=images/main_left_37.gif width=101></P></TD><TD width=13 background=images/main_left_33.gif>&nbsp;</TD></TR></TBODY></TABLE>"
Response.Write"<TABLE cellSpacing=0 cellPadding=0 width=162 border=0><TBODY><TR><TD width=9 background=images/main_left_32.gif>&nbsp;</TD><TD vAlign=top width=140 background=images/main_left_39.gif> <DIV align=center><TABLE cellSpacing=0 cellPadding=2 width=140 border=0><TBODY>"
Response.Write"<TR><TD><P><script language=javascript src=sm.js></script></P></TD></TR></TBODY></TABLE></DIV></TD><TD width=13 background=images/main_left_33.gif>&nbsp;</TD></TR></TBODY></TABLE><IMG height=8 src=images/main_left_38.gif width=162></td>"
Response.Write"<td width=79% align=left valign=top> <table width=100% border=0><tr><td colspan=2><table width=100% border=0 cellpadding=0 cellspacing=0><tr>"
Response.Write"<td background=images/newtop_6_03.gif>&nbsp;&nbsp;&nbsp;<a href=mysp.asp>我的物品</a>&nbsp;&nbsp;&nbsp;<a href=myphoto.asp>我的像册</a>&nbsp;&nbsp;&nbsp; <strike>购买记录</strike>&nbsp;&nbsp;&nbsp;<strike>赠送记录</strike>&nbsp;&nbsp;&nbsp; <strike>获赠记录</strike>&nbsp;&nbsp;&nbsp; <a href=# onClick=javascript:faceurl()>形像代码</a></td></tr><tr>"
Response.Write"<td><marquee scrollamount=6 scrolldelay=100>"& Application("jhshowgg") &"</marquee></td></tr></table></td></tr></table>"
Response.Write"<TABLE width=98% border=0 align=center cellPadding=0 cellSpacing=0 background=images/main_right_06.gif><TR><TD width=30><IMG height=23 src=images/main_right_11.gif width=20></TD>"
Response.Write"<TD width=76><FONT color=blue><IMG height=1 src=images/1.gif width=1></FONT>我的像册</TD><TD width=409 align=right>"
if myhy=true then
Response.Write"<img src=images\vip_gif.gif>"
end if
Response.Write"<font color=#0000FF>金币: "& myjb &"</font></TD><TD width=80 align=center><IMG height=1 src=images/1.gif width=1><A href=index.asp target=_top><FONT color=#000000>返回首页 </FONT></A></TD></TR></TABLE>"
Response.Write"<table width=98% border=0 align=center cellpadding=0 cellspacing=0 bgcolor=#d1d3d4>"
if myhpoto="" or instr(myhpoto,";")=0 then
Response.Write"<div align=center>对不起，暂时没有发现任何记录！！ </div>"
else
showdata=Split(myhpoto, ";")
for x=0 to UBound (showdata)-1
Response.Write"<tr><td width=33% height=71>"
Response.Write"<table width=75% border=0 align=center cellpadding=0 cellspacing=0><tr><td height=21 align=center> <script language=javascript src=disp.asp?name="& cwjh_name &"&id="& (x+1) &"></script>"
Response.Write"</td></tr><tr><td align=center><img onClick=javascript:delphoto("& x &") src=images/sc.gif width=31 height=20>&nbsp;&nbsp;<img onClick=javascript:hzphoto("& x &") src=images/hz.gif width=31 height=20></td></tr></table></td>"
x=x+1
if x>(UBound (showdata)-1) then exit for
Response.Write"<td width=33% height=71><table width=75% border=0 align=center cellpadding=0 cellspacing=0><tr><td height=21 align=center> <script language=javascript src=disp.asp?name="& cwjh_name &"&id="& (x+1) &"></script>"
Response.Write"</td></tr><tr><td align=center><img onClick=javascript:delphoto("& x &") src=images/sc.gif width=31 height=20>&nbsp;&nbsp;<img onClick=javascript:hzphoto("& x &") src=images/hz.gif width=31 height=20></td></tr></table></td>"
x=x+1
if x>(UBound (showdata)-1) then exit for
Response.Write"<td width=33% height=71><table width=75% border=0 align=center cellpadding=0 cellspacing=0><tr><td height=21 align=center> <script language=javascript src=disp.asp?name="& cwjh_name &"&id="& (x+1) &"></script>"
Response.Write"</td></tr><tr><td align=center><img onClick=javascript:delphoto("& x &") src=images/sc.gif width=31 height=20>&nbsp;&nbsp;<img onClick=javascript:hzphoto("& x &") src=images/hz.gif width=31 height=20></td></tr></table></td></tr>"
next
Response.Write"</table><table width=98% height=34 border=0 cellpadding=0 cellspacing=0>"
Response.Write"<tr><td width=27 height=34 align=left valign=top><IMG height=34 src=images/search01.gif width=27></td><td width=93% align=right background=images/search03.gif>共"& x &"条记录</td><td width=3% align=right valign=top><IMG height=34 src=images/search02.gif width=27></td></tr></table>"
end if
Response.Write"</td></tr><tr align=center ><td height=12 colspan=2 valign=top background=images/newtop_5_03.gif>Copyright right Joybar 2004-2005 程序：唯情 声明：所有图片资料归原作者Tencent所有! </td></tr></table></BODY></HTML>"
Response.Write"<script language=JavaScript>function buy(id,sl,ishy)"
Response.Write"{if (ishy==1 && myhy==0){alert('对不起，您非会员，此装备为仅会员专用!');return false;}parent.myjhshow.location.href='buy.asp?id='+id+'&sl='+sl;}"
Response.Write"function setcookie(name){document.cookie = 'jhshow=' + name + ';';}"
Response.Write"function getcookie(name){var cname = name + '=';var dc = document.cookie;if (dc.length > 0) {begin = dc.indexOf(cname);if (begin != -1) {begin += cname.length;end = dc.indexOf(';', begin);if (end == -1) end = dc.length;return dc.substring(begin, end); }}return null;}"
Response.Write"function initshow(){if (par4=='M'){itemnos='||||||14|13|12||11||10|9||||8|||||||';}else{itemnos='||||||7|6|5||4||3|2||||1|||||||';}var itemnos=myshow;var showArray = itemnos.split('|');var s='';"
Response.Write"for (var i=0; i<25; i++){if(showArray[i] != ''){j = i + 1;"
Response.Write"s+='<IMG id=s'+j+' "& showgif1 &" style="& chr(34) &"padding:0;position:absolute;top:0;left:0;width:140;height:226;z-index:'+j+';"& chr(34) &">';}}"
Response.Write"s+='<IMG src=face/blank.gif style="& chr(34) &"padding:0;position:absolute;top:0;left:0;width:140;height:226;z-index:50;"&chr(34)&">';"
Response.Write"show.innerHTML=s;var newequip = '';for (var i=0; i<25; i++){temp = showArray[i];if (i==0){newequip=temp;}else{newequip += '|'+temp+'';}}"
Response.Write"setcookie(newequip);if(confirm('您是否也要将数据库中当前形像初始化？')){parent.myjhshow.location.href='initface.asp';}else{return s;}}"
Response.Write"function CheckIllegal(showArray){if((showArray[6] != '') && (showArray[7] != '') && (showArray[8] != '') && (showArray[10] != '') && (showArray[12] != '') && (showArray[13] != '') && (showArray[17] != ''))return 0;elsereturn -1;}"
Response.Write"function CHECK(par1,par2,par3,par5){if (par5==1 && myhy==0){alert('对不起，您非会员，此装备为仅会员专用!');return false;}if ((par3 != par4) && (par3 != 'U')){alert('对不起，性别不符，您无法试穿！');return false;}"
Response.Write"if (parent.old1==par1 && parent.old2==par2 && parent.old3==par3){parent.old1='';parent.old2='';parent.old3='';tuotz(par1);brushshow();return 0;}else{parent.old1=par1;parent.old2=par2;parent.old3=par3;}"
Response.Write"tuotz(par1);if (par1.indexOf('_')!=0){var taozhuang = par1.split('_');for(ii=0;ii<taozhuang.length;ii++){chuan(taozhuang[ii],par2);}}else{"
Response.Write"chuan(par1,par2);}}"
Response.Write"function tuotz(par1){if (par1.indexOf('_')!=0){var taozhuang = par1.split('_');for(ii=0;ii<taozhuang.length;ii++){tuotz1(taozhuang[ii]);}}else{tuotz1(par1);}}"
Response.Write"function tuotz1(par1){var smc=par1-1;var nowpar=showArray[smc];if (nowpar != '' && nowpar != null){var count=0;var tuotype='';for (var x=0; x<25; x++){if (showArray[x] == nowpar)"
Response.Write"{if(count == 0){tuotype = (x+1);}else{tuotype +='_' + (x+1);}count ++;}}if (count>1){if (tuotype.indexOf('_')!=0){var tuo = tuotype.split('_');for(xx=0;xx<tuo.length;xx++){switch(tuo[xx]){"
Response.Write"case '7':if(par4=='F'){showArray[tuo[xx]-1] ='7';break;}else{showArray[tuo[xx]-1] ='14';break;}case '8':if(par4=='F'){showArray[tuo[xx]-1] ='6';break;}else{showArray[tuo[xx]-1] ='13';break;}case '9':if(par4=='F'){showArray[tuo[xx]-1] ='5';break;}else{showArray[tuo[xx]-1] ='12';break;}case '11':if(par4=='F'){showArray[tuo[xx]-1] ='4';break;}else{showArray[tuo[xx]-1] ='11';break;}case '13':if(par4=='F'){showArray[tuo[xx]-1] ='3';break;}else{showArray[tuo[xx]-1] ='10';break;}"
Response.Write"case '14':if(par4=='F'){showArray[tuo[xx]-1] ='2';break;}else{showArray[tuo[xx]-1] ='9';break;}case '18':if(par4=='F'){showArray[tuo[xx]-1] ='1';break;}else{showArray[tuo[xx]-1] ='8';break;}default:showArray[tuo[xx]-1] ='';}}}}else{switch(par1){case '7':if(par4=='F'){showArray[smc] ='7';break;}else{showArray[smc] ='14';break;}"
Response.Write"case '8':if(par4=='F'){showArray[smc] ='6';break;}else{showArray[smc] ='13';break;}case '9':if(par4=='F'){showArray[smc] ='5';break;}else{showArray[smc] ='12';break;};case '11':if(par4=='F'){showArray[smc] ='4';break;}else{showArray[smc] ='11';break;}case '13':if(par4=='F'){showArray[smc] ='3';break;}else{showArray[smc] ='10';break;}"
Response.Write"case '14':if(par4=='F'){showArray[smc] ='2';break;}else{showArray[smc] ='9';break;}case '18':if(par4=='F'){showArray[smc] ='1';break;}else{showArray[smc] ='8';break;}default:showArray[smc] ='';}}}}"
Response.Write"function chuan(par1,par2){var smc=par1-1;showArray[smc] = par2;brushshow();}"
Response.Write"function brushshow(){var s='';var j=0;for (var i=0; i<25; i++){if(showArray[i] != '' && showArray[i] !=null){j=i+1;"
Response.Write"s+='<IMG id=s'+j+' "& showgif1 &" style="& chr(34) &"padding:0;position:absolute;top:0;left:0;width:140;height:226;z-index:'+j+';"& chr(34) &">';}}"
Response.Write"var newequip = '';for (var i=0; i<25; i++){temp = showArray[i];if (i==0){newequip=temp;}else{newequip += '|'+temp+'';}}setcookie(newequip);"
Response.Write"s+='<IMG src=face/blank.gif style="& chr(34) &"padding:0;position:absolute;top:0;left:0;width:140;height:226;z-index:50;"& chr(34) &">';show.innerHTML=s;}"
Response.Write"var old1='';old2='';old3='';if (getcookie('jhshow')==null){setcookie(myshow);var itemnos = getcookie('jhshow');}else{var itemnos = getcookie('jhshow');}"
Response.Write"var showArray = itemnos.split('|');var s='';for (var i=0; i<25; i++){if(showArray[i] != ''){j = i + 1;"
Response.Write"s+='<IMG id=s'+j+' "& showgif1 &" style="& chr(34) &"padding:0;position:absolute;top:0;left:0;width:140;height:226;z-index:'+j+';"& chr(34) &">';}}"
Response.Write"s+='<IMG src=face/blank.gif style="& chr(34) &"padding:0;position:absolute;top:0;left:0;width:140;height:226;z-index:50;"& chr(34) &">';show.innerHTML=s;"
Response.Write"function start_search(){document.search_form.submit();}"
Response.Write"function deleteshow(){document.cookie = 'jhshow=;';}"
Response.Write"function userAv(){parent.myjhshow.location.href='saveshow.asp?act=save&data='+getcookie('jhshow');}"
Response.Write"function faceurl(){window.open('myface.asp','myface','width=500,height=280,resizable=0,scrollbars=0,menubar=0,status=1');}"
Response.Write"function hzphoto(id){if(confirm('你确定用现在的现在的照片替换装备的照片吗？')){parent.myjhshow.location.href='delsp.asp?id='+id+'&act=hzphoto';}else{return true;}}"
Response.Write"function delphoto(id){if(confirm('像册中的照片删除后将不可以恢复，确定吗？')){parent.myjhshow.location.href='delsp.asp?id='+id+'&act=delphoto';}else{return true;}}"
Response.Write"function userPhoto(){parent.myjhshow.location.href='saveshow.asp?act=savephoto&data='+getcookie('jhshow');}</script>"
%>
