tags //$noa=1; // name of the default file $default="start.html"; // Configuration end, don't change anything below this point. error_reporting(0); if ($file==$PHP_SELF){ $file=$default; }; if ((!isset($file)) OR ($file=="")){ $file=$default; if (!file_exists($file)){ die("Default file not found"); }; }; $file=str_replace("/","",$file); $file=str_replace("\\","",$file); if (!file_exists($file)){ $file=$default; }; $fp=fopen($file,"r"); $string=fread($fp,filesize($file)); if (eregi("((.)+)",$string,$regs)){ $title=strip_tags($regs[1]); }else{ $title=" "; }; $string=eregi_replace("((.)+)","",$string); if (!isset($noa)){ $add=""; $string=strip_tags($string,"


"); }else{ $add="&noa=1"; $string=strip_tags($string,"


"); }; $string=eregi_replace("(( )+)"," ",$string); $string=eregi_replace("
","
",$string); $string=eregi_replace("((\n|\r)+)","\n",$string); $string=eregi_replace("\n"; ?> $cut){ $totest=substr($string,$cut+$offset,1); while($totest!="\n"){ $totest=substr($string,$cut+$offset,1); $cut=$cut-1; }; $cut++; if (isset($offset)){ if ($offset>=$cut){ $tmp=$offset-$cut; ?> [">back] $offset){ ?> [">continue]