Current File : //home/obabain/public_html/abc/MouldCheck_view2.jsp
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
     <%@ include file="Connection.jsp"%>

<%
  Statement st=con.createStatement();
  ResultSet rs=null;
%>
 <%
   String order_no=request.getParameter("order_no");
   String heat_no=request.getParameter("heat_no");
 %>

<%@include file="master.jsp"%>

<style type="text/css">
.highlight-error {
  border-color: red;
}
</style>



 <script src='https://code.jquery.com/jquery-3.3.1.js'></script>   
 <script src='https://cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js'></script> 
 <script src="https://cdn.datatables.net/1.10.19/js/dataTables.bootstrap4.min.js" charset="utf-8"></script> 

 
<!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.1/css/bootstrap.css">  -->
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.19/css/dataTables.bootstrap4.min.css">  
 
 
<body>



<form method="post" id="contact" name="form1">
<section id="main">
<div class="container">
 <div class="row" style="width:110%">
    <div class="col-md-10">
       <div class="panel panel-default" >
       <div class="panel-heading main-color-bg">
        <h3 class="panel-title">Sand&nbsp;Casting:</h3>
        </div>
            
       <div class="panel-body">
        
           
<script type="text/javascript">
$(document).ready(function() {
    $('#example').DataTable();
} );
</script>    
       
       <h3> <center>M/C Mould Check List</center> </h3>
 <div style="overflow-x:auto;">     
 <table class="table table-striped table-bordered">        <!-- id="example" -->
 <thead>              
<tr class="success"> 
 <th>Order No</th>
 <th>M/C Mould No</th>
 <th>Shaft Allignment </th>
 <th>Roller Condition</th>
 <th>Pitch Distance</th>
</tr>
</thead>        
<tbody>     
       <%     
       rs=st.executeQuery("select * from mould_ckecklists where order_no="+order_no+" and heat_no="+heat_no+"; ");
       while(rs.next())
       {
       %>  
       <tr>
      
      <td>  <b><%=rs.getString("order_no")%> </b> </td>
       <td>  <b><%=rs.getString("McMould_no")%> </b> </td>
        <td>  <b><%=rs.getString("Shaft_Alignment")%> </b> </td>
         <td>  <b><%=rs.getString("Roller_Condition")%> </b> </td>
          <td>  <b><%=rs.getString("pitch_distance")%> </b> </td>
           
       </tr>     
     
       <%}%>
       </tbody>
       </table>
     </div>  
                          <br>
     
      <h3><center> Die Check List </center> </h3>
     <div style="overflow-x:auto;">     
 <table class="table table-striped table-bordered">       <!-- id="example" -->
 <thead>              
<tr class="success"> 
 <th>Die&nbsp;Check&nbsp;List&nbsp;No</th>
 <th>Die&nbsp;Crack&nbsp;On&nbsp;ID</th>
 <th>Die&nbsp;Crack&nbsp;On&nbsp;OD</th>
 <th>Die&nbsp;Clamp</th>
 <th>Die&nbsp;Running&nbsp;Condition</th>
</tr>
</thead>        
<tbody>     
       <%     
       rs=st.executeQuery("select * from die_checklist where order_no="+order_no+" and heat_no="+heat_no+"; ");
       while(rs.next())
       {
       %>  
       <tr>
      
      <td>  <b><%=rs.getString("diecheck_no")%> </b> </td>
       <td>  <b><%=rs.getString("DieCrack_OnId")%> </b> </td>
        <td>  <b><%=rs.getString("DieCrack_OnOd")%> </b> </td>
         <td>  <b><%=rs.getString("Die_Clamp")%> </b> </td>
          <td>  <b><%=rs.getString("DieRunn_con")%> </b> </td>
           
       </tr>     
     
       <%}%>
       </tbody>
       </table>
     </div>  


       
      <div class="modal-footer" id="contact_submit">     
        <div class="row">        
          <!-- <a class="btn btn-default" href="#"  style="margin-right:10px">Reset</a> -->
          <!--  <button type="submit" style="background:" class="" ></button>-->
       </div>
      </div>
      
 </div>
    </div>
  </div>
</div>
</div> 
</section>



<%@include file="footer.jsp"%>
</form>
<script type="text/javascript">
function goBack() {
    window.history.back();
   
};
</script>


</body>
</html>