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

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

    <script src="script/ddlevelsmenu.js" type="text/javascript"></script>

    <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" style="background:none">
<div id="topdiv" style="background:none">
   <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" onclick="show(1)"><a href="#"><strong>Fund Analysis</strong></a></th>
		 </tr>
		  <tr><td><div id="t1">
		            <table cellpadding="0" cellspacing="1" border="0" width="100%" class="table2">
                      <tr style="background:#c9e9f7;">
            <td colspan="3" style="text-align:center; background:#e6f2f8;"><strong>User Fund</strong></td>
	        <td colspan="3" style="text-align:center; background:#e6f2f8;"><strong>Vendor Fund</strong></td>
	        <%--<td colspan="3"><strong>SMS Fund/Credit</strong></td>--%>
          </tr>  
                      <tr>
            <td width="15%">Agent</td>
            <td width="1%"><strong>:</strong></td>
            <td width="14%"><asp:Label ID="lbl_AgentAmount" runat="server"></asp:Label></td>
	        <td width="18%"></td>
	        <td width="1%"><strong></strong></td>
	        <td width="16%"><asp:Label ID="lbl_eGenApiBal" runat="server" Text=""></asp:Label></td>
	        
          </tr>
                      <tr>
             <td>Distributor</td>
            <td><strong>:</strong></td>
            <td><asp:Label ID="lbl_DistributorAmount" runat="server"></asp:Label></td>
	        <td width="13%"></td>
	        <td width="1%"><strong></strong></td>
	        <td width="21%"><asp:Label ID="lbl_ExcelApiBal" runat="server" Text=""></asp:Label></td>
       
          </tr>
                      <tr>
            <td>Master Distributor </td>
            <td><strong>:</strong></td>
            <td><asp:Label ID="lbl_MDS" runat="server"></asp:Label></td>
	        <td width="13%"></td>
	        <td width="1%"><strong></strong></td>
	        <td width="21%"><asp:Label ID="lbl_IWTApiBal" runat="server" Text=""></asp:Label></td>
	        
          </tr>
           <tr>
           <td>White Label </td>
            <td><strong>:</strong></td>
            <td><asp:Label ID="lbl_WL" runat="server"></asp:Label></td>
	        <td width="13%"></td>
	        <td width="1%"><strong></strong></td>
	        <td width="21%"><asp:Label ID="lbl_ApiWorld" runat="server" Text=""></asp:Label></td>
	        
          </tr>
          <tr>
           <td><strong>Total Fund</strong></td>
            <td><strong>:</strong></td>
            <td><strong><asp:Label ID="lbl_TotalAmountUser" runat="server"></asp:Label></strong></td>
	        <td width="13%"><strong></strong></td>
	        <td width="1%"><strong></strong></td>
	        <td width="21%"><strong><asp:Label ID="lbl_TotalAmountinAPI" runat="server" Text=""></asp:Label></strong></td>
	       
          </tr>
          
          <tr>
            <td colspan="9" style="background:#e6f2f8; text-align:center"><strong style="font-size:16px;">Reserve Position </strong>&nbsp;&nbsp;&nbsp;<strong><asp:Label ID="lbl_reserveposition" runat="server" /></strong></td>
          </tr>
                    </table>
	             </div>
	           </td>
	      </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 "><a href="VendorAnalysis.aspx" onclick="show(3)"><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 height="5"></td></tr> 
		  
</table>
 </div>
</div>
<script>
    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>

