', "..", $string); $string = str_replace("'","..", $string); $string = str_replace("<", "..", $string); return $string; } $allowed = array(); $HTTP_GET_VARS[gender] = quotes(kses($_GET[gender], $allowed, array('http', 'https'))); $HTTP_GET_VARS[age] = quotes(kses($_GET[age], $allowed, array('http', 'https'))); $HTTP_GET_VARS[first_name] = quotes(kses($_GET[first_name], $allowed, array('http', 'https'))); $HTTP_GET_VARS[last_name] = quotes(kses($_GET[last_name], $allowed, array('http', 'https'))); $HTTP_GET_VARS[major] = quotes(kses($_GET[major], $allowed, array('http', 'https'))); $HTTP_GET_VARS[q] = quotes(kses($_GET[q], $allowed, array('http', 'https'))); $HTTP_GET_VARS[minor] = quotes(kses($_GET[minor], $allowed, array('http', 'https'))); $HTTP_GET_VARS[user_name] = quotes(kses($_GET[user_name], $allowed, array('http', 'https'))); } $gender_dropdown = array(); $gender_dropdown['-'] = '-'; $gender_dropdown['M'] = 'M'; $gender_dropdown['F'] = 'F'; $orderby_dropdown = array(); $orderby_dropdown['Registration Date'] = 'registration_date'; $orderby_dropdown['Last Login'] = 'last_login'; $orderby_dropdown['Last Name'] = 'last_name'; $orderby_dir_dropdown = array(); $orderby_dir_dropdown['Descending'] = 'desc'; $orderby_dir_dropdown['Ascending'] = 'asc'; if ($HTTP_GET_VARS[pic] == '1') {$pic_only = 'checked';} ?>
Sending Invites for '.$event_data[title].'.'; echo ''; } ?>
- Search Users -

Skills Keywords :

(ie - guitar, bass, photography, design, ect...)

Gender : Order By :
First Name : Age :
Last Name : Major :
User Name : Minor :  
show users with
pic only : />
 School : '; echo ''; foreach($schools as $key => $school_name) { if ($_GET[school_search] == $school_name[name]) {$school_selected = 'Selected';} else {$school_selected = NULL;} echo ''; } echo '' ?>  

=1 ORDER BY $order_by"); while($query_results = mysql_fetch_array($results)) {$pic_results[]=$query_results;} } //$searchrow = 'pic'; //$pic_results = search_perform($HTTP_GET_VARS[pic]); $list = NULL; $list = addlist($name_results,$list); $list = addlist($lastname_results,$list); $list = addlist($gender_results,$list); $list = addlist($age_results,$list); $list = addlist($user_name_results,$list); $list = addlist($other_results,$list); $list = addlist($pic_results,$list); $list = addlist($major_results,$list); $list = addlist($minor_results,$list); if($list == NULL && $_GET[action] == 'search') { $result = mysql_query("SELECT * FROM users WHERE user_id > 0 ORDER BY $order_by"); while($users_data = mysql_fetch_array($result)) { $new_list[] = $users_data; } $list = $new_list; } if($list == 7){$list = NULL;} if ($HTTP_GET_VARS[school_search] != NULL) { $new_list = NULL; foreach ($list as $key => $user_data) { if ($_GET[school_search] == get_school($user_data)) { $new_list[] = $user_data; } } $list = $new_list; } $rsort = 'niether'; $list = trim_array($list, 'users'); list_users($list); } if($_GET[action]=='search' && $_GET[search]) { $search_args = array( "table"=>"users", "return_fields"=>"*", "search_fields"=>"user_name, first_name, last_name, email, IM_SN, other_mail, town, major, minor, year, building, hometown, other", "sort_by"=>"user_id" ); $search = new MysqlSearch($search_args); $search_results = $search->find($HTTP_GET_VARS[search]); if ($search_results) { foreach($search_results as $result) { $list[] = $result; } } $list = trim_array($list, 'users'); list_users($list); } include ('./includes/footer.php'); ?>