<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="sjcz.aspx.cs" Inherits="web.admin.sjcz" %>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>ProductField</title><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
		<LINK href="images/adminstyle.css" type="text/css" rel="stylesheet">
<style type="text/css">
body {margin:0px; height:768px}
</style>
	
	

<script language="javascript" type="text/javascript">
<!--

function Button1_onclick() {
history.go(-1);
}

// -->
</script>
		<script language="JavaScript">
<!--
//By Dicky 2005-2-17 11:16:49
function Window_Load(Flag)
{

if (Flag == 0)
{

  parent.document.all['Loading'].style.display = 'block';
  parent.document.all['Loading'].style.width = '500';
   parent.document.all['Loading'].style.height = '60';
  //show the window
}
else
{
  parent.document.all['Loading'].style.display = 'none';
  
  //hide the window
}
}
//-->
</script>
</HEAD>
	<body rightmargin="0" leftmargin="0" topmargin="0" onload="Window_Load(1);">
	
		<form id="Form2" method="post" runat="server" onsubmit="Window_Load(0);">
		
<table width="100%" height="550"  cellspacing="0" cellpadding="0">
  <tr>
    <td valign="top">
<div class="top">
          <table width="100%" align="center" cellpadding="0" cellspacing="0" background="img/labelbg.gif" bgcolor="#EDF6FF">
            <tr>
		      <td height="33" class="tl"></td>
		      <td class="tm"><span class="tt">店铺管理 &gt;&gt; 商家服务费充值管理 <span style="color: #ff3300">说明:前台商家汇款后会自动充值,充值操作适用于前台汇款成功后充值失败!线下打款也适用于后台充值操作!!</span></span></td>
		      <td class="tm2"><span class="tt"></span></td>
		<td class="tr"></td>
	</tr>
</table>
</div>
        <div class="mframe"> 
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
      <td class="ml"></td>
              <td  class="mm" align="left" valign="top"> <div align="center">
             
                  
                </div>
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
                    <td bgcolor="#FFFFFF" valign="top" > <br>
                   
                 
                      <table width="97%" align="center" cellpadding="0"  cellspacing="0">
                        <tr>
		<td class="ml1" style="height: 14px"></td>
		                  <td class="mm1" style="height: 14px">
		            
       
        <asp:GridView ID="mypp" runat="server" AutoGenerateColumns="False" BorderStyle="Solid" BorderWidth="1px" Width="99%" HorizontalAlign="Center" BorderColor="#E0E0E0"  AllowPaging="True" >
            <Columns>
            
                <asp:TemplateField HeaderText="金额">
                    <ItemTemplate>
                        &nbsp;&nbsp;<%=GetCurrency() %><asp:Label ID="pname" runat="server" Text= <%# Convert.ToDecimal(Eval("AdvancePayment"))%>></asp:Label>
                    </ItemTemplate>
                    <HeaderStyle Font-Size="12px" />
                    <ItemStyle HorizontalAlign="Center" />
                
                </asp:TemplateField>
                  <asp:TemplateField HeaderText="摘要">
                    <ItemTemplate>
                        &nbsp;&nbsp;<asp:Label ID="pid" runat="server" Text=' <%# Eval("Remark")%> '></asp:Label>
                    </ItemTemplate>
                    <HeaderStyle Font-Size="12px" />
                      <ItemStyle HorizontalAlign="Center" />
                
                </asp:TemplateField>
               
                  <asp:TemplateField HeaderText="操作时间">
                    <ItemTemplate>
                        &nbsp;&nbsp;<%# Eval("AddTime")%>
                    </ItemTemplate>
                    <HeaderStyle Font-Size="12px" />
                      <ItemStyle HorizontalAlign="Center" />
                
                </asp:TemplateField>
                  
               
                  <asp:TemplateField HeaderText="支付方式">
                    <ItemTemplate>
                        &nbsp;&nbsp;<font color="FF0000"><%# getpays(Eval("paystyle").ToString())%></font>
                    </ItemTemplate>
                    <HeaderStyle Font-Size="12px" />
                      <ItemStyle HorizontalAlign="Center" />
                
                </asp:TemplateField>
                 <asp:TemplateField HeaderText="操作人">
                    <ItemTemplate>
                        &nbsp;&nbsp;<%# Eval("WorkPeople")%>
                    </ItemTemplate>
                    <HeaderStyle Font-Size="12px" />
                      <ItemStyle HorizontalAlign="Center" />
                
                </asp:TemplateField>
                 <asp:TemplateField HeaderText="状态">
                    <ItemTemplate>
                        &nbsp;&nbsp;<%# getpays(Convert.ToInt32(Eval("issucess")))%>
                    </ItemTemplate>
                    <HeaderStyle Font-Size="12px" />
                      <ItemStyle HorizontalAlign="Center" />
                
                </asp:TemplateField>
                <asp:TemplateField HeaderText="删除">
                       <ItemTemplate>
                            <a href="?action=del&ID=<%#Eval("AdvancePaymentID") %>"
                                        onclick="return confirm('确认要删除吗？');">
                                        [删除]</a>&nbsp;
                              
                      </ItemTemplate>
                    <HeaderStyle Font-Size="12px" HorizontalAlign="Center" />
                    <ItemStyle HorizontalAlign="Center" Width="50px" />
               
                   
                </asp:TemplateField>
     
              
            </Columns>
            <RowStyle Height="32px" />
            <HeaderStyle BackColor="AliceBlue" Height="35px" ForeColor="LightSalmon" CssClass="head" />
           
        </asp:GridView>
            <p class="pagemenu" style="text-align: right">
                    	<span>
                    		共<asp:Literal ID="lttotal" runat="server"></asp:Literal>
                    	    ，第<asp:Literal ID="ltcurpage" runat="server">1</asp:Literal>页/共<asp:Literal ID="lttotalpage" runat="server"></asp:Literal>页
                     	</span>
                    	<span class="padd1">
                    		<asp:LinkButton ID="lbfirst" runat="server" OnClick="lbfirst_Click" ToolTip="第一页" ><img src="images/first-icon.gif" border="0"/></asp:LinkButton>
                        	<asp:LinkButton ID="pre" runat="server"  ToolTip="上一页" OnClick="pre_Click" ><img src="images/left-icon.gif" id="IMG1" border="0"/></asp:LinkButton>
                        	<asp:LinkButton ID="lbup" runat="server" OnClick="lbup_Click" CssClass="pageA">上一页</asp:LinkButton>
                        	<asp:LinkButton ID="lbdown" runat="server" OnClick="lbdown_Click" CssClass="pageA">下一页</asp:LinkButton>
                        	<asp:LinkButton ID="next" runat="server" ToolTip="下一页" OnClick="next_Click" ><img src="images/right-icon.gif" border="0"/></asp:LinkButton>
                        	<asp:LinkButton ID="lblast" runat="server" OnClick="lblast_Click" ToolTip="最后一页"><img src="images/last-icon.gif" border="0"/></asp:LinkButton>
                        </span>
                    </p>
       
                             
		                   </td>
		<td class="mr1" style="height: 14px"></td>
	</tr>
</table>
                    </td>
  </tr>
</table>


<table width="100%" align="center" cellspacing="0" cellpadding="0">
	<tr>
		<td class="bl"></td>
		<td class="bm">&nbsp;</td>
		<td class="br"></td>
	</tr>
</table>
</td>
    <td  class="mr"></td>
  </tr>
</table>
<table width="100%" align="center" cellspacing="0" cellpadding="0">
	<tr>
		<td class="bl" style="height: 15px"></td>
		<td class="bm" style="height: 15px">&nbsp;</td>
		<td class="br" style="height: 15px"></td>
	</tr>
</table>
</div>
    </td>
  </tr>
</table>

		</form>
	</body>
</HTML>
