<style>
.print_heading
{
font-weight:bold;
font-size:18px;
font-family: "Courier", Times, serif; 
text-decoration:none;
text-shadow:#FFF 0 0 1px;
} 
.print_sub_heading
{
font-size:14px;
font-family: "Courier", Times, serif; 
text-decoration:none;
}
.print_sub_heading_receipt
{
font-family: "Courier", Times, serif; 
font-size:14px;
color:#000;
text-decoration:none;
text-shadow:#FFF 0 0 1px;
} 
.items
{
border-collapse:collapse; 
margin-left:auto; 
font-size:15px;
margin-right:auto;
font-family: "Courier", Times, serif; 
font-weight:bold;
} 
.items_txt
{
border-collapse:collapse; 
margin-left:auto;
font-size:13px;
margin-right:auto;
font-family: "Courier", Times, serif; 
} 
.print_border_dash
{
border-bottom:#000 1px dashed;
border-top:#000 1px  dashed;	
}
.print_border_solid
{
border-bottom:#000 1px solid;
border-top:#000 1px  solid;	
}
</style>
<style type="text/css">
.chat
{
	background-image:url(images/ben-pie-chart.png);
	width:250px;
	height:171px;
}
#example thead tr th label{color:#fff;}
</style>
<?php
   
	include ("../../include/db.php");

	 $fdate=$_GET['fdate'];
	 $fdate1=date('d-m-Y',strtotime($fdate));  
	$tdate=$_GET['tdate'];
$tdate1=date('d-m-Y',strtotime($tdate));  
?>
  
    <table width="98%" border="0" align="center">
    
  <tr>
    <td align="center" class="print_heading" >&nbsp;</td>
  </tr>
  <tr>
    <td align="center" class="print_heading" >&nbsp;</td>
  </tr>
  <tr>
    <td align="center" class="print_heading" >AGARWAL SWEETS</td>
    </tr>
     <tr>
    <td align="center"  class="print_sub_heading" >Erode</td>
    </tr>
</table>
    <table width="100%" height="127" align="center"  cellpadding="0" cellspacing="0" >
      <thead>
        <tr>
          <th width="79" height="34" style="border-bottom:#000 1px solid;border-top:#000 1px solid; " scope="col">S.No</th>
          <th width="482" align="left" scope="col" style="border-bottom:#000 1px solid;border-top:#000 1px solid; ">User Name</th>
          <th scope="col" width="676" align="left" style="border-bottom:#000 1px solid;border-top:#000 1px solid; ">Active </th>
        </tr>
        <?php

  include ("../../include/db.php");
  $sql="select * from  login order by id DESC ";
    $rs=mysql_query($sql);
	$sno=0;
   while($rsdata=mysql_fetch_array($rs))
  {
   
   $from=$from+1;
   
   $user=$rsdata['user_name'];
    
  $status=$rsdata['active_status'];

 ?>
        <tr >
          <td width="79"  align="center"><?php echo $from; ?></td>
          <td width="482" align="left" ><?php echo $user;?></td>
          <td align="left" ><?php echo $status;?> </td>
        </tr>
        <?php } ?>
        <tr  class="reference_table">
          <td width="79" height="34" align="center" style="border-bottom:#000 1px solid;border-top:#000 1px solid; ">&nbsp;</td>
          <td  align="left" style="border-bottom:#000 1px solid;border-top:#000 1px solid; " >&nbsp;</td>
          <td  align="left" style="border-bottom:#000 1px solid;border-top:#000 1px solid; ">&nbsp;</td>
        </tr>
    </table>
    