<?
$fullName  = $this->session->userdata('fullName');
$currentCalls = $this->generallib->getTotalCurrentCall();
?>


<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:mb="http://mdgolamrabbany.org"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>::.PVS3000.:: Billing Solution</title>

    <link rel="shortcut icon" type="image/png" href="http://vcs-demo.jerasoft.net/static/favicon.png">

    <link rel="stylesheet" type="text/css" href="<?=base_url()?>css/general.css">
    <link rel="stylesheet" type="text/css" href="<?=base_url()?>css/layout.css">
    <link rel="stylesheet" type="text/css" href="<?=base_url()?>css/jquery-ui-1.9.2.css">
    <link rel="stylesheet" type="text/css" href="<?=base_url()?>css/jquery.multiselect.css">
    <link rel="stylesheet" type="text/css" href="<?=base_url()?>css/print.css" media="print">

    <script type="text/javascript" src="<?=base_url()?>js/jquery-1.8.3.js"></script>
    <script type="text/javascript" src="<?=base_url()?>js/jquery-ui-1.9.2.js"></script>
    <script type="text/javascript" src="<?=base_url()?>js/jquery-ui-timepicker-addon.js"></script>
    <script type="text/javascript" src="<?=base_url()?>js/jquery.jgrowl.js"></script>
    <script type="text/javascript" src="<?=base_url()?>js/jquery.tooltip.js"></script>
    <script type="text/javascript" src="<?=base_url()?>js/jquery.multiselect.js"></script>
    <script type="text/javascript" src="<?=base_url()?>js/jquery.fixedtableheader.js"></script>
    <!-- <script type="text/javascript" src="<?=base_url()?>js/interface.js"></script> -->
    <script type="text/javascript" src="<?=base_url()?>js/helpers.js"></script>
    <script type="text/javascript" src="<?=base_url()?>js/ss.js"></script>
    <script type="text/javascript" SRC="<?=base_url()?>js/billing.js"></script>




    <!-- module-related scripts and styles -->
        <link rel="stylesheet" type="text/css" href="<?=base_url()?>css/styles.css">

</head>
<body class="L-main M-cc A-list">
<div id="I-header">
    <a id="I-logo" href="#"><img src="<?=base_url()?>images/logo123.png" alt="" width="170" height="50"></a>
        <ul id="I-header-menu">
        	<li>Signed in as: <?=$fullName?></li>
        	<li><a href="<?=site_url('logout')?>"><strong>Logout</strong></a></li>
    	</ul>

        <ul class="I-header-block op-fade" id="I-header-status">
        	<li title="Load Average / CPU Cores"><img src="<?=base_url()?>images/loadavg.png" width="16" height="16"> 0.00/1</li>
        	<li title="Services Active"><img src="<?=base_url()?>images/services.png" width="16" height="16"> 3</li>
    	</ul>



   <ul class="I-header-block op-fade">
        <li title="new CDRs in queue to process"><img src="<?=base_url()?>images/queue-new.png" width="16" height="16"> 0</li>
        <li title="CDRs in queue for rerating"><img src="<?=base_url()?>images/queue-rerating.png" width="16" height="16"> 0</li>
   </ul>

                                                        </div>

<div id="I-bar">
        <ul class="I-bar-left" id="I-bar-menu">

            <!--<li><a href="<?=site_url('admin/cpanel')?>"><span>Dashboard</a></span>-->
            <li><span>Configuration</span>
            	<ul>

            		<li><a href="<?=site_url('admin/cpanel/profileInfo')?>"><img src="<?=base_url()?>images/menuIcon(38).png" alt="" width="16" height="16"> Settings</a></li>
            		<!--
            		<li><a href="#"><img src="<?=base_url()?>images/menuIcon(18).png" alt="" width="16" height="16"> Calls Rerating</a></li>
            		-->
            		<li><a href="<?=site_url('gateway/trunkList')?>"><img src="<?=base_url()?>images/menuIcon(37).png" alt="" width="16" height="16"> VoIP Gateways</a></li>
            		<li><a href="<?=site_url('client/didNumberList')?>"><img src="<?=base_url()?>images/menuIcon(28).png" alt="" width="16" height="16">DID Management</a></li>
            		<li><a href="<?=site_url('user/userList')?>"><img src="<?=base_url()?>images/menuIcon(35).png" alt="" width="16" height="16">Administrator User</a></li>
            		<li><a href="<?=site_url('admin/cpanel/passwordFrom')?>"><img src="<?=base_url()?>images/menuIcon(32).png" alt="" width="16" height="16">Change Password</a></li>
            		<!--
            		<li><a href="#"><img src="<?=base_url()?>images/menuIcon(28).png" alt="" width="16" height="16"> Code Decks</a></li>
            		<li><a href="#"><img src="<?=base_url()?>images/menuIcon(29).png" alt="" width="16" height="16"> Currencies</a></li>
            		<li><a href="#"><img src="<?=base_url()?>images/menuIcon(30).png" alt="" width="16" height="16"> Payment Accounts</a></li>
            		<li><a href="#"><img src="<?=base_url()?>images/menuIcon(31).png" alt="" width="16" height="16"> Payment Terms</a></li>
            		<li><a href="#"><img src="<?=base_url()?>images/menuIcon(32).png" alt="" width="16" height="16"> Payment Gateways</a></li>
            		<li><a href="#"><img src="<?=base_url()?>images/menuIcon(33).png" alt="" width="16" height="16"> Time Profiles</a></li>
            		<li><a href="#"><img src="<?=base_url()?>images/menuIcon(34).png" alt="" width="16" height="16"> Taxes Profiles</a></li>
            		<li><a href="#"><img src="<?=base_url()?>images/menuIcon(36).png" alt="" width="16" height="16"> Invoices Templates</a></li>
            		-->
            	</ul>
        	</li>

             <li><span>Client Section</span>
            	<ul>
            		<li><a href="<?=site_url('client/clientsIPList')?>"><img src="<?=base_url()?>images/menuIcon.png" alt="" width="16" height="16"> Wholesale clients</a></li>
            		<li><a href="<?=site_url('client/sipClientList')?>"><img src="<?=base_url()?>images/menuIcon(8).png" alt="" width="16" height="16">Retail Clients</a></li>
            		<li><a href="<?=site_url('client/aniClientList')?>"><img src="<?=base_url()?>images/menuIcon(6).png" alt="" width="16" height="16">Calling Cards</a></li>
            		<li><a href="<?=site_url('client/lotsNameList')?>"><img src="<?=base_url()?>images/menuIcon(16).png" alt="" width="16" height="16">Account Generation</a></li>
					<!--
            		<li><a href="#"><img src="<?=base_url()?>images/menuIcon(1).png" alt="" width="16" height="16"> Rate Tables</a></li>
            		<li><a href="#"><img src="<?=base_url()?>images/menuIcon(2).png" alt="" width="16" height="16"> Invoices</a></li>
            		<li><a href="#"><img src="<?=base_url()?>images/menuIcon(3).png" alt="" width="16" height="16"> Transactions</a></li>
            		<li><a href="#"><img src="<?=base_url()?>images/menuIcon(4).png" alt="" width="16" height="16"> Balance Report</a></li>
            		<li><a href="#"><img src="<?=base_url()?>images/menuIcon(5).png" alt="" width="16" height="16"> Resellers</a></li>
            		-->
            	</ul>
        	</li>


             <li><span>Reseller Section</span>
            	<ul>
            		<li><a href="<?=site_url('reseller/resellerLevel4List')?>"><img src="<?=base_url()?>images/group_green.png" alt="" width="16" height="16">Reseller IV List</a></li>
            		<li><a href="<?=site_url('reseller/resellerLevel3List')?>"><img src="<?=base_url()?>images/group_green.png" alt="" width="16" height="16">Reseller III List</a></li>
            		<li><a href="<?=site_url('reseller/resellerLevel2List')?>"><img src="<?=base_url()?>images/group_green.png" alt="" width="16" height="16">Reseller II List</a></li>
            		<li><a href="<?=site_url('reseller/resellerLevel1List')?>"><img src="<?=base_url()?>images/group_green.png" alt="" width="16" height="16">Reseller I List</a></li>
					<!--
            		<li><a href="#"><img src="<?=base_url()?>images/menuIcon(1).png" alt="" width="16" height="16"> Rate Tables</a></li>
            		<li><a href="#"><img src="<?=base_url()?>images/menuIcon(2).png" alt="" width="16" height="16"> Invoices</a></li>
            		<li><a href="#"><img src="<?=base_url()?>images/menuIcon(3).png" alt="" width="16" height="16"> Transactions</a></li>
            		<li><a href="#"><img src="<?=base_url()?>images/menuIcon(4).png" alt="" width="16" height="16"> Balance Report</a></li>
            		<li><a href="#"><img src="<?=base_url()?>images/menuIcon(5).png" alt="" width="16" height="16"> Resellers</a></li>
            		-->
            	</ul>
        	</li>


             <li><span>Tariff Section</span>
            	<ul>
            		<li><a href="<?=site_url('rate/rateList')?>"><img src="<?=base_url()?>images/menuIcon(1).png" alt="" width="16" height="16">Tariff Tables</a></li>
            		<li><a href="<?=site_url('rate/tariffAnalysis/0')?>"><img src="<?=base_url()?>images/menuIcon(21).png" alt="" width="16" height="16">Tariff Analysis</a></li>
            		<!-- <li><a href="<?=site_url('rate/featureTariffPlan/0/NULL')?>"><img src="<?=base_url()?>images/menuIcon(42).png" alt="" width="16" height="16">Feature Tariff Plan</a></li> -->
            	</ul>
        	</li>

            <li><span>Routing Plan</span>
            	<ul>
            		<li><a href="<?=site_url('gateway/dialPlanList/0/0')?>"><img src="<?=base_url()?>images/menuIcon(25).png" alt="" width="16" height="16">General Routing</a></li>
            		<!-- <li><a href="#"><img src="<?=base_url()?>images/menuIcon(26).png" alt="" width="16" height="16">Load Balacne Routing</a></li> -->
            		<li><a href="<?=site_url('gateway/lcrDialPlanList/1/0')?>"><img src="<?=base_url()?>images/menuIcon(27).png" alt="" width="16" height="16">LCR Routing</a></li>
            	</ul>
        	</li>



            <li><span>Statistics</span>
            	<ul>
            		<li><a href="<?=site_url('call/activeCallList')?>"><img src="<?=base_url()?>images/menuIcon(23).png" alt="" width="16" height="16"> Active Calls</a></li>
            		<li><a href="<?=site_url('call/sucessCallList/1')?>"><img src="<?=base_url()?>images/menuIcon(18).png" alt="" width="16" height="16">Success Calls</a></li>
            		<li><a href="<?=site_url('call/sucessCallList/0')?>"><img src="<?=base_url()?>images/remove.png" alt="" width="16" height="16">Failed Calls</a></li>
            		<li><a href="<?=site_url('Failed_call/failedCallList')?>"><img src="<?=base_url()?>images/queue-new.png" alt="" width="16" height="16">Internal Error</a></li>
            		<!--
            		<li><a href="#"><img src="<?=base_url()?>images/menuIcon(6).png" alt="" width="16" height="16"> Calling Cards</a></li>
            		<li><a href="#"><img src="<?=base_url()?>images/menuIcon(7).png" alt="" width="16" height="16"> Top-up Cards</a></li>
            		<li><a href="#"><img src="<?=base_url()?>images/menuIcon(8).png" alt="" width="16" height="16"> Call Shops</a></li>
            		<li><a href="#"><img src="<?=base_url()?>images/menuIcon(9).png" alt="" width="16" height="16"> Packages</a></li>
            		<li><a href="#"><img src="<?=base_url()?>images/menuIcon(10).png" alt="" width="16" height="16"> DID Management</a></li>
            		-->
            	</ul>
        	</li>

            <li><span>Summary Report</span>
            	<ul>
            		<li><a href="<?=site_url('call/sucessCallSummary')?>"><img src="<?=base_url()?>images/menuIcon(11).png" alt="" width="16" height="16">Summary Report</a></li>
            		<li><a href="<?=site_url('call/wholesaleCallSummary')?>"><img src="<?=base_url()?>images/menuIcon(12).png" alt="" width="16" height="16">Wholesale Call Summary</a></li>
            		<li><a href="<?=site_url('call/retailCallSummary')?>"><img src="<?=base_url()?>images/menuIcon(13).png" alt="" width="16" height="16">Retail Call Summary</a></li>
            		<li><a href="<?=site_url('call/callingCardCallSummary')?>"><img src="<?=base_url()?>images/menuIcon(14).png" alt="" width="16" height="16">Calling Card Call Summary</a></li>
            		<!--
            		<li><a href="#"><img src="<?=base_url()?>images/menuIcon(15).png" alt="" width="16" height="16">Profit Summary</a></li>
            		-->
            		<!--
            		<li><a href="#"><img src="<?=base_url()?>images/menuIcon(16).png" alt="" width="16" height="16"> CDRs List</a></li>
            		<li><a href="#"><img src="<?=base_url()?>images/menuIcon(17).png" alt="" width="16" height="16"> Mismatches Report</a></li>
            		<li><a href="#"><img src="<?=base_url()?>images/menuIcon(18).png" alt="" width="16" height="16"> Calls Rerating</a></li>
            		<li><a href="#"><img src="<?=base_url()?>images/menuIcon(19).png" alt="" width="16" height="16"> Reports to E-mail</a></li>
            		<li><a href="#"><img src="<?=base_url()?>images/menuIcon(20).png" alt="" width="16" height="16"> Archive Management</a></li>
            		-->
            	</ul>
        	</li>

            <li><span>Accounts</span>
            	<ul>
            		<!--<li><a href="#"><img src="<?=base_url()?>images/menuIcon(15).png" alt="" width="16" height="16"> Profit Summary</a></li> -->
            		<li><a href="<?=site_url('call/wholesaleCallProfitSummary')?>"><img src="<?=base_url()?>images/menuIcon(21).png" alt="" width="16" height="16"> Carrier Wise Summary</a></li>
            		<li><a href="<?=site_url('payment_summery/reseller_payment_summery')?>"><img src="<?=base_url()?>images/menuIcon(22).png" alt="" width="16" height="16"> Reseller Payment List</a></li>
            		<li><a href="<?=site_url('payment_summery/client_payment_summery')?>"><img src="<?=base_url()?>images/menuIcon(24).png" alt="" width="16" height="16"> Client Payment List</a></li>
            		<!--<li><a href="#"><img src="<?=base_url()?>images/menuIcon(24).png" alt="" width="16" height="16"> Factors Watcher</a></li> -->
            	</ul>
        	</li>





            <li><span>System</span>
            	<ul>
            		<li><a href="<?=site_url('admin/cpanel/accessLog')?>"><img src="<?=base_url()?>images/menuIcon(39).png" alt="" width="16" height="16"> Activity Log</a></li>
            		<!--<li><a href="#"><img src="<?=base_url()?>images/menuIcon(40).png" alt="" width="16" height="16"> Mail Queue</a></li> -->
            		<li><a href="<?=base_url()?>sysinfo" target="_blank"><img src="<?=base_url()?>images/menuIcon(41).png" alt="" width="16" height="16"> System Status</a></li>
            		<li><a href="<?=site_url('admin/cpanel/dbBackTask')?>"><img src="<?=base_url()?>images/menuIcon(42).png" alt="" width="16" height="16"> DB Backup Scheduler</a></li>
            	</ul>
        	</li>
        </ul>


        <ul class="I-bar-left" id="I-bar-sb">
            <li class="op-fade">
            	<a href="<?=site_url('admin/cpanel/registerUsers')?>" rel='facebox' title="Register Users"><img src="<?=base_url()?>images/menuIcon.png" alt="Management / Clients" width="16" height="16"></a>
            </li>

    	</ul>


    	<div class="I-bar-right op-fade" id="I-run-time" mb:stamp="1407598249" mb:tzu="UTC" mb:tzl="+0000" mb:format="%m/%d/%Y %H:%M:%S %z">08/09/2014 15:30:49 +0000</div>
    	<div class="I-bar-right op-fade"><a href="<?=site_url('admin/cpanel')?>"><img src="<?=base_url()?>images/home.png" width="16" height="16"></a></div>
	</div>


	<div class="hidden" id="tz-default" mb:tz-default="UTC"></div>



<div id="container">