Exemplo n.º 1
0
<?php

/**
 * Template Name: Create Bucket
 * Description: This is the upload page.
 */
get_header();
?>

<?php 
$frontEndController = new frontEndController();
?>

<?php 
$frontEndController->displayMainMenu();
?>

<?php 
if (!isset($_GET['id'])) {
    ?>

<div class="uploads-wrapper">
	<div class='container'>
		<div class="row">
			<h1>Create a New Bucket!</h1>

			<input type="button" id="create" value="Create New Bucket" />
		</div>
		<div class="row">
			<?php 
    $frontEndController->createBucketForm();
Exemplo n.º 2
0
<?php

/**
 * Template Name: Homepage
 * Description: This is the homepage.
 */
ini_set('display_startup_errors', 1);
ini_set('display_errors', 1);
get_header();
?>

<?php 
$frontEndController = new frontEndController();
$home = true;
$results = $frontEndController->displayMainMenu($home);
?>

	<script>home = true;</script>
	<style>
	

		.search-container{display: inline-block; width: 100%; margin: 125px 0 45px;}
		.search-wrapper{max-width: none; margin: 0px auto; width: 750px; border-radius: 2px; float: none;}
		.search-wrapper #tagInput{padding: 14px 13px 13px; font-size: 2.5em; line-height: 1; width: 590px;}
		.search-wrapper input#addTag[type="submit"]{padding: 21px 30px 20px; font-size: 1.5em; width: 158px; background: #EEE;}
		.search-wrapper input#addTag[type="submit"]:hover {background: #D8E4E4 none repeat scroll 0% 0%;}
		.recently-updated{margin-bottom: 50px;}
		.recently-updated h2{ text-align: center; font-size: 2em; margin: 15px 0;}
		.recently-updated .items-wrapper {margin: 0px; left: auto; width: 100%; position: relative !important;}