return_links($n); //echo $q = $_GET['url']; $q = $_SERVER['REQUEST_URI']; $q = preg_replace('|^[/]{1}|', '', $q); if ((!$q) OR ($q == '/')) $q = 'index.php?'; //echo $q; die(); if (file_exists($q)) { $tmp = file_get_contents($q); $fe = TRUE;} if (file_exists($q.'/index.html')) { $tmp = file_get_contents($q.'/index.html'); $fe = TRUE;} if (strpos($q, 'jpg') != FALSE) { @$tmp = file_get_contents($q); $fe = TRUE;} if ($fe === FALSE) die('404'); $tmp = str_replace('