Location: PHPKode > projects > PhpBlock > A9.8/modules/dungeon/screenshots.php
<html>

<?php
include_once "../../site.class.php";
include_once $PATH_TO_CODE."/modules/dungeon/dungeonconstante.class.php";
include_once $PATH_TO_CODE."/modules/dungeon/unit/dungeonrealobject.class.php";
include_once $PATH_TO_CODE."/modules/dungeon/dungeonconstante.class.php";
include_once $PATH_TO_CODE."/script/connect.php";
include_once $PATH_TO_CODE."/script/fonction.php";
?>
<head>
    <?php echoBaseHead()?>
    <link rel="stylesheet" href="css/phpblock.css" type="text/css" />
    <link rel="stylesheet" href="modules/dungeon/css/interface.css" type="text/css" />
    <script type="text/javascript" src="script/javascript/fonction.js"></script>
    <script type="text/javascript" src="script/javascript/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="script/javascript/jqueryinterfaceeyecon.js"></script>
	<title>
	Dungeon: The underground - Screenshots
	</title>
</head>
<body class="dungeonstyle">
	<a href="modules/dungeon/index.php">Return to main page</a><br><br>
<?php
	$dir_handle = @opendir("$PATH_TO_CODE/image/screenshots") or die("Unable to open $path");
	//running the while loop
	while ($file = readdir($dir_handle)) {
		if($file[0] != ".") {
			echo "<img alt='dungeon screenshots' width=800px src='image/screenshots/$file'/><br/>";
		}
	}
	//closing the directory
	closedir($dir_handle);
?>
</body>
</html>
Return current item: PhpBlock