include("force_https.php"); session_start(); $_SESSION['number_of_results'] = 0; $search_string = ""; $search_text = ""; $search_string_array; $search_string_csv = ""; $department = ""; $str_using_filters = ""; $showresults = FALSE; if(isset($_POST['search']) ) { //Keep the original text to show back in the address bar $search_text = $_POST['search']; $search_string = $_POST['search']; //Clean the search string for use in query //Remove nasty characters $search_string = preg_replace("/[^a-zA-Z0-9\s]/", "", $search_string); //Remove double spaces $search_string = preg_replace('!\s+!', ' ', $search_string); $search_string_csv = str_replace(" ", ", ", Trim($search_string)); $search_string_array = explode(", ", $search_string_csv); $_SESSION['search_string_array'] = $search_string_array; //Get the filter by data $department = $_POST['department']; $_SESSION['filter_department'] = $department; //Get the filter by type $type = $_POST['type']; $_SESSION['filter_type'] = $type; //If there is anything to search for show search results If ( strlen($search_text) + strlen($department) + strlen($type) > 2 ) { $showresults = TRUE; If ( strlen($department) > 2 ) { $str_using_filters = " With Department = " . $department; } If ( strlen($type) > 2 ) { If ( strlen($str_using_filters) > 0 ) { $str_using_filters = $str_using_filters . " &"; } $str_using_filters = $str_using_filters . " With Type = " . $type; } } } else { //If its a new page or refresh we need to clear out the session UNSET($_SESSION['search_string_array']); UNSET($_SESSION['filter_department']); UNSET($_SESSION['filter_type']); } <xsl:copy-of select="/document/title/node()" /> | McKendree University nav_title
com.omniupdate.div label="mainNavigation" path="/public/includes/mainNavigation.html" @include($_SERVER['DOCUMENT_ROOT']."/public/includes/mainNavigation.html"); /com.omniupdate.div
png-bg

@include($_SERVER['DOCUMENT_ROOT']."");

    leftnav_include: com.omniupdate.div label="sidenav" path="" @include("leftnav.inc"); /com.omniupdate.div

include("directory.php");
@include("google_analytics.php");
 



checked  


checked