$auxLink = '<a href="' . SITE_WEB_DIRECTORY . '/shows/">Return to Show Calendar/Search</a>'; } else { $auxLink = '<a href="' . SITE_WEB_DIRECTORY . '/shows.php">Return to Show Calendar/Search</a>'; } } } if (!$view && $_GET['submit'] == 'search') { $view = 'search'; $sl = new ShowList(); $sl->toSearch = $_GET['toSearch']; $sl->includeAV = $_GET['includeAV']; $sl->includePictures = $_GET['includePictures']; $sl->isAllAges = $_GET['isAllAges']; $sl->keywords = $_GET['keywords']; $results = $sl->get($_GET['e'], $_GET['s']); $total = $sl->getTotal(); $shows = array(); foreach ($results as $sh) { $detail = new SectionTemplate(); $detail->file = "show_summary.php"; $detail->args['show'] = $sh; $shows[] = $detail; } if (count($shows) == 0) { unset($shows); } $paging = new SectionTemplate(); $paging->file = "paging.php"; $paging->args['total'] = $total; if (USE_MOD_REWRITE) { $paging->args['url'] = SITE_WEB_DIRECTORY . '/shows/';
<div id="breadcrumb"> <a href="index.php">Audition ></a> <a href="live.php">Live ></a> Shows </div> <h1>shows:</h1> <div class="inset"> <p> <?php $sl = new ShowList(); $sl->includeAll(); $sl->toSearch = 'all'; $showlist = $sl->get($_GET['entries_per_page'], $_GET['start']); $news_total = $sl->getTotal(); ?> <form id="amount_form" action="<?php echo $PHP_SELF; ?> " method="get"> <a href="show_add.php">Add Show</a><span class="padded">|</span> <?php include 'layout/paging.php'; ?> </form> </p> <p> <table class="list" border="0" cellspacing="1" cellpadding="0"> <tr> <td class="header">Date/Time</td>