<!--#include file="../conn/conn.asp"-->
<!--#include file="../conn/nosql.asp"-->
<!--#include file="../conn/config.asp"-->
 <%
if session("user")="" then
response.write "<script language='javascript'>"
response.write "alert('您没还有登录，请登录后再访问本页！');"
response.write"this.location.href='/index.asp';</SCRIPT>"
response.end
end if
if session("id")="" then 
response.write "<script language='javascript'>"
response.write "alert('您没还有登录，请登录后再访问本页！');"
response.write"this.location.href='/index.asp';</SCRIPT>"
response.end
end if

sql="select * from snsn_user where id="&session("id")&""
Set rs= Server.CreateObject("ADODB.Recordset") 
rs.open sql,conn,1,1
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>我的帐户中心_<%=webname%></title>
<link rel="stylesheet" href="/css.css" type="text/css">
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.style1 {font-weight: bold}
-->
</style></head>

<body><!--#include file="../top.asp"-->
<table width="90%"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td>&nbsp;</td>
    <td width="970"><table width="970"  border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td width="10"><img src="../img/m_left.gif" width="10" height="20"></td>
          <td width="950" bgcolor="#FFFFFF"></td>
          <td width="10"><img src="../img/m_right.gif" width="10" height="20"></td>
        </tr>
        <tr bgcolor="#FFFFFF">
          <td height="188" colspan="3"><table width="950"  border="0" align="center" cellpadding="0" cellspacing="0">
              <tr><td width="1" bgcolor="efefef"></td>
                <td width="200" height="77" valign="top"><!--#include file="left.asp"--></td>
                <td width="1" bgcolor="efefef"></td>
                <td valign="top"><p>&nbsp;</p>                  <TABLE width="70%" border=0 align="center" cellPadding=0 cellSpacing=0>
                  <TBODY>
                    <TR>
                      <TD width="75%" height="25" class=C><STRONG><%=session("name")%></STRONG> (<%=session("user")%>) <%=session("ch")%>，您好:欢迎你进入帐户管理中心！ </TD>
                      <TD width="25%" rowspan="5" class=C><span class="S"><img id=face src="/ico/<%=rs("face")%>-2.gif"></span></TD>
                    </TR>
                    <TR>
                      <TD height="25" class=C><strong>站内留言</strong> -
                          <%
sql1="select count(id) from snsn_getprice where mycid="&session("id")&" and sendflag<>1"
set totle=conn.execute(sql1)
totle=totle(0)
if totle>0 then 
response.write"<img src='images/mailindex.gif' width='19' height='18' align='absMiddle'> 您有 <a href='getprice/receivemessagelist.asp'><b><font color='#ff6600'>"&totle&"</font></b></a> 条新留言! <img src='images/indexpoint.gif' width='5' height='9'> <a href='getprice/receivemessagelist.asp'>立即查看</a>"
else
response.write"<img src='images/mailindex.gif' width='19' height='18' align='absMiddle'> 您有 <a href='getprice/receivemessagelist.asp'><b><font color='#ff6600'>0</font></b></a> 条新留言! <img src='images/indexpoint.gif' width='5' height='9'> <a href='getprice/receivemessagelist.asp'>立即查看</a>"
end if%></TD>
                    </TR>
                    <TR>
                      <TD height="25" class=C><strong>我的积分</strong> - 您的积分有<%=rs("jifen")%>点</TD>
                    </TR>
                    <TR>
                      <TD height="25" class=C><strong>我的预存款</strong> - 您的预存款为<%=rs("jine")%>元</TD>
                    </TR>
                    
                  </TBODY>
                </TABLE>
                  <BR>
                  <table width="70%"  border="0" align="center" cellpadding="5" cellspacing="0">
                    <tr>
                      <td><span class="index_title"><span class="C">个人说明</span></span>:<%=rs("myuser")%></td>
                    </tr>
                    <tr>
                      <td><form name="form1" method="post" action="">

   
          把下以代码放在你的任何网页上，您就可以让您迷你屋显示在上面!!!</p>
          <TEXTAREA name=CODE_7643 cols=60 rows=4 id="CODE_7643" class="wenbenkuang" onMouseOver = "this.style.backgroundColor = '#E5F0FF'" onMouseOut = "this.style.backgroundColor = ''" >&lt;script&gt; var myhome=<%=Session("id")%>&lt;/script&gt;
&lt;script src='http://www.snsn.net/myhome.js'&gt;&lt;/script&gt;</TEXTAREA>
            <br>
            <br>
            <input type="button" name="Submit" value="复制以上代码" onclick="javascript:CopyText(document.all.CODE_7643);" class="go-wenbenkuang">



</form>

<script language="javascript">
function CopyText(obj) {
	ie = (document.all)? true:false
	

if (ie){
		var rng = document.body.createTextRange();
	

	rng.moveToElementText(obj);
		rng.scrollIntoView();
	

	rng.select();
		rng.execCommand("Copy");
		

rng.collapse(false);
	}
}

</script></td>
                    </tr>
                  </table></td>
              </tr>
            </table>
          </td>
        </tr>
    </table></td>
    <td valign="top"><img src="../img/index_img.jpg" width="10"></td>
  </tr>
</table>
<!--#include file="../end.asp"-->
</body>
</html>
