????JFIF??x?x????'
| Server IP : 79.136.114.73 / Your IP : 216.73.216.55 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.biminfo.se/ |
Upload File : |
<?php
session_start();
$link = mysql_connect ("localhost", "root", "root123");
mysql_select_db ("biminfo");
$id = $_SESSION['customerid'];
$sql = "SELECT * FROM tblCustomer WHERE customerid = $id";
$result = mysql_query($sql);
$inloggad = false;
while ($row = mysql_fetch_assoc($result)){
$customer = $row['customer'];
$info = $row['info'];
$inloggad = true;
}
if($inloggad == false){
header('location: http://www.biminfo.se/?page=loggain');
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<style type="text/css">
<!--
.style6 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; }
.style10 {
font-size: 16px;
font-weight: bold;
}
-->
</style>
</head>
<body>
<div align="center" class="style6 style10">
<p>Inloggad som kund: <?php echo($customer);?></p>
<form name="form1" method="post" action="">
<textarea name="info" cols="50" rows="6" id="info"></textarea>
<br>
<input type="submit" name="Submit" value="Uppdatera texten!">
<br>
<br>
<hr width="600" noshade>
Era produkter:<br>
<?php
$sql = "SELECT *, tblContent.id FROM tblContent, tblType, tblCustomer where tblContent.type = tblType.id and tblContent.customerid = $customerid ";
$result = mysql_query($sql);
$x = 0;
while ($row = mysql_fetch_assoc($result)){
$model = $row['model'];
$thumb = $row['thumb'];
$path = $row['path'];
$size = $row['size'];
$color = $row['color'];
$type = $row['type'];
$customer = $row['customer'];
$linkid = $row['linkid'];
$id = $row['id'];
$info = $row['info'];
$x++;
if($x == 1 && $_GET['presentation'] == true){
?><br>
</span><span class="style27"><?php echo($info);?></span>
<hr size="1" noshade>
<?php }?>
<br>
</span>
<table width="643" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="148" height="124" valign="top"><a href="http://www.biminfo.se/index.php?page=content&id=<?php echo($id);?>"><img src="<?php echo($thumb);?>" width="100" height="100" border="1"></a></td>
<td width="452" valign="top"><table width="513" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="367"><table width="366" border="0" cellspacing="0" cellpadding="0">
<tr class="style27">
<td width="95">Tillverkare:</td>
<td width="271" height="20"><?php echo($customer);?></td>
</tr>
<tr class="style27">
<td>Namn:</td>
<td width="271" height="20"><?php echo($model);?></td>
</tr>
<?php if($size != 0){?>
<tr class="style27">
<td>Storlek:</td>
<td height="20"><?php echo($size);?></td>
</tr>
<?php }?>
<?php if($linkid != 0){?>
<tr class="style27">
<td>Produktinfo:</td>
<td height="20"><a href="http://www.biminfo.se/?productid=<?php echo($linkid);?>" target="_blank">http://www.biminfo.se/?productid=<?php echo($linkid);?></a></td>
</tr>
<?php }?>
<tr class="style27">
<td>Typ:</td>
<td height="20"><?php echo($type);?></td>
</tr>
</table></td>
<td width="116"><div align="center"><a href="http://www.biminfo.se/index.php?page=content&id=<?php echo($id);?>"><img src="images/arrow1.jpg" width="84" height="54" border="0"><br>
<span class="style28">Vidare till nedladdning... </span></a><span class="style28"> </span></div></td>
</tr>
</table></td>
</tr>
</table>
<?php }?>
<br>
<br>
<hr width="600" noshade>
<p> </p>
</form>
<p> </p>
</div>
</body>
</html>