<%@ Page Language="C#" MasterPageFile="~/Admin/MasterPage/AdminMasterPage.master" AutoEventWireup="true" CodeFile="TransactionAnalysis.aspx.cs" 
Inherits="Admin_TransactionAnalysis"%>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">

    <script src="script/func.js" type="text/javascript"></script>
    <script type="text/javascript" src="script/ddlevelsmenu.js"></script>
    <script type="text/javascript" language="javascript">
        function showDiv() {
            document.getElementById("view").style.display = 'block';
            document.getElementById("fill").style.display = 'block';
        }
        
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div id="content">
<div id="topdiv">
<table cellpadding="1" cellspacing="1" border="0" width="100%" >
	 <tr><td height="5"></td></tr>
	 <tr>
	     <th style="border:1px solid #563e05; text-align:left" ><a href="DashBoard.aspx" onclick="show(1)"><strong>Fund Analysis</strong></a></th>
	 </tr>
	  
		 <tr><td height="5"></td></tr>
		 <tr>
		      <th style="border:1px solid #563e05;text-align:left" ><a href="UserAnalysis.aspx" onclick="show(2)"><strong>User Analysis</strong></a></th>
		 </tr>
	     
		 <tr><td height="5"></td></tr>
		 <tr>
		   <th style="border:1px solid #563e05;text-align:left" onclick="show(3)"><a href="VendorAnalysis.aspx" ><strong>Vendor Analysis </strong></a></th>
		 </tr>
		  
		 <tr><td height="5"></td></tr>
		 <tr>
		   <th style="border:1px solid #563e05;text-align:left"><a href="TransactionAnalysis.aspx" onclick="show(4)"><strong>Transaction Analysis</strong></a></th>
		 </tr>
		  <tr><td width="100%"><div id="t4" class="lay" style="display:block;">
		  
		               <asp:GridView ID="gridviewTransactionAnalysis" runat="server" AutoGenerateColumns="False" BorderColor="#CCCCCC"
                        BackColor="White" Font-Bold="False" Font-Italic="False" Font-Overline="False" border="0"
                        Font-Strikeout="False" Font-Underline="False"
                        Width="1330px" BorderStyle="None" BorderWidth="1px" CellPadding="3"
                        ShowHeader="true" CssClass="HeaderFreeze"  
                       ShowFooter="true" onrowdatabound="gridviewTransactionAnalysis_RowDataBound" >                        
                        <RowStyle HorizontalAlign="Center" ForeColor="#000066" />
                        <Columns>                            
                            <asp:BoundField DataField="SERVICE_NAME" HeaderText="SERVICE NAME" HeaderStyle-Width="230" />
                            <asp:BoundField DataField="Success" HeaderText="Success" HeaderStyle-Width="230"/>                            
                            <asp:BoundField DataField="Pending" HeaderText="Pending" HeaderStyle-Width="230"/>
                            <asp:BoundField DataField="Refunded" HeaderText="Refunded" HeaderStyle-Width="230"/>
                            <asp:BoundField DataField="Fail" HeaderText="Fail" HeaderStyle-Width="230"/>
                            <asp:BoundField DataField="Total" HeaderText="Total" HeaderStyle-Width="230"/>                           
                        </Columns>
                        <FooterStyle BackColor="#e6f2f8" ForeColor="#e6f2f8" HorizontalAlign="Left" VerticalAlign="Middle" />
                        <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                        <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" HorizontalAlign="Center" />
                        <HeaderStyle BackColor="#e6f2f8" Font-Bold="True" ForeColor="Black" HorizontalAlign="Left" />
                        <EditRowStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                        <AlternatingRowStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                    </asp:GridView>
                              </div>
                 </td>
          </tr>	        
		 <tr><td height="5"></td></tr> 
		  
</table>
 </div>
</div>
<script type="text/javascript">
    n = 4; //number of hidden layers
    function show(a) {
        for (i = 1; i <= n; i++) {
            document.getElementById('t' + i).style.display = 'none';
        }
        document.getElementById('t' + a).style.display = 'inline';
    }
</script>
</asp:Content>

