Exemplo n.º 1
0
<meta charset="utf-8">
<title><?php 
echo _getconfigdb("company_name");
?>
</title>
<meta name="description" content="Responsive Hotel  Site template">
<meta name="author" content="">

<!-- Mobile Specific Metas -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

<!-- CSS -->
<link rel="stylesheet" href="css/base.css">
<link rel="stylesheet" href="css/menu.css">
<link rel="stylesheet" href="css/skeleton.css">
<link rel="stylesheet" href="css/layout.css">

<!-- prettyPhoto plugin -->
<link rel="stylesheet" href="js/prettyPhoto/css/prettyPhoto.css" type="text/css" media="screen">
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->

<!-- Favicons-->
<link rel="shortcut icon" href="img/favicon.ico">
<link rel="apple-touch-icon" href="images/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
   
<!-- Jquery -->
<script src="js/jquery-1.9.1.js"></script>
Exemplo n.º 2
0
<div class="twelve columns alpha">
  <h2>Kunjungi <?php 
echo _getconfigdb("company_address");
?>
 <strong>Tlp. <?php 
echo _getconfigdb("company_number");
?>
</strong></h2></div>
	<div class="four columns omega"><a href="?page=<?php 
echo "reservasi";
?>
" class="button_yellow">Reservasi Sekarang</a></div>

Exemplo n.º 3
0
        </p>
		
	';
} elseif (isset($_GET['promo'])) {
    $q = mysql_query("SELECT promote.idpromo, class.title as 'nmclass', class.price, promote.discount, promote.start_date, promote.end_date, promote.description as 'desc', promote.title as 'prom', class.photoclass\nFROM promote LEFT JOIN class ON promote.idclass = class.idclass order by end_date ASC Limit 0,1");
    $r = mysql_fetch_array($q);
    $hrg = $r['price'] - $r['discount'] / 100 * $r['price'];
    $photo = $base_url . "uploads/images/" . $r['photoclass'];
    echo '
	<h2>Promo <strong>' . $r['nmclass'] . '</strong></h2>
    <h3>Hingga <strong>' . $r['end_date'] . '</strong></h3>
    <div class="picture">
    
    <a href="' . $photo . '" data-rel="prettyPhoto" title=""><span class="magnify"></span><img src="' . $photo . '" alt="picture" class="scale-with-grid"></a><em></em></a></div>
	<p>    
		<h1>Price ' . _getconfigdb("currency") . ' ' . $hrg . '</h1>
	</p>
   <p>    
		' . $r['desc'] . '
	</p>';
} elseif (isset($_GET['page'])) {
    include _THEME . $_GET['page'] . ".php";
} elseif (isset($_GET['catnews'])) {
    $segment = "kategori";
    $sql = "Select * from post_category where cat_id='" . $_GET['catnews'] . "'";
}
?>
	</div><!-- end ten columns-->
    
    
    
Exemplo n.º 4
0
    ?>
<div class="four columns add-bottom">
	<div class="picture">
		<a href="<?php 
    echo $photo;
    ?>
" data-rel="prettyPhoto" title=""><span class="magnify"></span><img src="<?php 
    echo $photo;
    ?>
" alt="picture" class="scale-with-grid"></a><em></em>
	</div>
	<h3><?php 
    echo $r['title'];
    ?>
 <strong><?php 
    echo _getconfigdb("currency") . $r['price'];
    ?>
</strong></h3>
	
	<ul class="room_facilities">
    <?php 
    $q2 = mysql_query("Select * from facilities where idclass='" . $id . "' and status='1'");
    while ($r2 = mysql_fetch_array($q2)) {
        ?>
		<li class="<?php 
        echo $r2['fac'];
        ?>
"><a class="tooltip_1" href="#" title="<?php 
        echo $r2['title'];
        ?>
"><?php