????JFIF??x?x????'
| Server IP : 79.136.114.73 / Your IP : 216.73.216.55 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/icad.astacus.se/SSO/ |
Upload File : |
<?php
if($_GET['action'] == "login"){
require_once("AstacusSSO.php");
$sso = new AstacusSSO();
$status = $sso->login($_POST['username'], $_POST['password']);
if($status == TRUE){
header("Location: default.php?projectId=".$_POST['projectId']."");
}
}else if($_GET['action'] == "logout"){
session_start();
$_SESSION['ASTACUS_SSO_INFO'] = "";
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Astacus AP Interface - Thermotech </title>
<style type="text/css">
<!--
.style1 {
font-size: 28px;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
}
.style6 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 28px; }
.style7 {font-size: 28px}
.style9 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 28px; }
-->
</style>
</head>
<body background="images/bg.jpg" topmargin="0" marginheight="0">
<br>
<br>
<form name="form1" method="post" action="?action=login">
<table width="204" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="119" height="20"> </td>
<td width="281"><div align="right"><span class="style7">
<input type="hidden" class="style6" name="username" value="<?php echo($_GET['username']);?>">
<input name="projectId" type="hidden" class="style9" id="projectId" value="<?php echo($_GET['projectId']);?>">
</span></div></td>
</tr>
<tr>
<td height="20"><span class="style6">Password:</span></td>
<td><div align="right"><span class="style7">
<input name="password" type="password" class="style6" id="password" size="10">
</span></div></td>
</tr>
<tr>
<td><span class="style7"></span></td>
<td><div align="right"><span class="style7"> <br>
<input type="submit" name="Submit" value="Login!" class="style6">
</span></div></td>
</tr>
</table>
</form>
<div align="center"><a href="#"><span class="style9"><br>
<br>
</span></a></div>
</body>
</html>