<!--#include file="conn.asp" -->
<!--#include file="inc/usdl.asp" -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=page_title%>用户管理中心.</title>
<link href="css.css" rel="stylesheet" type="text/css">

</head>
<%  
function num_je(je)
 num_je=true
 for i=1 to len(je)
  if instr("0123456789.",mid(je,i,1))=0 then num_je=false
 next
end function
 %>
<body leftmargin="3" topmargin="0">
<!--#include file="head.asp" -->
<table width="763" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="763" height="19" valign="bottom"><font color="#990000">　→ </font>你当前位置：<a href="default.asp">首 
      页 </a>&gt;&gt;管理中心</td>
  </tr>
  <tr>
    <td height="1" background="images/2.jpg"></td>
  </tr>
</table>
<table width="763" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td width="175" valign="top"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td valign="top">
<div align="center"><img src="pic/manager.gif" width="174" border="0"></div></td>
        </tr>
        <tr> 
          <td height="17" bgcolor="#EEEEEE"> <div align="left">欢迎: <font color="#FF0000"><strong><%= session("us") %></strong></font> 光临</div></td> 
        </tr>
        <tr> 
          <% us=session("us")
			sql="select * from user where userid='"&us&"'"
			rs.open sql,conn,1,1
			
			 %>
          <td><p><font color="#FF0000">您的账面存款：</font></p>
            <p>&nbsp;</p>
            <p align="center"><font color="#FF0000">￥ <%= rs("je") %></font></p> 
            <p align="center">&nbsp;</p>
            <p>客户等级: <font color="#FF0000"><%= rs("dl")  %> 
              <% rs.close 
			  if Trim(Request.QueryString("w"))="save" then
			   if Trim(Request("je"))<>"" and Trim(Request("dat"))<>"" and Trim(Request("fs"))<>"" and num_je(Trim(Request("je"))) then
			   ms="您的入账确认已经发出.....请不要重复提交"
			   sql="insert into log (userid,fs,dat,je,ll,bak) values ('"&session("us")&"','"&Trim(Request.Form("fs"))&"','"&Trim(Request.Form("dat"))&"','"&Trim(Request.Form("je"))&"','入账','"&Trim(Request.Form("bak"))&"')"
			   conn.execute(sql)
			   %>
			   <script language="JavaScript" type="text/JavaScript">
                 alert("财务入账确认提交成功，请不要重复刷新..");
               </script>
			   <%
			   else
			   ms="您的入账确认没有提交不成功......请确定各项都填定好了.金额只能为数字....请重新提交.."
			   %>
			   <script language="JavaScript" type="text/JavaScript">
                 alert("带*号的请填完整,入账金额只能为数字.");
               </script>
			   <%
			   end if 
               end if  
			   %>
              </font></p></td>
        </tr>
        <tr>
          <td height="1" background="images/2.jpg"> </td>
        </tr>
      </table> 
	  <div align="center"> 
       <!--#include file="user_inc.asp" -->
        </div></td>
    <td width="1" background="images/1.jpg"> </td>
    <td width="587" valign="top"> 
      <table width="573" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="573"><div align="center"><a href="user.asp"><img src="images/mameger.gif" width="437" height="43"></a></div></td>
        </tr>
        <tr>
          <td height="16"><form action="user5.asp?w=save" method="post" name="frm1" id="frm1">
              <table width="85%" height="228" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr bgcolor="#0080C0"> 
                  <td height="16" colspan="2"><font color="#FFFFFF">　财务入账确认</font></td>
                </tr>
                <tr> 
                  <td width="21%">用户id:</td>
                  <td width="79%"><%= session("us") %></td>
                </tr>
                <tr> 
                  <td>汇款日期:</td>
                  <td><input name="dat" type="text" id="dat" size="15">
                    <font color="#FF0000">＊银行回单上的日期(年-月-日)</font></td> 
                </tr>
                <tr> 
                  <td height="20">入账金额:</td>
                  <td><input name="je" type="text" id="je" value="0" size="10">
                    <font color="#FF0000">＊</font>您实际给我们汇款的金额 只能为数字</td> 
                </tr>
                <tr> 
                  <td>汇款方式:</td>
                  <td><input name="fs" type="text" id="fs2" size="30">
                    <font color="#FF0000">＊请在这里写您是通过什么方试给我们汇的汇，或是银行的账号</font></td> 
                </tr>
                <tr> 
                  <td height="80">附　言:</td>
                  <td><textarea name="bak" cols="35" rows="4" id="bak"></textarea></td>
                </tr>
                <tr>
                  <td>&nbsp;</td>
                  <td><input name="ff" type="submit" id="ff" value="=确定发出确认=" ></td>
                </tr>
              </table>
            </form></td>
        </tr>
      </table>
      <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr> 
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
        <tr > 
          <td colspan="2" background="images/2.jpg"> </td>
        </tr>
        <tr> 
          <td height="58" colspan="2">
<p>[ <font color="#FF0000">注:</font>请已经给我们汇款的客户在汇款后在这里发出汇款申请,以被我们及时查询账号给您入账,一般在您汇出款后的24小时内我们就可以收到您的汇款,一笔汇款您只需要提交一次就可以了,请不要重复提交]</p> 
            </td>
        </tr>
      </table>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p align="center"><font color="#FF0000"><%= ms %></font></p></td>
  </tr>
  <tr> 
    <td>&nbsp;</td>
    <td colspan="2">&nbsp;</td>
  </tr>
</table>
<%
call CloseDatabase '关闭数据库链接
%>
<!--#include file="top.asp" -->

</body>
</html>





























