Pembuatan Database PT. Fanitra Indotama CREATE DATABASE fanitra; USE fanitra; Table structure for table 'guestbook' CREATE TABLE guestbook ( no int(10) auto_increment PRIMARY KEY, nama char(20), email char(50), komentar longtext, waktu char(50) ); CREATE TABLE harga ( no int(10) auto_increment PRIMARY KEY, kota_asal char(50), kota_tujuan char(50), harga char(10), per char(5) );
L1
-----Listing Program----index.html <meta
http-equiv=Content-Type
content="text/html;
charset="> <TITLE>index
L3
connect.php guestbook.php
INTO
guestbook(nama,email,komentar,waktu) VALUES('$name','$email','$comment','$waktu0')"; $display_guestbook=mysql_query($perintah); if(isset($display_guestbook)) { print"Terima kasih telah mengunjungi Website kami"; } else { print"Page Error"; } ?>
L4
harga.php
HTML
PUBLIC
"-//W3C//DTD
HTML
4.01
Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
::Product:: <meta
http-equiv="Content-Type"
content="text/html;
charset=iso-8859-1"> <style type="text/css">
Verdana,
Arial,
Helvetica,
sans-
serif; font-weight: bold; } .style2 {color: #000000} .style3 {color: #FFFFFF} .style4 {font-family: Verdana, Arial, Helvetica, sansserif} .style5 {font-size: x-small} .style6 { font-size: small; color: #7787C8; } .style7 {color: #FF0000} -->
L5
width="200"
align="center"
cellpadding="0"
cellspacing="0">
align="center">
href="../images/banner.jpg">
width="640"
height="113"
border="0" align="top"> |
width="615"
border="0"
align="center"
cellpadding="0" cellspacing="0"> |
width="101"
height="20">
align="center" class="style1"> No |
width="127">
class="style5"><strong><span class="style3"><span
align="center" class="style2"><span
class="style4">Kota
Asal
|
width="132"
align="center"
bgcolor="#7787C8">
class="style5"><strong><span
class="style2"><span
class="style3"><span
class="style4">Kota
Tujuan
|
width="125">
class="style5"><strong><span
L6
align="center" class="style2"><span
class="style3"><span class="style4">Harga |
width="130">
class="style5"><strong><span
align="center" class="style2"><span
class="style3"><span class="style4">Per< /td> "); echo("
align='center'>
color='#7787C8'
size='2'><span
class='style4'>$data[0] | "); echo("
align='center'>
color='#7787C8'
size='2'><span
class='style4'>$data[1] | "); echo("
align='center'>
color='#7787C8'
size='2'><span
class='style4'>$data[2] | "); echo("
align='center'>
size='2'><span
class='style4'>Rp
$data[3] | "); echo("
align='center'>
color='#7787C8'
size='2'><span
class='style4'>$data[4] | ");
L7
echo(" |
"); } ?>
|
width="101"
valign="bottom"
height="20"
bgcolor="#7787C8">
align="left" align="center"
class="style1">
align="left">
src="../images/ujung.jpg" width="20" height="20"> |
width="127">
class="style5"><strong><span
align="center" class="style2"><span
class="style3"> |
width="132"
align="center"
bgcolor="#7787C8">
class="style5"><strong><span
class="style2"><span class="style3"> |
width="125">
class="style5"><strong><span
align="center" class="style2"><span
class="style3">
align="right"><strong><span
class="style2"><span
class="style3">
src="../images/ujung_right.jpg" height="20"> |
Action Script Layer action : gotoAndStop(1); Layer home : on (release) { _root.gotoAndStop(2); } Layer Profile : on (release) { _root.gotoAndStop(3); } Layer Structure : on (release) { _root.gotoAndStop(4); }
Layer Service : on (release) { _root.gotoAndStop(5); } Layer Product : on (release) { getURL("scripts/harga.php",0,"POST"); } Layer Download : on (release) { _root.gotoAndStop(6); } Layer Contact : on (release) { _root.gotoAndStop(7); } Layer Guestbook : on (release) { _root.gotoAndStop(8); }