当前位置: 首页>>代码示例>>PHP>>正文


PHP combothn函数代码示例

本文整理汇总了PHP中combothn函数的典型用法代码示例。如果您正苦于以下问题:PHP combothn函数的具体用法?PHP combothn怎么用?PHP combothn使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了combothn函数的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: session_start

<?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>";
}
开发者ID:Mursyidn,项目名称:TES-UAS,代码行数:17,代码来源:laporan.php

示例2: combonamabln

            <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">

                                </p>
                                <div class="chart-responsive">
                                    <!-- Sales Chart Canvas -->
                                    <div id="chartContainer" align="center"></div>
开发者ID:arsan-irianto,项目名称:apdpln,代码行数:31,代码来源:dashboard.php

示例3: combotgl

            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>
			</div>
开发者ID:bagustilas,项目名称:bigbookaccounting,代码行数:31,代码来源:laporan.php

示例4: elseif

         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>";
     }
     break;
 case "detailsiswa":
开发者ID:r3k4,项目名称:banksoal,代码行数:31,代码来源:siswa.php

示例5: mysql_query

            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='{$_SESSION['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;
    }
}
开发者ID:aamdsam,项目名称:tiket-scanner,代码行数:31,代码来源:pemegang.php

示例6: mysql_query

            }
            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++;
                }
                echo "  \n\t\t\t</table>\n\t\t\t<div class='clearfix-bottom'></div>";
开发者ID:vladmir123,项目名称:kepegawaian,代码行数:31,代码来源:pelatihan.php

示例7: combotgl

<?php

// Form indeks berita
echo "<img src=images/indeksberita.jpg /><br /><br />\n      <form method=POST action='indeks-berita.html'>";
combotgl(1, 31, 'tanggal', $tgl_skrg);
echo " / ";
combobln(1, 12, 'bulan', $bln_sekarang);
echo " / ";
combothn(2000, $thn_sekarang, 'tahun', $thn_sekarang);
echo "<br /><input type=submit value=Go />\n      </form>\n      <hr color=#e0cb91 noshade=noshade /><br />";
// Download
echo "<img src=images/download.jpg /><br /><ul>";
$download = mysql_query("SELECT * FROM download ORDER BY id_download DESC LIMIT 5");
while ($d = mysql_fetch_array($download)) {
    echo "<p><li><a href='downlot.php?file=files/{$d['nama_file']}'>{$d['judul']}</a></li></p>";
}
echo "</ul><hr color=#e0cb91 noshade=noshade /><br />";
// Banner
$banner = mysql_query("SELECT * FROM banner \n                    ORDER BY id_banner DESC LIMIT 4");
while ($b = mysql_fetch_array($banner)) {
    echo "<p align=center><a href={$b['url']} target=_blank title='{$b['judul']}'><img src='foto_banner/{$b['gambar']}' border=0></a></p>";
}
开发者ID:galihfathul29,项目名称:UASPRPLLGalih2015,代码行数:22,代码来源:kanan.php

示例8: combotgl

            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">
                        <div class="panel-heading">
开发者ID:bagustilas,项目名称:bigbookaccounting,代码行数:31,代码来源:jurnal.php

示例9: combonamabln

<?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>";
开发者ID:razordice,项目名称:kepegawaian,代码行数:7,代码来源:menu_laporan.php

示例10: combothn

                                    <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>
				<dd><input type="text" name="nama_ayah" size="40"/></dd>
                                <dt><label>Nama Ibu :</label></dt>
				<dd><input type="text" name="nama_ibu" size="40"/></dd>
                                
                                <dt><label>Tahun Masuk :</label></dt><dd><?php 
combothn(2000, $thn_sekarang, 'thn_masuk', $thn_sekarang);
echo "</dd>";
?>
                                <hr>
                                
			</dl>
			<p>
				<input type="submit" class="button white" value="Daftar"></input>
                                <?php 
echo "<button type='button' class='button white' onclick=\"window.location.href='index.php';\" > Batal</button>";
?>
			</p>
		</form>
	</section>
</div>
开发者ID:r3k4,项目名称:banksoal,代码行数:30,代码来源:registrasi.php

示例11: explode

     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>";
     } else {
开发者ID:vladmir123,项目名称:kepegawaian,代码行数:31,代码来源:pegawai.php

示例12: date

                            <input name="TANGGAL" id="TANGGAL" class="form-control input-sm" data-date-format="yyyy-mm-dd" required="" value="<?php 
echo date("Y-m-d");
?>
" type="text">
                        </div><!-- /.input group -->
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-6">
                <div class="form-group input-sm">
                    <label class="col-sm-4 control-label">Hour</label>
                    <div class="col-sm-3">
                        <?php 
echo combothn(0, 23, "HOUR", $HOUR = isset($HOUR) ? $HOUR : '', "form-control input-sm");
?>
                    </div>
                </div>
            </div>
            <div class="col-sm-6">
                <div class="form-group input-sm">
                    <label class="col-sm-4 control-label">Value</label>
                    <div class="col-sm-3">
                        <input class="form-control input-sm" value="<?php 
echo $VALUE = isset($VALUE) ? $VALUE : '';
?>
" name="VALUE" id="VALUE" type="text">
                    </div>
                </div>
            </div>
开发者ID:arsan-irianto,项目名称:apdpln,代码行数:31,代码来源:bhp.php

示例13: combonamabln

                                <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>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-10">
                            <div class="form-group input-sm">
                                <label class="col-sm-4 control-label">DCC</label>
                                <div class="col-sm-8">
                                    <?php 
$queryDCC = "SELECT DCCID,DCC FROM DCC";
$conn->cboFillFromTable("DCCID", $queryDCC, "DCCID", "DCC", "--Choose--", "form-control input-sm", "addnew");
?>
                                </div>
开发者ID:arsan-irianto,项目名称:apdpln,代码行数:31,代码来源:pkb.php


注:本文中的combothn函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。