require_once("../../includes/init.php"); $db = initdb(); session_start(); require_once("$FILE_ROOT/includes/authenticate.php"); require_once("$FILE_ROOT/includes/layout/header.php"); $letter_id = isset($_GET['letter_id']) ? $_GET['letter_id'] : "no_id"; if(is_numeric($letter_id)) { $letter = $db->runQuery("SELECT full_name, email, phone, institution, author, co_authors, title, DATE_FORMAT(timestamp, '%M %D, %Y') FROM letters_of_intent WHERE letter_id=$letter_id"); if(mysql_num_rows($letter) == 1) { list($full_name, $email, $phone, $institution, $author, $co_authors, $title, $timestamp) = $db->fetch_results($letter); list($name, $domain) = explode("@", $email); } else $letter_id = "not_found"; } else $letter_id = "invalid"; ?>
The letter identification number that was supposed to be passed to this page from the previous could not be found or was invalid. This is most likely not the result of your actions. Rather, it is probably due to a bug in the programming of these pages. Please, use the back button of your browser to return to the previous page, and then, using the same link or button as last time, come back to this one. If this problem persists, please contact the web master for assistance.
} elseif($letter_id == "not_found") { ?>The letter identification number that was to this page from the previous could did not identify a specific letter in the database. This is most likely not the result of your actions. Rather, it is probably due to a bug in the programming of these pages. Please, use the back button of your browser to return to the previous page, and then, using the same link or button as last time, come back to this one. If this problem persists, please contact the web master for assistance.
} else { ?>The following letter of intent was submitted on =$timestamp?>.
Return to the list of letters.
Submitter's Name: | =$full_name?> |
Email Address: | |
Phone Number: | =$phone?> |
Institution: | =$institution?> |
Author: | =$author?> |
Co-Authors: | =$co_authors?> |
Paper Title: | =$title?> |