diff --git a/sacferals/Database_creation_tables.txt b/sacferals/Database_creation_tables.txt index f469163..66f371a 100644 --- a/sacferals/Database_creation_tables.txt +++ b/sacferals/Database_creation_tables.txt @@ -125,6 +125,19 @@ INSERT INTO CannedQueries VALUES ('','status open', "SELECT * FROM ReportColonyForm where Status='open'"); +CREATE TABLE CannedQueriesVolunteers ( + ID int NOT NULL AUTO_INCREMENT, + QueryName varchar(45) NOT NULL, + QueryString varchar(200) NOT NULL, + PRIMARY KEY (ID) +); + +INSERT INTO CannedQueriesVolunteers values + ('', 'Default', "SELECT * FROM VolunteerForm"); +INSERT INTO CannedQueriesVolunteers VALUES + ('','status inactive', "SELECT * FROM VolunteerForm where VolunteerStatus='Inactive'"); + + CREATE TABLE SundaySSPCA ( RecordNumber int NOT NULL AUTO_INCREMENT, primary key(RecordNumber), diff --git a/sacferals/adminprofile.php b/sacferals/adminprofile.php index a2474c7..5414845 100644 --- a/sacferals/adminprofile.php +++ b/sacferals/adminprofile.php @@ -37,13 +37,13 @@ - + - + diff --git a/sacferals/createaccount.php b/sacferals/createaccount.php index b26dffe..b12c22f 100755 --- a/sacferals/createaccount.php +++ b/sacferals/createaccount.php @@ -4,6 +4,26 @@ $link = connectdb($host, $user, $pass, $db); ?> + + + +
+ID | -Comments | +Date/Time | Responder | +Comments | Status | -Date/Time | Will Feed | FullName | Phone1 | Phone2 | -Colony Address | +Address | City | County | Zip | -Anyone Attempted | +Trapping/ Eartip | # Cats | Kittens | -Caregiver/ Feeder | +Caregiver | Description | -Injured/ Pregnant | +Sick | Description | -Friendly/ Pet | +Friendly | Setting | Additional Comments | -Require Assistance | +Assist | Responder | -Response Date | -Outcome Needed | +Date | +Needs | Beat_Team_Leader | Outcome | Completion_Date | @@ -1043,10 +1050,10 @@ // then printed in one table row $myArray[0]=$RecordNumber; - $myArray[1]=$Comments1; + $myArray[1]=$DateAndTime; $myArray[2]=$Responder; - $myArray[3]=$Status; - $myArray[4]=$DateAndTime; + $myArray[3]=$Comments1; + $myArray[4]=$Status; $myArray[5]=$FeedIfReturned; $myArray[6]=$FullName; $myArray[7]=$Email; @@ -1077,10 +1084,10 @@ $myArray[32]=$Lng; $myArray1[0]="RecordNumber"; - $myArray1[1]="Comments1"; + $myArray1[1]="DateAndTime"; $myArray1[2]="Responder"; - $myArray1[3]="Status"; - $myArray1[4]="DateAndTime"; + $myArray1[3]="Comments1"; + $myArray1[4]="Status"; $myArray1[5]="FeedIfReturned"; $myArray1[6]="FullName"; $myArray1[7]="Email"; @@ -1111,9 +1118,9 @@ $myArray1[32]="Lng"; print " -
---|---|---|---|---|---|---|---|---|---|---|
Edit - Delete + Delete Form_View Copy | @@ -1161,10 +1168,10 @@ print "$RecordNumber | -+ | $DateAndTime | $Responder | +$Status | -$DateAndTime | $FeedIfReturned | $FullName |