Exemple #1
0
<?php

session_start();
if (empty($_SESSION['username']) and empty($_SESSION['passuser'])) {
    echo "<link href='style.css' rel='stylesheet' type='text/css'>\n <center>Untuk mengakses modul, Anda harus login <br>";
    echo "<a href=../../index.php><b>LOGIN</b></a></center>";
} else {
    echo "<h2>Laporan</h2>\n          <input type=button value='Laporan Hari Ini' \n          onclick=\"window.location.href='modul/mod_laporan/pdf_toko_sekarang.php';\">\n\n          <form method=POST action='modul/mod_laporan/pdf_toko.php'>\n          <table>\n          <tr><td colspan=2><b>Laporan Per Periode</b></td></tr>\n          <tr><td>Dari Tanggal</td><td> : ";
    combotgl(1, 31, 'tgl_mulai', $tgl_skrg);
    combonamabln(1, 12, 'bln_mulai', $bln_sekarang);
    combothn(2000, $thn_sekarang, 'thn_mulai', $thn_sekarang);
    echo "</td></tr>\n          <tr><td>s/d Tanggal</td><td> : ";
    combotgl(1, 31, 'tgl_selesai', $tgl_skrg);
    combonamabln(1, 12, 'bln_selesai', $bln_sekarang);
    combothn(2000, $thn_sekarang, 'thn_selesai', $thn_sekarang);
    echo "</td></tr>\n          <tr><td colspan=2><input type=submit value=Proses></td></tr>\n          </table>\n          </form>";
}
Exemple #2
0
    <!-- Main content -->
    <section class="content">

        <!-- Your Page Content Here -->
        <div class="row">
            <div class="col-md-12">
                <div class="box">
                    <div class="box-header with-border">
                        <h3 class="box-title">Monthly Report</h3>
                        <div class="box-tools pull-right">
                                <div class="row">
                                    <div class="col-md-7">
                                        <form name="period" id="period" method="get" >
                                            <input type="hidden" name="modules" id="modules" value="dashboard">
                                        <?php 
echo combonamabln(1, 12, "cbo_month", "-Month-", "form-control input-sm");
?>
                                    </div>
                                    <div class="col-md-5">
                                        <?php 
echo combothn(2013, date("Y"), "cbo_year", "-Year-", "form-control input-sm");
?>
                                    </div>
                                    </form>
                                </div>
                        </div>
                    </div><!-- /.box-header -->
                    <div class="box-body">
                        <div class="row">
                            <div class="col-md-12">
                                <p class="text-center">
        } else {
            echo combotgl(1, 31, 'tgl_1', $_POST[tgl_1]);
            combonamabln(1, 12, 'bln_1', $_POST[bln_1]);
            combothn(2000, $thn_sekarang, 'thn_1', $_POST[thn_1]);
        }
        ?>
			
			 S/D<span style="margin-left:32px"></span>
			 <?php 
        if (empty($_POST['tanggal2'])) {
            echo combotgl(1, 31, 'tgl_2', $tgl_skrg);
            combonamabln(1, 12, 'bln_2', $bln_sekarang);
            combothn(2000, $thn_sekarang, 'thn_2', $thn_sekarang);
        } else {
            echo combotgl(1, 31, 'tgl_2', $_POST[tgl_2]);
            combonamabln(1, 12, 'bln_2', $_POST[bln_2]);
            combothn(2000, $thn_sekarang, 'thn_2', $_POST[thn_2]);
        }
        ?>
			  
			  <input style="align:center" type="submit" class="btn" name="report" value="tampilkan" />
			
			<div class="btn-group">
					<button class="btn btn-info">Cetak</button>
					<button data-toggle="dropdown" class="btn btn-info dropdown-toggle"><span class="caret"></span></button>
					<ul class="dropdown-menu">
							<li><a href="<?php 
        echo "lpb.pdf?tgl1={$tanggal1}&tgl2={$tanggal2}";
        ?>
" target='_blank'>PDF</a></li>
					</ul>
Exemple #4
0
         echo "<ul class='photos sortable'>\n                    <li>\n                    <img src='../foto_siswa/medium_{$r['foto']}'>\n                    <div class='links'>\n                    <a href='../foto_siswa/medium_{$r['foto']}' rel='facebox'>View</a>\n\t\t    <div>\n                    </li>\n                    </ul>";
     }
     echo "</dd>\n          <dt><label>Ganti Foto</label></dt>       <dd> : <input type=file name='fupload' size=40>\n                                                <small>Tipe foto harus JPG/JPEG dan ukuran lebar maks: 400 px</small>\n                                                <small>Apabila foto tidak diganti, dikosongkan saja</small></dd>";
     if ($r[blokir] == 'N') {
         echo "<dt><label>Blokir</label></dt>     <dd> : <label><input type=radio name='blokir' value='Y'> Y</label>\n                                           <label><input type=radio name='blokir' value='N' checked> N </label></tr>";
     } else {
         echo "<dt><label>Blokir</label></dt>     <dd> : <label><input type=radio name='blokir' value='Y' checked> Y</label>\n                                          <label><input type=radio name='blokir' value='N'> N </label></tr>";
     }
     echo "</dl>\n          <div class='buttons'>\n          <input class='button blue' type=submit value=Update>\n          <input class='button blue' type=button value=Batal onclick=self.history.back()>\n          </div>\n          </fieldset></form>";
 } elseif ($_SESSION[leveluser] == 'siswa') {
     echo "<br><b class='judul'>Edit Profil</b><br><p class='garisbawah'></p>";
     echo "<form method=POST action={$aksi_siswa}?module=siswa&act=update_profil_siswa enctype='multipart/form-data'>\n          <input type=hidden name=id value='{$r['id_siswa']}'>\n          <table>\n          <tr><td>Nis</td>     <td> : <input type=text name=nis value='{$r['nis']}' ></td></tr>\n          <tr><td>Nama</td>     <td> : <input type=text name='nama' value='{$r['nama_lengkap']}' size=40></td></tr>          \n          <tr><td>Alamat</td>       <td> : <input type=text name='alamat' size=80 value='{$r['alamat']}'></td></tr>\n          <tr><td>Tempat Lahir</td> <td> : <input type=text name='tempat_lahir' size=60 value='{$r['tempat_lahir']}'></td></tr>\n          <tr><td>Tanggal Lahir</td><td> : ";
     $get_tgl = substr("{$r['tgl_lahir']}", 8, 2);
     combotgl(1, 31, 'tgl', $get_tgl);
     $get_bln = substr("{$r['tgl_lahir']}", 5, 2);
     combonamabln(1, 12, 'bln', $get_bln);
     $get_thn = substr("{$r['tgl_lahir']}", 0, 4);
     combothn(1950, $thn_sekarang, 'thn', $get_thn);
     echo "</td></tr>";
     if ($r[jenis_kelamin] == 'L') {
         echo "<tr><td>Jenis Kelamin</td><td> : <input type=radio name='jk' value='L' checked>Laki - Laki\n                                           <input type=radio name='jk' value='P'>Perempuan</tr></tr>";
     } else {
         echo "<tr><td>Jenis Kelamin</td><td> : <input type=radio name='jk' value='L'>Laki - Laki\n                                           <input type=radio name='jk' value='P' checked>Perempuan</tr></tr>";
     }
     echo "<tr><td>Agama</td>        <td> : <select name=agama>\n                                           <option value='{$r['agama']}' selected>{$r['agama']}</option>\n                                           <option value='Islam'>Islam</option>\n                                           <option value='Kristen'>Kristen</option>\n                                           <option value='Katolik'>Katolik</option>\n                                           <option value='Hindu'>Hindu</option>\n                                           <option value='Buddha'>Buddha</option>\n                                           </select></td></tr>\n          <tr><td>Nama Ayah/Wali</td> <td> : <input type=text name='nama_ayah' size=40 value='{$r['nama_ayah']}'></td></tr>\n          <tr><td>Nama Ibu</td>     <td> : <input type=text name='nama_ibu' size=40 value='{$r['nama_ibu']}'></td></tr>\n          <tr><td>Tahun Masuk</td>  <td> : <input type=text name='th_masuk' size=5 value='{$r['th_masuk']}'> *) Harus Angka</td></tr>\n          <tr><td>Email</td>        <td> : <input type=text name='email' size=30 value='{$r['email']}'></td></tr>\n          <tr><td>No Telp/HP</td>   <td> : <input type=text name='no_telp' size=20 value='{$r['no_telp']}'></td></tr>\n          <tr><td>Foto</td>   <td> : ";
     if ($r[foto] != '') {
         echo "<img src='foto_siswa/medium_{$r['foto']}'>";
     }
     echo "</td></tr>\n          <tr><td>Ganti Foto</td>       <td> : <input type=file name='fupload' size=40>\n                                           <br>**) Tipe foto harus JPG/JPEG dan ukuran lebar maks: 400 px<br>\n                                                ***) Apabila foto tidak diganti, dikosongkan saja</td></tr>";
     echo "<tr><td>Jabatan</td>      <td> : <input type=text name='jabatan' size=70 value='{$r['jabatan']}'></td></tr>\n          <tr><td colspan=2><input type=submit class='tombol' value='Update'>\n                            <input type=button class='tombol' value='Batal'\n                            onclick=self.history.back()>\n                            </td></tr>\n          </table></form>";
 }
Exemple #5
0
            echo "<div class=\"pagination\"> {$linkHalaman}</div>";
            break;
        case "tambahpemegang":
            echo "<h2>Tambah Pemegang Tiket</h2>\n          <form method=POST action='{$aksi}?module=pemegang&act=input'>\n          <table class='list'><tbody>\n          <tr><td class='left'>Nama Pemegang Tiket</td>      <td> : <input type=text name='nama_pemegang' size=50></td></tr>\n          <tr><td class='left'>Nomor Telepon</td>      <td> : <input type=text name='no_telp' size=20> </td></tr>\n          <tr><td class='left' colspan=2><input type=submit value=Simpan>\n          <input type=button value=Batal onclick=self.history.back()></td></tr>\n          </tbody></table></form>";
            break;
        case "editpemegang":
            if ($_SESSION[leveluser] == 'admin') {
                $edit = mysql_query("SELECT * FROM pemegang WHERE id='{$_GET['id']}'");
            } else {
                $edit = mysql_query("SELECT * FROM pemegang WHERE id='{$_GET['id']}' AND username='******'namauser']}'");
            }
            $r = mysql_fetch_array($edit);
            echo "<h2>Edit Pemegang Tiket</h2>\n          <form method=POST action={$aksi}?module=pemegang&act=update>\n          <input type=hidden name=id value={$r['id']}>\n          <table class='list'><tbody>\n          <tr><td class='left'>Tema</td>      <td> : <input type=text name='tema' size=60 value='{$r['tema']}'></td></tr>\n          <tr><td class='left'>Isi Pemegang Tiket</td>  <td> <textarea name='isi_pemegang' id='loko' style='width: 600px; height: 150px;'>{$r['isi_pemegang']}</textarea></td></tr>\n          <tr><td class='left'Tempat</td>    <td> : <input type=text name='tempat' size=40 value='{$r['tempat']}'></td></tr>\n          <tr><td class='left'>Pukul</td>    <td> : <input type=text name='jam' size=40 value='{$r['jam']}'></td></tr>\n          <tr><td class='left'>Tgl Mulai</td><td> : ";
            $get_tgl = substr("{$r['tgl_mulai']}", 8, 2);
            combotgl(1, 31, 'tgl_mulai', $get_tgl);
            $get_bln = substr("{$r['tgl_mulai']}", 5, 2);
            combonamabln(1, 12, 'bln_mulai', $get_bln);
            $get_thn = substr("{$r['tgl_mulai']}", 0, 4);
            $thn_skrg = date("Y");
            combothn($thn_sekarang - 2, $thn_sekarang + 2, 'thn_mulai', $get_thn);
            echo "</td></tr>\n          <tr><td class='left'>Tgl Selesai</td><td> : ";
            $get_tgl2 = substr("{$r['tgl_selesai']}", 8, 2);
            combotgl(1, 31, 'tgl_selesai', $get_tgl2);
            $get_bln2 = substr("{$r['tgl_selesai']}", 5, 2);
            combonamabln(1, 12, 'bln_selesai', $get_bln2);
            $get_thn2 = substr("{$r['tgl_selesai']}", 0, 4);
            combothn($thn_sekarang - 2, $thn_sekarang + 2, 'thn_selesai', $get_thn2);
            echo "</td></tr>\n          <tr><td class='left'>Pengirim</td>    <td> : <input type=text name='pengirim' size=40 value='{$r['pengirim']}'></td></tr>\n          <tr><td class='left' colspan=2><input type=submit value=Update>\n                            <input type=button value=Batal onclick=self.history.back()></td></tr>\n          </tbody></table></form>";
            break;
    }
}
Exemple #6
0
                $no++;
            }
            echo "  \n\t\t</table>\n\t\t<div class='clearfix-bottom'></div>";
            break;
        case "edit":
            $ambil = mysql_query("select * from pelatihan where id_pelatihan='{$_GET['id']}'");
            $ed = mysql_fetch_array($ambil);
            echo "<h2 class='head'>Edit Data Pelatihan</h2>\n\t      <p class='headings'>Kecamatan sentolo</p>\n\t<form action='{$aksi}?module=pelatihan&act=edit' method='post' enctype='multipart/form-data' >\n\t<input type='hidden' name='id' value='{$ed['id_pelatihan']}' >\n\t\t<table class='tabelform tabpad'>\n\t\t\t<tr>\n\t\t\t\t<td width='150'>Topik Pelatihan</td>\n\t\t\t\t<td><input class='form-controltxt' name='topik' type='text' value='{$ed['topik_pelatihan']}'></td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td>Tanggal Pelatihan</td>\n\t\t\t\t<td>";
            $tg = explode("-", $ed['tgl_pelatihan']);
            $tpt = $tg[0];
            $tpb = $tg[1];
            $tph = $tg[2];
            $now = date("Y");
            $saiki = 2000;
            combotgl(1, 31, tp, $tph);
            combonamabln(1, 12, bp, $tpb);
            combothn(2000, $now, thp, $tpt);
            echo "\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td>Penyelenggara</td>\n\t\t\t\t<td><input class='form-controltxt' name='pl' type='text' value='{$ed['penyelenggara']}'></td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td>Keterangan</td>\n\t\t\t\t<td><textarea class='form-controltextarea' name='ket'>{$ed['keterangan']}</textarea></td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td></td>\n\t\t\t\t<td><input type=submit value=Simpan class='btn btn-primary'>\n\t\t\t\t\t<input type=button value=Batal class='btn btn-danger' onclick=self.history.back()></td>\n\t\t\t</tr>\n\t\t</table>\n\t</form>\n\t<div class='clearfix-bottom'></div>";
            break;
    }
} else {
    if ($_SESSION['leveluser'] == '3') {
        switch ($_GET['act']) {
            default:
                $tampil = mysql_query("select * from pelatihan order by id_pelatihan");
                echo "<h2 class='head'>DATA PELATIHAN PEGAWAI</h2>\n\t\t\t\t<p class='headings'>Kecamatan sentolo</p>\n\t\t\t<table class='tabel'>\n\t\t\t<thead>\n\t  \t\t\t<tr>\n\t\t\t\t    <th class='style-table'>No</th>\n\t\t\t\t    <th class='style-table'>Nama Pelatihan</th>\n\t\t\t\t\t<th class='style-table'>Tgl Pelatihan</th>\n\t\t\t\t\t<th class='style-table'>Penyelenggara</th>\n\t\t\t\t\t<th class='style-table'>Detail</th>\n\t \t\t\t</tr>\n\t  \t\t</thead>";
                $no = 1;
                while ($dt = mysql_fetch_array($tampil)) {
                    echo "  <tr>\n\t    \t\t\t<td>{$no}</td>\n\t    \t\t\t<td>{$dt['topik_pelatihan']}</td>\n\t\t\t\t\t<td>" . tgl_indo($dt['tgl_pelatihan']) . "</td>\n\t\t\t\t\t<td>{$dt['penyelenggara']}</td>\n\t\t\t\t\t<td><a class='a-style' href='?module=pelatihan&act=lihat&id={$dt['id_pelatihan']}'>Detail Pelatihan</a></td>\n\t  \t\t\t</tr>";
                    $no++;
                }
Exemple #7
0
    for ($i = 1; $i <= 31; $i++) {
        if ($r['dTK'] == $i) {
            echo "<option value='" . $i . "' selected>{$i}</option>";
        } else {
            echo "<option value='" . $i . "'>{$i}</option>";
        }
    }
    ?>
	</select> /
	
	<?php 
    $awal = 1;
    $akhir = 12;
    $var = "_mtanggalKembali";
    $terpilih = $r['mTK'];
    echo combonamabln($awal, $akhir, $var, $terpilih);
    ?>
	 /
	
    <select name="_ytanggalKembali">
	<option value="">-tahun-</option>
	<?php 
    for ($y = 2010; $y <= date("Y"); $y++) {
        if ($r['yTK'] == $y) {
            echo "<option value='" . $y . "' selected>{$y}</option>";
        } else {
            echo "<option value='" . $y . "'>{$y}</option>";
        }
    }
    ?>
	</select>
        } else {
            echo combotgl(1, 31, 'tgl_1', 1);
            combonamabln(1, 12, 'bln_1', $bln_sekarang);
            combothn(2000, $thn_sekarang, 'thn_1', $thn_sekarang);
        }
        ?>
			
			 S/D
			 <?php 
        if (empty($_POST['report'])) {
            echo combotgl(1, 31, 'tgl_2', $_POST[tgl_2]);
            combonamabln(1, 12, 'bln_2', $_POST[bln_2]);
            combothn(2000, $thn_sekarang, 'thn_2', $_POST[thn_2]);
        } else {
            echo combotgl(1, 31, 'tgl_2', $tgl_skrg);
            combonamabln(1, 12, 'bln_2', $bln_sekarang);
            combothn(2000, $thn_sekarang, 'thn_2', $thn_sekarang);
        }
        ?>
			  
			  <input type="submit" name="report" class="btn btn-success" value="tampilkan" />
		</form>
                        </div>
                        </div>
		   </div>
        
                <div class="col-md-12">
		
									
					<!-- Advanced Tables -->
                    <div class="panel panel-default">
<?php

echo "\t<div>\n\t\t\t<h2 class='head'>LAPORAN ABSENSI PER-PERIODE</h2>\n\t\t\t\t<form action='laporan_absensi.php' method='POST' target='_blank'>";
combonamabln(1, 12, bulan, 1);
$now = date("Y");
combothn(2013, $now, tahun, 1);
echo "   \t\t<input type=submit name=submit value=Tampilkan></form>\n\t\t</div>";
Exemple #10
0
$kelas = mysql_query("SELECT * FROM kelas ORDER BY id_kelas");
echo "<dd><select name='kelas'>\n                                      <option value='pilih' selected>--Pilih--</option>";
while ($k = mysql_fetch_array($kelas)) {
    echo "<option value='{$k['id_kelas']}'>{$k['nama']}</option>";
}
echo "</select></dd>";
?>
                                <dt><label>Alamat :</label></dt>
                                <dd><textarea name="alamat" cols="43" rows="3"></textarea></dd>
                                <dt><label>Tempat Lahir :</label></dt>
				<dd><input type="text" name="tempat_lahir" size="40"/></dd>
                                <dt><label>Tanggal Lahir :</label></dt><dd> <?php 
include "configurasi/fungsi_combobox.php";
include "configurasi/library.php";
combotgl(1, 31, 'tgl_lahir', $tgl_skrg);
combonamabln(1, 12, 'bln_lahir', $bln_sekarang);
combothn(1950, $thn_sekarang, 'thn_lahir', $thn_sekarang);
echo "</dd>";
?>
                                <dt><label>Jenis kelamin :</label></dt>
                                <dd><input type="radio" name="jk" value="L">Laki - Laki
                                    <input type="radio" name="jk" value="P">Perempuan</dd>
                                <dt><label>Agama :</label></dt>
                                <dd><select name="agama">
                                        <option value="pilih" selected>--Pilih--</option>
                                        <option value="islam">Islam</option>
                                        <option value="kristen">Kristen</option>
                                        <option value="katolik">Katolik</option>
                                        <option value="hindu">Hindu</option>
                                        <option value="budha">Budha</option><select></dd>
                                <dt><label>Nama Ayah/Wali :</label></dt>
Exemple #11
0
 if ($t['jenis_kelamin'] == 'P') {
     echo "checked";
 }
 echo "/>Wanita ";
 echo "\t</td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td>Alamat</td>\n\t\t\t\t<td><textarea class='form-controltextarea' name='almt' >{$t['alamat']}</textarea></td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td>Tanggal Masuk</td>\n\t\t\t\t<td>";
 $ta = explode("-", $t['tgl_masuk']);
 $ttm = $ta[0];
 $btm = $ta[1];
 $htm = $ta[2];
 $now = date("Y");
 $saiki = 2000;
 $ht = "ht";
 $bt = "bt";
 $tt = "tt";
 combotgl(1, 31, $ht, $htm);
 combonamabln(1, 12, $bt, $btm);
 combothn($saiki, $now, $tt, $ttm);
 echo "\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td>Golongan</td>\n\t\t\t\t<td><select name='golongan' class='formcontrol-select '>\n\t\t\t\t\t<option value=''>Pilih Golongan</option>";
 $jab = mysql_query("select * from gol_pangkat");
 while ($j = mysql_fetch_array($jab)) {
     if ($t['id_gol'] == $j['id_golongan']) {
         echo "<option value='{$j['id_golongan']}' selected>{$j['nama_pangkat']}</option>";
     } else {
         echo "<option value='{$j['id_golongan']}'>{$j['nama_pangkat']}</option>";
     }
 }
 echo " \t\t\t</select>\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td>Jabatan</td>\n\t\t\t\t<td><select name='jabatan' class='formcontrol-select '>\t\n\t\t\t\t\t<option value='' >Pilih Jabatan</option>";
 $jab = mysql_query("select * from jabatan");
 while ($j = mysql_fetch_array($jab)) {
     if ($t['id_jab'] == $j['id_jab']) {
         echo "<option value='{$j['id_jab']}' selected>{$j['n_jab']}</option>";
Exemple #12
0
<tr><td colspan=2><label for="_tanggalKembali"><pre>Tanggal Kembali</pre></label>
	<select name="_dtanggalKembali">
	<option value="">-tgl-</option>
	<?php 
for ($i = 1; $i <= 31; $i++) {
    echo "<option value='" . $i . "'>{$i}</option>";
}
?>
	</select> /
	
	<?php 
$awal3 = 1;
$akhir3 = 12;
$var3 = "_mtanggalKembali";
$terpilih3 = 0;
echo combonamabln($awal3, $akhir3, $var3, $terpilih3);
?>
	 /
	
    <select name="_ytanggalKembali">
	<option value="">-tahun-</option>
	<?php 
for ($y = 2010; $y <= date("Y"); $y++) {
    echo "<option value='" . $y . "'>{$y}</option>";
}
?>
	</select>
		
</td></tr>
<tr><td colspan=2><label for="_tanggalKembali"><pre>ID Anggota</pre></label><input type="text" size="25" name="_IDAnggota" value=""></td></tr>
<tr><td colspan=2><label for="_tanggalKembali"><pre>ISBN</pre></label><input type="text" size="25" name="_isbn" value=""></td></tr>
Exemple #13
0
                <h4 class="modal-title" id="myModalLabel">Form Pelanggan KWH Bulanan</h4>
            </div>
            <div class="modal-body">
                <form role="form" id="form_pkb" name="form_pkb" class="form-horizontal">
                    <input type="hidden" id="type" name="type">
                    <input type="hidden" id="PKEY" name="PKEY" value="<?php 
echo $PKEY = isset($PKEY) ? $PKEY : '';
?>
">
                    <div class="row">
                        <div class="col-sm-10">
                            <div class="form-group input-sm">
                                <label class="col-sm-4 control-label">Bulan</label>
                                <div class="col-sm-8">
                                    <?php 
echo combonamabln(1, 12, "BULAN", "-Month-", "form-control input-sm");
?>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-10">
                            <div class="form-group input-sm">
                                <label class="col-sm-4 control-label">Tahun</label>
                                <div class="col-sm-8">
                                    <?php 
echo combothn(date("Y") - 2, date("Y"), "TAHUN", "-Year-", "form-control input-sm");
?>
                                </div>
                            </div>