????JFIF??x?x????'
Server IP : 79.136.114.73 / Your IP : 18.117.244.233 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"); $CompanyId = $_GET['CompanyId']; $FileHash = $_GET['FileHash']; $FilePath = $_GET['FilePath']; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <title>Parametrar</title> <link href="../main.css" rel="stylesheet" type="text/css"> </head> <body> <table width="380" border="0" cellspacing="0" cellpadding="0"> <tr> <td class="heading2">Parametrar för: <span class="text"><br /> <?php echo($_GET['File']);?></span><span class="text"> </span> <hr size="1" /> <form id="form2" name="form2" method="post" action="updateparameters.php?CompanyId=<?php echo($CompanyId);?>&FileHash=<?php echo($FileHash);?>&Filename=<?php echo($_GET['File']);?>"> <table width="380" border="0" cellspacing="0" cellpadding="0"> <tr class="text"> <td width="110"><strong>Parameter:</strong></td> <td width="270"><strong>Värde:</strong></td> </tr> </table> <?php $sql = "SELECT * FROM ICADARCHIVEParameterData, ICADARCHIVEParameters, ICADARCHIVEGroups WHERE ICADARCHIVEGroups.GroupId = ICADARCHIVEParameters.ParameterGroupId and ICADARCHIVEParameters.ParameterId = ICADARCHIVEParameterData.ParameterId and FileHash = '$FileHash' order by ICADARCHIVEParameters.ParameterId ;"; $result = mysql_query($sql); $GroupName = ""; while ($row = mysql_fetch_assoc($result)){ $value = $row['Value']; if($value == ""){ $value = $row['ParameterDefaultValue']; } if(substr($row['ParameterName'],0,1) == "_"){ ?> <input name="<?php echo($row['Id']);?>" type="hidden" id="textfield" value="<?php echo($value);?>" size="30" /> <?php continue; } if($GroupName != $row['GroupName']){ $GroupName = $row['GroupName']; echo($GroupName); } ?> <table width="380" border="0" cellspacing="0" cellpadding="0"> <tr class="text"> <td width="110"><?php echo($row['ParameterName']);?></td> <td width="270"><input name="<?php echo($row['Id']);?>" type="text" id="textfield" value="<?php echo($value);?>" size="30" readonly/></td> </tr> </table> <?php } ?> </form> <span class="text"><br /> <br /> <br /> </span></td> </tr> </table> </body> </html>