????JFIF??x?x????'
| Server IP : 79.136.114.73 / Your IP : 216.73.216.107 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/archive/ |
Upload File : |
<?php
$link = mysql_connect ("localhost", "root", "root123");
mysql_select_db ("vpa");
$sql = "select * from ICADARCHIVEPermissions where SystemUserId = ".$_SESSION['ASTACUS_SSO_INFO'][0];
$result = mysql_query($sql);
$be1 = false;
$be2 = false;
$be3 = false;
$be4 = false;
$be5 = false;
$be6 = false;
$be7 = false;
$be8 = false;
$be9 = false;
$be10 = false;
$be11 = false;
while ($row = mysql_fetch_assoc($result)){
if($row['Permission'] == 1){
$be1 = true;
}else if($row['Permission'] == 2){
$be2 = true;
}else if($row['Permission'] == 3){
$be3 = true;
}else if($row['Permission'] == 4){
$be4 = true;
}else if($row['Permission'] == 5){
$be5 = true;
}else if($row['Permission'] == 6){
$be6 = true;
}else if($row['Permission'] == 7){
$be7 = true;
}else if($row['Permission'] == 8){
$be8 = true;
}else if($row['Permission'] == 9){
$be9 = true;
}else if($row['Permission'] == 10){
$be10 = true;
}else if($row['Permission'] == 11){
$be11 = true;
}
}
?>
<link href="../main.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="calendar.js"></script>
<script type="text/javascript" src="http://download.skype.com/share/skypebuttons/js/skypeCheck.js"></script>
<body onLoad="showClockSWE();">
<style type="text/css">
.ToolText{position:relative; }
.ToolTextHover{position:relative;}
.ToolText span{display: none;}
.ToolTextHover span{
display:block;
position:absolute;
border:1px solid black;
top:0em;
left:50px;
background-color:gray; color:white;
text-align: center;
width:250px;
text-decoration:none;
}
</style>
<style type="text/css">
<!--
.style6 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; }
-->
</style>
<table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="25"> </td>
<td width="964"><table width="820" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="5" valign="top"><span class="heading2"><?php echo($a1);?></span><br>
<table width="936" border="0" cellpadding="0" cellspacing="0">
<tr >
<td width="76" class="text"><?php echo($a2);?></td>
<td width="262" class="textthin"><?php echo($_SESSION['ASTACUS_SSO_INFO'][1]);?> (<?php echo($_SESSION['ASTACUS_SSO_INFO'][10]);?>) </td>
<td width="90" class="text"><?php echo($a5);?></td>
<td width="221" class="text"><span class="textthin"><?php echo($_SESSION['ASTACUS_SSO_INFO'][6]);?></span></td>
<td width="1" rowspan="4" bgcolor="#999999"></td>
<td width="286" rowspan="4" valign="top" class="textthin"><br>
<table width="233" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td width="59" align="left"><span class="heading2"><a href="../customerzon/"><img src="../images/Back-Arrow.jpg" alt="" width="46" height="45" border="0"></a></span></td>
<td width="141"><span class="heading2"> Till iCAD Projekt</span></td>
</tr>
</table></td>
</tr>
<tr >
<td class="text"><?php echo($a3);?></td>
<td class="textthin"><?php echo($_SESSION['ASTACUS_SSO_INFO'][2]);?></td>
<td class="text"><?php echo($a6);?></td>
<td class="textthin"><?php echo($_SESSION['ASTACUS_SSO_INFO'][7]);?></td>
</tr>
<tr >
<td class="text"><?php echo($a4);?></td>
<td class="textthin"><a href="skype:<?php echo($_SESSION['ASTACUS_SSO_INFO'][11]);?>?call"><img src="http://mystatus.skype.com/smallicon/<?php echo($_SESSION['ASTACUS_SSO_INFO'][11]);?>" alt="My status" width="16" height="16" align="absmiddle" style="border: none;" /></a> <?php echo($_SESSION['ASTACUS_SSO_INFO'][11]);?></td>
<td class="text"><?php echo($a7);?></td>
<td class="textthin"><?php echo($_SESSION['ASTACUS_SSO_INFO'][8]);?> <?php echo($_SESSION['ASTACUS_SSO_INFO'][9]);?></td>
</tr>
<tr class="text">
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
<hr size="1">
<table width="950" height="64" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" background="images/tabb5.jpg"><table width="850" height="23" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="5" height="23"> </td>
<td width="111" valign="bottom" class="blacklink"><div align="center"><a href="?" class="blacklink">Ritningar</a></div></td>
<td width="22" valign="bottom" class="blacklink"><div align="center"></div></td>
<td width="106" valign="bottom" class="<?php if($be6 == true){echo("blacklink");}else{echo("graylink");}?>"><div align="center"><a href="<?php if($be6 == true){echo("?page=rattigheter");}else{echo("#");}?>" class="<?php if($be6 == true){echo("blacklink");}else{echo("graylink");}?>"></a><a href="<?php if($be10 == true){echo("?page=dokument");}else{echo("#");}?>" class="blacklink">Dokument</a></div></td>
<td width="18" valign="bottom" class="blacklink"><div align="center"></div></td>
<td width="107" valign="bottom" class="<?php if($be7 == true){echo("blacklink");}else{echo("graylink");}?>"><div align="center"><a href="<?php if($be7 == true){echo("?page=behorigheter");}else{echo("#");}?>" class="<?php if($be7 == true){echo("blacklink");}else{echo("graylink");}?>"></a><a href="<?php if($be6 == true){echo("?page=rattigheter");}else{echo("#");}?>" class="blacklink">Rättigheter</a></div></td>
<td width="22" class="blacklink"> </td>
<td width="103" valign="bottom" class="<?php if($be8 == true){echo("blacklink");}else{echo("graylink");}?>"><div align="center"><a href="<?php if($be8 == true){echo("?page=installningar");}else{echo("#");}?>" class="<?php if($be8 == true){echo("blacklink");}else{echo("graylink");}?>"></a><a href="<?php if($be7 == true){echo("?page=behorigheter");}else{echo("#");}?>" class="blacklink">Behörigheter</a></div></td>
<td width="21" class="blacklink"> </td>
<td width="104" valign="bottom" class="blacklink"><div align="center"><a href="<?php if($be8 == true){echo("?page=installningar");}else{echo("#");}?>" class="blacklink">Inställningar</a></div></td>
<td width="138" class="blacklink"> </td>
<td width="23" class="blacklink"> </td>
<td width="70" class="blacklink"> </td>
</tr>
</table></td>
</tr>
</table>
<span class="heading2"><br>
</span>
<table width="941" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="11" height="276" valign="top" class="heading2"><p class="textthin"> </p></td>
<td valign="top" class="heading2">
<hr size="1">
Inställningar<br>
<span class="textthin">Här kan du ändra ditt lösenord, lägga till användare samt ange vilka sökbegrepp som ska vara synliga. <br>
<br>
</span>
<table width="800" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="404" valign="top">Ändra Lösenord:<br>
<form name="form1" method="post" action="updatepassword.php">
<table width="346" border="0">
<tr>
<td width="161" class="text">Ändra lösenord: </td>
<td width="175"> </td>
</tr>
<tr>
<td class="textthin">Gammalt lösenord: </td>
<td><input name="oldpassword" type="password" id="oldpassword" value="astacus"></td>
</tr>
<tr>
<td class="textthin">Nytt lösenord:</td>
<td><input name="newpassword1" type="password" id="newpassword3"></td>
</tr>
<tr>
<td><span class="textthin">Nytt lösenord (igen):</span></td>
<td><input name="newpassword2" type="password" id="newpassword2"></td>
</tr>
<tr>
<td> </td>
<td><input type="submit" name="button" id="button3" value="Spara"></td>
</tr>
</table>
<br>
</form> <form name="form4" method="post" action="resetpassword.php">
</form></td>
<td width="396" valign="top">Skapa användare:<br>
<form name="form3" method="post" action="adduser.php">
<table width="346" border="0">
<tr>
<td width="161" class="textthin">Namn:</td>
<td width="175"><input name="namn" type="text" id="namn"></td>
</tr>
<tr>
<td class="textthin">E-post:</td>
<td><input name="epost" type="text" id="epost"></td>
</tr>
<tr>
<td class="textthin">Telefon:</td>
<td><input name="telefon" type="text" id="telefon" value="070123456789"></td>
</tr>
<tr>
<td class="textthin">Skype:</td>
<td><input name="skype" type="text" id="skype"></td>
</tr>
<tr>
<td class="textthin">Nytt lösenord:</td>
<td><input name="newpassword1" type="password" id="newpassword" value="astacus"></td>
</tr>
<tr>
<td><span class="textthin">Nytt lösenord (igen):</span></td>
<td><input name="newpassword2" type="password" id="newpassword4" value="astacus"></td>
</tr>
<tr>
<td> </td>
<td><input type="submit" name="button2" id="button" value="Spara"></td>
</tr>
</table>
<br>
</form></td>
</tr>
<tr>
<td valign="top">Återställ lösenord:
<form name="form4" method="post" action="resetpassword.php">
<table width="350" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="164" class="textthin">Lösenordet kommer att <br>
återställas till <strong>astacus</strong></td>
<td width="186"><span class="text">
<select name="SystemUserId">
<?php
$CompanyId = $_SESSION['ASTACUS_SSO_INFO'][4];
$sql = "SELECT * FROM SystemUser WHERE CompanyId = $CompanyId";
$SystemUserID = $_GET['SystemUserID'];
$result = mysql_query($sql);
$d = 0;
while ($row = mysql_fetch_assoc($result)){
if($SystemUserID == "" && $d == 0 ){
$SystemUserID = $row['SystemUserId'];
$d = 1;
}
// = $row['SystemUserId'];
?>
<option value="<?php echo($row['SystemUserId']);?>" <?php if($row['SystemUserId'] == $_GET['SystemUserID']){echo("selected");}?>><?php echo($row['Name']);?></option>
<?php } ?>
</select>
<input type="submit" name="button3" id="button2" value="Återställ">
</span></td>
</tr>
</table>
</form></td>
<td width="396" valign="top">Ta bort användare:
<form name="form4" method="post" action="deleteuser.php">
<table width="350" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="164" class="textthin">Denna händelse kan inte ångras!</td>
<td width="186"><span class="text">
<select name="SystemUserId" id="SystemUserId">
<?php
$CompanyId = $_SESSION['ASTACUS_SSO_INFO'][4];
$sql = "SELECT * FROM SystemUser WHERE CompanyId = $CompanyId";
$SystemUserID = $_GET['SystemUserID'];
$result = mysql_query($sql);
$d = 0;
while ($row = mysql_fetch_assoc($result)){
if($SystemUserID == "" && $d == 0 ){
$SystemUserID = $row['SystemUserId'];
$d = 1;
}
// = $row['SystemUserId'];
?>
<option value="<?php echo($row['SystemUserId']);?>" <?php if($row['SystemUserId'] == $_GET['SystemUserID']){echo("selected");}?>><?php echo($row['Name']);?></option>
<?php } ?>
</select>
<input type="submit" name="button4" id="button4" value="Ta bort">
</span></td>
</tr>
</table>
</form></td>
</tr>
</table>
<br>
<hr size="1">
<?php echo($_GET['Message']);?><br>
<table width="800" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="400" valign="top">Ange synliga sökbegrepp:<br>
<span class="textthin">Du kan ange upp till 15 sökbegrepp: </span>
<form name="form2" method="post" action="updatecolumns.php">
<?php
$sql = "SELECT * FROM ICADARCHIVEGroups, ICADARCHIVEParameters WHERE ICADARCHIVEParameters.ParameterGroupId = ICADARCHIVEGroups.GroupId AND CompanyId = '".$_SESSION['ASTACUS_SSO_INFO'][4]."' order by ICADARCHIVEParameters.ParameterId ;";
$result = mysql_query($sql);
$x = 1;
$GroupId = "";
while ($row = mysql_fetch_assoc($result)){
$GroupId = $row['ParameterGroupId'];
?>
<table width="284" border="0">
<tr class="textthin">
<td width="170"><?php echo($row['ParameterName']);?></td>
<td width="51"><input type="checkbox" name="ParameterId<?php echo($x);?>" value="<?php echo($row['ParameterId']);?>" <?php if($row['ShowAsColumn'] == "1"){echo("checked");}?>></td>
<td width="51"><label for="ColumnWidth"></label>
<input name="ColumnWidth<?php echo($row['ParameterId']);?>" type="text" id="ColumnWidth<?php echo($x);?>" size="4" value="<?php echo($row['ColumnWidth']);?>"></td>
</tr>
</table>
<?php
$x++; }
?>
<br>
<table width="284" border="0">
<tr class="textthin">
<td width="170"> </td>
<td width="104"><input name="GroupId" type="hidden" value="<?php echo($GroupId);?>">
<input type="submit" name="Submit" value="Uppdatera"></td>
</tr>
</table>
</form>
<br></td>
<td width="400" valign="top"><form name="form5" method="post" action="viewer/config.php?id=<?php echo($CompanyId);?>">
</form></td>
</tr>
</table>
<br></td>
</tr>
</table>
<hr size="1"></td>
</tr>
</table>
</td>
<td width="11"> </td>
</tr>
<tr>
<td colspan="3"> </td>
</tr>
</table>