<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="100%" 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="80" align="center"  cellpadding="0" cellspacing="0" >
  <thead>
    
    <tr>
      <th width="61" height="31" style="border-bottom:#000 1px solid;border-top:#000 1px solid; " scope="col">S.No</th>
      <th width="271" align="left" scope="col" style="border-bottom:#000 1px solid;border-top:#000 1px solid; ">User Name</th>
      <th scope="col" width="206" align="left" style="border-bottom:#000 1px solid;border-top:#000 1px solid; ">Screen Name</th>
      <th scope="col" width="254" align="left" style="border-bottom:#000 1px solid;border-top:#000 1px solid; ">Form Name</th>
      
    </tr>
    
<?php
  include ("../../include/db.php");
 
  $sql1="select * from  user_rights order by id DESC  ";
 $rs1=mysql_query($sql1);
			  while($rsdata=mysql_fetch_object($rs1))
			  {   $from=$from+1;

			        $id=$rsdata->id;
				 $user_name=$rsdata->user_name;
				 $user_screen=$rsdata->user_screen;
				 $user_form_name=$rsdata->user_form_name;
			 

 
 ?>
  <tr >
    <td width="78"  align="center"><?php echo $from; ?></td>
    <td width="470" align="left" ><?php echo $user_name;?></td>
    <td align="left" ><?php echo $user_screen;?></td>
    <td align="left" ><?php echo $user_form_name;?> </td>
    
  </tr>
  <?php } ?>
    <tr  class="reference_table">
    <td width="61" height="29" 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>
    <td  align="right" class="print_sub_heading_receipt" style="border-bottom:#000 1px solid;border-top:#000 1px solid; ">&nbsp;</td>    
    
   
  </tr>
  </table>
