Example #1
0
				<!DOCTYPE html>
				<html>
					<head>
						<?php 
        include 'app/header.php';
        ?>
					</head>
					<body>
						<?php 
        include "inc/the_menu.php";
        ?>
						<div id="isi_halaman" >
						<?php 
        'app/dashboard.php';
        if (isset($_REQUEST['no_spa']) && $_REQUEST['no_spa'] != "" && file_exists(d_url($_REQUEST['no_spa']))) {
            include d_url($_REQUEST['no_spa']);
        } else {
            include 'app/dashboard.php';
        }
        ?>

						</div>
						<?php 
        include 'app/modal-signout.php';
        ?>
						<?php 
        include 'app/footer.php';
        ?>
					</body>
				</html>"
Example #2
0
        	<div class="item col-md-4">
                <div class="work-header type-one">
                    <h2 class="text-border">SUMMARY</h2>
					<?php 
$qSummary = "SELECT summary FROM kategori WHERE id = '" . d_url($_GET['id']) . "'";
if ($resSummary = $data->runQuery($qSummary)) {
    $rsSummary = $resSummary->fetch_array();
    echo "<p>" . stripslashes($rsSummary['summary']) . "</p>";
}
?>
                </div>
            </div>
            <!-- Work Header End -->
            
			<?php 
$qImg = "SELECT nama, deskripsi FROM img WHERE id_kategori = '" . d_url($_GET['id']) . "';";
if ($resImg = $data->runQuery($qImg)) {
    while ($rsImg = $resImg->fetch_array()) {
        ?>
					<div class="item col-md-4">
						<a href="assets/img/<?php 
        echo $rsImg['nama'];
        ?>
" class="block" data-rel="prettyPhoto[pp_gal]" title="<?php 
        echo $rsImg['deskripsi'];
        ?>
">
							<div class="over-image">
								<img src="assets/img/<?php 
        echo $rsImg['nama'];
        ?>