Advertisement
Guest User

Untitled

a guest
Nov 24th, 2014
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.21 KB | None | 0 0
  1. <div class="componentborder1">
  2. <div class="JSPOPUP_titleBar">
  3. <h4>Add Component Schedule</h4>
  4. <a class="close JSPOPUP_close" href="">&times;</a>
  5. </div>
  6. <div class="testdiv">
  7. <div class="container-fluid"><center>
  8. <form method="POST" action="<?php echo base_url();?>ppc/addDate">
  9. <table border="1" style="padding:10px; width:770px; margin-left: -7px; margin-top:10px;">
  10. <tr>
  11. <td style="background-color:#0088cc; color:white; width:160px; text-align:right;"> <label>Jo Number:</label> </td>
  12. <td><?php if(isset($view_jo_record1)) : foreach($view_jo_record1 as $dash1) : ?><input type="" style="width:100px; text-align:center;" id="pc_jo" name="pc_jo" value="<?php echo $dash1->jo_no;?>" >
  13. <?php endforeach; ?>
  14. <?php else : ?>
  15. No records.
  16. <?php endif; ?> </td>
  17. </tr>
  18. </table>
  19.  
  20. <table border="0" style="padding:10px; width:770px; margin-left: -7px; margin-top:2px;">
  21. <thead>
  22. <th style="background-color:#0088cc; color:white; width:190px; text-align:center;"> <label>Component</label> </th>
  23. <th style="background-color:#0088cc; color:white; width:50px; text-align:center;"> <label>Department</label> </th>
  24. <th style="background-color:#0088cc; color:white; width:170px; text-align:center;"> <label>Time</label> </th>
  25. </thead>
  26. <tbody id="data" class="data" >
  27. <?php if(isset($view_jo_record)) : foreach($view_jo_record as $dash) : ?> <tr>
  28. <td> <label class="checkbox"> <input type="checkbox" name="sls_comp[]" id="sls_comp" value="<?php echo $dash->sls_comp;?>" /><?php echo $dash->sls_comp;?></label></td>
  29. <td> <center>
  30. <select style="text-align:center; height:28px; margin-bottom:1px; width:120px;">
  31. <option style="text-align:center; height:30px;" value=""></option>
  32. <option style="text-align:center; height:30px;" value="eng">Engineering</option>
  33. <option style="text-align:center; height:30px;" value="fab">Fabrication</option>
  34. <option style="text-align:center; height:30px;" value="pur">Purchasing</option>
  35. <option style="text-align:center; height:30px;" value="ops">Operation</option>
  36. </select></center>
  37. </td>
  38. <td><center>
  39. <input type="date" name="start" value="<?php echo $dash->sls_comp_start;?>" style="width:130px; text-align:center; margin-bottom:1px;" placeholder="Start">
  40. <input type="date" name="end" value="<?php echo $dash->sls_comp_end;?>" style="width:130px; text-align:center; margin-bottom:1px;" placeholder="End"></center>
  41. </td>
  42. </tr>
  43. <tr id='show_stren' style='display:none;' >
  44. <td> <label style="text-align:center;"><?php echo $dash->sls_sub_comp;?></label> </td>
  45. <td style="background-color:#0088cc; color:white; text-align:center;"> <center>
  46. <select style="text-align:center; height:28px; margin-bottom:1px; width:120px;">
  47. <option style="text-align:center; height:30px;" value=""></option>
  48. <option style="text-align:center; height:30px;" value="eng">Engineering</option>
  49. <option style="text-align:center; height:30px;" value="fab">Fabrication</option>
  50. <option style="text-align:center; height:30px;" value="pur">Purchasing</option>
  51. <option style="text-align:center; height:30px;" value="ops">Operation</option>
  52. </select></center>
  53. </td>
  54. <td style="background-color:#0088cc; color:white; text-align:center;"><center>
  55. <input type="date" name="start" value="<?php echo $dash->sls_sub_comp_start;?>" style="width:130px; text-align:center; margin-bottom:1px;" placeholder="Start">
  56. <input type="date" name="end" value="<?php echo $dash->sls_sub_comp_end;?>" style="width:130px; text-align:center; margin-bottom:1px;" placeholder="End"></center>
  57. </td>
  58. </tr>
  59. <?php endforeach; ?>
  60. <?php else : ?>
  61. No records.
  62. <?php endif; ?>
  63. </tbody>
  64. </table>
  65. <button class="btn btn-info" id="btn_comp" style="padding:5px; margin:5px; width:70px;">Submit</button></form></center>
  66. </div>
  67. </div>
  68. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement