????JFIF??x?x????'
Server IP : 79.136.114.73 / Your IP : 13.59.90.172 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/appsrv.astacus.se/scanreport/ |
Upload File : |
<?php $link = mysql_connect ("localhost", "root", "root123"); mysql_select_db ("vpa"); $username = $_GET['username']; $message = $_GET['message']; $sql = "SELECT * FROM ProjectFlex where username = '$username'"; $result = mysql_query($sql); while ($row = mysql_fetch_assoc($result)){ $hrs = $row['hrs']; } ?> <!DOCTYPE HTML> <html> <head> <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0"> <meta name="format-detection" content="telephone=no"> <meta name="apple-mobile-web-app-capable" content="yes" /> <meta charset="UTF-8"> <title>ScanReport</title> <style type="text/css"> .Rubrik { font-family: Arial, Helvetica, sans-serif; font-size: 42px; color:#FC0; } .Field { font-family: Arial, Helvetica, sans-serif; font-size: 24px; } .Field1 { font-family: Arial, Helvetica, sans-serif; font-size: 28px; } </style> <script> <?php if($message != ""){ echo('alert("'.$message.'");'); } ?> function iOSversion() { if (/iP(hone|od|ad)/.test(navigator.platform)) { // supports iOS 2.0 and later: <http://bit.ly/TJjs1V> var v = (navigator.appVersion).match(/OS (\d+)_(\d+)_?(\d+)?/); return v[1]+""+v[2]+""+v[3] ; } } function update_flex(){ window.location ="update_flex.php?username="+localStorage.getItem("username")+"&hrs="+document.getElementById("flex").value; } </script> </head> <body bgcolor="#000000"> <br> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="center" class="Rubrik">FLEX<br> <div id="version" class="Field"></div> <p class="Field"><span class="Field">Your total flex is:</span><br> <input name="flex" type="tel" class="Field" id="flex" size="16" placeholder="0" value="<?php echo($hrs);?>"> <br> <input name="button2" type="button" class="Field" id="button2" value="Update!" onClick="update_flex();"> <br> <br> <input name="button" type="submit" class="Field1" id="button" value="<< Back" onClick="javascript:window.location='index.html'"> <br> <br> (You will have to ensure that the<br> total flex time is in the box<br> above. Do you want to remove the flex,<br> count yourself out and fill it<br> new value.)<br> </p> </td> </tr> </table> </body> </html>