Esempio n. 1
0
<?php

require 'includes/helpers.php';
switch ($_GET['type']) {
    case "echoItems":
        echoItems($_GET['category']);
}
Esempio n. 2
0
<?php 
echoScripts();
?>

<!-- Add My Scripts Here -->

<?php 
require 'includes/header.php';
?>

<!-- Add My Content Here -->

<div id="page-content-wrapper">
	<div class="container">
		<div class="row">
		<div class="col-sm-3"> </div>
		<div id="itemDisplay" class="col-sm-9">
			<?php 
if (isset($_GET['category']) && !empty($_GET['category'])) {
    echoItems($_GET['category']);
} else {
    echoItems("New and Featured");
}
?>
		</div>
		</div>
	</div>
</div>

<?php 
require 'includes/footer.php';