<div class="page-content">

<style>


.outer {position:relative}
.inner {
  overflow-x:scroll;
  overflow-y:visible;
}
</style>



<?php
						
						
?>                            <form action="action-pages/call/allocate-sid-action.php" method="post">

<div class="container-fluid">

                                

<div data-widget-group="group1">
<h3>Today's Call</h3>
	<div class="row">
		<div class="col-md-12">
			<div class="panel panel-default">
				<div class="panel-heading">
					<h2>Today's Call : <?php echo date("d M Y"); ?> </h2>
					<div class="panel-ctrls"></div>
				</div>
				<div class="panel-body no-padding">


					<table id="example" class="table table-striped table-bordered" cellspacing="0" width="100%">
						<thead>
							<tr>
								<th width="54">S.No.</th>
                                <th width="141">Lead Id</th>
							  <th width="335">Name</th>
							  <th width="318">Course</th>
								<th width="179">Contact No</th>
							  <th width="153" align="center">Date</th>
							  
							  <th width="75">Action  </th>
						  </tr>
						</thead>
						<tbody>
							<?php
							
							$d=date('m/d/Y');
							//echo "SELECT * FROM  `lead_caller_remark` WHERE  `admin_id` =14 AND  `call_date` =  '$d' ORDER BY  `lead_caller_remark`.`id` DESC";
							$GetList = mysql_query("SELECT * FROM  `lead_caller_remark` WHERE  `admin_id` ='$_SESSION[admin_id]' AND  `call_date` =  '$d' ORDER BY  `lead_caller_remark`.`id` DESC");
							while($GetList1 = mysql_fetch_assoc($GetList))
							{
							 $s =$_REQUEST['v'];
							$u = $s+0;
							$GetStudentDetail=mysql_query("SELECT * FROM  `lead2017` WHERE  `id` ='$GetList1[lead_id]'");
							$GetStudentDetail1=mysql_fetch_assoc($GetStudentDetail);
							
							
							
							
							?>
							
							<tr class="odd">
								
                                <td align="center"><?php echo $_REQUEST['v'] = $u+1; ?></td>
								<td><?php echo $GetStudentDetail1['name']; ?></td>
                                <td><?php echo $GetStudentDetail1['name']; ?></td>
								   <td class="center"><?php echo $GetStudentDetail1['course']; ?></td>
								<td><?php echo $GetStudentDetail1['mobile']; ?></td>
								   <td class="center" align="center"><?php $ttk=$GetStudentDetail1['time']; 
								   echo date('d-m-Y H:i', $ttk);
								    ?>								   </td>
                                    
								   <td class="center"><a href="admin.php?page=<?php echo $convert->encode("View-Lead");?>&&id=<?php echo $convert->encode($GetList1['lead_id']); ?>">View</a></td>
							   </tr>
							   <?php
							
							  
							   }
							   ?>
						</tbody>
					</table>
                    
                  
			  </div>
				<div class="panel-footer"> </div>
			</div>
		</div>
	</div>

</div>
                            </div></form> <!-- .container-fluid -->
                        </div>
						
						<script type="text/javascript" src="assets/js/jquery-1.10.2.min.js"></script> 							<!-- Load jQuery -->
<script type="text/javascript" src="assets/js/jqueryui-1.10.3.min.js"></script> 							<!-- Load jQueryUI -->
<script type="text/javascript" src="assets/js/bootstrap.min.js"></script> 								<!-- Load Bootstrap -->
<script type="text/javascript" src="assets/js/enquire.min.js"></script> 									<!-- Load Enquire -->

<script type="text/javascript" src="assets/plugins/velocityjs/velocity.min.js"></script>					<!-- Load Velocity for Animated Content -->
<script type="text/javascript" src="assets/plugins/velocityjs/velocity.ui.min.js"></script>

<script type="text/javascript" src="assets/plugins/wijets/wijets.js"></script>     						<!-- Wijet -->

<script type="text/javascript" src="assets/plugins/codeprettifier/prettify.js"></script> 				<!-- Code Prettifier  -->
<script type="text/javascript" src="assets/plugins/bootstrap-switch/bootstrap-switch.js"></script> 		<!-- Swith/Toggle Button -->

<script type="text/javascript" src="assets/plugins/bootstrap-tabdrop/js/bootstrap-tabdrop.js"></script>  <!-- Bootstrap Tabdrop -->

<script type="text/javascript" src="assets/plugins/iCheck/icheck.min.js"></script>     					<!-- iCheck -->

<script type="text/javascript" src="assets/plugins/nanoScroller/js/jquery.nanoscroller.min.js"></script> <!-- nano scroller -->

<script type="text/javascript" src="assets/js/application.js"></script>
<script type="text/javascript" src="assets/demo/demo.js"></script>
<script type="text/javascript" src="assets/demo/demo-switcher.js"></script>

<script type="text/javascript" src="assets/plugins/datatables/jquery.dataTables.js"></script>
<script type="text/javascript" src="assets/plugins/datatables/dataTables.bootstrap.js"></script>
<script type="text/javascript" src="assets/demo/demo-datatables.js"></script>

