????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/admin/ |
Upload File : |
<?php
session_start();
$link = mysql_connect ("localhost", "root", "root123");
mysql_select_db ("biminfo");
?>
<!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;
}
.style13 {font-size: 16; font-weight: bold; }
-->
</style>
</head>
<body>
<div align="center" class="style6 style10">
<p>Inloggad som kund: AstacusAdmin </p>
<br>
<hr width="600" noshade>
<br>
<?php
$id = $_GET['id'];
$sql = "SELECT * FROM tblContent, tblLink where tblContent.linkid = tblLink.linkid and tblContent.id = $id ";
$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'];
$url = $row['url'];
$linkid = $row['linkid'];
$id = $row['id'];
$hide = $row['hide'];
$desc = $row['cdesc'];
$keywords = $row['keywords'];
$path = $row['path'];
$thumb = $row['thumb'];
$type = $row['ctype'];
?>
</span>
<form name="form2" method="post" action="http://www.biminfo.se/admin/update.php?part=content" enctype="multipart/form-data">
<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="405" border="0" cellspacing="0" cellpadding="0">
<tr class="style6">
<td width="99">Tillverkare:</td>
<td width="268" height="20"><?php echo($customer);?></td>
</tr>
<tr class="style6">
<td>Namn:</td>
<td width="268" height="20"><input name="model" type="text" id="model" value="<?php echo($model);?>" size="30">
<input name="id" type="hidden" id="id" value="<?php echo($id);?>">
</td>
</tr>
<?php if($size != 0){?>
<tr class="style6">
<td><span class="style13">Storlek:</span></td>
<td height="10"><input name="size" type="text" id="size" value="<?php echo($size);?>" size="30" >
<input name="linkid" type="hidden" id="id" value="<?php echo($linkid);?>">
</td>
</tr>
<tr class="style6">
<td><span class="style13">Färg:</span></td>
<td height="10"><input name="color" type="text" id="color" value="<?php echo($color);?>" size="30" ></td>
</tr>
<?php }?>
<?php if($linkid != 0){?>
<tr class="style6">
<td>Produktinfo:</td>
<td height="1"><input name="url" type="text" id="url" value="<?php echo($url);?>" size="30">
<a name="<?php echo($linkid);?>"></a></td>
</tr>
<tr class="style6">
<td>Type:</td>
<td height="1">
<select name="type">
<option value="1" <?php if($type == "1"){echo("selected");}?> >Revit</option>
<option value="2" <?php if($type == "2"){echo("selected");}?>>Extension</option>
</select></td>
</tr>
<tr class="style6">
<td>Desc:</td>
<td height="1"><textarea name="desc" cols="30" id="desc"><?php echo($desc);?></textarea></td>
</tr>
<tr class="style6">
<td>Revit-fil (ZIP): </td>
<td height="2"><input type="file" name="path" ></td>
</tr>
<tr class="style6">
<td>Tumnagel:</td>
<td height="5"><input type="file" name="thumb" ></td>
</tr>
<tr class="style6">
<td>Keywords</td>
<td height="10"><textarea name="keywords" cols="30" id="keywords"><?php echo($keywords);?></textarea></td>
</tr>
<?php }?>
</table></td>
<td width="116"><div align="center"><span class="style28">
<input name="hide" type="checkbox" id="hide" value="1" <?php if($hide == 1 ){echo("checked");}?> >
Dölj
<input type="submit" name="Submit" value="Uppdatera">
<br>
</span> </div></td>
</tr>
</table></td>
</tr>
</table>
</form>
<?php }?>
<br>
<br>
<hr width="600" noshade>
<p> </p>
<p> </p>
</div>
</body>
</html>