$Title = $_GET['title']; $Limit = null; } if (!empty($_GET['category'])) { $Category = $_GET['category']; $Limit = null; } if (!empty($_GET['subcategory'])) { $SubCategory = $_GET['subcategory']; $Limit = null; } if (!empty($_GET['tags'])) { $Tags = $_GET['tags']; $Limit = null; } $Events = SiteHistory::get_events($Month, $Year, $Title, $Category, $SubCategory, $Tags, $Limit); $Months = SiteHistory::get_months(); View::show_header("Site History"); ?> <div class="header"> <h2><a href="sitehistory.php">Site History</a> <?php echo $Month && $Year ? date("- F, Y", mktime(0, 0, 0, $Month, 1, $Year)) : ''; ?> </h2> <?php SiteHistoryView::render_linkbox(); ?> </div> <div class="sidebar"> <?php SiteHistoryView::render_search();