si, el fotos1.php es el archivo que incluye todos los demas archivos de configuracion y el props.php (el primero que puse y que carga las imagenes, y pagina la galeria. mira este es el archivo
fotos1.php
Código PHP:
<HTML>
<HEAD>
<?php
include("settings.php");
include("styles.php");
?>
<TITLE><?=$pagetitle?></TITLE>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
ns3up = (browserName == "Netscape" && browserVer >= 3);
ie4up = (browserName.indexOf("Microsoft") >= 0 && browserVer >= 4);
function doPic(imgName) {
if (ns3up || ie4up) {
imgOn = ("" + imgName);
document.mainpic.src = imgOn;
}
}
// End -->
</script>
</HEAD>
<body>
<?php
global $files, $isDir, $thumbwidth, $colnumber, $rownumber, $showfilename;
include("props.php");
$path = adjustPath($path);
@readFiles($path);
?>
<p>
<table align=center bordercolor=black cellspacing="0" cellpadding="10">
<tr>
<td>
<?php
if (!$img) {
@showImgTable($path, $files, $isDir, $page,
$colnumber, $rownumber);
} else {
@showBigImg($path, $img);
}
?>
</td>
</tr>
</table>
<div align="center">
<? if ($showpage == "1")
echo "".@showPageLinks($path, count($files), $page, $img,
$colnumber, $rownumber)."";
?>
</body>
</HTML>