1 DAFTAR PUSTAKA Arief, Ramadhan S.Kom. Buku Latihan PHP 5 dan MySQL Jakarta: Elexmedia Komputindo, 2005 Fowler, Martin. Panduan Singkat Bahasa Pemode...
DAFTAR PUSTAKA Arief, Ramadhan S.Kom. Buku Latihan PHP 5 dan MySQL Jakarta: Elexmedia Komputindo, 2005 Fowler, Martin. Panduan Singkat Bahasa Pemodelan Objek Standar Yogyakarta: Andi, 2005 Jogiyanto. Pengenalan komputer (Dasar Ilmu Komputer, Pemrograman, Sistem Informasi dan Intelegensi Buatan) Yogyakarta: Andi, 2005 Munawar. Pemodelan Visual Dengan UML Yogyakarta: Graha Ilmu, 2005
Listing Program include ("include/config.php"); function format_angka($angka) { $hasil = number_format($angka,0, ",","."); return $hasil; } $sesi_get = $HTTP_GET_VARS['sesi_get']; $sesi_get = mysql_escape_string($sesi_get); $cek_user=mysql_query("select * from tbl_member where sesi='$sesi_get'"); $show_user=mysql_fetch_array($cek_u ser); $userid="$show_user[userid]"; $str_id_user="$show_user[id_member]" ; $telp_user="$show_user[telepon]"; $alamat_user="$show_user[alamat1]"; $email_user="$show_user[email]"; $nama_user="$show_user[nama]"; $sesi="$show_user[sesi]"; $value="$show_user[aktif]"; if ($sesi_get!==$sesi| $sesi==""| $value=="0"){ header ("location: index.php?warn=try"); exit; } ?>
if ($login == "now"){$popup_atas = "LOGIN MEMBER";include("popup/login.php"); } if ($panel_login == "now"){include ("popup/login.php");} $page = $_GET['page']; $page = str_replace(".aspx","",$page); $file ="include/user/data_$page.php"; if (!file_exists($file)) { include ("include/user/data_home.php"); } else if ($page=="" || $page=="home"){ include ("include/user/data_home.php"); } else { include ("include/user/data_$page.php"); } ?>
include ("include/config.php"); function format_angka($angka) { $hasil = number_format($angka,0, ",","."); return $hasil; } ?>
if ($login == "now"){$popup_atas = "LOGIN MEMBER";include("popup/login.php"); } if ($panel_login == "now"){$popup_atas = "REGISTRASI";include ("popup/login.php");} if ($warn == "try"){include("popup/user_error.php"); } $page = $_GET['page']; $page = str_replace(".aspx","",$page); $file ="include/user/data_$page.php"; if (!file_exists($file)) { include ("include/user/data_home.php"); } else if ($page=="" || $page=="home"){ include ("include/user/data_home.php"); } else { include ("include/user/data_$page.php"); } ?>
include ("include/config.php"); function format_angka($angka) { $hasil = number_format($angka,0, ",","."); return $hasil; } if ($login == "now"){$popup_atas = "LOGIN MEMBER";include("popup/login.php"); } ?> =$log_info?>
}elseif($tampilkan == "now"){ mysql_query("update tbl_komentar set aktif='Y' where id_komentar='$id_komentar'"); }elseif($sembunyikan == "now"){ mysql_query("update tbl_komentar set aktif='N' where id_komentar='$id_komentar'"); } $jml_kal=mysql_num_rows(mysql_quer y("select * from tbl_kembali where status='1'"));
include ("config.php"); $user_get = $HTTP_POST_VARS['kios_user']; $pass_get = $HTTP_POST_VARS['kios_pass']; $user_get = mysql_escape_string($user_get); $pass_get = mysql_escape_string($pass_get); $sesi_get = md5("$user_get:$pass_get"); $user_on=mysql_query("update tbl_admin set aktif='1' where sesi='$sesi_get'"); $cek_user=mysql_query("select * from tbl_admin where sesi='$sesi_get'"); $show_user=mysql_fetch_array($cek_u ser); $sesi="$show_user[sesi]"; $value="$show_user[aktif]"; if ($sesi_get!==$sesi || $sesi=="" || $value=="0"){ header ("location: ../admin/index.php?warn=try"); exit; } else { header ("location: ../admin/home.php?sesi_get=$sesi_get") ; exit; } ?>
$cari="select * from tbl_kembali where status='1' group by id_mobil"; $cari_query=mysql_query($cari); $jml_sewa=mysql_num_rows($cari_que ry); $jml=0; while($show_sewa=mysql_fetch_row($ cari_query)){ $lihat[$jml][0] = $show_sewa[0]; // id $lihat[$jml][1] = $show_sewa[1]; // user id $lihat[$jml][2] = $show_sewa[2]; // user id $jml++; }
if($hapus_kom == "now"){ mysql_query("DELETE from tbl_komentar WHERE id_komentar='$id_komentar'");
}else{?> }?> if ($detail == "now"){include("../popup/admin_memb er.php");} if ($delete == "now"){include("../popup/admin_memb er.php");} $cari_member="select * from tbl_member order by id_member desc";
if ($delete == "now"){include("../popup/admin_album. php");} if ($edit == "now"){include("../popup/admin_album. php");} if ($add == "now"){include("../popup/admin_album. php");} $col = 2; $a = mysql_query("SELECT jdl_album, tbl_album.id_album, gbr_album, COUNT(tbl_gallery.id_gallery) as jumlah FROM tbl_album LEFT JOIN tbl_gallery ON tbl_album.id_album=tbl_gallery.id_albu m WHERE tbl_album.aktif='Y' GROUP BY jdl_album order by id_album asc"); $jml_album=mysql_num_rows($a); echo ""; echo "
if ($add == "now"){include("../popup/admin_mobil. php");} if ($detail == "now"){include("../popup/admin_mobil. php");} if ($edit == "now"){include("../popup/admin_mobil. php");} if ($delete == "now"){include("../popup/admin_mobil. php");} if ($add_ket == "now"){include("../popup/admin_mobil. php");} if ($edit_ket == "now"){include("../popup/admin_mobil. php");} if ($view_mobil == "now"){include("../popup/foto_mobil.ph p");} $cari_mbl="select * from tbl_mobil order by id_mobil desc"; $cari_query_mbl=mysql_query($cari_m bl);
Permintaan Penyewaan $tanggal=date("F - j - Y"); $cek_sqw=mysql_query("select * from tbl_sewa_detail where id_sewa_detail='".$id_sewa_detail."'"); $show_sqw=mysql_fetch_array($cek_sq w); $sqq_id_mobil=$show_sqw['id_mobil']; $sqq_id_user=$show_sqw['id_user']; if ($delete == "now"){include("../popup/admin_sewa.p hp");} if ($detailuser == "now"){$detail == "now";include("../popup/admin_user.ph p");} if ($detailpesewa == "now"){$detail == "now";include("../popup/admin_sewa.ph p");} if ($detailmobil == "now"){$detail == "now";include("../popup/admin_mobil.p hp");} if ($viewaaa_mobil == "now"){include("../popup/foto_mobil.ph p");} if ($perintah == "status_terima"){ mysql_query("insert into tbl_kembali(id_sewa_detail,id_mobil,id _user,tanggal,status)values('$id_sewa_d etail','$sqq_id_mobil','$sqq_id_user','$ta nggal','0')"); mysql_query("update tbl_sewa_detail set status='1' where id_sewa_detail='$id_sewa_detail'");} if ($perintah == "status_ditolak"){ mysql_query("DELETE from tbl_sewa_detail WHERE id_sewa_detail='$id_sewa_detail'");} $cari_sw="select * from tbl_sewa_detail where or_pesan='1' and status='1' order by id_sewa_detail desc"; $cari_query_sw=mysql_query($cari_sw ); $jm_sw=mysql_num_rows($cari_query _sw); $jm=0; while($show_sw=mysql_fetch_row($car i_query_sw)){ $lihat_m[$jm][0] = $show_sw[0];
$mtime = microtime(); $mtime = explode(' ', $mtime); $mtime = $mtime[1] + $mtime[0]; $starttime = $mtime; $row_keranjang=mysql_num_rows(mys ql_query("select * from tbl_sewa_detail where id_user='$str_id_user' and or_pesan='0'")); if ($sesi_get == ""){ $str_seri = "";}else{ $str_seri = "&sesi_get=$sesi_get";}
$cari_lp="select * from tbl_kembali where id_user='$str_id_user' and status='1' order by id_kembali desc"; $cari_query_lp=mysql_query($cari_lp); $jm_lp=mysql_num_rows($cari_query_ lp); ?> <script type="text/javascript" src="js/jquery.js"> <script type="text/javascript" src="js/interface.js">
$col = 2; $a = mysql_query("SELECT * FROM tbl_gallery WHERE id_album='$id_album'"); $jml_galery=mysql_num_rows($a); echo ""; echo "
"; $cnt = 0; while ($w = mysql_fetch_array($a)) { if ($cnt >= $col) { echo "
"; $cnt = 0; }
$cnt++; ?>
?>
<span style='color:#fff;'>Galery
}?>
if($logout == "now"){include("popup/user_error.php" );} if ($error == "now"){include("popup/user_error.php" );} if ($keraerror == "now"){include("popup/user_error.php" );} if ($detail_profil == "now"){include("popup/user_error.php" );} if ($edit_profil == "now"){include("popup/user_error.php" );} if($komentar == "now"){include("popup/user_error.php" );} ?>
Kontak Kami
Apapun kebutuhan anda, jangan ragu untuk menghubungi kami untuk penawaran dan rekomendasi terbaik. Staff layanan pelanggan kami akan dengan senang hati menjawab semua pertanyaan anda.
Anda dapat menghubungi kami melalui:
Menghubungi nomor yang tertera di bagian atas halaman ini
Mengisi Komentar Pada panel yang terdapat dibawah
Kantor Pusat:
Jalan Rini no. 8 B, Ampera Jakarta Selatan 12ssssss560 Telepon / Fax: 021 789 0844
Cabang:
Jalan Dissssssli no. 746 Mega Cinere Depossssssssk 16514 Telepon / Fax 021 754 6712
if ($view == "supir"){include("popup/user_supir.php ");} if ($detail == "supir"){include("popup/user_supir.php ");} $cek_mbl=mysql_query("select * from tbl_mobil where id_mobil='".$id_mobil."'"); $show_mbl=mysql_fetch_array($cek_m bl); $str_id_mobil=$show_mbl['id_mobil']; $str_no_polisi=$show_mbl['no_polisi']; $str_no_stnk=$show_mbl['no_stnk']; $str_no_rangka=$show_mbl['no_rangka' ]; $str_merk=$show_mbl['merk'];
$str_type=$show_mbl['type']; $str_warna=$show_mbl['warna']; $str_tahun=$show_mbl['tahun']; $str_harga_sewa=$show_mbl['harga_se wa']; $str_gambar=$show_mbl['gambar']; $str_tanggal=$show_mbl['tanggal']; $str_status=$show_mbl['status']; $cek_spr=mysql_query("select * from tbl_supir where id_supir='".$id_supir."'"); $show_spr=mysql_fetch_array($cek_spr ); $srr_gambar=$show_spr['gambar']; $srr_nama=$show_spr['nama']; $cek_swa=mysql_query("select * from tbl_sewa_detail where id_mobil='".$id_mobil."' and or_pesan='1' and status='1'"); $show_swa=mysql_fetch_array($cek_s wa); $sttgl_sewa=$show_swa['tgl_sewa']; $stlama_sewa=$show_swa['lama_sewa'] ; ?><script> function cekFormtgl() { var strnama = document.upload_tgl.post_tgl.value; if (strnama == "0") { document.upload_tgl.post_tgl.focus(); document.getElementById("div_mobil") .style.display='block'; return false; } return true; }