????JFIF??x?x????'
| Server IP : 79.136.114.73 / Your IP : 216.73.216.61 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/www.driftinfo-online.se/login/ |
Upload File : |
<?php
session_start();
if( (($_SESSION['DRIFT_SSO_INFO'])=='' )){
header('location: http://www.driftinfo-online.se/loggain.php');
}
$link = mysql_connect ("localhost", "root", "root123");
mysql_select_db ("driftinfo");
$sql = "select * from tblCustomers where customerId = ".$_SESSION['DRIFT_SSO_INFO'][1];
$result = mysql_query($sql);
while ($row = mysql_fetch_assoc($result)){
$name = $row['name'];
$address = $row['address'];
$postalnumber = $row['postalnumber'];
$city = $row['city'];
$phone = $row['phone'];
}
$sql = "select * from tblUsers where userId = ".$_SESSION['DRIFT_SSO_INFO'][0];
$result = mysql_query($sql);
while ($row = mysql_fetch_assoc($result)){
$uname = $row['name'];
$cellphone = $row['cellphone'];
$username = $row['username'];
}
?><!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>Driftinfo Online - För publicering av driftinformation</title>
<script type="text/javascript">
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function deleteOccured(id){
if (confirm("Vill du verkligen ta bort texten?")) {//if yes
window.location.href = "scripts/deleteOccurred.php?id="+id;
}
}
function deleteStatus(id){
if (confirm("Vill du verkligen ta bort statusen?")) {//if yes
window.location.href = "scripts/deleteStatus.php?id="+id;
}
}
function deleteDescription(id){
if (confirm("Vill du verkligen ta bort texten?")) {//if yes
window.location.href = "scripts/deleteDescription.php?id="+id;
}
}
function deleteSymbol(id){
if (confirm("Vill du verkligen ta bort symbolen?")) {//if yes
window.location.href = "scripts/deleteSymbol.php?id="+id;
}
}
<?php
if($_GET['msg'] != ""){
echo("alert('".$_GET['msg']."');");
}
?>
</script>
</script>
<style type="text/css">
.Text10Black {
font-family: Verdana, Geneva, sans-serif;
font-size: 10px;
font-style: normal;
}
.Text14Gray {
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
font-style: normal;
color: #929292;
text-align: left;
}
.Text14Black {
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
font-style: normal;
color: #000000;
text-align: left;
}
.e {
color: #F00;
}
</style></head>
<body onload="MM_preloadImages('../images/meny1b.jpg','../images/mwny3b.jpg','../images/meny4b.jpg','../images/meny4bb.jpg')" topmargin="0" marginheight="0">
<table width="1100" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="32" rowspan="2" valign="top"><img src="../images/skugga_left.jpg" alt="" width="32" height="572" /></td>
<td width="1135" height="89" valign="top"><table width="985" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="544"><br />
<a href="../index.php"><img src="../images/supervision_loggo.jpg" alt="" width="308" height="74" hspace="0" vspace="0" border="0" /></a></td>
<td width="442" valign="bottom"> </td>
</tr>
<tr>
<td colspan="2"><a href="../login/index.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image1','','../images/meny1b.jpg',1)"><img src="../images/meny1a.jpg" alt="" name="Image1" width="121" height="36" border="0" id="Image1" /></a><img src="../images/meny_l.jpg" alt="" width="1" height="36" /><img src="../images/meny_l.jpg" alt="" width="1" height="36" /><img src="../images/meny_pass.jpg" alt="" width="747" height="36" /><img src="../images/meny_l.jpg" alt="" width="1" height="36" /><a href="../loggain.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image41','','../images/meny4bb.jpg',1)"><img src="../images/meny4aa.jpg" alt="" name="Image41" width="111" height="36" border="0" id="Image41" /></a></td>
</tr>
</table></td>
<td width="33" rowspan="2" valign="top"><img src="../images/skugga_right.jpg" alt="" width="32" height="572" /></td>
</tr>
<tr>
<td valign="top"><table width="985" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td class="Text16Gray"><br />
<table width="900" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="322" align="left" class="Text14Black"><h1><a href="../login/index.php"><< Tillbaka</a></h1></td>
<td width="578" align="right"><img src="../images/administration_bg.jpg" alt="" width="323" height="55" /></td>
</tr>
</table> <img src="../images/h_line.jpg" alt="" width="984" height="23" /> <br />
<table width="983" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="983" align="left" valign="top" class="Text14Black"><h1><br />
</h1>
<table width="862" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="378" valign="top"><h1>Administrera Formulär<br />
</h1>
<table width="300" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><span class="e"><strong>1)</strong></span><strong> Ange vad som inträffat:</strong></td>
</tr>
</table>
<?php
$sql = "select * from tblOccurred where customerId = ".$_SESSION['DRIFT_SSO_INFO'][1];
$result = mysql_query($sql);
while ($row = mysql_fetch_assoc($result)){
?>
<form id="form4" name="form4" method="post" action="scripts/updateOccured.php">
<table width="330" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="178" valign="top"><input name="text" type="text" value="<?php echo($row['text']);?>" size="25"/><input name="id" type="hidden" value="<?php echo($row['id']);?>" />
</td>
<td width="152" valign="top"><input name="b" type="submit" value="Spara" />
<input name="b" type="button" value="Ta bort" onclick="deleteOccured(<?php echo($row['id']);?>);" /></td>
</tr>
</table>
</form>
<?php }?>
<br />
<form id="form1" name="form1" method="post" action="scripts/addOccured.php">
<table width="330" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="178" valign="top"><label for="textfield3"></label>
<input name="text" type="text" id="textfield3" size="25" /></td>
<td width="152" valign="top"><input name="b4" type="submit" value="Lägg till" />
</td>
</tr>
</table>
</form>
<br />
<br />
<table width="300" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><span class="e"><strong>2)</strong></span><strong> Ange status:</strong></td>
</tr>
</table>
<?php
$sql = "select * from tblStatus where customerId = ".$_SESSION['DRIFT_SSO_INFO'][1];
$result = mysql_query($sql);
while ($row = mysql_fetch_assoc($result)){
?>
<form id="form3" name="form3" method="post" action="scripts/updateStatus.php">
<table width="330" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="178" valign="top"><input name="text" type="text" value="<?php echo($row['text']);?>" size="25"/><input name="id" type="hidden" value="<?php echo($row['id']);?>" />
</td>
<td width="152" valign="top"><input name="b2" type="submit" value="Spara" />
<input name="b2" type="button" value="Ta bort" onclick="deleteStatus(<?php echo($row['id']);?>);" /></td>
</tr>
</table>
</form>
<?php }?>
<br />
<form id="form2" name="form2" method="post" action="scripts/addStatus.php">
<table width="330" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="178" valign="top"><input name="text" type="text" id="textfield4" size="25" /></td>
<td width="152" valign="top"><input name="b3" type="submit" value="Lägg till" />
</td>
</tr>
</table>
</form>
<br />
<br />
<table width="330" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><span class="e"><strong>3)</strong></span><strong> Förklarande text:<br />
</strong>
<strong>
<?php
$sql = "select * from tblDescription where customerId = ".$_SESSION['DRIFT_SSO_INFO'][1];
$result = mysql_query($sql);
while ($row = mysql_fetch_assoc($result)){
?>
</strong>
<form id="form5" name="form5" method="post" action="scripts/updateDescription.php">
<br />
<input name="subject" type="text" value="<?php echo($row['subject']);?>" size="25"/>
<strong><br />
<textarea name="text" id="textarea" cols="45" rows="5"><?php echo($row['text']);?></textarea><input name="id" type="hidden" value="<?php echo($row['id']);?>" />
</strong><strong><br />
<div align="right">
<input type="submit" name="button" id="button" value="Spara" />
<input name="b5" type="button" value="Ta bort" onclick="deleteDescription(<?php echo($row['id']);?>);" />
</div>
</strong>
</form>
<strong>
<div align="right"></div>
</strong>
<?php }?>
<strong><br />Lägg till ny text:</strong>
<form id="form6" name="form6" method="post" action="scripts/addDescription.php">
<strong><br />
<input name="subject" type="text" value="<?php echo($row['subject']);?>" size="25"/>
<strong><br />
<textarea name="text" id="textarea2" cols="45" rows="5"><?php echo($row['text']);?></textarea>
</strong> <br />
<div align="right">
<input type="submit" name="button2" id="button2" value="Lägg till ny text" />
</div>
</strong><br />
</form>
<br /></td>
</tr>
</table></td>
<td width="70"> </td>
<td width="414" valign="top"><img src="../images/iphone_form.jpg" width="414" height="800" /></td>
</tr>
</table>
<br />
<img src="../images/h_line.jpg" alt="" width="984" height="23" /><br />
<br />
<table width="862" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><h1>Administrera Symboler</h1>
<?php
$sql = "select * from tblSymbols where customerId = ".$_SESSION['DRIFT_SSO_INFO'][1];
$result = mysql_query($sql);
while ($row = mysql_fetch_assoc($result)){
?>
<form id="form7" name="form7" method="post" action="scripts/updateSymbol.php" enctype="multipart/form-data" >
<table width="862" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="119" valign="middle" bgcolor="#EEEEEE"><img src="<?php echo($row['icon']);?>" alt="" /></td>
<td width="683" valign="middle" bgcolor="#EEEEEE"><label for="text"></label>
Namn:
<input name="text" type="text" id="text" value="<?php echo($row['name']);?>" />
Bild:
<input type="file" name="file" id="file" />
<input name="id" type="hidden" id="id" value="<?php echo($row['id']);?>" /></td>
<td width="182" valign="middle" bgcolor="#EEEEEE"><input name="b7" type="submit" value="Spara" />
<input name="b6" type="button" value="Ta bort" onclick="scripts/deleteSymbol(<?php echo($row['id']);?>);"/></td>
</tr>
</table>
</form>
<br />
<?php }?>
<br />
<br />
<form id="form8" name="form8" method="post" action="scripts/addSymbol.php" enctype="multipart/form-data" >
<table width="862" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="106" valign="middle" bgcolor="#FFEEEE"> </td>
<td width="597" valign="middle" bgcolor="#FFEEEE"><label for="file"></label>
<br />
Namn:
<label for="textfield2"></label>
<input type="text" name="text" id="textfield2" />
Bild:
<input type="file" name="file" id="file" />
<label for="textfield"><br />
<br />
</label></td>
<td width="159" valign="middle" bgcolor="#FFEEEE"><input name="b8" type="submit" value="Lägg till ny" />
</td>
</tr>
</table>
</form></td>
</tr>
</table>
<br />
<h1><br />
</h1></td>
</tr>
</table>
<br />
<img src="../images/h_line.jpg" alt="" width="984" height="23" />
<p> </p></td>
</tr>
</table>
<br />
<br />
<table width="985" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="847" valign="top" class="Text10Black">© Astacus AB | Norra Oskarsgatan 27A, SE-582 73 Linköping, Sweden | 013 - 485 01 91 | <a href="mailto:driftinfo@astacus.se">driftinfo@astacus.se</a><a href="../supervision@astacus.se"></a></td>
<td width="138" align="right" valign="top" class="Text10Black"><a href="http://www.astacus.se/" target="_new"><img src="../images/astacus-power.jpg" alt="" width="68" height="15" border="0" /></a></td>
</tr>
</table></td>
</tr>
</table>
<p> </p>
</body>
</html>