<%@ Page CodeBehind="ad_lu.aspx.cs" Language="c#" AutoEventWireup="false" Inherits="yn165.admin.ad_lu" %>
<%@ Import Namespace="System.Data"%>
<%@ Import Namespace="System.Data.SqlClient"%>
<HTML>
	<HEAD>
		<TITLE>创库网络(昆明)后台管理系统</TITLE>
		<META content="text/html; charset=gb2312" http-equiv="Content-Type">
		<META content="no-cache" http-equiv="Pragma">
		<STYLE type="text/css">INPUT { FONT-SIZE: 9pt; FONT-FAMILY: "宋体"; TEXT-DECORATION: none }
	.big { FONT-SIZE: 10.5pt; FONT-FAMILY: "宋体"; TEXT-DECORATION: none }
	A:hover { COLOR: #ff6666; FONT-FAMILY: "宋体"; TEXT-DECORATION: none }
	A { FONT-FAMILY: "宋体"; TEXT-DECORATION: none }
	TD { FONT-SIZE: 9pt; FONT-FAMILY: "宋体", "Arial", "Times New Roman"; TEXT-DECORATION: none }
	.big2 { FONT-SIZE: 10.5pt; LINE-HEIGHT: 13pt; FONT-FAMILY: "宋体"; TEXT-DECORATION: none }
	.unnamed1 { FONT-SIZE: 7pt; TEXT-DECORATION: none }
	.unnamed2 { FONT-SIZE: 12pt; TEXT-DECORATION: none }
	.box1 { BORDER-RIGHT: 1px inset; BORDER-TOP: 1px inset; FONT-SIZE: 8pt; VERTICAL-ALIGN: text-bottom; BORDER-LEFT: 1px inset; BORDER-BOTTOM: 1px inset; FONT-FAMILY: Tahoma }
	</STYLE>
		<!--web design:zheng guiwen E-mail:guiwen@zheng.com.cn -->
		<META content="Microsoft FrontPage 4.0" name="GENERATOR">
		<base target="bottom">
<script language="JavaScript">
<!--
function delete_confirm(e){
	event.returnValue=confirm("确认删除?");
}

//-->
		</script>
	</HEAD>
	<BODY aLink="#000000" bgColor="#f0f0f0" link="#000000" text="#000000" vLink="#990000" leftmargin="0" topmargin="10" marginwidth="0" marginheight="0" onLoad="">
		<form runat="server" target="_self" ID="Form1">
			<table width="100%" border="0" cellspacing="3" cellpadding="3">
				<tr>
					<td>
						<div align="center" class="unnamed2"><font color="#ff3300">到帐录入</font></div>
					</td>
				</tr>
			</table>
			<TABLE id="Table1" height="227" cellSpacing="1" cellPadding="5" width="749" align="center" bgColor="#cccccc" border="0">
				<TR bgColor="#ffffff">
					<TD width="107">&nbsp;对应的会员帐号：</TD>
					<TD width="451">&nbsp;
						<asp:TextBox id="account" runat="server" CssClass="box1"></asp:TextBox></TD>
				</TR>
				<TR bgColor="#ffffff">
					<TD width="107">&nbsp;到帐时间：</TD>
					<TD width="451">&nbsp;
						<asp:TextBox id="TextBox2" runat="server" CssClass="box1"></asp:TextBox></TD>
				</TR>
				<TR bgColor="#ffffff">
					<TD width="107">&nbsp;金额：</TD>
					<TD width="451">&nbsp;
						<asp:TextBox id="money" runat="server" CssClass="box1"></asp:TextBox></TD>
				</TR>
				<TR bgColor="#ffffff">
					<TD width="107">&nbsp;汇款方式：</TD>
					<TD width="451">&nbsp;
						<asp:TextBox id="way" runat="server" CssClass="box1"></asp:TextBox></TD>
				</TR>
				<TR bgColor="#ffffff">
					<TD width="107">&nbsp;用途：</TD>
					<TD width="451">&nbsp;
						<asp:TextBox id="usefor" runat="server" CssClass="box1"></asp:TextBox></TD>
				</TR>
				<TR bgColor="#ffffff">
					<TD width="107">&nbsp;录入时间：</TD>
					<TD width="451">&nbsp;
						<asp:TextBox id="lu_date" runat="server" CssClass="box1"></asp:TextBox></TD>
				</TR>
				<TR bgColor="#ffffff">
					<TD width="107">&nbsp;</TD>
					<TD width="451">&nbsp;
						<asp:ImageButton id="ImageButton1" runat="server" ImageUrl="../img/003.gif"></asp:ImageButton></TD>
				</TR>
			</TABLE>
			<table width="760" border="0" cellspacing="0" cellpadding="8" align="center">
				<tr>
					<td>
						<div align="center"><font color="#ff3300" class="unnamed2">到帐金额记录：</font></div>
					</td>
				</tr>
			</table>
			<table id="Table2" cellspacing="1" cellpadding="4" width="75%" bgcolor="#cccccc" border="0" align="center">
				<tr bgcolor="#ffffff">
					
      <td width="21%"> 
        <div align="center">时间</div>
					</td>
					
      <td width="16%"> 
        <div align="center">到帐金额 （元）</div>
					</td>
					
      <td width="23%"> 
        <div align="center">汇款方式</div>
					</td>
					
      <td width="31%"> 
        <div align="center">用途</div>
					</td>
					
      <td width="9%"></td>
				</tr>
				<%
SqlConnection conn = new SqlConnection("server=211.155.254.117;database=yn165;uid=yn165;pwd=159753");
conn.Open();
string sql = "select * from money_get where account ='" + Request["account"].ToString()+ "'";
SqlCommand cmd = new SqlCommand(sql,conn);
SqlDataReader reader = cmd.ExecuteReader();
while (reader.Read()){
%>
				<tr bgcolor="#ffffff">
					
      <td width="21%"> 
        <div align="center"><%=reader.GetValue(2)%></div>
					</td>
					
      <td width="16%"> 
        <div align="center"><%=reader.GetValue(3)%></div>
					</td>
					
      <td width="23%"> 
        <div align="center"><%=reader.GetValue(4)%></div>
					</td>
					
      <td width="31%"> 
        <div align="center"><%=reader.GetValue(5)%></div>
					</td>
					
      <td width="9%"> 
        <div align="center"><a href=ad_dellu.aspx?id=<%=reader.GetValue(0)%> onclick="delete_confirm(this)" target=_self>删除</a></div>
					</td>
				</tr>
				<% }
		reader.Close();
		cmd.Dispose();
		conn.Close();
		%>
			</table>
		</form>
	</BODY>
</HTML>
