Example #1
0
                        <?php 
if (isset($_GET['q'])) {
    if ($_GET['q'] === "") {
        $view->printMessage("You haven't searched for anything!");
    } else {
        $controller->handleChainSearch($_GET['q']);
    }
} else {
    $view->printMessage("Search for other user's chains here, or proceed to 'Your Chains' to create one!");
}
?>

					</article>
				</div>
			</section>


			<section class="TopChain">
				<h2>Top Chains</h2>
				<?php 
$controller->handleShowTopChains();
?>
			</section>

			<footer class="footer">
				<p>Co-founders: Elliot Randall, Henry Chladil, Alek Thompson, Gary Myles and Angus Payne</p>
			</footer>
		</div>
	</body>
</html>