Listing program
<?php
include("config/koneksi.php"); ?>
<!DOCTYPE HTML> <html>
<head>
<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
<link rel="stylesheet" href="flexslider.css" type="text/css" media="screen" />
<script type="text/javascript"> $(function() {
$('.menu li').hover(function() {
$(this).children('ul').slideDown('fast'); }, function() {
$(this).children('ul').slideUp('fast'); });
}); </script>
<title>TIKI - Hanya Satu Titipan Kilat</title>
<link rel="stylesheet" type="text/css" href="style.css"> </head>
<body>
<script src="js/jquery.min.js"></script>
<script defer src="js/jquery.flexslider.js"></script> <script type="text/javascript">
function alamat(str){ if (str==""){
document.getElementById("kota").innerHTML=""; return;
}
if (window.XMLHttpRequest){
xmlhttp=new XMLHttpRequest(); } else{
xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
xmlhttp.onreadystatechange=function(){ if (xmlhttp.readyState==4 && xmlhttp.status==200){
document.getElementById("kota").innerHTML=xmlhttp.responseT ext;
} }
xmlhttp.open("GET","config/alamat.php?kota="+str,true); xmlhttp.send();
}
$(window).load(function(){ $('.flexslider').flexslider({ animation: "slide", start: function(slider){
$('body').removeClass('loading'); }
}); }); </script>
<div class="wrapper"> <div class="header">
<div class="logo"></div> <nav class="menu">
<ul>
<li><a href="index.php">Home</a></li> <li><a href="#">About Us</a>
<ul>
<li id="sub"><a href="index.php?home=history">History</a></li>
<li id="sub"><a href="index.php?home=philosophy">Philosophy</a></li>
</ul> </li>
<li><a href="#">Products & Services</a>
<ul>
<li id="sub"><a href="index.php?home=international">International</a></li>
<li id="sub"><a href="index.php?home=services">Services</a></li>
<li id="sub"><a href="index.php?home=prohibited">Prohibited</a></li>
<li id="sub"><a href="index.php?home=tc">Terms & Conditions</a></li>
<li id="sub"><a href="index.php?home=faq">F.A.Q</a></li>
</ul> </li>
<li><a href="#">Tariff</a> <ul>
<li id="sub"><a href="index.php?home=dt">Domestic Tariff</a></li>
<li id="sub"><a href="index.php?home=it">International Tariff</a></li>
</ul> </li>
<li><a
href="index.php?home=contact">Contact Us</a></li> </ul>
</nav>
</div>
<div class="cc">
<div class="content"> <div class="left">
<div class="left-content"> <table id="address">
<tr>
<th colspan="2">HEAD OFFICE</th>
</tr> <tr>
<td colspan="2">Jl. Thamrin No. 36/42</td>
</tr> <tr>
</tr> <tr>
<td><span>Telp</span></td>
<td>: 0631 22831</td> </tr>
<tr>
<td><span>Fax</span></td>
<td>: 0631 25187</td> </tr>
</table>
<div class="bl"></div> <form method="post" action="config/bridge.php?menu=status">
<table id="status"> <tr>
<th colspan="2">CEK STATUS KIRIMAN</th>
</tr> <tr>
<td><input type="text" name="status" placeholder="No. Connote" /></td>
<td><input type="submit" name="submit" value="Check"></td>
</tr> </table> </form>
<div class="bl"></div> <form method="post" action="config/bridge.php?menu=tarif">
<table id="tarif"> <tr>
<th id="head" colspan="2">CEK TARIF</th>
</tr> <tr>
<th>From</th> <td><input type="text" placeholder="Sibolga" disabled/></td>
<th>To</th> <td>
<select name="tujuan">
<option value="">Pilih Kota Tujuan</option>
<?php
$q="SELECT * FROM `tr_domestic`";
$ex=mysql_query($q);
while($data=mysql_fetch_array($ex)){
echo "<option
value=\"do".$data['id']."\">".$data['kota']."</option>";
}
$q2="SELECT * FROM `tr_international`";
$ex2=mysql_query($q2);
while($data2=mysql_fetch_array($ex2)){
echo "<option
value=\"in".$data2['id']."\">".$data2['kota']."</option>";
} ?> </select> </td>
</tr> <tr>
<th>Weight</th> <td><input
type="text" name="berat" size="3" maxlength="3" /> Kg</td> </tr>
<tr>
<td colspan="2" align="right"><input type="submit" name="submit"
value="Check"></td>
</table> </form>
</div> </div>
<div class="center">
<div class="center-content"> <?php
$home=$_GET['home']; if($home=='history'){
include("home/history.php");
} else if($home=='philosophy'){
include("home/philosophy.php");
} else if($home=='domestic'){
include("home/domestic.php");
} else if($home=='international'){
include("home/international.php");
} else if($home=='services'){
include("home/services.php");
} else if($home=='prohibited'){
include("home/prohibited.php");
} else if($home=='tc'){
include("home/tc.php");
} else if($home=='faq'){
include("home/faq.php");
} else if($home=='dt'){
include("home/dt.php");
} else if($home=='it'){
} else if($home=='contact'){
include("home/contact.php");
} else if($home=='status'){
include("config/status.php");
} else if($home=='tarif'){
include("config/tarif.php");
} else{ echo "
<!--<div class=\"flexslider\">
<ul class=\"slides\"> <li>
<img src=\"images/coverweb.jpg\" />
</li> <li> <img src=\"images/coverweb.jpg\" />
</li> <li> <img src=\"images/coverweb.jpg\" />
</li> <li> <img src=\"images/coverweb.jpg\" />
</li> </ul> </div>-->
<ul class=\"slides\"> <li>
<img src=\"images/coverweb.jpg\" width=\"730\"/>
<p>Sebagai perintis usaha & pionir yang sangat berpengalaman di bidangnya, TIKI selalu berupaya mengerti dan melayani sepenuh hati dengan <b>mewujudkan harapan pelanggan akan keamanan, fasilitas, efektifitas, efisiensi dan tanggung jawab dalam menangani setiap pengiriman</b>.<br /><br />
Upaya peningkatan kualitas layanan selalu menjadi fokus utama TIKI dalam menjamin kepercayaan pelanggan yang didukung oleh ribuan personil terlatih dan armada transportasi yang tersebar diberbagai titik nusantara dan
internasional.<br /><br />
Visi TIKI untuk menjadi mitra jasa Titipan Kilat yang profesional dan terkemuka di dunia terwujud berkat berbagai varian produk dan layanan yang dapat dipilih dan dinikmati dengan leluasa. Karena bertahun-tahun kerja keras, semangat dan kreativitas TIKI semuanya di dedikasikan hanya untuk Anda.</p>
"; }
?> </div> </div>
<div class="right">
<div class="right-content"> <table id="alamat">
<tr>
<th>ALAMAT TIKI</th> </tr>
<tr>
<td>
<select onchange="alamat(this.value)">
<option value="">Pilih Kota</option>
<?php
$q="SELECT * FROM `lokasi` ORDER BY `kota` ASC";
$ex=mysql_query($q);
while($data=mysql_fetch_array($ex)){
} ?> </select> </td>
</tr> </table>
<div id="kota"></div> <div class="bl"></div> <div class="ps">
<h1>PRODUCTS & SERVICES</h1>
<table>
<caption>Products :</caption>
<tr><th>-
<span>SDS</span></th><td>(Same Day Services)</td></tr> <tr><th>-
<span>ONS</span></th><td>(Over Night Services)</td></tr> <tr><th>-
<span>HDS</span></th><td>(Holiday Delivery Services)</td></tr> <tr><th>-
<span>REG</span></th><td>(Regular)</td></tr> <tr><th>-
<span>ECO</span></th><td>(Economi) : Khusus retail</td></tr> <tr><th>-
<span>INT</span></th><td>(Internasional)</td></tr> </table>
<table>
<caption>Services :</caption>
<tr><td>- Pickup</td></tr> <tr><td>-
Packaging</td></tr>
<tr><td>- Insurance</td></tr>
</table> </div>
</div> </div>
</div>
<p>© 2013 <span>Citra Van Titipan Kilat</span>. All rights reserved.</p>
</div> </div> </div>