Example #1
0
<?php

/***
 * ilist.php - list incidents
 *
 * Created by Scott Sakai (ssakai@sdsc.edu)
 * 
 * March 2008
 ***/
require_once "irtauth.php";
require_once "irtdb.php";
// connect to the database
$irtdb = new irtdb();
// get a list of incidents
$ilist = $irtdb->listIncidents();
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
  <title>IR Tracker Prototype - Incident List</title>
  <style type="text/css">
.odd{
  background-color: #f0f0f0;
  color: black;
}
.even{
  background-color: #ffffff;
  color: black;
}
table.ilist{