<%

%>
<%if session("Uid")="" or session("ucuser")="" Then %>
	<table width="300" border="0" cellpadding="0" cellspacing="0">
		<form name="form" action="in_login_exe.asp" method="post" target="_self">
      <tr>
        <td><table width="300" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td height="20" class="reg"><strong><%=W_title%>登陆</strong></td>
            </tr>
          </table>
            <table width="300" height="1" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td bgcolor="#FBA124"></td>
              </tr>
          </table>
            <table width="288" height="3" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td></td>
              </tr>
          </table>
            <table width="300" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td width="95" height="40" align="right">用 户 名：</td>
                <td width="205">
                  <input name="ucuser" type="text" class="reginput" id="ucuser" />                </td>
              </tr>
              <tr>
                <td height="40" align="right" ><span style="padding-right: 20px;">密</span>       码：</td>
                <td><input name="ucpass" type="password" class="reginput" id="ucpass" /></td>
              </tr>
            </table>
            
            <table width="288" height="3" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td></td>
              </tr>
            </table>
            <table width="300" height="1" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td bgcolor="#FBA124"></td>
              </tr>
          </table>
          <table width="300" height="70" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td bgcolor="#FFFFFF"><table width="300" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                      <td width="120"><input type="image" name="img" src="images/login.gif" style="border:0" /></td>
                      <td width="180">如果你没有注册，这里 <a href="reg.asp" target="_self"><span class="lv">注册</span> </a></td>
                    </tr>
                </table></td>
              </tr>
          </table>        </td>
      </tr>
	  	</form>
  </table>
	
<%else%>
	
    <table width="300" border="0" cellpadding="0" cellspacing="0">
      <form name="form" action="loginexe.asp" method="post" target="_self">
        <tr>
          <td><table width="300" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td height="20" class="reg"><strong><%=W_title%>登陆</strong></td>
              </tr>
            </table>
              <table width="300" height="1" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td bgcolor="#FBA124"></td>
                </tr>
              </table>
            <table width="288" height="3" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td></td>
                </tr>
            </table>
            <table width="300" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="95" height="18">欢 迎 您：</td>
                  <td width="205" align="left"><%=session("ucuser")%></td>
                </tr>
                <tr>
                  <td width="95" height="20">短 信 息：</td>
                  <td align="left"><%
	set rs=Server.CreateObject("Adodb.Recordset")
	sql="select * from H_Message where YID="&session("Uid")&" and Mdu=0"
	rs.open sql,conn,1,1
	if not rs.eof then
	%>
	<A href="user/MReceived.asp">收件箱 <font color="#FF0000">新</font></A> 
	<embed src="../images/pm_3.mp3" hidden="true" autostart="true" loop="false" style="display:none">
	<%else%>
	<A href="user/MReceived.asp">收件箱</A> 
	<%end if%></td>
                </tr>
                <tr>
                  <td colspan="2" >&nbsp;</td>
                </tr>
                
                <tr>
                  <td height="40" colspan="2" ><a href="user/index.asp"><img src="images/btn_gomanage.gif" border="0"></a></td>
                </tr>
            </table>
            <table width="300" height="1" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td bgcolor="#FBA124"></td>
                </tr>
            </table>
            <table width="288" height="3" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td></td>
              </tr>
            </table></td>
        </tr>
      </form>
    </table>
	<%end if%>