* * * * This script displays the contents for the 'View Message' page. Don't * * forget the 12 space indent for all content pages. * * * * Last modified : September 24th, 2002 (JJS) * \******************************************************************************/ /* Redirect the person if they call this file directly */ $file_name = "view_message.php"; /* Get the negative length of $file_name */ $file_name_length = -(strlen($file_name)); /* Check if the values match, if so, redirect */ if (substr($_SERVER['SCRIPT_NAME'], $file_name_length) == $file_name) header("Location: ../index.php"); /* Pull the named message */ if ($message == "faq") { require("./language/faq.php"); $message_name = FAQ_TITLE; $message_body = FREQUENTLY_ASKED_QUESTIONS; } else header("Location: ../index.php"); /* Display the message */ echo " \n" . " \n" . " \n" . " \n" . " \n" . " \n" . " \n" . "
$message_name
\n" . " $message_body\n" . "
\n"; ?>