<?php
$sql1=DB_query("select * from tbl_inprocess_printing_audit where id='".$_REQUEST['Id']."'",$db);
$rowdata=DB_fetch_array($sql1);
?>
<p align="center"><strong><h2 align="center">View Process Audit Report For Printing</h2></strong></p>
<br>
<p align="center"><strong>Branch:</strong>
	 <?php
 		$sql ="SELECT loccode, locationname FROM locations where loccode='".$rowdata['branch_id']."'";
	 	$resultStkLocs = DB_query($sql,$db);
		?>
	<select name="site" style="width:100px" onchange="getdata(this.value);" >
	     <?php    
			while ($myrow=DB_fetch_array($resultStkLocs))
				{
				?>
      <option value="<?php echo $myrow['loccode']; ?>"><?php echo $myrow['locationname'];?></option>
      <?php  }	?> 
    </select></p>
   
<p align="left"><strong>General Details</strong></p>
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
    <tr>
        <td nowrap="nowrap" colspan="2" width="50%" valign="top">
        <div id="enquiryId" style="width:100%; margin:0 auto;">
            <table width="100%" cellpadding="2" cellspacing="1" border="0">
            	<tr>
                 <th align="left" width="24%"><strong>Printing Slip No.</strong></th>
                    <td width="27%" id="hotfoil"><input type="text"  name="printing_slip_no" id="printing_slip_no" style="width:100%" value="<?php echo $rowdata['printing_slip_no']; ?>" >                    	
                    	</td>
                    	<th align="left" width="20%"><strong>Job Card  No.</strong></th>
                     <td width="27%" id="vouchar"><select  name="job_ticket" id="job_ticket" style="width:100%"  >
                    	<?php
                    	$sql=DB_query("select * from job_route_card where id='".$rowdata['job_card_id']."'",$db);
						while($row=DB_fetch_array($sql))
						{ 
                    	?>
                    	<option value="<?php echo $row['id']; ?>"><?php echo $row['job_card_no']; ?></option>
                    	<?php } ?></select>                   	
                    	                    	</td>
      </tr>
            	<tr>
                 <th align="left" width="24%"><strong>Date.</strong></th>
                   <td><input type="text" id="date" name="date" style="width:100%;" value="<?php echo $rowdata['date']; ?>"/>
                     </td> 
                    	<th align="left" width="20%"><strong>Item Name..</strong></th>
                     <td><input type="text" id="item" name="item" style="width:100%;"  value="<?php echo $rowdata['item_name']; ?>"/>
                     </td></tr>
            	<tr>
                 <th align="left" width="24%"><strong>Customer</strong></th>
                    <td width="27%" id="vouchar"><input type="text" name="customer_name" style="width:100%;" id="customer_name"   value="<?php echo $rowdata['customer']; ?>"/></td>
                    	<th align="left" width="20%"><strong>Shift</strong></th>
                     <td><input type="text" name="shift" style="width:100%" id="shift" value="<?php echo $rowdata['shift']; ?>">            	                 	
                                  </td>
       </tr>
       <tr>
       	<th align="left" width="24%"><strong>Machine</strong></th>
        <td width="27%" id="vouchar"><input type="text" name="machine" id="machine" style="width:100%" value="<?php echo $rowdata['machine']; ?>"></td>
        <th align="left" width="20%"><strong>Operator</strong></th>
        <td ><input type="text" name="operator" style="width:100%" id="operator" value="<?php echo $rowdata['operator']; ?>" >
       </tr>
       <tr>
       	<th align="left" width="24%"><strong>Total Qty</strong></th>
        <td width="27%" id="vouchar"><input type="text" name="total_qty" id="total_qty" style="width:100%" value="<?php echo $rowdata['total_qty']; ?>"></td>
        <th align="left" width="20%"><strong>Supervisor</strong></th>
        <td ><input type="text" name="supervisor" style="width:100%" id="supervisor" value="<?php echo $rowdata['supervisor']; ?>">
       </tr>
      </table></div></td>
      </tr> 
      <tr><td>&nbsp;</td></tr>
   
   <tr><td><p align="left"><strong> INITIAL CHECK POINT </strong></p>
                    <table width="100%" cellpadding="2" cellspacing="1" border="0">
                 <tr>
                 	
        <th align="left"  ><strong>Type of Raw material being used is as per job card</strong></th>
        <td><table  border="0">
        	
                    <tr><td >&nbsp;</td><th >Yes</th><td ><input type="radio" name="raw_mat" value="Yes"
                    	<?php if($rowdata['raw_mat']=='Yes'){ ?>checked="checked" <?php }?> /></td>
                    	<th >No</th><td ><input type="radio" name="raw_mat" value="No" 
                    		<?php if($rowdata['raw_mat']=='No'){ ?>checked="checked" <?php }?>/></td>
                         <td></td><td></td></tr>		
                    </table></td>
     </tr>
     <tr>
     
        <th align="left" ><strong>GSM as per Job Card(5%):</strong></th>
        <td><table  border="0">
                    <tr><td>&nbsp;</td><th >Yes</th><td ><input type="radio" name="gsm" value="Yes"
                    	<?php if($rowdata['gsm']=='Yes'){ ?>checked="checked" <?php }?> /></td>
                    	<th >No</th><td ><input type="radio" name="gsm" value="No" 
                    		<?php if($rowdata['gsm']=='No'){ ?>checked="checked" <?php }?>/></td>	
                           <th>Actual</th><td><input type="text" name="gsm_actual" /></td> </tr>         	
                    </table></td>
      </tr>
      <tr>
     	
        <th align="left" ><strong>Size as per job card(2mm)</strong></th>
        <td><table  border="0">
                    <tr><td>&nbsp;</td><th >Yes</th><td ><input type="radio" name="size" value="Yes" <?php if($rowdata['size']=='Yes'){ ?>checked="checked" <?php }?> /></td>
                    	<th >No</th><td ><input type="radio" name="size" value="No" <?php if($rowdata['size']=='No'){ ?>checked="checked" <?php }?>/></td>
                          <th>Actual</th><td><input type="text" name="size_actual" /></td> <td></td> <td></td> <td></td> <td></td> 
                              </tr>	  	
                    </table></td>
      </tr>
      <tr>
     	
        <th align="left" ><strong>No of Ups</strong></th>
        <td><table  border="0">
                    <tr><td>&nbsp;</td><th >Yes</th><td ><input type="radio" name="no_ups" value="Yes" <?php if($rowdata['no_ups']=='Yes'){ ?>checked="checked" <?php }?> /></td>
                    	<th >No</th><td ><input type="radio" name="no_ups" value="No"  <?php if($rowdata['no_ups']=='No'){ ?>checked="checked" <?php }?>/></td>
                          <td></td><td></td><td></td> <td></td> <td></td> <td></td>  
                              </tr>	  	
                    </table></td>
      </tr>
      <tr>
     
        <th align="left" ><strong>Foil Quality</strong></th>
        <td><table  border="0">
                    <tr><td>&nbsp;</td><th >Yes</th><td ><input type="radio" name="foil_qty" value="Yes" <?php if($rowdata['foil_qty']=='Yes'){ ?>checked="checked" <?php }?>/></td>
                    	<th >No</th><td ><input type="radio" name="foil_qty" value="No"  <?php if($rowdata['foil_qty']=='No'){ ?>checked="checked" <?php }?>/></td>
                          <th>Gold</th><td ><input type="radio" name="foil_color" value="Gold"  <?php if($rowdata['foil_color']=='Gold'){ ?>checked="checked" <?php }?>/>
                          	<th>Silver</th>
                          	<td ><input type="radio" name="foil_color" value="Silver"  <?php if($rowdata['foil_color']=='Silver'){ ?>checked="checked" <?php }?> />
                          	<th>Both</th><td ><input type="radio" name="foil_color" value="silver/gold"  <?php if($rowdata['foil_color']=='silver/gold'){ ?>checked="checked" <?php }?>/></td>
                          	<th>other</th><td ><input type="radio" name="foil_color" value="other"  <?php if($rowdata['foil_color']=='other'){ ?>checked="checked" <?php }?>/> </td>
                              </tr>	  	
                    </table></td>
      </tr>
      
      <tr>
     	
        <th align="left" ><strong>Coating Used</strong></th>
        <td><table  border="0">
                    <tr><td>&nbsp;</td><th >Yes</th><td ><input type="radio" name="coating" value="Yes" <?php if($rowdata['foil_color']=='other'){ ?>checked="checked" <?php }?> /></td>
                    	<th >No</th><td ><input type="radio" name="coating" value="No" <?php if($rowdata['foil_color']=='other'){ ?>checked="checked" <?php }?>/></td>
                          <th>Code</th><td ><input type="text" name="coating_code"  <?php if($rowdata['foil_color']=='other'){ ?>checked="checked" <?php }?>/><th>Batch No</th>
                          	<td ><input type="radio" name="coating_batch"  <?php if($rowdata['foil_color']=='other'){ ?>checked="checked" <?php }?>/></td>
                          		<th>Manufactured</th><td ><input type="text" name="coating_manuf" value="<?php echo $rowdata['coating_manuf']; ?>" /></td>
                          			<td></td><td > </td>
                              </tr>	  	
                    </table></td>
      </tr>
      <tr>
     	
        <th align="left" ><strong>Text matter as per customer approved/in house approved PDF</strong></th>
        <td><table  border="0">
                    <tr><td>&nbsp;</td><th >Yes</th><td ><input type="radio" name="text_matter" value="Yes" <?php if($rowdata['text_matter']=='Yes'){ ?>checked="checked" <?php }?> /></td>
                    	<th >No</th><td ><input type="radio" name="text_matter" value="No" <?php if($rowdata['text_matter']=='No'){ ?>checked="checked" <?php }?>/></td>
                          <th>Code</th><td ><input type="text" name="text_code"  /></td><th>Batch No</th>
                          <td ><input type="text" name="text_batch" value="<?php echo $rowdata['text_batch']; ?>" /></td>
                          		<th>Manufactured</th><td ><input type="text" name="text_manuf" value="<?php echo $rowdata['text_manuf']; ?>" /></td>
                          	
                          			<td></td><td > </td>
                              </tr>	  	
                    </table></td>
      </tr>
      <tr>
     	
        <th align="left" ><strong>Registration of all labels perfectly in all up</strong></th>
        <td><table  border="0">
                    <tr><td>&nbsp;</td><th >Yes</th><td ><input type="radio" name="registration_lab" value="Yes" <?php if($rowdata['registration_lab']=='Yes'){ ?>checked="checked" <?php }?>/></td>
                    	<th >No</th><td ><input type="radio" name="registration_lab" value="No" <?php if($rowdata['registration_lab']=='No'){ ?>checked="checked" <?php }?> /></td>
                          <td></td><td ></td><td></td>
                          	</td><td >
                          			<td></td><td > </td>
                              </tr>	  	
                    </table></td>
      </tr>
      <tr>
     
        <th align="left" ><strong>Foil Shade as per sample</strong></th>
        <td><table  border="0">
                    <tr><td>&nbsp;</td><th >Yes</th><td ><input type="radio" name="foil_shade" value="Yes" <?php if($rowdata['foil_shade']=='Yes'){ ?>checked="checked" <?php }?>/></td>
                    	<th >No</th><td ><input type="radio" name="foil_shade" value="No" <?php if($rowdata['foil_shade']=='No'){ ?>checked="checked" <?php }?>/></td>
                          <td></td><td ></td><td></td>
                          	</td><td >
                          			<td></td><td > </td>
                              </tr>	  	
                    </table></td>
      </tr>
                    
                 </table></td></tr>
                <tr><td>&nbsp;</td></tr>
                <tr><td> <p align="center"><strong>Check Point Details</strong></p>
               <?php $row15=DB_query("select * from tbl_inprocess_printing_audit_details where parent_id='".$_REQUEST['Id']."'",$db);
			   $rowdata1=DB_fetch_array($row15);
			   ?>  
            <table width="100%" cellpadding="2" cellspacing="1" border="0" align="center" >
            <tr>
            	
          <th width="24%" align="left" class="text">Check Point</th>
          <th width="27%" align="left" valign="top">Observations</th>          
          <th  align="left" width="65%">Remarks</th>
          <td align="left" valign="top"></td>
          </tr>  
           <tr>
          	<td><strong>Shade with in shade card range</stong></td><td>
          	<table border="0">
          	<tr><td><input type="text" class="datepicker" name="shade_card_date" value="<?php echo $rowdata1['shade_card_date']; ?>"/></td>
          	<td><input type="text"  name="shade_card_time" value="<?php echo $rowdata1['shade_card_time']; ?>" /></td>
          	<td><select name="start_AMPM_shade_card" id="start_AMPM_shade_card" style="width:40px">
	 <option value="AM"<?php echo ($rowdata1['start_AMPM_shade_cardr']=='AM'?'selected':'')?>>AM</option>
	 <option value="PM"<?php echo ($rowdata1['start_AMPM_shade_cardr']=='PM'?'selected':'')?>>PM</option>
	 </select></td>
          	</tr>	
          	</table>	
          	</td><td width="65%"><textarea style="width:100%" name="shade_cardr_remarks"><?php echo $rowdata1['shade_cardr_remarks']; ?></textarea></td>
          </tr>     
          <tr>
          	<td><strong> Shade is beyond the shade card</strong></td><td>
          	<table border="0">
          	<tr><td><input type="text" class="datepicker" name="beyond_shade_date" value="<?php echo $rowdata1['beyond_shade_date']; ?>" /></td>
          		<td><input type="text"  name="beyond_shade_time" value="<?php echo $rowdata1['beyond_shade_time']; ?>" /></td>
          	<td><select name="start_AMPM_beyond_shade" id="start_AMPM_beyond_shade" style="width:40px">
	 <option value="AM"<?php echo ($rowdata1['start_AMPM_beyond_shade']=='AM'?'selected':'')?>>AM</option>
	 <option value="PM"<?php echo ($rowdata1['start_AMPM_beyond_shade']=='PM'?'selected':'')?>>PM</option>
	 </select></td>	
          		
          	</tr>	
          	</table>	
          	</td><td width="65%"><textarea style="width:100%" name="start_AMPM_beyond_shade_remarks"><?php echo $rowdata1['start_AMPM_beyond_shade_remarks']; ?></textarea></td>
          </tr>     
          <tr>
          	<td><strong>Scumming</strong></td><td>
          	<table border="0">
          		
          	<tr><td><input type="text" class="datepicker" name="scumming_date" value="<?php echo $rowdata1['scumming_date']; ?>"/></td>
          		<td><input type="text" name="scumming_time" value="<?php echo $rowdata1['scumming_time']; ?>"  /></td>
          		<td><select name="start_AMPM_scumming" id="start_AMPM_scumming" style="width:40px">
	 <option value="AM"<?php echo ($rowdata1['start_AMPM_scumming']=='AM'?'selected':'')?>>AM</option>
	 <option value="PM"<?php echo ($rowdata1['start_AMPM_scumming']=='PM'?'selected':'')?>>PM</option>
	 </select></td>
          	</tr>	
          	</table>	
          		
          	</td><td width="65%"><textarea style="width:100%" name="wrinkless_remarks"><?php echo $rowdata1['wrinkless_remarks']; ?></textarea></td>
          </tr>     
          <tr>
          	<td><strong>Patchy Printing/Coating</strong></td><td>
          	<table border="0">
          	<tr><td><input type="text" class="datepicker"  name="patchy_printing_date" value="<?php echo $rowdata1['patchy_printing_date']; ?>"/></td>
          		<td><input type="text"  name="patchy_printing_time" value="<?php echo $rowdata1['patchy_printing_time']; ?>" /></td>
          		<td><select name="start_AMPM_patchy_printing" id="start_AMPM_patchy_printing" style="width:40px">
	 <option value="AM"<?php echo ($rowdata1['start_AMPM_patchy_printing']=='AM'?'selected':'')?>>AM</option>
	 <option value="PM"<?php echo ($rowdata1['start_AMPM_patchy_printing']=='PM'?'selected':'')?>>PM</option>
	 </select></td>
          	</tr>	
          	</table>	
          	</td><td width="65%"><textarea style="width:100%" name="patchy_printing_remarks"><?php echo $rowdata1['patchy_printing_remarks']; ?></textarea></td>
          </tr>     
          <tr>
          	<td><strong>Matter Miss & Cut</strong></td><td>
          	<table border="0">
          		
          	<tr><td><input type="text" class="datepicker" name="matter_miss_date" value="<?php echo $rowdata1['matter_miss_date']; ?>"/></td>
          		<td><input type="text"  name="matter_miss_time" value="<?php echo $rowdata1['matter_miss_time']; ?>" /></td>
          		<td><select name="start_AMPM_matter_miss" id="start_AMPM_matter_miss" style="width:40px">
	 <option value="AM"<?php echo ($rowdata1['start_AMPM_matter_miss']=='AM'?'selected':'')?>>AM</option>
	 <option value="PM"<?php echo ($rowdata1['start_AMPM_matter_miss']=='PM'?'selected':'')?>>PM</option>
	 </select></td>
          	</tr>	
          	</table>
          	</td><td width="65%"><textarea style="width:100%" name="matter_miss_remarks"><?php echo $rowdata1['matter_miss_remarks']; ?></textarea></td>
          </tr>   
          
            <tr>
          	<td><strong>Doubing</strong></td><td>
          	<table border="0">
          		
          	<tr><td><input type="text" class="datepicker" name="doubing_date" value="<?php echo $rowdata1['doubing_date']; ?>"/></td>
          		<td><input type="text"  name="doubing_time" value="<?php echo $rowdata1['doubing_time']; ?>" /></td>
          		<td><select name="start_AMPM_doubing" id="start_AMPM_doubing" style="width:40px">
	 <option value="AM"<?php echo ($rowdata1['start_AMPM_doubing']=='AM'?'selected':'')?>>AM</option>
	 <option value="PM"<?php echo ($rowdata1['start_AMPM_doubing']=='PM'?'selected':'')?>>PM</option>
	 </select></td>
          	</tr>	
          	</table>
          	</td><td width="65%"><textarea style="width:100%" name="doubing_remarks"><?php echo $rowdata1['doubing_remarks']; ?></textarea></td>
          </tr>    
          <tr>
          	<td><strong>Missregistration</strong></td><td>
          	<table border="0">
          		
          	<tr><td><input type="text" class="datepicker" name="missreg_date" value="<?php echo $rowdata1['missreg_date']; ?>" /></td>
          		<td><input type="text"  name="missreg_time" value="<?php echo $rowdata1['missreg_time']; ?>" /></td>
          		<td><select name="start_AMPM_missreg" id="start_AMPM_missreg" style="width:40px">
	 <option value="AM"<?php echo ($rowdata1['start_AMPM_missreg']=='AM'?'selected':'')?>>AM</option>
	 <option value="PM"<?php echo ($rowdata1['start_AMPM_missreg']=='PM'?'selected':'')?>>PM</option>
	 </select></td>
          	</tr>	
          	</table>
          	</td><td width="65%"><textarea style="width:100%" name="missreg_remarks"><?php echo $rowdata1['missreg_remarks']; ?></textarea></td>
          </tr>   
           <tr>
          	<td><strong>Puncture in any color or varnish</strong></td><td>
          	<table border="0">
          		
          	<tr><td><input type="text" class="datepicker" name="puncture_date" value="<?php echo $rowdata1['puncture_date']; ?>"/></td>
          		<td><input type="text"  name="puncture_time" value="<?php echo $rowdata1['puncture_time']; ?>" /></td>
          		<td><select name="start_AMPM_puncture" id="start_AMPM_puncture" style="width:40px">
	 <option value="AM"<?php echo ($rowdata1['start_AMPM_puncture']=='AM'?'selected':'')?>>AM</option>
	 <option value="PM"<?php echo ($rowdata1['start_AMPM_puncture']=='PM'?'selected':'')?>>PM</option>
	 </select></td>
          	</tr>	
          	</table>
          	</td><td width="65%"><textarea style="width:100%" name="puncture_remarks"><?php echo $rowdata1['puncture_remarks']; ?></textarea></td>
          </tr>   
           <tr>
          	<td><strong>Water/Oil drop</strong></td><td>
          	<table border="0">
          		
          	<tr><td><input type="text" class="datepicker" name="water_date" value="<?php echo $rowdata1['water_date']; ?>"/></td>
          		<td><input type="text"  name="water_time" value="<?php echo $rowdata1['water_time']; ?>" /></td>
          		<td><select name="start_AMPM_water" id="start_AMPM_water" style="width:40px">
	 <option value="AM"<?php echo ($rowdata1['start_AMPM_water']=='AM'?'selected':'')?>>AM</option>
	 <option value="PM"<?php echo ($rowdata1['start_AMPM_water']=='PM'?'selected':'')?>>PM</option>
	 </select></td>
          	</tr>	
          	</table>
          	</td><td width="65%"><textarea style="width:100%" name="water_remarks"><?php echo $rowdata1['water_remarks']; ?></textarea></td>
          </tr>   
             <tr>
          	<td><strong>Hickies/Spots</strong></td><td>
          	<table border="0">
          		
          	<tr><td><input type="text" class="datepicker" name="hickies_date" value="<?php echo $rowdata1['hickies_date']; ?>" /></td>
          		<td><input type="text"  name="hickies_time" value="<?php echo $rowdata1['hickies_time']; ?>" /></td>
          		<td><select name="start_AMPM_hickiesr" id="start_AMPM_hickies" style="width:40px">
	 <option value="AM"<?php echo ($rowdata1['start_AMPM_hickies']=='AM'?'selected':'')?>>AM</option>
	 <option value="PM"<?php echo ($rowdata1['start_AMPM_hickies']=='PM'?'selected':'')?>>PM</option>
	 </select></td>
          	</tr>	
          	</table>
          	</td><td width="65%"><textarea style="width:100%" name="hickies_remarks"><?php echo $rowdata1['hickies_remarks']; ?></textarea></td>
          </tr>   
          <tr>
          	<td><strong>Scratch mark/Line mark</strong></td><td>
          	<table border="0">
          		
          	<tr><td><input type="text" class="datepicker" name="scratch_mark_date" value="<?php echo $rowdata1['scratch_mark_date']; ?>" /></td>
          		<td><input type="text"  name="scratch_mark_time" value="<?php echo $rowdata1['scratch_mark_time']; ?>" /></td>
          		<td><select name="start_AMPM_scratch_mark" id="start_AMPM_scratch_mark" style="width:40px">
	 <option value="AM"<?php echo ($rowdata1['start_AMPM_scratch_mark']=='AM'?'selected':'')?>>AM</option>
	 <option value="PM"<?php echo ($rowdata1['start_AMPM_scratch_mark']=='PM'?'selected':'')?>>PM</option>
	 </select></td>
          	</tr>	
          	</table>
          	</td><td width="65%"><textarea style="width:100%" name="scratch_remarks"><?php echo $rowdata1['scratch_remarks']; ?></textarea></td>
          </tr>   
          <tr>
          	<td><strong>Alcohal Test</strong></td><td>
          	<table border="0">
          		
          	<tr><td><input type="text" class="datepicker" name="alcohal_date" value="<?php echo $rowdata1['alcohal_date']; ?>"/></td>
          		<td><input type="text"  name="alcohal_time" value="<?php echo $rowdata1['alcohal_time']; ?>" /></td>
          		<td><select name="start_AMPM_alcohal" id="start_AMPM_alcohal" style="width:40px">
	 <option value="AM"<?php echo ($rowdata1['start_AMPM_alcohal']=='AM'?'selected':'')?>>AM</option>
	 <option value="PM"<?php echo ($rowdata1['start_AMPM_alcohal']=='PM'?'selected':'')?>>PM</option>
	 </select></td>
          	</tr>	
          	</table>
          	</td><td width="65%"><textarea style="width:100%" name="alcohal_remarks"><?php echo $rowdata1['alcohal_remarks']; ?></textarea></td>
          </tr>   
           <tr>
          	<td><strong>Tape Test</strong></td><td>
          	<table border="0">
          		
          	<tr><td><input type="text" class="datepicker" name="tape_date" value="<?php echo $rowdata1['tape_date']; ?>"/></td>
          		<td><input type="text"  name="tape_time" value="<?php echo $rowdata1['tape_time']; ?>" /></td>
          		<td><select name="start_AMPM_tape" id="start_AMPM_tape" style="width:40px">
	 <option value="AM"<?php echo ($rowdata1['start_AMPM_tape']=='AM'?'selected':'')?>>AM</option>
	 <option value="PM"<?php echo ($rowdata1['start_AMPM_tape']=='PM'?'selected':'')?>>PM</option>
	 </select></td>
          	</tr>	
          	</table>
          	</td><td width="65%"><textarea style="width:100%" name="tape_remarks"><?php echo $rowdata1['tape_remarks']; ?></textarea></td>
          </tr>   
          <tr>
          	<td><strong>Curing Speed</strong></td><td>
          	<table border="0">
          		
          	<tr><td><input type="text" class="datepicker" name="curing_date" value="<?php echo $rowdata1['curing_date']; ?>"/></td>
          		<td><input type="text"  name="curing_time" value="<?php echo $rowdata1['curing_time']; ?>" /></td>
          		<td><select name="start_AMPM_curing" id="start_AMPM_curing" style="width:40px">
	 <option value="AM"<?php echo ($rowdata1['start_AMPM_curing']=='AM'?'selected':'')?>>AM</option>
	 <option value="PM"<?php echo ($rowdata1['start_AMPM_curing']=='PM'?'selected':'')?>>PM</option>
	 </select></td>
          	</tr>	
          	</table>
          	</td><td width="65%"><textarea style="width:100%" name="curing_remarks"><?php echo $rowdata1['curing_remarks']; ?></textarea></td>
          </tr>   
          <tr>
          	<td><strong>Heater on in all sticker's job</strong></td><td>
          	<table border="0">
          		
          	<tr><td><input type="text" class="datepicker" name="heater_date" value="<?php echo $rowdata1['heater_date']; ?>"/></td>
          		<td><input type="text"  name="heater_time" value="<?php echo $rowdata1['heater_time']; ?>" /></td>
          		<td><select name="start_AMPM_heater" id="start_AMPM_heater" style="width:40px">
	 <option value="AM"<?php echo ($rowdata1['start_AMPM_heater']=='AM'?'selected':'')?>>AM</option>
	 <option value="PM"<?php echo ($rowdata1['start_AMPM_heater']=='PM'?'selected':'')?>>PM</option>
	 </select></td>
          	</tr>	
          	</table>
          	</td><td width="65%"><textarea style="width:100%" name="heater_remarks"><?php echo $rowdata1['heater_remarks']; ?></textarea></td>
          </tr>   
           <tr>
          	<td><strong>Foil Temperature & speed</strong></td><td>
          	<table border="0">
          		
          	<tr><td><input type="text" class="datepicker" name="foil_date" value="<?php echo $rowdata1['foil_date']; ?>"/></td>
          		<td><input type="text"  name="foil_time" value="<?php echo $rowdata1['foil_time']; ?>" /></td>
          		<td><select name="start_AMPM_foil" id="start_AMPM_foil" style="width:40px">
	 <option value="AM"<?php echo ($rowdata1['start_AMPM_foil']=='AM'?'selected':'')?>>AM</option>
	 <option value="PM"<?php echo ($rowdata1['start_AMPM_foil']=='PM'?'selected':'')?>>PM</option>
	 </select></td>
          	</tr>	
          	</table>
          	</td><td width="65%"><textarea style="width:100%" name="foil_remarks"><?php echo $rowdata1['foil_remarks']; ?></textarea></td>
          </tr>   
           <tr>
          	<td><strong>Dyne Value</strong></td><td>
          	<table border="0">
          		
          	<tr><td><input type="text" class="datepicker" name="dyne_date" value="<?php echo $rowdata1['dyne_date']; ?>"/></td>
          		<td><input type="text"  name="dyne_time" value="<?php echo $rowdata1['dyne_time']; ?>" /></td>
          		<td><select name="start_AMPM_dyne" id="start_AMPM_dyne" style="width:40px">
	 <option value="AM"<?php echo ($rowdata1['start_AMPM_dyne']=='AM'?'selected':'')?>>AM</option>
	 <option value="PM"<?php echo ($rowdata1['start_AMPM_dyne']=='PM'?'selected':'')?>>PM</option>
	 </select></td>
          	</tr>	
          	</table>
          	</td><td width="65%"><textarea style="width:100%" name="dyne_remarks"><?php echo $rowdata1['dyne_remarks']; ?></textarea></td>
          </tr>   
          <tr>
          	<td><strong>Printing Counter at checking time</strong></td><td>
          	<table border="0">
          		
          	<tr><td><input type="text" class="datepicker" name="printing_date" value="<?php echo $rowdata1['printing_date']; ?>"/></td>
          		<td><input type="text"  name="printing_time" value="<?php echo $rowdata1['printing_time']; ?>" /></td>
          		<td><select name="start_AMPM_printing" id="start_AMPM_printing" style="width:40px">
	 <option value="AM"<?php echo ($rowdata1['start_AMPM_printing']=='AM'?'selected':'')?>>AM</option>
	 <option value="PM"<?php echo ($rowdata1['start_AMPM_printing']=='PM'?'selected':'')?>>PM</option>
	 </select></td>
          	</tr>	
          	</table>
          	</td><td width="65%"><textarea style="width:100%" name="printing_remarks"><?php echo $rowdata1['printing_remarks']; ?></textarea></td>
          </tr>   
                </table></td></tr>
                 <tr><td><table width="100%" cellpadding="2" cellspacing="1" border="0">
                <tr>
                 <th align="left" colspan="2" width="25%"><strong>Remarks</strong></th>
                    <td colspan="2" width="75%"><textarea name="remarks1" style="width:100%" ><?php echo $rowdata['remarks']; ?></textarea>
                    	</td>
                   
                </tr> </table></td></tr>
             </table>
						