<script type="text/javascript" charset="utf-8">
          $(document).ready(function(){
            $('#bbkas').dataTable({
					     "oLanguage": {
						      "sLengthMenu": "Tampilkan _MENU_ data per halaman",
						      "sSearch": "Pencarian: ", 
						      "sZeroRecords": "Maaf, tidak ada data yang ditemukan",
						      "sInfo": "Menampilkan _START_ s/d _END_ dari _TOTAL_ data",
						      "sInfoEmpty": "Menampilkan 0 s/d 0 dari 0 data",
						      "sInfoFiltered": "(di filter dari _MAX_ total data)",
						      "oPaginate": {
						          "sFirst": "<<",
						          "sLast": ">>", 
						          "sPrevious": "<", 
						          "sNext": ">"
					       }
				      },
              "sPaginationType":"full_numbers",
              "bJQueryUI":true
            });
          })    
        </script>

<table width="100%" border="0" align="center" cellpadding="5" cellspacing="5">
  <tr>
    <td><h3 style="color:#036">Form Update Data</h3></td>
  </tr>
  <tr>
    <td><table width="400" border="0" cellpadding="1" class="isi_tabel">
      <tr>
        <td width="100">Kode Bank</td>
        <td width="10">:</td>
        <td>-</td>
      </tr>
      <tr>
        <td>No. Rekening</td>
        <td>:</td>
        <td>-</td>
      </tr>
      <tr>
        <td>Nama Bank</td>
        <td>:</td>
        <td>-</td>
      </tr>
      <tr>
        <td>Saldo</td>
        <td>:</td>
        <td>-</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td><input type="submit" name="update" id="update" value="Update Data" disabled="disabled" /></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td><table width="400" class="isi_tabel">
        <tr>
          <td width="100">Tabel</td>
          <td width="10">:</td>
          <td>Daftar Deposito</td>
        </tr>
        <tr>
          <td>Unit</td>
          <td>:</td>
          <td><?php echo $_SESSION['nama'];?></td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%" align="center"  bgcolor="#FFFFFF" class="display" id="bbkas">
      <thead>
        <tr height="40" class="form_body">
          <th align="center" width="100">No</th>
          <th align="center">Kode Bank</th>
          <th align="center">No. Rekening</th>
          <th align="center">Nama Bank</th>
          <th align="center">Saldo</th>
          <th align="center">Proses</th>
        </tr>
        </thead>
      <tbody>
      
        <?php        mysql_select_db("csabrude_akurat");
					          $sql = mysql_query("SELECT * From bank_tb where kode_unit='$_SESSION[kode]' and jenis='Deposito' order by kode_bank asc");
					          $no = 1;
							
                    while ($r = mysql_fetch_array($sql)) {
                      echo "<tr height='25'>
          <td align='center'>$no</td>
		  <td align='center'>$r[kode_bank]</td>
            <td align='center'>$r[no_rek]</td>
			<td align='left'>$r[nama_bank]</td>
			<td align='right'>";?><?php echo formatRupiah($r['nominal']);?><?php echo"</td>
			<td align='center'>";?><a href="?section=Setting&module=saldo_awal_depo&no_rek=<?php echo $r['no_rek'];?>">Proses</a><?php echo"</td>
          </tr>";
                      $no++;
                    }
                    ?>
      </tbody>
      <tfoot>
        <tr>
       <th colspan="3" align="center">Saldo</th>
          <th align="right"><?php echo '-';?></th>
          <th align="right"><?php echo '-';?></th>
          <th align="right"><?php echo '-';?></th>
        </tr>
      </tfoot>
    </table></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
        