<?php include "../includes/tellsafe.inc"; $m = new Complaint($_GET[m]); $c = new Company($m->company); if ($_GET[cmd] == "delete") { $m->Delete(); header("Location: company.php?c=" . $c->id . "&"); exit; } ?> <?php include "adminheader.inc"; ?> <TABLE BORDER=1 CELLSPACING=1 CELLPADDING=10 style="background-color=#006699; width:100%"> <TR style="background-color=#f5f5f5"><TD> <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 style="width:100%"> <tr><td> <TABLE BORDER=0 CELLSPACING=2 CELLPADDING=0> <tr><td><a href="admin.php">Administration</a></td></tr> <tr><td><a href="companylist.php">View Company List</a></td></tr> <tr><td><a href="company.php?c=<?php print $c->id; ?> &"><?php print k($c->name); ?> </a></td></tr>