All pastes #473423 Raw Edit

tonkman

public php v1 · immutable
·published 2007-05-06 06:59 UTC
rendered paste body
<?phpsession_start();?><html><head><body><link rel=StyleSheet href="styles/login.css" type="text/css"><div id="lomake"><div id="ylapalkki"></div><?php	if ($_SESSION['auth'] === "ok")	{$dir = "ku";if (is_dir($dir)){	if ($dh = opendir($dir))	{	$mtime = filemtime($file[$i2]);		while (($file = readdir($dh)) !== false)		{				if ($file[0] != ".")			{				echo "<a href=\"isokkikuva.php?i=$file\"><img src=\"pikkukuva.php?i=$file\" border=\"0\"></img></a>\n";			}		}				closedir($dh);			}	}	}	else {	echo "<h1>Kirjaudu sis&#65533;&#65533;n</h1>";	}?><div id="alapalkki"></div></div></head></body></html>