<?php require_once('../../Connections/sistem.php'); 
?>
<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>

<p>&nbsp;</p>
<table width="70%" border="0" align="center" cellpadding="5" cellspacing="5" background="images/tr2.png">
  <tr>
    <td><table width="100%" class="isi_tabel">
        <tr>
          <td><h3>Daftar Akun</h3></td>
        </tr>
        <tr>
          <td><hr /></td>
        </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%" align="center"  class="isi_tabel" id="bbkas">
      <thead>
        <tr height="30" class="form_body">
          <th align="center" width="58">No</th>
          <th width="96" align="center">Akun</th>
          <th width="97" align="center">Perkiraan</th>
          <th width="416" align="center">Keterangan</th>
          <th width="86" align="center">Index</th>
        </tr>
        </thead>
      <tbody>
      
        <?php        mysql_select_db("csabrude_akurat");
					          $sql = mysql_query("SELECT * From akun_tb where kode_unit='All' order by perkiraan asc ");
					          $no = 1;
							
                    while ($r = mysql_fetch_array($sql)) {
                      echo "<tr height='25' class='isi_tabel'>
          <td align='center'>$no</td>
            <td align='center'>$r[akun]</td>
			<td align='center'>$r[perkiraan]</td>
			<td align='left'>$r[keterangan]</td>
			<td align='center'>$r[index]</td>
          </tr>";
                      $no++;
                    }
                    ?>
      </tbody>
      <tfoot>
        <tr>
       <th colspan="5" align="center">&nbsp;</th>
          </tr>
      </tfoot>
    </table>
 </td>
  </tr>
   <tr>
    <td><hr /></td>
  </tr>
</table>
          <script>
		window.print();
	</script>  
          