????JFIF??x?x????'
| Server IP : 79.136.114.73 / Your IP : 216.73.216.3 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 ("astacus_web");
$username = $_GET['username'];
$message = $_GET['message'];
$sql = "SELECT * FROM tblEmployees where astacusmail = '$username'";
$result = mysql_query($sql);
while ($row = mysql_fetch_assoc($result)){
$Name = $row['name'];
$Personalnumber = $row['personalnumber'];
$Email = $row['email'];
$Phone = $row['phone'];
$Bank = $row['bankname'];
$BankAccount = $row['bankaccount'];
$Relative = $row['relative'];
$RelativePhone = $row['realtivephone'];
}
?>
<!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;
}
.Field2 { font-family: Arial, Helvetica, sans-serif;
font-size: 20px;
}
</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] ;
}
}
</script>
</head>
<body bgcolor="#000000">
<br>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" class="Rubrik">Personal info
<form name="form1" method="post" action="personalsave.php?username=<?php echo($username);?>">
<table width="300" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="271"><span class="Field2">Name:
<label for="name"></label>
<br>
<input name="name" type="text" class="Field1" id="name" value="<?php echo($Name);?>">
</span></td>
<td width="12" align="right"> </td>
<td width="17"> </td>
</tr>
<tr>
<td><span class="Field2"> Personal number:<br>
<input name="personalnumber" type="text" class="Field1" id="personalnumber" value="<?php echo($Personalnumber);?>">
</span></td>
<td align="right"> </td>
<td> </td>
</tr>
<tr>
<td><span class="Field2">Private email:<br>
<input name="email" type="text" class="Field1" id="email" value="<?php echo($Email);?>">
</span></td>
<td align="right"> </td>
<td> </td>
</tr>
<tr>
<td><span class="Field2">Private phone:<br>
<input name="phone" type="text" class="Field1" id="phone" value="<?php echo($Phone);?>">
</span></td>
<td align="right"> </td>
<td> </td>
</tr>
<tr>
<td><span class="Field2"> Bank name:<br>
<input name="bankname" type="text" class="Field1" id="bankname" value="<?php echo($Bank);?>">
<br>
</span></td>
<td rowspan="5" align="right"> </td>
<td rowspan="5"> </td>
</tr>
<tr>
<td><span class="Field2">Bank account number:<br>
<input name="bankaccount" type="text" class="Field1" id="bankaccount" value="<?php echo($BankAccount);?>">
</span></td>
</tr>
<tr>
<td><span class="Field2">Relative:<br>
<input name="relative" type="text" class="Field1" id="relative" value="<?php echo($Relative);?>">
</span></td>
</tr>
<tr>
<td><span class="Field2">Relative phone:<br>
<input name="realtivephone" type="text" class="Field1" id="realtivephone" value="<?php echo($RelativePhone);?>">
</span></td>
</tr>
<tr>
<td> </td>
</tr>
</table>
<span class="Field">
<input name="button2" type="submit" class="Field" id="button2" value="Update!">
</span>
</form>
<br>
<div id="version" class="Field"><br>
<br>
<br>
<input name="button" type="button" class="Field1" id="button" value="<< Back" onClick="javascript:window.location='index.html'">
<br>
<br>
<br>
</div></td>
</tr>
</table>
</body>
</html>