aries_

data_update view

Sep 21st, 2012
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 5.88 KB | None | 0 0
  1.  <link rel="stylesheet" href="<?php echo base_url();?>jquery/jquery-ui.css" type="text/css" media="all" />
  2.   <link rel="stylesheet" href="<?php echo base_url();?>jquery/css/smoothness/jquery-ui-1.8.20.custom.css" type="text/css" media="all" />
  3.   <link rel="stylesheet" href="<?php echo base_url();?>jquery/ui.theme.css" type="text/css" media="all" />
  4.         <script src="<?php echo base_url();?>jquery/jquery.min.js" type="text/javascript"></script>
  5.       <script src="<?php echo base_url();?>jquery/jquery-ui.min.js" type="text/javascript"></script>
  6.        <script src="<?php echo base_url();?>jquery/development-bundle/ui/jquery-ui-1.8.20.custom.js" type="text/javascript"></script>
  7.      <script type='text/javascript'>
  8.     $(function() {
  9.         $( "#tgl_id" ).datepicker({
  10.             defaultDate: "+1w",
  11.                         dateFormat: 'yy-mm-dd',
  12.             changeMonth: true,
  13.             numberOfMonths: 1,
  14.             onSelect: function( selectedDate ) {
  15.                 $( "#tgl_id2" ).datepicker( "option", "minDate", selectedDate );
  16.             }
  17.         });
  18.         $( "#tgl_id2" ).datepicker({
  19.             defaultDate: "+1w",
  20.                         dateFormat: 'yy-mm-dd',
  21.             changeMonth: true,
  22.             numberOfMonths: 1,
  23.             onSelect: function( selectedDate ) {
  24.                 $( "#tgl_id" ).datepicker( "option", "maxDate", selectedDate );
  25.             }
  26.         });
  27.     });
  28.     </script>
  29.    
  30.      <?php  $tgl1 = array(
  31.               'name'        => 'TGL_AWAL_REAL',
  32.               'id'          => 'tgl_id',
  33.               'value'       => '',
  34.               'size'        => '15',
  35.               'readonly'    => 'readonly'
  36.             );
  37.         $tgl2 = array(
  38.               'name'        => 'TGL_AKHIR_REAL',
  39.               'id'          => 'tgl_id2',
  40.               'value'       => '',
  41.               'size'        => '15',
  42.               'readonly'    => 'readonly'
  43.             ); ?>
  44.            
  45.  
  46.                 <div id="content-outer">
  47. <!-- start content -->
  48. <div id="content">
  49.  
  50.     <!--  start page-heading -->
  51.     <div id="page-heading">
  52.         <h1>Update Training</h1>
  53.     </div>
  54.     <!-- end page-heading -->
  55. <?php echo form_open('operator/upd_train'); ?>
  56.     <table border="0" width="100%" cellpadding="0" cellspacing="0" id="content-table">
  57.     <tr>
  58.         <th rowspan="3" class="sized"><img src="<?php echo base_url();?>images/shared/side_shadowleft.jpg" width="20" height="300" alt="" /></th>
  59.         <th class="topleft"></th>
  60.         <td id="tbl-border-top">&nbsp;</td>
  61.         <th class="topright"></th>
  62.         <th rowspan="3" class="sized"><img src="<?php echo base_url();?>images/shared/side_shadowright.jpg" width="20" height="300" alt="" /></th>
  63.     </tr>
  64.     <tr>
  65.         <td id="tbl-border-left"></td>
  66.         <td>
  67.         <!--  start content-table-inner ...................................................................... START -->
  68.         <div id="content-table-inner">
  69.        
  70.             <!--  start table-content  -->
  71.             <div id="table-content">
  72.            
  73.                 <!--  start table-search -->
  74.        
  75.    
  76.                 <!--  end table-search -->
  77.                              
  78.                 <!--  start product-table ..................................................................................... -->
  79.                 <form id="mainform" action="">
  80.                 <table border="0" width="100%" cellpadding="0" cellspacing="0" id="product-table">
  81.          
  82.             <tr>
  83.             <th class="table-header-repeat line-left minwidth-2"><center><a>No</a></center></th>
  84.             <th class="table-header-repeat line-left minwidth-1"><center><a>Kode Plan</a></center></th>
  85.             <th class="table-header-repeat line-left minwidth-2"><center><a>Angkatan</a></center></th>
  86.             <th class="table-header-repeat line-left minwidth-2"><center><a>Tanggal Awal</a></center></th>
  87.             <th class="table-header-repeat line-left minwidth-2"><center><a>Tanggal Akhir</a></center></th>
  88.             <th class="table-header-repeat line-left minwidth-2"><center><a>Anggaran</a></center></th>
  89.             <th class="table-header-repeat line-left minwidth-2"><center><a>Peserta Awal</a></center></th>
  90.             <th class="table-header-repeat line-left minwidth-1"><center><a>Tanggal Awal Realisasi</a></center></th>
  91.             <th class="table-header-repeat line-left minwidth-1"><center><a>Tanggal Akhir Realisasi</a></center></th>
  92.             <th class="table-header-repeat line-left minwidth-2"><center><a>Anggaran Realisasi</a></center></th>
  93.             <th class="table-header-repeat line-left minwidth-1"><center><a>Peserta Realisasi</a></center></th>
  94.             <th class="table-header-repeat line-left minwidth-2"><center><a>Status</a></center></th>
  95.             <th class="table-header-repeat line-left minwidth-2"><center><a>Komen</a></center></th>
  96.     </tr>
  97.        
  98.         <tbody>
  99.         <?php $i = 1 ?>
  100.            
  101.         <?php foreach($View_training as $vt): ?>          
  102.         <tr>
  103.              <td><?php echo $i++ ?></td>
  104.              <td><?php echo form_input("id",$vt->KODE_PLAN,'readonly'); ?></td>
  105.              <td><?php echo $vt->ANGKATAN ?></td>
  106.              <td><?php echo $vt->TGL_MULAI ?></td>
  107.              <td><?php echo $vt->TGL_AKHIR ?></td>
  108.              <td><?php echo $vt->ANGGARAN ?></td>
  109.              <td><?php echo $vt->PST_A ?></td>
  110.              <td><?php echo form_input($tgl1); ?></td>
  111.              <td><?php echo form_input($tgl2); ?></td>
  112.              <td><?php echo form_input("ANGGARAN_REAL","","size='10'"); ?></td>
  113.              <td><?php echo form_input("PST_REAL","","size='10'"); ?></td>
  114.             <td><?php echo form_dropdown('terlaksana',$Terlaksana); ?></td>
  115.              <td><center><?php echo form_textarea("komen","",'style="width:100px;height:20px;"'); ?></center></td>
  116.          </tr>
  117.            <?php endforeach ?>
  118.        
  119.        
  120.             </tbody>
  121. </table>
  122.          </form>
  123.         </div>
  124.        
  125.  </div>
  126.  
  127.        <td id="tbl-border-right"></td>
  128.     </tr>
  129.     <tr>
  130.         <th class="sized bottomleft"></th>
  131.         <td id="tbl-border-bottom">&nbsp;</td>
  132.         <th class="sized bottomright"></th>
  133.     </tr>
  134.     </table>
  135.       <?php echo form_submit('Simpan','Save');?> <?php echo form_reset('Reset','Reset');?>
  136.         <?php echo form_close(); ?>
  137.     <div class="clear">&nbsp;</div>
Advertisement
Add Comment
Please, Sign In to add comment