Hosted by Doomworld on Telefragged

= 1) { // get number of reviews $i=0; if(($fp=fopen("reviews.txt", "r")) == false) { echo "

Error

\n"; echo "An error occured while reading news.txt. The file could not be opened. Please try again.
\n"; echo "If this error keeps being there please email Tarin!"; } else { while($c != '^') { while(($c=fgetc($fp)) != '~') { if($c == '^') continue 2; } fgetc($fp); fgetc($fp); $Name[$i]=fgets($fp, 128); $Number[$i]=fgets($fp, 32); $i++; } fclose($fp); if(($fp=fopen("reviews/review$reviewnr.txt", "r")) == false) { echo "

Error

\n"; echo "An error occured while reading reviews/review$reviewnr.txt. The file could not be opened. Please try again!
"; echo "If this error keeps being there please email Tarin!"; } else { while(($c=fgetc($fp)) != '^') if($c == '\\') echo fgetc($fp); else echo $c; echo "\n

\n

<< Back to Reviews page | Next Review >>"; if($reviewnr == $i) echo "reviews.php?reviewnr=$pp\">Previous Review | Back to Reviews page >>"; if($reviewnr != 1 && $reviewnr != $i) echo "reviews.php?reviewnr=$pp\">Previous Review | Next Review >>"; } } } if($previewnr >= 1) { if(($fp=fopen("previews/preview$previewnr.txt", "r")) == false) { echo "

Error

\n"; echo "An error occured while reading previews/preview$previewnr.txt. The file could not be opened. Please try again!
"; echo "If this error keeps being there please email Tarin!"; } else { while(($c=fgetc($fp)) != '^') if($c == '\\') echo fgetc($fp); else echo $c; } } if($reviewnr == "" && $previewnr == "") { echo "Reviews and Previews
\n"; echo "Here are all the reviews and previews that The Doom Dm Resource has created. The reviews are in alphebetical order by filename for"; echo "easier browsing. The previews are in order by date.

\n"; $i=0; if(($fp=fopen("reviews.txt", "r")) == false) { echo "

Error

\n"; echo "An error occured while reading reviews.txt. The file could not be opened. Please try again!
"; echo "If this error keeps being there please email Tarin!"; } else { while($c != '^') { while($c != '^') { while(($c=fgetc($fp)) != '~') { if($c == '^') continue 2; } $Award[$i]=fgetc($fp); // Award? $Award[$i] += 0; $Recent[$i]=fgetc($fp); // Recent? $Recent[$i] += 0; $Name[$i]=fgets($fp, 128); // Name $Number[$i]=fgets($fp, 32); // Number $Number[$i] += 0; $i++; } echo "\n"; echo "\n"; echo "\n\n"; echo "\n"; } echo "\n"; } echo "
 \n"; echo "Newest Reviews
\n"; echo ""; echo $Name[$j]; echo "\n"; echo ""; echo $Name[$j]; echo "
\n"; echo "

\n"; echo "Review List
\n"; for($j=0; $j != $i; $j++) { echo "

  • "; echo $Name[$j]; echo "\n"; } } fclose($fp); echo "

    Preview List
    \n"; if(($fp=fopen("previews.txt", "r")) == false) { echo "

    Error

    \n"; echo "An error occured while reading preview.txt. The file could not be opened. Please try again!
    "; echo "If this error keeps being there please email Tarin!"; } else { $i=0; $c=""; while(($c=fgetc($fp)) != '^') if($c == '~') $i++; rewind($fp); $c=""; while($c != '^') { while(($c=fgetc($fp)) != '~') { if($c == '^') continue 2; } $Date=fgets($fp, 128); $Name=fgets($fp, 128); echo "

  • $Date Preview of $Name"; $i--; } fclose($fp); } } } ?>
  • DooM DM Resource


    Poll