echo div id=kotak-pagingNextdiv; }
? div
div id=menu-bawah div id=footerCopyright © Sempurna Rental Mobil.
All Right Reservedbr Jl. Pancing 1 Martubung no.77 |
Telp: 0812-6088-9179 Bbm :5251797b idline: armayarbi email : muhammadarmayarbiyahoo.com div
div body
html body
11. produk.php
DOCTYPE html
PUBLIC -W3CDTD
XHTML 1.0
TransitionalEN http:www.w3.orgTRxhtml1DTDxhtml1-
transitional.dtd html xmlns=http:www.w3.org1999xhtml
head meta http-equiv=Content-Type content=texthtml;
charset=utf-8 titleRental Mobil CV. Roswan Kamintitle
link
href=cssstyle.css rel=stylesheet
type=textcss head
body ?php
session_start; includekoneksi.php;
includeheader.php; ?
div id=isi div id=judulDaftar Mobil Rentaldiv
?php batas=6;
paging=isset_GET[paging]; ifemptypaging
{ posisi=0;
paging=1; }
else{ posisi=paging-1 batas;
}
query=mysql_queryselect from tbl_mobil order by id_mobil desc limit posisi,batas;
whiler=mysql_fetch_arrayquery {
echodiv id=sub-barangdiv
class=jdl- brgr[nama_mobil]divimg
src=admingambarmobilr[gambar_mobil] width=90 class=gambardiv
id=hargaiHarga Rp.r[harga]i
a href=pesan.php?id_mobil=r[id_mobil]div
id=kotak-pagingPesan Mobildivaa
onclick=\window.opendetail.php?id_mobil=r[id_mob il],scrollwindow,top=200,left=350,width=575,heig
ht=400\div id=kotak-pagingLihat
Detaildiva divdiv;
} penomoran
echo
trtd colspan=2
valign=top align=center;
query2=mysql_queryselect from tbl_mobil; jumlah_data=mysql_num_rowsquery2;
jumlah_halaman=ceiljumlah_databatas; echodiv id=paging;
if 1 = paging{tanda = berarti perintah akan dijalankan jika paging tidak sama dengan 1,
copyright all teknik paging by go_blind_hacker, powered by V-boys_studio
back=paging-1; echo
div id=kotak-paginga
href=product.php?paging=backbBackbadiv ;
} else{
echodiv id=kotak-pagingBackdiv; }
if paging = jumlah_halaman{ next=paging+1;
echo div
id=kotak-paginga href=product.php?paging=next
bNextbadiv; }
else {
echo div id=kotak-pagingNextdiv; }
echodiv;
? div
div ?php includefooter.php;?
body html
12. registrasi.php
?php session_start;
if_SESSION[namamember]1{ echo
meta http-equiv=refresh
content=0; url=index.php;
} ?
DOCTYPE html
PUBLIC -W3CDTD
XHTML 1.0
TransitionalEN http:www.w3.orgTRxhtml1DTDxhtml1-
transitional.dtd html xmlns=http:www.w3.org1999xhtml
head meta http-equiv=Content-Type content=texthtml;
charset=utf-8 titleRental Mobil CV. Roswan Kamintitle
link
href=cssstyle.css rel=stylesheet
type=textcss head
body ?php
includekoneksi.php; includeheader.php;
? div id=isi
div id=judulRegistrasi Memberdiv form method=post action=prosesregister.php
table align=center trtd
width=100Namatdtd width=20:tdtdinput
type=text class=input size=40 name=nama tdtr
tr td
width=100No. KTPtdtd
width=20:tdtdinput name=no_ktp type=int class=input id=no_ktp size=40 tdtr
tr td
width=100No. Handphonetdtd
width=20:tdtdinput type=int class=input size=40 name=no_hp tdtr
trtd width=100Alamattdtd
width=20:tdtdinput type=text
class=input size=40 name=alamat tdtr trtd
width=100Usernametdtd width=20:tdtdinput
type=text class=input size=40 name=user tdtr
trtd width=100Passwordtdtd
width=20:td tdinput type=password class=input size=40
name=pass td tr
trtd width=100tdtd
width=20tdtdinput type=submit
class=submitButton value=Daftar
input type=reset
class=submitButton value=Hapustdtr
table form
div ?php includefooter.php;?
body html
body
13. status.php