From be8f92633900e7545374fee42ea929f3a0a2b7f1 Mon Sep 17 00:00:00 2001 From: vitadub Date: Mon, 30 Oct 2017 20:34:40 -0700 Subject: [PATCH] added kittens & friendly/pet (#75) * added .txt extention to Database_JobTables * tried to remove commas from $typeofworkstring * edit * added files back to forlder * added alice's part * xxx * Delete Database_JobTables.txt * comma strip * 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 * tooltip updates * buttons for "text ok" added to forms * volunteerform * volunteerform textok * removed <<<< document.location = 'formsubmitted.php'; "; @@ -269,6 +271,13 @@ function formatPhone(phoneId) { *Approx # of Cats (including Kittens)


+ If there are kittens, are they under 8 weeks old and nursing? + + Kitten Description
+ Will be provided by SacFerals later.
+

+ Yes
+ No

Injured or Pregnant Cats? @@ -284,6 +293,10 @@ function formatPhone(phoneId) {

+ Is the cat friendly or a pet?
+ Yes
+ No

+ What is the setting of this colony?
Residential
Commercial
diff --git a/sacferals/search.php b/sacferals/search.php index a4a1dff..f474eea 100644 --- a/sacferals/search.php +++ b/sacferals/search.php @@ -66,10 +66,12 @@ + + @@ -163,8 +165,8 @@ $result = mysqli_query($link, $query); $row = mysqli_fetch_row($result); list($Comments1, $Responder, $Status, $RecordNumber, $DateAndTime, $FullName, $Email, $Phone1, $Phone2, $ColonyAddress, - $City, $County, $ZipCode, $AnyoneAttempted, $ApproximateCats, $ColonyCareGiver, $FeederDescription, - $Injured, $InjuryDescription, $ColonySetting, $Comments, $VolunteerResponding, $ResponseDate, $CustNeedOutcome, $BeatTeamLeader, + $City, $County, $ZipCode, $AnyoneAttempted, $ApproximateCats, $Kittens, $ColonyCareGiver, $FeederDescription, + $Injured, $InjuryDescription, $FriendlyPet, $ColonySetting, $Comments, $VolunteerResponding, $ResponseDate, $CustNeedOutcome, $BeatTeamLeader, $Outcome, $CompletionDate) = $row; @@ -216,10 +218,12 @@ Zip_Code Anyone_Attempted Approximate_Cats + Kittens Colony_Caregiver Feeder_Description Injured/Pregnant Injury_Description + Friendly/Pet Colony_Setting Comments Volunteer_Responding @@ -242,8 +246,8 @@ while($row = mysqli_fetch_row($result)) { list($Comments1, $Responder, $Status, $RecordNumber, $DateAndTime, $FullName, $Email, $Phone1, $Phone2, $ColonyAddress, - $City, $County, $ZipCode, $AnyoneAttempted, $ApproximateCats, $ColonyCareGiver, $FeederDescription, - $Injured, $InjuryDescription, $ColonySetting, $Comments, $VolunteerResponding, $ResponseDate, $CustNeedOutcome, $BeatTeamLeader, + $City, $County, $ZipCode, $AnyoneAttempted, $ApproximateCats, $Kittens, $ColonyCareGiver, $FeederDescription, + $Injured, $InjuryDescription, $FriendlyPet, $ColonySetting, $Comments, $VolunteerResponding, $ResponseDate, $CustNeedOutcome, $BeatTeamLeader, $Outcome, $CompletionDate) = $row; // variables are set to current row // then printed in one table row @@ -311,10 +315,12 @@ + + @@ -365,10 +371,12 @@ $ZipCode $AnyoneAttempted $ApproximateCats + $Kittens $ColonyCareGiver $FeederDescription $Injured $InjuryDescription + $FriendlyPet $ColonySetting $Comments $VolunteerResponding @@ -413,10 +421,12 @@ $ZipCode = $_POST['ZipCode']; $AnyoneAttempted = $_POST['AnyoneAttempted']; $ApproximateCats = $_POST['ApproximateCats']; + $Kittens = $_POST['Kittens']; $ColonyCareGiver = $_POST['ColonyCareGiver']; $FeederDescription = $_POST['FeederDescription']; $Injured = $_POST['Injured']; $InjuryDescription = $_POST['InjuryDescription']; + $FriendlyPet = $_POST['FriendlyPet']; $ColonySetting = $_POST['ColonySetting']; $Comments = $_POST['Comments']; $VolunteerResponding = $_POST['VolunteerResponding']; @@ -497,8 +507,8 @@ FullName='$FullName', Email='$Email', Phone1='$Phone1', Phone2='$Phone2', ColonyAddress='$ColonyAddress', City='$City', County='$County', ZipCode='$ZipCode', AnyoneAttempted='$AnyoneAttempted', - ApproximateCats='$ApproximateCats', ColonyCareGiver='$ColonyCareGiver', FeederDescription='$FeederDescription', - Injured='$Injured', InjuryDescription='$InjuryDescription', ColonySetting='$ColonySetting', Comments='$Comments', + ApproximateCats='$ApproximateCats', Kittens='$Kittens', ColonyCareGiver='$ColonyCareGiver', FeederDescription='$FeederDescription', + Injured='$Injured', InjuryDescription='$InjuryDescription', FriendlyPet='$FriendlyPet', ColonySetting='$ColonySetting', Comments='$Comments', VolunteerResponding='$VolunteerResponding', ResponseDate='$ResponseDate', CustNeedOutcome='$CustNeedOutcome', BeatTeamLeader='$BeatTeamLeader', Outcome='$Outcome', CompletionDate='$CompletionDate' where RecordNumber='$RecordNumber1'"; @@ -579,10 +589,12 @@ Zip_Code Anyone_Attempted Approximate_Cats + Kittens Colony_Caregiver Feeder_Description Injured/Pregnant InjuryDescription + Friendly/Pet Colony_Setting Comments Volunteer_Responding @@ -604,8 +616,8 @@ while($row = mysqli_fetch_row($result)) { list($Comments1, $Responder, $Status, $RecordNumber, $DateAndTime, $FullName, $Email, $Phone1, $Phone2, $ColonyAddress, - $City, $County, $ZipCode, $AnyoneAttempted, $ApproximateCats, $ColonyCareGiver, $FeederDescription, - $Injured, $InjuryDescription, $ColonySetting, $Comments, $VolunteerResponding, $ResponseDate, $CustNeedOutcome, $BeatTeamLeader, + $City, $County, $ZipCode, $AnyoneAttempted, $ApproximateCats, $Kittens, $ColonyCareGiver, $FeederDescription, + $Injured, $InjuryDescription, $FriendlyPet, $ColonySetting, $Comments, $VolunteerResponding, $ResponseDate, $CustNeedOutcome, $BeatTeamLeader, $Outcome, $CompletionDate) = $row; // variables are set to current row // then printed in one table row @@ -625,18 +637,20 @@ $myArray[12]=$ZipCode; $myArray[13]=$AnyoneAttempted; $myArray[14]=$ApproximateCats; - $myArray[15]=$ColonyCareGiver; - $myArray[16]=$FeederDescription; - $myArray[17]=$Injured; - $myArray[18]=$InjuryDescription; - $myArray[19]=$ColonySetting; - $myArray[20]=$Comments; - $myArray[21]=$VolunteerResponding; - $myArray[22]=$ResponseDate; - $myArray[23]=$CustNeedOutcome; - $myArray[24]=$BeatTeamLeader; - $myArray[25]=$Outcome; - $myArray[26]=$CompletionDate; + $myArray[15]=$Kittens; + $myArray[16]=$ColonyCareGiver; + $myArray[17]=$FeederDescription; + $myArray[18]=$Injured; + $myArray[19]=$InjuryDescription; + $myArray[20]=$FriendlyPet; + $myArray[21]=$ColonySetting; + $myArray[22]=$Comments; + $myArray[23]=$VolunteerResponding; + $myArray[24]=$ResponseDate; + $myArray[25]=$CustNeedOutcome; + $myArray[26]=$BeatTeamLeader; + $myArray[27]=$Outcome; + $myArray[28]=$CompletionDate; $myArray1[0]="Comments1"; $myArray1[1]="Responder"; @@ -653,18 +667,20 @@ $myArray1[12]="ZipCode"; $myArray1[13]="AnyoneAttempted"; $myArray1[14]="ApproximateCats"; - $myArray1[15]="ColonyCareGiver"; - $myArray1[16]="FeederDescription"; - $myArray1[17]="Injured"; - $myArray1[18]="InjuryDescription"; - $myArray1[19]="ColonySetting"; - $myArray1[20]="Comments"; - $myArray1[21]="VolunteerResponding"; - $myArray1[22]="ResponseDate"; - $myArray1[23]="CustNeedOutcome"; - $myArray1[24]="BeatTeamLeader"; - $myArray1[25]="Outcome"; - $myArray1[26]="CompletionDate"; + $myArray1[15]="Kittens"; + $myArray1[16]="ColonyCareGiver"; + $myArray1[17]="FeederDescription"; + $myArray1[18]="Injured"; + $myArray1[19]="InjuryDescription"; + $myArray1[20]="FriendlyPet"; + $myArray1[21]="ColonySetting"; + $myArray1[22]="Comments"; + $myArray1[23]="VolunteerResponding"; + $myArray1[24]="ResponseDate"; + $myArray1[25]="CustNeedOutcome"; + $myArray1[26]="BeatTeamLeader"; + $myArray1[27]="Outcome"; + $myArray1[28]="CompletionDate"; print " @@ -725,10 +741,12 @@ $ZipCode $AnyoneAttempted $ApproximateCats + $Kittens $ColonyCareGiver $FeederDescription $Injured $InjuryDescription + $FriendlyPet $ColonySetting $Comments $VolunteerResponding