<!DOCTYPE html>
<html>
    <head>
        <title>Tanda Bukti Pendaftaran PUPNS 2015 - Verifikator Dinas Pendidikan</title>        
        <link rel="stylesheet" href="css/style.css" type="text/css" />
        <style type="text/css">
            @import "media/css/demo_table_jui.css";
            @import "media/themes/sunny/jquery-ui.css";
        </style>      

        <script src="media/js/jquery.js"></script>
        <script src="media/js/jquery.dataTables.js"></script>
        <script type="text/javascript" charset="utf-8">
          $(document).ready(function(){
            $('#datatables').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>
    </head>
    <body>

			
			
			<td class='center'><a href='http://disdik.acehselatankab.go.id'><img src='media/images/header.jpg'  /></a></td>
		
		
			<table id="datatables" class="display">
                <thead>
                    <tr>
						<th>No.</th>
                        
                        <th>Nama</th>
                        <th>NIP</th>
						<th>Tugas Sebagai</th>
						<th>Tempat Bertugas</th>
						<th>Verifikator</th>
							
						
                    </tr>
                </thead>

                <tbody>
                    <?php

							  //mysql_connect("localhost","esekolah","6y6etavy7");
							  //mysql_select_db("disdik2_disdik");
							  
							  mysql_connect("localhost","root","ayosekolah");
							  mysql_select_db("pupns2015_1");

					          $sql = mysql_query("SELECT * FROM tbl_user ORDER BY nama_depan");
					          $no = 1;
                    while ($r = mysql_fetch_array($sql)) {
                      echo "<tr>
                            <td width=40>$no</td>
                            <td>$r[nama_depan]</td>
                            <td>$r[nama_belakang]</td>
							<td>$r[kelamin]</td>
							<td>$r[unit_org]</td>
							<td>$r[verifikator]</td>
							

                            </tr>";
                      $no++;
                    }                    
                    ?>
                </tbody>

            </table>
			<div>
				@copyright 2015 by Dinas Pendidikan Aceh Selatan
			</div>			
    </body>
</html>
