????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/timereport_india/ |
Upload File : |
<?php
session_start();
$link = mysql_connect ("localhost", "root", "root123");
mysql_select_db ("vpa");
?>
<html>
<head>
<meta charset="windows-1252">
<title>ASTACUS TIDRAPPORT</title>
<style>
a:link, a:visited {
color: #000000;
text-decoration: none;
cursor: auto;
}
</style>
<script>
function loggin(selObj){
localStorage.setItem("TIMEREPORT_Username", selObj.options[selObj.selectedIndex].text );
window.location = "start.php?trigeoid="+selObj.options[selObj.selectedIndex].value;
}
</script>
</head>
<body bgcolor="#D5D5D5" >
<center>
<table width="100%" border="15" cellspacing="0" cellpadding="0" bordercolor="#FFFFFF" bgcolor="#FFFFFF">
<tbody>
<tr>
<td align="center"><p><img src="images/Astacus_Pos8x1.7.jpg" width="200" height="42" alt=""/></p>
<table width="100%" border="3" cellspacing="0" cellpadding="0" bordercolor="#CCCCCC" bgcolor="#EEEEEE">
<tbody>
<tr>
<td width="0" height="80" align="center" valign="middle" style="font-family: 'Gill Sans', 'Gill Sans MT', 'Myriad Pro', 'DejaVu Sans Condensed', Helvetica, Arial, sans-serif; font-style: normal; font-weight: normal; font-size: 42px;">Welcome:<br>
<select name="select5" id="select" style="padding: 12px 20px; font-size: 42px" onChange="loggin(this);">
<option value=''>Choose an user</option>
<?php
$sql = "SELECT * FROM ProductionUser Where Status = 1 order by Team, Name asc ";
$group = "";
$result = mysql_query($sql);
while ($row = mysql_fetch_assoc($result)){
if($group != $row['Team']){
echo("<option value='0#0'></option>");
echo("<option value='0#0'>### ".$row['Team']." ###</option>");
$group = $row['Team'];
}
echo(" <option value='".$row['ProductionTriGeoID']."'>".$row['Name']." (".$row['ProductionTriGeoID'].")</option>");
}
?>
</select>
<br>
<br>
</td>
</tr>
</tbody>
</table>
<br>
<p></p>
<p> </p></td>
</tr>
</tbody>
</table>
</center>
</body>
</html>