"; print '
'; include ("vtop.php"); print '
 
 
 


Menu Principal
'; $handle=opendir($loc); while (($file=readdir($handle))!==false) { // while they are files if ( $file != "." && $file != ".." ) { // if those files aren't . and .. $extension = strtolower(substr ($file,strpos($file,"."))); // gets the extension of the file $clist = substr ($file, 0, strpos($file, ".")); // gets the filename whitout the extension // is this file type in the accepted types array? if ($extension==".txt") { // if the file matches the extension txt # echo "
$clist"; if (file_exists ("$loc$clist.desc")) { print "
"; include ("$loc$clist.desc"); print ""; } else { echo "
$clist"; } } } } print '



'; include ("conv.php"); print'

'; ##### if (file_exists ("$loc$content.txt")) { include ("$loc$content.txt"); } else if (file_exists ("$loc$content.conv")) { include ("$loc$content.conv"); } else { include ("$locphp$content.php"); } print '

 
 
 
  '; include ("footer.php"); print '



'; ?>