<?php
$da=date('m/d/Y');
$GetTodayCall=mysql_query("SELECT * FROM `sgvu_telecalling_remark` WHERE `interested` = 1 AND `call_back_date` = '$da' AND `caller` ='$_SESSION[admin_id]'");

$GetCallDesk=mysql_query("SELECT * FROM `sgvu_telecaller_query` WHERE `user` = '$_SESSION[admin_id]' AND `status` = '0'");


?>


<div class="static-sidebar">
                        <div class="sidebar">
	
	<div class="widget stay-on-collapse" id="widget-sidebar">
        <nav role="navigation" class="widget-body">
	<ul class="acc-menu">
		<li class="nav-separator"><span>Explore</span></li>
        
		<li><a href="admin.php?page=<?php echo $convert->encode("dashboard");?>"><i class="ti ti-home"></i><span>Dashboard</span></a></li>
        <li><a href="javascript:;"><i class="ti ti-control-shuffle"></i><span>Lead Master</span></a>
        	<ul class="acc-menu">
        		<li><a href="admin.php?page=<?php echo $convert->encode("generate-sid-telecaller");?>">Add Lead</a>
				</li>
        		<li><a href="admin.php?page=<?php echo $convert->encode("view-generated-sid");?>">Total Lead</a></li>
							
      	</ul>
        </li>
<li><a href="admin.php?page=<?php echo $convert->encode("todays-call");?>"><i class="ti ti-layout"></i><span>Today's Call</span><span class="badge badge-danger"><?php echo mysql_num_rows($GetTodayCall); ?></span></a></li>
				
		
		 <li><a href="javascript:;"><i class="ti ti-control-shuffle"></i><span>Reports</span></a>
        	<ul class="acc-menu">
        		<li><a href="admin.php?page=<?php echo $convert->encode("daily-report-telecaller");?>">Daily Reports</a>
				</li>
        		<li><a href="custom-skylo.html">Total Reports</a></li>
						
      	</ul>
        </li>
		

	</ul>
</nav>
    </div>

    
</div>
                    </div>