<link rel="stylesheet" href="css/font.css" type="text/css" />
<style type="text/css">
.style1 {font-size: 16px}
</style>
<div class="container">
<div class="row-fluid">
<div class="span12">
<div class="table-responsive">
<div class="CSSTableGenerator">  
<table border="0" width="98%"  align="center" cellpadding="0" cellspacing="0" style="border:1px solid #ddd" >
<thead>
<tr>
    <th  align="center" width="48"  style="border:1px solid #ddd" >S.no</th>
    <th  align="left" style="border:1px solid #ddd" >Job Type Name</th>
    <th  align="left" style="border:1px solid #ddd" >Media Entry Status</th>
    <th  width="372"  align="left" style="border:1px solid #ddd" > Printer Production Status</th>
    <th  width="372"  align="left" style="border:1px solid #ddd" > Fusing Production Status</th>
    
    <th  width="80" style="border:1px solid #ddd" >Edit</th>
    <th  width="79" style="border:1px solid #ddd" >Delete</th>
</tr>

  <?php
include("../include/db.php");
 $sql="select * from  job_type_creation order by job_type ASC";
    $rs=mysql_query($sql);
	$sno=0;
   while($rsdata=mysql_fetch_array($rs))
  {
   $sno=$sno+1;
   $id=$rsdata['job_id'];
   $job_type=$rsdata['job_type'];
   $job_type_status=$rsdata['job_type_status'];
   $printer_production_status=$rsdata['printer_production_status'];
   $fusing_production_status=$rsdata['fusing_production_status'];
 ?>
  <tr>
    <td width="48"  align="center" style="border:1px solid #ddd" ><?php echo $sno; ?></td>
    <td width="667" align="left" style="border:1px solid #ddd" >&nbsp;<?php echo $job_type;?></td>
    <td width="667" align="left" style="border:1px solid #ddd" >&nbsp;<?php echo $job_type_status;?></td>
    <td width="667" align="left" style="border:1px solid #ddd" >&nbsp;<?php echo $printer_production_status;?></td>
    <td width="667" align="left" style="border:1px solid #ddd" >&nbsp;<?php echo $fusing_production_status;?></td>
    <td align="center" style="border:1px solid #ddd"  ><img src="img/edit.png" style="cursor:pointer"width="13" height="15" title="EDIT" onclick="javascript:add_new_job_type('job_type_creation/job_type_entry.php?edit_id=<?php echo $id;?>')"/></td>
    <td align="center" style="border:1px solid #ddd" ><a href="#" onClick="job_type_delete_row('<?php echo $id;?>');"><img src="img/cross_deletes.png" alt="delete" title="DELETE" border="0" width="13px;" height="14px;" /></a>   </td>
  </tr>
  <?php } ?>
  </thead>
</table>
</div>
</div>
</div>
</div>
