session_start();
require_once('../Connections/connection.php');
include_once('../include/header_functions.php');
include_once('../include/functions.php');
show_header("Previous Notification");
show_job_header();
//retrieve the email stuff, given the notification_id
$sql = "SELECT * FROM tbl_notifications WHERE notification_id = '$notification_id'";
$result = mysql_query($sql, $connection)
or die("could not query for notification
" . mysql_error());
$row = mysql_fetch_array($result);
$initial_or_reminder = $row['initial_or_reminder'];
$from = $row['mail_from'];
$to = $row['mail_to'];
$cc = $row['mail_cc'];
$subject = $row['subject'];
$message_text = $row['message_text'];
$date_time = $row['date_time'];
$timestamp = $row['date_time'];
$date = date("n/j/y");
echo "
";
show_email();
echo "
";
show_job_footer();
?>