<!--#include file="conn.asp"-->
<%
	'检查访问的来源是否合法
	'call checkPrePage()


strM_ID=Trim(Session("UserID"))
%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>电子商务自助建站--您理想的助手</title>
<link href="common/styleMain.css" rel="stylesheet" type="text/css">
<script language="JavaScript" src="common/JS_CheckForm.js"></script>
</head>
<body leftmargin="0" topmargin="0" <%=strPageLoad%>>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td height="0" align="center">
		  <!--#include file="common/top.asp"-->
          </td>
        </tr>
        <tr> 
          <td height="100%" align="center" valign="top">
<TABLE class=table002 cellSpacing=0 cellPadding=0 border=0>
              <TBODY>
                <TR> 
                  <!--左边开始-->
                  <TD vAlign=top align=right width="20%">
					  <!--#include file="common/left.asp"-->
				  </TD>
                  <!--左边结束-->
                  <TD width="2%" background="images/rowline.gif">&nbsp;</TD>
                  <!--右边开始-->
					<%
					strSQL="Select m_regdate,m_expire,m_landLogin from member Where id=" & strM_ID
					rs.open strSQL,conn,1,1
					%>
                  <TD vAlign=top align=middle width="78%"> <TABLE width="100%" height="100%" border=0 cellPadding=6 cellSpacing=0>
                      <TBODY>
                        <TR> 
                          <TD vAlign=top align=left bgColor=#ffffff> 当前服务器时间：<SPAN class=Gface><%=now%></SPAN><BR> <HR SIZE=1>
						  <P>你的网址：
						  <A href="<%=MyWebUrl%>" target=_blank>
						  <FONT color=red>
						  <%=MyWebUrl%>
						  </FONT>
						  </A> 
                            <P>你的状态： 
                            <UL type=square>
                              <LI>会员级别:<strong><%=MemberLevel%></strong><LI><FONT color=red>
                                <%
							  '用户使用情况
								regdate=rs("m_regdate")
								expire=rs("m_expire")
								if DateDiff("d",regdate,expire)=7 And DateDiff("d",date,expire)>=0 then
									response.Write("试用用户")
									strMsg="您还有<FONT color=red>" & DateDiff("d",date,expire) & "天</FONT>试用期，请及时交款否则，我们将在到期<FONT color=red>7日内停止相应的网站服务。</FONT> "
								end if
										
								if DateDiff("d",regdate,expire)>7 And DateDiff("d",date,expire)>=0 then
									response.Write("付费用户")
									strMsg="您账号使用期限是:" & expire & " 距过期还有<FONT color=red>" & DateDiff("d",date,expire) & "天</FONT>，欢迎光临!"
								end if
										
								if DateDiff("d",date,expire)<0 then
									response.Write("过期用户")
									strMsg="您已经过了<FONT color=red>2天</FONT>使用期，请及时交款否则，我们将在到期<FONT color=red>7日内停止相应的网站服务。</FONT> "
								end if
							  %></FONT>:<%=strMsg%></LI>
                            </UL>
                            你可以进行的操作： 
                            <table width="100%" height="156" border="0" cellpadding="2" cellspacing="0">
                              <tr> 
                                <td height="10" colspan="3"></td>
                              </tr>
                              <tr> 
                                <td width="7%" height="50">&nbsp;</td>
                                <td width="41%"> <UL type=square>
                                    <LI><a href="Admin_Language.asp">开始网站建设</a></LI>
                                    <LI><a href="User_Bank.asp">财务管理</a></LI>
                                    <LI><a href="Admin_SetPassWorld.asp">修改密码</a></LI>
                                  </UL></td>
                                <td width="52%"> <ul type=square>
                                    <LI><a href="explorer.asp" target="_blank">资源管理</a></LI>
                                    <LI><a href="Admin_AllEdit.asp">全站编辑</a></LI>
                                    <LI><a href="Admin_Advise.asp?action=add">意见反馈</a></LI>
                                  </ul></td>
                              </tr>
                              <tr> 
                                <td>&nbsp;</td>
                                <td valign="top"> <UL type=square>
                                    <LI><a href="javascript:;">在线帮助</a></LI>
                                    <LI><a href="LOGOUT.ASP">退　出</a></LI>
                                  </UL></td>
                                <td valign="top"> <%
								if Cint(Session("UserCode"))>0 then
								%> <UL type=square>
                                    <LI><strong><a href="Admin_User.asp">网站管家</a></strong></LI>
                                  </UL>
                                  <%
								 end if
								 %> </td>
                              </tr>
                            </table>
                            
                          </TD>
                        </TR>
                      </TBODY>
                    </TABLE></TD>
                </TR>
              </TBODY>
            </TABLE></td>
        </tr>
        <tr> 
          <td height="0" align="center">
		  <!--#include file="common/bottom.asp"-->
		  </td>
        </tr>
      </table></td>
  </tr>
</table>
</body>
</html>
