</ul> </nav> <section class="Search"> <div class="SearchWrap"> <h2>Search</h2> <form method="GET" action="index.php"> <input id="q" type="text" name="q" placeholder="Enter keywords, authors, public figures or events to begin your chain."/> </form> <article class="SearchResults"> <?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();