/* Sitemap version 2.1 (C) copyright Metalhead 2004 Sitemap home: http://www.metalhead.ws/phpbin/ This script is released under the terms of the GNU General Public License. A copy of the GPL is included with this script. */ /* User configuration */ $showsize = 0; /* Show size of each file, 1 for yes, 0 for no. */ /* Array with file types to display and the pictures to use. Syntax: $display['filetype'] = "picture"; */ $display['php'] = "php.gif"; $display['html'] = "html.gif"; $display['htm'] = "html.gif"; $display['shtml'] = "html.gif"; /* Array with directories to exclude. Syntax: $excludedir[] = "directory"; */ $excludedir[] = "temp"; $excludedir[] = "ccmail"; $excludedir[] = "review"; $excludedir[] = "tmp"; $excludedir[] = "phpadsnew"; $excludedir[] = "12345"; $excludedir[] = "adverts"; $excludedir[] = "ads"; $excludedir[] = "_notes"; $excludedir[] = "cgi-bin"; $excludedir[] = "css"; $excludedir[] = "favicon"; $excludedir[] = "forums"; $excludedir[] = "images"; $excludedir[] = "img"; $excludedir[] = "inc"; $excludedir[] = "js"; $excludedir[] = "mail"; $excludedir[] = "resume"; $excludedir[] = "sendfriend"; $excludedir[] = "test"; $excludedir[] = "ssi"; $excludedir[] = "usersonline"; $excludedir[] = "w3c"; $excludedir[] = "files"; $excludedir[] = "goto"; /* Array with files to exclude. */ $excludefile[] = "1index.shtml"; $excludefile[] = "alt.html"; $excludefile[] = "index1.php"; $excludefile[] = "index23.php"; $excludefile[] = "portal.php"; $excludefile[] = "goto.php"; $excludefile[] = "sitemap.shtml"; ?>
http://".$_SERVER['SERVER_NAME'];
echo "$prefix/";
echo " |
![]() | ";
for($z=1; $z<=$count; $z++)
{ echo " "; }
if(is_array($sfiles))
{ echo " "; }
else
{ echo " "; }
echo " $sdirs[$y]";
list_dir($dir."/".$sdirs[$y]);
}
}
chdir($chdir);
/* iterate through the array of files and display them */
if(is_array($sfiles)) {
sort($sfiles);
reset($sfiles);
$sizeof = sizeof($sfiles);
/* what file types shall be displayed? */
for($y=0; $y<$sizeof; $y++) {
echo " |
";
for($z=1; $z<=$count; $z++)
{ echo " "; }
if($y == ($sizeof -1))
{ echo " "; }
else
{ echo " "; }
echo " |
| "; } echo " |
";
for($z=1; $z<=$count; $z++)
{ echo " "; }
echo " |
© Copyright 2005 RunningShoesReview.com, All Rights Reserved | Trademarks property their respective owners | Page list