<?php require_once 'session.php'; $session = new Session(); if (!$session->ValidateSession($_GET['sessionid'])) { echo "<html>"; echo "<head>"; echo "<title>J.R. O'Dwyer Co.</title>"; echo "</head>"; echo "<body bgcolor=\"#ffffff\" text=\"Black\" link=\"Blue\" vlink=\"Purple\" alink=\"Red\" leftmargin=\"0\" topmargin=\"0\" marginheight=\"0\" marginwidth=\"0\">"; echo "<br><br><div align=\"center\"><span class=\"bodytext\"><b>Your Session Expired<br><br><a href=\"index.php\" target=\"_top\">Click Here to Try Again</a></b></span></div>"; echo "</body>"; echo "</html>"; } else { if (!mysql_connect("localhost", "root", "oldhouse")) { echo "<h2>Can't Connect to Database.</h2>"; die; } mysql_select_db("odwyer"); $query = 'SELECT * FROM corp WHERE `id` = "' . $_GET['id'] . '"'; $i = 0; $result = mysql_query($query); while ($row = mysql_fetch_array($result)) { if ($i < 1) { ?> <html> <head> <title>J.R. O'Dwyer Co.</title> <style> .ssi-text { font-family: arial, verdana;