$style1="style=\"width:525px; height:220px; overflow:auto; border: 1px solid #dddddd;\"";
											radiopengadaanlokasi($style1,"lokasi_id",'lokasi',"lok");
										?>
									</div>
								</div>
							</li>
							<li>
								<span class="span2">Nama/Jenis Barang</span>
								<div class="input-append">
									<input type="text" name="rtb_njb" id="rtb_njb" class="span5" readonly="readonly" value="">
									<input type="button" name="idbtnlookupkelompok" id="idbtnlookupkelompok" class="btn" value="Pilih" onclick = "showSpoiler(this);">
									<div class="inner" style="display:none;">
										<?php
											$alamat_simpul_kelompok="$url_rewrite/function/dropdown/radio_simpul_kelompok.php";
											$alamat_search_kelompok="$url_rewrite/function/dropdown/radio_search_kelompok.php";
											js_radiokelompok($alamat_simpul_kelompok, $alamat_search_kelompok,"rtb_njb","kelompok_id",'kelompok','rtbkelompokfilter');
											$style="style=\"width:525px; height:220px; overflow:auto; border: 1px solid #dddddd;\"";
											radiokelompok($style,"kelompok_id",'kelompok','rtbkelompokfilter');	
										?>
									</div>
								</div>
							</li>
							<li>
								<span class="span2">&nbsp;</span>
								<input type="submit" name="submit" class="btn btn-primary" value="Tampilkan Data" />
								<input type="reset" name="reset" class="btn" value="Bersihkan Data">
							</li>
						</ul>
						<table border="0" cellspacing="6" style="display: none">
                                                <tr>
                                                    <td>Desa</td>
							</li>
							<li>
								<span class="span2">Tahun</span>
								<input type="text" name="kd_tahun" id="kd_tahun" value="" ><span id="errmsg2"></span>
							</li>
							<li>
								<span class="span2">Kelompok</span>
								<div class="input-append">
										<input type="text" name="pem_kelompok" id="pem_kelompok" class="span5" readonly="readonly" value="" placeholder="(Semua Kelompok)">
										<input type="button" name="idbtnlookupkelompok" id="idbtnlookupkelompok" class="btn" value="Pilih" onclick = "showSpoiler(this);">
										<div class="inner" style="display:none;">
											<?php
												//include "$path/function/dropdown/function_kelompok.php";
												$alamat_simpul_kelompok="$url_rewrite/function/dropdown/radio_simpul_kelompok.php";
												$alamat_search_kelompok="$url_rewrite/function/dropdown/radio_search_kelompok.php";
												js_radiokelompok($alamat_simpul_kelompok, $alamat_search_kelompok,"pem_kelompok","kelompok_id",'kelompok','pemkelompokfilter');
												$style="style=\"width:525px; height:220px; overflow:auto; border: 1px solid #dddddd;\"";
												radiokelompok($style,"kelompok_id",'kelompok','pemkelompokfilter');
											?>
										</div>
								</div>
							</li>
							<li>
								<span class="span2">Pilih Lokasi</span>
								<div class="input-append">
									<input type="text" name="entri_lokasi" id="entri_lokasi" class="span5" readonly="readonly" placeholder="(Semua Lokasi)">
									<input type="button" name="idbtnlookuplokasi" id="idbtnlookuplokasi" class="btn" value="Pilih" onclick = "showSpoiler(this);">
									<div class="inner" style="display:none;">
											
													<?php
												   // include "$path/function/dropdown/radio_function_lokasi_pengadaan.php";
												<tr>
													<td>&nbsp;</td>
												</tr>
												<tr>
													<td>Nama/Jenis Barang</td>
													<td>
																	<input type="hidden" name="idgetkelompok" id="idgetkelompok" value="">
																	<input type="text" name="lda_kelompok9" id="lda_kelompok9" class="w480" readonly="readonly" value="(semua Kelompok)">
																	<input type="button" name="idbtnlookupkelompok" id="idbtnlookupkelompok" value="Pilih" onclick = "showSpoiler(this);">
																	<div class="inner" style="display:none;"> 
																	

																	<?php
																	$alamat_simpul_kelompok="$url_rewrite/function/dropdown/radio_simpul_kelompok.php";
																	$alamat_search_kelompok="$url_rewrite/function/dropdown/radio_search_kelompok.php";
																	js_radiokelompok($alamat_simpul_kelompok, $alamat_search_kelompok,"lda_kelompok9","kelompok_id9",'kelompok9','skl9');
																	$style="style=\"width:525px; height:220px; overflow:auto; border: 1px solid #dddddd;\"";
																	radiokelompok($style,"kelompok_id9",'kelompok9','skl9');
																	?>
														</div>
													</td>
												</tr>
												<tr>
													<td>&nbsp;</td>
												</tr>
												<tr>
													<td></td>
													<td>
														<input type="submit" name="submit" value="Tampilkan Data" />                                           
														<input type="reset" name="reset" value="Bersihkan Data" />
													</td>
Beispiel #4
0
			<ul>
							<li>
								<span class="span2">Tahun</span>
								<input name="tahun_buku_induk_inventaris" id="tahun_buku_induk_inventaris" maxlength="4" type="text" value="<?php echo date('Y')?>" required>
							</li>
							<li>
								<span class="span2">Kelompok</span>
								<div class="input-append">
										<input type="text" name="lda_kelompok2" id="lda_kelompok2" class="span5" readonly="readonly" value="" placeholder="(Semua Kelompok)">
										<input type="button" name="idbtnlookupkelompok" id="idbtnlookupkelompok" class="btn" value="Pilih" onclick = "showSpoiler(this);"><font size="1" color="grey"><i>&nbsp;</i></font>
										<div class="inner" style="display:none;">
										
											<?php
												$alamat_simpul_kelompok="$url_rewrite/function/dropdown/radio_simpul_kelompok.php";
												$alamat_search_kelompok="$url_rewrite/function/dropdown/radio_search_kelompok.php";
												js_radiokelompok($alamat_simpul_kelompok, $alamat_search_kelompok,"lda_kelompok2","kelompok_id2",'kelompok2','ldakelompokfilter2');
												$style="style=\"width:525px; height:220px; overflow:auto; border: 1px solid #dddddd;\"";
												radiokelompok($style,"kelompok_id2",'kelompok2','ldakelompokfilter2');
											?>
										</div>
								</div>
							</li>
							<!--<li>
								<span class="span2">Tanggal Cetak Report</span>
								<input type="text"  input id="tanggal6" name="cdi_biid_tglreport" value="">(format tanggal dd/mm/yy)
							</li>-->
							
							<li>
								<span class="span2">&nbsp;</span>
								 <input type="submit" name="bi_inventaris_daerah"onClick="sendit_5()" class="btn btn-primary" value="Lanjut" />
								<input type="reset" name="reset" class="btn" value="Bersihkan Data">
														radiopengadaanlokasi($style1,"lokasi_id",'lokasi',"lok");
													?>
												</div>
											</td>
										</tr>
										<tr>
											<td width="25%" class="style6">Nama/Jenis Barang</td>
											<td>
												<input class="w300" name="rkb_edit_njb" id="rkb_edit_njb" type="text" value="<?php echo show_kelompok($select_njb); ?>" required="required" readonly="readonly"/>
												<input type="button" name="idbtnlookupkelompok" id="idbtnlookupkelompok" value="Pilih" onclick = "showSpoiler(this);">
												<div class="inner" style="display:none;">
													
													<?php
														$alamat_simpul_kelompok="$url_rewrite/function/dropdown/radio_simpul_kelompok.php";
														$alamat_search_kelompok="$url_rewrite/function/dropdown/radio_search_kelompok.php";
														js_radiokelompok($alamat_simpul_kelompok, $alamat_search_kelompok,"rkb_edit_njb","kelompok_id",'kelompok','rkbkelompokedit');
														$style="style=\"width:525px; height:220px; overflow:auto; border: 1px solid #dddddd;\"";
														radiokelompok($style,"kelompok_id",'kelompok',"rkbkelompokedit|$select_njb");
													?>
												</div>
											</td>
										</tr>
										<script>
											function get_data_merek(kelompok,tahun,data){
											var nilai_kelompok=document.getElementById(kelompok).value;
											var tahun=document.getElementById(tahun).value;
											url="<?php echo $url_rewrite?>/module/perencanaan/api_merek.php?kelompok="+nilai_kelompok+"&tahun="+tahun;
											//alert(url);
											ambilData(url,data);
											
											}
			
			<div style="height:5px;width:100%;clear:both"></div>
			<form name="shbeditdata" method="POST" action="<?php echo "$url_rewrite/module/perencanaan/"; ?>shb-proses.php" method="post">
			<ul>
							
							<li>
								<span class="span2">Nama/Jenis Barang</span>
								<div class="input-append">
									 <input type="text" name="shb_add_njb" id="shb_add_njb" class="span6" value="<?php echo show_kelompok($select_njb); ?>" required="required" readonly="readonly" />
									<input type="button" name="idbtnlookupkelompok" id="idbtnlookupkelompok" class="btn" value="Pilih" onclick = "showSpoiler(this);" />
									<div class="inner" style="display:none;">
										<?php
											
											$alamat_simpul_kelompok="$url_rewrite/function/dropdown/radio_simpul_kelompok.php";
											$alamat_search_kelompok="$url_rewrite/function/dropdown/radio_search_kelompok.php";
											js_radiokelompok($alamat_simpul_kelompok, $alamat_search_kelompok,"shb_add_njb","kelompok_id",'kelompok','shbkelompokadd');
											$style="style=\"width:525px; height:220px; overflow:auto; border: 1px solid #dddddd;\"";
											radiokelompok($style,"kelompok_id",'kelompok',"shbkelompokadd|$select_njb");
										?>
									</div>
								</div>
							</li>
							<li>
								<span class="span2">Merk/Tipe</span>
								<input class="span4" name="shb_add_mat" id="shb_add_mat" type="text" value="<?php echo $select_mat; ?>" required="required" />
							</li>
							<li>
								<span class="span2">Tanggal</span>
								<input type="text"  class="span3" style="text-align:center;" name="shb_add_tgl" value="<?php echo $select_tgl; ?>" id="tanggal12" required="required"  class="span3" readonly="readonly"/>
							</li>
							<li>
                                                                                                <input type="button" name="idbtnlookupkelompok" id="idbtnlookupkelompok" value="Pilih" onclick = "showSpoiler(this);"> <div class="inner" style="display:none;">


                                                                                                <style>
                                                                                                        .tabel th {
                                                                                                        background-color: #eeeeee;
                                                                                                        border: 1px solid #dddddd;
                                                                                                                        }
                                                                                                        .tabel td {
                                                                                                        border: 1px solid #dddddd;
                                                                                                                        }
                                                                                                </style>
                                                                                                <?php
                                                                                                    $alamat_simpul_kelompok="$url_rewrite/function/dropdown/radio_simpul_kelompok.php";
                                                                                                    $alamat_search_kelompok="$url_rewrite/function/dropdown/radio_search_kelompok.php";
                                                                                                    js_radiokelompok($alamat_simpul_kelompok,
                                                                                                    $alamat_search_kelompok,"idgetkelompok5","kelompok_id5",'kelompok5','kas');
                                                                                                    $style="style=\"width:525px; height:220px; overflow:auto; border: 1px solid #dddddd;\"";
                                                                                                    radiokelompok($style,"kelompok_id5",'kelompok5','kas');
                                                                                                    ?>
                                                                                                
                                                                                                </div>
                                                                                    </td>
                                                                            </tr>
                                                                            <tr>
																				<td>
																				<table border=0 cellspacing="6" style="display: none">
																					<tr>
																						<td>Desa</td>
																						<td>Kecamatan</td> 
																					</tr>
																					<tr>
<div class="inner" style="display:none;">
<style>
.tabel th {
background-color: #eeeeee;
border: 1px solid #dddddd;
}
.tabel td {
border: 1px solid #dddddd;
}
</style>

<?php 
//include "$path/function/dropdown/function_kelompok.php";
$alamat_simpul_kelompok = "{$url_rewrite}/function/dropdown/radio_simpul_kelompok.php";
$alamat_search_kelompok = "{$url_rewrite}/function/dropdown/radio_search_kelompok.php";
js_radiokelompok($alamat_simpul_kelompok, $alamat_search_kelompok, "lda_kelompok11", "kelompok_id11", 'kelompok11', 'skl11');
$style2 = "style=\"width:525px; height:220px; overflow:auto; border: 1px solid #dddddd;\"";
radiokelompok($style2, 'kelompok_id11', 'kelompok11', 'skl11');
?>

</div>
</td>
</tr>	
<tr>
<td>Tanggal Awal</td>
<td><input type="text" id="tanggal23"name="gdg_cdg_lapem_tglawal"value=""></td>
</tr>
<tr>
<td>Tanggal Akhir</td>
<td><input type="text"id="tanggal24" name="gdg_cdg_lapem_tglakhir"value=""></td>
</tr>
								<input isdatepicker="true" style="width: 270px;" name="ka_no_kontrak" id="ka_no_kontrak" type="text">
							</li>
							<li>
								<span class="span2">Tahun Perolehan</span>
								<input isdatepicker="true" style="width: 90px;" name="ka_thn_perolehan" id="ka_thn_perolehan" maxlength="4" type="text">
							</li>
							<li>
								<span class="span2">Kelompok</span>
								<div class="input-append">
									<input type="text" name="lda_kelompok" id="lda_kelompok" style="width:480px;"readonly="readonly"  placeholder="(Semua Kelompok)">
									<input type="button" name="idbtnlookupkelompok" id="idbtnlookupkelompok" value="Pilih" onclick = "showSpoiler(this);">
									<div class="inner" style="display:none;">
									<?php
									$alamat_simpul_kelompok="$url_rewrite/function/dropdown/radio_simpul_kelompok.php";
									$alamat_search_kelompok="$url_rewrite/function/dropdown/radio_search_kelompok.php";
									js_radiokelompok($alamat_simpul_kelompok, $alamat_search_kelompok,"lda_kelompok","kelompok_id",'kelompok', 'kelompk');
									$style="style=\"width:525px; height:220px; overflow:auto; border: 1px solid #dddddd;\"";
									radiokelompok($style,"kelompok_id",'kelompok', 'kelompk');
									?>
									</div>
								</div>
							</li>
							<li>
								<span class="span2">Lokasi</span>
								<div class="input-append">
									  <input type="text" name="entri_lokasi" id="entri_lokasi" style="width:480px;" readonly="readonly" placeholder="(Semua Lokasi)">
										<input type="button" name="idbtnlookuplokasi" id="idbtnlookuplokasi" value="Pilih" onclick = "showSpoiler(this);">
											<div class="inner" style="display:none;">
											<?php
										   // include "$path/function/dropdown/radio_function_lokasi_pengadaan.php";
											$alamat_simpul_lokasi="$url_rewrite/function/dropdown/radio_simpul_lokasi_pengadaan.php";
								
								<form name="skbedit" action="<?php echo "$url_rewrite/module/perencanaan/"; ?>skb-proses.php" method="post">
									<table width="100%" class="style1">
										<tr bgcolor="#004933">
											<td class="white" colspan="2" align=left>Tambah Data Baru</td>
										</tr>
										<tr>
											<td align="center" class="style6">Nama/Jenis Barang</td>
											<td><input class="w300" name="skb_add_njb" id="skb_add_njb" type="text" value="<?php echo show_kelompok($select_njb); ?>"  required="required" readonly="readonly" />
												<input type="button" name="idbtnlookupkelompok" id="idbtnlookupkelompok" value="Pilih" onclick = "showSpoiler(this);">
												<div class="inner" style="display:none;">
													
													<?php
														$alamat_simpul_kelompok="$url_rewrite/function/dropdown/radio_simpul_kelompok.php";
														$alamat_search_kelompok="$url_rewrite/function/dropdown/radio_search_kelompok.php";
														js_radiokelompok($alamat_simpul_kelompok, $alamat_search_kelompok,"skb_add_njb","kelompok_id",'kelompok','skbkelompokedit');
														$style="style=\"width:525px; height:220px; overflow:auto; border: 1px solid #dddddd;\"";
														radiokelompok($style,"kelompok_id",'kelompok',"skbkelompokedit|$select_njb");
													?>
												</div>
											</td>
										</tr>
										<tr>
											<td align="center" class="style6">SKPD</td>
											<td><input class="w300" name="skb_add_skpd" id="skb_add_skpd" type="text" value="<?php echo show_skpd($select_skpd); ?>"  required="required" readonly="readonly" />
												<input type="button" name="idbtnlookupkelompok" id="idbtnlookupkelompok" value="Pilih" onclick = "showSpoiler(this);">
												<div class="inner" style="display:none;">
													
															<?php
																		$alamat_simpul_skpd="$url_rewrite/function/dropdown/radio_simpul_skpd.php";
																		$alamat_search_skpd="$url_rewrite/function/dropdown/radio_search_skpd.php";