ob_start(); include "../includes/tellsafe.inc"; session_start(); if (!isset($_SESSION[user])) { error_log("Attempting to access complaint page without signing in.", 0); header("Location: signin.php"); exit; } $u = new Contact($_SESSION[user]); $c = new Complaint($_GET[c]); if ($u->company != $c->company) { CriticalError("Invalid Complaint: User[{$_SESSION['user']}] Complaint[{$_GET['c']}]"); } if (isset($_POST[confirm])) { if ($u->name != "Guest Account") { $c->ConfirmReceipt($u->id); } header("Location: members.php"); exit; } ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE>TellSafe - Review Complaint</TITLE> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <?php include "../includes/header.inc"; ?> <TABLE BORDER=1 CELLSPACING=1 CELLPADDING=10 style="background-color=#006699; width:100%">