File manager - Edit - /home/autoph/public_html/weCare/Covid19/ContactTracing/LiBiS/rpt_visitors.php
Back
<?php ob_start(); include 'core/init.php'; protected_page(); $myCurTime=$currentTime; $site=$_GET['id']; $emp=$_GET['emp']; ?> <!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; } .tBalls{ border:1px solid gray; padding:3px;background:lightgray; } .tBallsA{ border:1px solid gray; padding:3px;font-weight:normal; } .bg { background-image: url("covid19A.jpg"); height: 100%; background-position: center; background-repeat: no-repeat; background-size: cover; } .bgA { background-image: url("mini.png"); height: 200px; width:25%; background-position: center; background-repeat: no-repeat; background-size: cover; image-background: rgba(10, 20, 10, 0.9); float:left; } .imgSRC{ float:left; margin:10px; margin-top:-25px; margin:0px; width:70%; text-align:center; } .noPadding{ background: rgba(0, 0, 0, 1); border:0px solid red; max-width:100%; height:100%; padding:0px; } .newsFeed{ float:left; font-family:Sans Serif; font-size:60px; font-weight:bold; color:red; width:25%; border:0px solid yellow; margin-top:0px; padding-left:0px; text-align:left; margin-left:100px; } .newsFeedB{ float:right; font-family:Sans Serif; font-size:60px; font-weight:bold; color:red; width:25%; border:0px solid yellow; margin-top:0px; padding-left:0px; text-align:left; margin-right:100px; } .newsFeedA{ float:left; font-family:Sans Serif; font-size:14px; font-weight:bold; color:black; text-align:center; width:100%; border:0px solid red; margin-top:10px; } .buttonDiv{ float:left; font-family:Candara Light; font-size:100%; text-align:center; font-weight:bold; color:white; width:80%; margin-left:10%; border:0px solid green; margin-top:20px; margin-bottom:20px; } .myButton{ font-family:Calibri; font-size:110%; padding:20px; width:33%; margin:20px; } .textWindow{ width:100%; font-family:._mini_serif-black-webfont; font-size:100%; width:70%; margin-left:15%; border:0px solid blue; text-align:left; padding:5px; margin-bottom:10px; } .tracing{ font-family:Candara Light; font-size:22px; } @media only screen and (max-width:900px) { /* For mobile phones: */ .newsFeed{ width:80%; font-size:40px; text-align:center; margin-top:5px; height:100%; border:0px solid yellow; padding:20px; margin-bottom:50px; margin:1px; paddin-top:50px } .newsFeedB{ display:none; width:100%; font-size:40px; text-align:right; margin-top:5px; height:100%; border:0px solid yellow; padding:20px; margin-bottom:50px; margin:1px; padding-top:20px } .newsFeedA{ float:left; font-family:Advent Pro; font-size:14px; font-weight:bold; color:black; text-align:center; width:100%; border:0px solid red; margin-top:20px; } .noPadding{ position:relative; background: rgba(0, 0, 0, 1); border:0px solid red; height:100%; padding:0px; width:99.5%; margin:0px; } .buttonDiv{ float:left; font-family:Candara Light; font-size:100%; text-align:center; font-weight:bold; color:white; width:90%; margin-left:5%; border:0px solid green; padding-bottom:10px; } .imgSRC{ float:left; margin:10px; margin-top:-25px; margin:0px; width:80%; align:center; margin-left:50px; } .myButton{ font-family:Calibri; font-size:110%; padding:20px; width:95%; } .textWindow{ font-family: 'Advent Pro'; font-size:100%; width:96%; margin-left:2%; border:0px solid blue; text-align:left; padding:5px; margin-bottom:50px; } </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%;height:100%"> <div class="noPadding"> <div class="bg"> <div style="float:left;font-family:Baskerville Old Face;font-size:80px;font-weight:bold;color:red;text-align:left;width:90%;border:0px solid blue;margin-top:50px;margin-left:5%"> <div class="newsFeed"> <img class="imgSRC" src="mini.jpg"></img> </div> <div class="newsFeedB"> <img class="imgSRC" src="autohub_logo.png"></img> </div> <div class="newsFeedA"> <div style="width:100%"><br> <p style="text-align:center;font-family:Arial;font-size:200%;font-weight:normal">MINI Contact Tracing and Health Declaration Form - Visitors Report Summary</p> <?php echo "<table style='border-collapse:collapse;'>"; echo "<thead>"; echo "<th class='tBalls' style='width:5%'>No.</th>"; echo "<th class='tBalls' style='width:5%'>Date</th>"; echo "<th class='tBalls' style='width:5%'>Temp.</th>"; echo "<th class='tBalls' style='width:10%'>Person To Visit</th>"; echo "<th class='tBalls' style='width:5%'>Last Name</th>"; echo "<th class='tBalls' style='width:5%'>First Name</th>"; echo "<th class='tBalls' style='width:5%'>Mobile No.</th>"; echo "<th class='tBalls' style='width:5%'>Travel History</th>"; echo "<th class='tBalls' style='width:10%'>Travel History (When / Where)</th>"; echo "<th class='tBalls' style='width:10%'>Signs / Symptoms</th>"; echo "<th class='tBalls' style='width:10%'>Contact to someone who has suspected / probable positive case of Covide19</th>"; echo "<th class='tBalls' style='width:5%'>Date of Contact if 'YES'</th>"; echo "<th class='tBalls' style='width:10%'>House Hold with Sign or symptoms of Covid19</th>"; echo "<th class='tBalls' style='width:5%'>Location</th>"; echo "</thead>"; $getData = mysql_query("SELECT * FROM `tracing_form` WHERE 1 ORDER BY id DESC"); while($row= mysql_fetch_array($getData)){ $no = $no + 1; if($row['yesRespiratoryIssue']==='yes' || $row['yesCovidContact']==='yes'){ $bg='#faba8d'; }else{ $bg='#ffffff'; } echo "<tr>"; echo "<td class='tBallsA' style='background:$bg;'>".$no."</td>"; echo "<td class='tBallsA' style='background:$bg;'>".$row['toDate']."</td>"; echo "<td class='tBallsA' style='background:$bg;'>".$row['myTemp']."</td>"; echo "<td class='tBallsA' style='background:$bg;'>".$row['empToVisit']."</td>"; echo "<td class='tBallsA' style='background:$bg;'>".$row['custLastName']."</td>"; echo "<td class='tBallsA' style='background:$bg;'>".$row['custFirstName']."</td>"; echo "<td class='tBallsA' style='background:$bg;'><input type='password' value=".$row['custContact']." disabled style='padding:0px;border:0px solid white;margin:0px'></td>"; echo "<td class='tBallsA' style='background:$bg;'>".$row['withTravel']."</td>"; echo "<td class='tBallsA' style='background:$bg;'>".$row['travelInfo']."</td>"; echo "<td class='tBallsA' style='background:$bg;'>".$row['yesRespiratoryIssue']."</td>"; echo "<td class='tBallsA' style='background:$bg;'>".$row['yesCovidContact']."</td>"; echo "<td class='tBallsA' style='background:$bg;'>".$row['covidContactDate']."</td>"; echo "<td class='tBallsA' style='background:$bg;'>".$row['YeshouseHold']."</td>"; echo "<td class='tBallsA' style='background:$bg;'>".$row['origin']."</td>"; echo "</tr>"; } echo "<table>"; ?> </div> </div> </div> </div> </div> </div> </body> </html>
| ver. 1.4 |
.
| PHP 7.3.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings