Codice: |
<?PHP
################################
# #
# EsissimoGallery for PHP-Nuke by Sniffer #
# http://www.webother.com #
# #
################################
if ( !defined('MODULE_FILE') )
{
die("You can't access this file directly...");
}
require_once("mainfile.php");
$module_name = basename(dirname(__FILE__));
include("header.php");
OpenTable();
echo "<center><strong>Galleria Immagini</strong></center><br />";
function EsissimoGallery($directory){
$File = scandir($directory);
foreach($File as $value){
if($value == "." || $value == ".."){
continue;
}
echo '<img src="'.$directory.'/'.$value.'"> ';
}
}
?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" valign="top"><?PHP EsissimoGallery('modules/Forums/images/avatars/gallery'); ?></td>
</tr>
</table><?PHP
CloseTable();
include("footer.php");
?> |