From 35866518e80e0298b170c1c20c804cd6bcbf68fc Mon Sep 17 00:00:00 2001 From: vitadub Date: Thu, 30 Nov 2017 23:06:36 -0800 Subject: [PATCH] query & button updates (#139) * xxx * Delete Database_JobTables.txt * comma strip * Added Educator Job Table Modified Database_JobTables to include Educator Table * Updated Tooltip Descriptions Changed the ears_tipped and pregnant_cats images to have a more meaningful description. * updated login page not sure if it'll show up correctly because I couldn't get to run in on my computer... I tested it by changing it to html instead of php.. * minor change to login * merge problems.. * userprofile.css small modification * create.account ext rename * updated createaccount.php * error msg box added * Added a couple of tooltips Tooltips to forms * tooltip updates * removed everthing removed everything * add everything added everything back in * buttons for "text ok" added to forms * volunteerform * volunteerform textok * removed <<<<0){ + $cleared_url = strtok($curr_url, "?"); //remove get variables + header("Location: ".$cleared_url); + } + if($level == 1) { ?> @@ -183,7 +190,7 @@
    - (Enter null or '' for empty value) + (Enter null for empty value)
+ +
+
+ @@ -1056,7 +1077,13 @@
".$q.$_SESSION['volunteerquerysearch']."
- Volunteers

+ Volunteers +
+
+ + +
+
@@ -1330,16 +1357,12 @@ else if($level == 2) { print "you aren't supposed to be here.. STOP SNEAKING AROUND"; - header("Location: userprofile.php"); + header("Location: search.php"); } } ?> - - - - Total Records: - + Total Records: diff --git a/sacferals/search.php b/sacferals/search.php index 790791c..f207c27 100755 --- a/sacferals/search.php +++ b/sacferals/search.php @@ -186,7 +186,7 @@     - (Enter null or '' for empty value) + (Enter null for empty value)
+ +
+
+
@@ -1052,11 +1066,19 @@
".$q.$_SESSION['querysearch']."
- Report A Feral Cat Colony

- - - - + Report A Feral Cat Colony +
+
+ + + + +
+
+ + +
+
@@ -1311,11 +1333,7 @@ */ ?> - - - - Total Records: - + Total Records:
diff --git a/sacferals/volunteerlist.php b/sacferals/volunteerlist.php index 9b8f597..d7b04cc 100755 --- a/sacferals/volunteerlist.php +++ b/sacferals/volunteerlist.php @@ -26,6 +26,13 @@ $Ausername = $_SESSION['Ausername']; $level = $_SESSION['level']; + //prevent page from appending same query to current query + $curr_url = (isset($_SERVER['HTTPS']) ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; + if(strpos($curr_url,"?query")>0){ + $cleared_url = strtok($curr_url, "?"); //remove get variables + header("Location: ".$cleared_url); + } + if($level == 1 || $level==2) { ?> @@ -183,7 +190,7 @@     - (Enter null or '' for empty value) + (Enter null for empty value)
+ +
+
+
"; @@ -1000,7 +1021,13 @@
".$q.$_SESSION['volunteerquerysearch']."
- Volunteers

+ Volunteers +
+
+ + +
+
@@ -1265,11 +1292,7 @@ } ?> - - - - Total Records: - + Total Records: