'; include "./resources/html/head.html"; echo ' '; include "./resources/html/header.html"; echo '
'; include "./resources/html/description.html"; echo '
'; include "./resources/php/php_hooks_ttg_user_body.php"; echo '
'; include "./resources/html/footer_scripts.html"; include "./resources/php/php_hooks_ttg_user_lastcall.php"; echo ' '; } // autoindex functions include "./resources/php/autoindex.php"; // output page $show = trim($_SERVER["QUERY_STRING"]); if ($show == 'php') { echo '
';
	phpinfo();
	echo '
'; } // for debugging; displays $w in human-readable format function debug($w) { echo '
';
   if (is_string($w)) echo htmlentities($w);
     else print_r ($w);
   echo "
"; write_bottom(); exit; } write_top(); if ($show == 'debug') { define ('AUTOINDEX_DEBUG', true); // enable statement to output debugging info from autoindex() } $albums = autoindex(); if ($reverseit) $albums = array_reverse($albums); if ($show == 'array') debug($albums); for($i=0; $i