File manager - Edit - /home/autoph/public_html/weCare/guests.php
Back
<?php ob_start(); include 'core/init.php'; $toDate = date_create() ->format("m/d/Y"); $myCurTime=$currentTime; ?> <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <link href='https://fonts.googleapis.com/css?family=Advent Pro' rel='stylesheet'> <style> body, html { height: 100%; margin: 0; background:white; } .noPadding{ background: rgba(255, 255, 255, 1); border:0px solid red; max-width:100%; height:auto; padding:0px; } .divA{ float:left; width:25%; height:150px; border:0px solid red; background:white; } .divB{ float:left; width:50%; height:150px; border:0px solid red; background:white; } .divC{ float:left; width:25%; height:150px; border:0px solid red; background:white; } .MainDiv{ width:60%; min-height:700px; margin-left:20%; border:0px solid gray; border-radius:10px; padding:10px; height:auto; min-height:1000px; margin-top:10px; } .imgSRC{ float:left; margin:10px; margin-top:-25px; margin:0px; width:70%; text-align:center; } .content{ padding:25px; padding-top:20px; padding-bottom:30px; border:1px solid #fee492 ; width:85%; margin-left:5%; margin-bottom:20px; border-radius:5px; background:white; margin-top:20px; } .MainDivBody{ float:left;width:100%; border:0px solid red; margin-bottom:50px; background:#e9e4df; border-radius:5px; } @media only screen and (max-width:1200px) { /* For mobile phones: */ .MainDiv{ width:80%; margin-left:10%; border:1px solid red; min-height:700px; margin-left:10%; border:1px solid gray; border-radius:10px; padding:10px; height:auto; margin-top:10px; } .imgSRC{ float:left; margin:10px; margin-top:-25px; margin:0px; width:50%; align:center; } .MainDivBody{ float:left;width:100%; border:0px solid red; margin-bottom:50px; background:#e9e4df; border-radius:5px; } @media only screen and (max-width:800px) { /* For mobile phones: */ .noPadding{ position:relative; background: rgba(255, 255, 255, 1); border:0px solid red; height:100%; padding:0px; width:99.5%; margin:0px; } .divA{ float:left; width:100%; height:150px; border:0px solid red; background:white; } .divB{ float:left; width:100%; height:150px; border:0px solid red; background:white; } .divC{ float:left; display:none; width:100%; height:150px; border:0px solid red; background:white; } .MainDiv{ width:100%; margin-left:0%; border:0px solid gray; border-radius:10px; height:auto; min-height:1000px; margin-top:10px; } .imgSRC{ float:left; margin:10px; margin-top:-25px; margin:0px; width:50%; align:center; margin-left:25%; } } .content{ padding:5px; padding-top:20px; padding-bottom:30px; border:0px solid #fee492 ; width:96%; margin-left:.5%; margin-bottom:20px; border-radius:5px; background:white; margin-top:20px; } .MainDivBody{ float:left;width:100%; border:0px solid red; margin-bottom:50px; background:#000000; border-radius:5px; } </style> </head> <script type="text/javascript"> function redirect() { var url = "http://www.(url).com"; window.location(url); } </script> <body> <div style="background:transparent; padding:0px;border:0px solid red; width:100%;padding-bottom:50px;height:auto"> <div class="noPadding"> <div class="MainDiv"> <div class="divA"> <img class="imgSRC" src="mini.jpg"></img> </div> <div class="divB"> <p style="text-align:center;font-family:Advent Pro;font-size:250%;font-weight:normal">MINI Contact Tracing and Health Declaration Form</p> </div> <div class="divC" > <img class="imgSRC" src="autohub_logo.png" style="float:right"></img> </div> <div class="MainDivBody" > <div class="content"> <p style="padding:20px;font-family:Advent Pro;font-size:120%;font-weight:normal;text-align:justify"> Kindly take a few moments to complete this form as it will help us to get in touch with you in the unlikely event that contact tracing is required. All employees are required to complete this form prior to entering the MINI facility. Information collected will be kept safely and any personal information will not be disclosed unless as required by law or with the employee’s express consent. It will be kept safely and any personal information will not be disclosed unless as required by law or with the customer’s express consent.</p> <p style="padding:20px;font-family:Advent Pro;font-size:120%;font-weight:normal;text-align:justify;color:red">* Required</p> </div> <div class="content"> <input type="text" id="toDate" value="<?php echo $toDate;?>" placeholder="Person to visit" style="font-size:110%;border:0px solid red;border-bottom:0px solid gray;padding-top:0px;width:50%"> </div> <div class="content"> <p style="padding:0px;font-family:Advent Pro;font-size:120%;font-weight:normal;text-align:justify;color:black;margin-top:0px">Person to Visit <b style="font-size:14px;color:red">*</b></p> <input type="text" id="empToVisit" required placeholder="Person to visit" style="font-size:110%;border:0px solid red;border-bottom:1px solid gray;padding-top:10px;width:100%"> </div> <div class="content"> <p style="padding:0px;font-family:Advent Pro;font-size:120%;font-weight:normal;text-align:justify;color:black;margin-top:0px">Customer's Last name <b style="font-size:14px;color:red">*</b></p> <input type="text" id="custLastName" required placeholder="Your Answer" style="font-size:110%;border:0px solid red;border-bottom:1px solid gray;padding-top:10px;width:100%"> </div> <div class="content"> <p style="padding:0px;font-family:Advent Pro;font-size:120%;font-weight:normal;text-align:justify;color:black;margin-top:0px">Customer's First name <b style="font-size:14px;color:red">*</b></p> <input type="text" id="custFirstName" required placeholder="Your Answer" style="font-size:110%;font-size:110%;border:0px solid red;border-bottom:1px solid gray;padding-top:10px;width:100%"> </div> <div class="content"> <p style="padding:0px;font-family:Advent Pro;font-size:120%;font-weight:normal;text-align:justify;color:black;margin-top:0px">Customers complete address <b style="font-size:14px;color:red">*</b></p> <input type="text" id="custAddress" required placeholder="Your Answer" style="font-size:110%;border:0px solid red;border-bottom:1px solid gray;padding-top:10px;width:100%"> </div> <div class="content"> <p style="padding:0px;font-family:Advent Pro;font-size:120%;font-weight:normal;text-align:justify;color:black;margin-top:0px">Contact cumber (Preferably mobile phone) <b style="font-size:14px;color:red">*</b></p> <input type="text" id="custContact" required placeholder="Your Answer" style="font-size:110%;border:0px solid red;border-bottom:1px solid gray;padding-top:10px;width:100%"> </div> <div class="content"> <p style="padding:0px;font-family:Advent Pro;font-size:120%;font-weight:normal;text-align:justify;color:black;margin-top:0px">Do you have a history of travel within 14 days?<b style="font-size:14px;color:red">*</b></p> <label for="noTravel" style="font-family:Advent Pro;font-size:120%;font-weight:normal;"> <input type="radio" id="noTravel" name="travelHistory" value="no"> No </label><br><br> <label for="withTravel" style="font-family:Advent Pro;font-size:120%;font-weight:normal;"> <input type="radio" id="withTravel" name="travelHistory" value="yes"> Yes </label><br> <br><br> <p style="padding:0px;font-family:Advent Pro;font-size:120%;font-weight:normal;text-align:justify;color:black;margin-top:0px">If yes, when and where?</p> <input type="text" id="travelInfo" required placeholder="Your Answer" style="border:0px solid red;border-bottom:1px solid gray;padding-top:10px;width:100%"> </div> <div class="content"> <p style="padding:0px;font-family:Advent Pro;font-size:120%;font-weight:normal;text-align:justify;color:black;margin-top:0px">Have you experience any respiratory symptoms (sore throat, runny rose, cough, shortness of breath) prior to your visit to our facility?<b style="font-size:14px;color:red">*</b></p> <label for="noRespiratoryIssue" style="font-family:Advent Pro;font-size:120%;font-weight:normal;"> <input type="radio" id="noRespiratoryIssue" name="noRespi" value="no"> No </label><br><br> <label for="yesRespiratoryIssue" style="font-family:Advent Pro;font-size:120%;font-weight:normal;"> <input type="radio" id="yesRespiratoryIssue" name="noRespi" value="yes"> Yes </label><br> </div> <div class="content"> <p style="padding:0px;font-family:Advent Pro;font-size:120%;font-weight:normal;text-align:justify;color:black;margin-top:0px">Have you experienced any fever or chills prior to your visit to our facility?<b style="font-size:14px;color:red">*</b></p> <label for="noChill" style="font-family:Advent Pro;font-size:120%;font-weight:normal;"> <input type="radio" id="noChill" name="noChill" value="no"> No </label><br><br> <label for="yesChill" style="font-family:Advent Pro;font-size:120%;font-weight:normal;"> <input type="radio" id="yesChill" name="noChill" value="yes"> Yes </label><br> <br> <p style="padding:0px;font-family:Advent Pro;font-size:120%;font-weight:normal;text-align:justify;color:black;margin-top:0px">If yes,please specify the maximum temperature</p> <input type="text" id="chillTemp" required placeholder="Your Answer" style="font-size:110%;border:0px solid red;border-bottom:1px solid gray;padding-top:10px;width:100%"><br> </div> <div class="content"> <p style="padding:0px;font-family:Advent Pro;font-size:120%;font-weight:normal;text-align:justify;color:black;margin-top:0px">Do you have any contact or exposed to someone who has suppected / probable / positive case of covid-19?<b style="font-size:14px;color:red">*</b></p> <label for="noCovidContact" style="font-family:Advent Pro;font-size:120%;font-weight:normal;"> <input type="radio" id="noCovidContact" name="noCovidContact" value="no"> No </label><br><br> <label for="yesCovidContact" style="font-family:Advent Pro;font-size:120%;font-weight:normal;"> <input type="radio" id="yesCovidContact" name="noCovidContact" value="yes"> Yes </label><br> <br> <p style="padding:0px;font-family:Advent Pro;font-size:150%;font-weight:normal;text-align:justify;color:black;margin-top:0px">If yes,when is the last date of contact/exposure?</p> <input type="date" id="covidContactDate" required placeholder="Your Answer" style="font-size:110%;border:0px solid red;border-bottom:1px solid gray;padding-top:10px;width:50%"><br> </div> <div class="content"> <p style="padding:0px;font-family:Advent Pro;font-size:120%;font-weight:normal;text-align:justify;color:black;margin-top:0px">Do you or anyone in the household have any of the above mentioned signs or symptoms or pending covid-19 test results?<b style="font-size:14px;color:red">*</b></p> <label for="NohouseHold" style="font-family:Advent Pro;font-size:120%;font-weight:normal;"> <input type="radio" id="NohouseHold" name="noHouseHold" value="no"> No </label><br><br> <label for="yesChill" style="font-family:Advent Pro;font-size:120%;font-weight:normal;"> <input type="radio" id="YeshouseHold" name="noHouseHold" value="yes"> Yes </label><br> <br> </div> <div class="content"> <p style="padding:20px;font-family:Advent Pro;font-size:120%;font-weight:normal;text-align:justify"> <input type="checkbox" name="checkbox" id="chkConfirm" value="value"> <label for="chkConfirm"> HEREBY CONFIRM THAT ALL STATEMENTS ARE TRUE AND COMPLETE*.</label> <br><br> "By signing this form/document, I hereby acknowledge that British United Automobiles Inc., including its parent company, affiliates, subsidiaries, and related companies, as well as their respective officers, directors, shareholders, employees, agents, and other parties with which they do business (hereinafter collectively referred to as “Company”), may use and process all personal information that I have voluntarily and knowingly provided, including those that may be sensitive or confidential as may be disclosed by me, in any transaction or activity related to the Company for the purpose herein stated specifically for public health and safety purposes. Use and processing of Personal Information includes collection, recording, listing, systematization, accumulation, storage, updating, extraction, transfer, anonymization, blocking, deletion, destruction, whether through electronic means or otherwise. I hereby release and forever discharge the Company, including its parent company, affiliates, subsidiaries, and related companies, as well as their respective officers, directors, shareholders, employees, agents, and other parties with which they do business, in their official corporate capacities as well as in their individual personal capacities, from any and all sums of money, or any other obligations, privilege, emolument, entitlement, and benefit arising from any and all incident, directly or indirectly related to, the use and processing of all personal and sensitive information. I likewise categorically declare that I do not have and will not institute any claim or cause of action in relation to the use and processing of personal and sensitive information by the Company. <input type="submit" id="saveForm" value="SUBMIT" style="font-size:22px;padding:20px; width:80%;margin:10%;margin-bottom:20px"> </p> </div> </div> </div> </div> </div> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <div id="wait" style="display:none;width:69px;height:89px;border:0px solid red;position:absolute;top:50%;left:50%;padding:2px;"> <img src='images/demo_wait.gif' width="64" height="64" /><br>Loading..</div> <!-- add jquery --> <script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.js"></script> <script type="text/javascript"> $(document).ready(function(){ //loading gif animator during query or page load $(document).ajaxStart(function(){ $("#wait").css("display", "block"); }); $(document).ajaxComplete(function(){ $("#wait").css("display", "none"); }); //START OF FUNCTION================= SAVING NEW RECORD $("#saveForm").click(function(){ var chkConfirm = $("#chkConfirm").val(); var YeshouseHold = $("#YeshouseHold").val(); var NohouseHold = $("#NohouseHold").val(); var covidContactDate = $("#covidContactDate").val(); var yesCovidContact = $("#yesCovidContact").val(); var noCovidContact = $("#noCovidContact").val(); var chillTemp = $("#chillTemp").val(); var yesChill = $("#yesChill").val(); var noChill = $("#noChill").val(); var yesRespiratoryIssue = $("#yesRespiratoryIssue").val(); var noRespiratoryIssue = $("#noRespiratoryIssue").val(); var travelInfo = $("#travelInfo").val(); var withTravel = $("#withTravel").val(); var noTravel = $("#noTravel").val(); var custContact = $("#custContact").val(); var custAddress = $("#custAddress").val(); var custFirstName = $("#custFirstName").val(); var custLastName = $("#custLastName").val(); var empToVisit = $("#empToVisit").val(); var toDate= $("#toDate").val(); if (yesCovidContact == "") { alert("Error: Please input your contact information"); return false; } if (chkConfirm == "") { alert("Error: Please validate information by checking the checkbox below"); return false; } if (custFirstName == "") { alert("Error: Please input your First Name"); return false; } if (custLastName == "") { alert("Error: Please input your Last Name"); return false; } if (empToVisit == "") { alert("Error: Person to visit is a required field"); return false; } $.ajax({ url: "saveContactTracingForm.php", type: "POST", async: false, data: { "done": 1, "chkConfirm": chkConfirm, "YeshouseHold": YeshouseHold, "NohouseHold": NohouseHold, "covidContactDate": covidContactDate, "yesCovidContact": yesCovidContact, "noCovidContact": noCovidContact, "chillTemp": chillTemp, "yesChill": yesChill, "noChill": noChill, "yesRespiratoryIssue": yesRespiratoryIssue, "noRespiratoryIssue": noRespiratoryIssue, "travelInfo": travelInfo, "withTravel": withTravel, "noTravel": noTravel, "custContact": custContact, "custAddress": custAddress, "custFirstName": custFirstName, "custLastName": custLastName, "empToVisit": empToVisit, "toDate": toDate }, success: function(data){ //location.href = "ThankYou.html"; window.location='ThankYou.html' } }) }); //END OF FUNCTION================= }); function displayFromDatabase(){ var searchString = $("#searchString").val(); $.ajax({ url: "search_load_found_customer.php", type: "POST", async: false, data: { "searchString": searchString, "display": 1 }, success: function(d){ $("#display_area").html(d); } }); } </script> </body> </html>
| ver. 1.4 |
.
| PHP 7.3.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings