3 require 'inc/init.php';
6 echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'."\n";
7 echo '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">'."\n";
8 echo '<head><title>' . getTitle ($pageno, $tabno) . "</title>\n";
9 echo "<link rel=stylesheet type='text/css' href=pi.css />\n";
10 echo "<link rel=icon href='" . getFaviconURL() . "' type='image/x-icon' />";
11 echo "<style type='text/css'>\n";
12 // Print style information
13 foreach (array ('F', 'A', 'U', 'T', 'Th', 'Tw', 'Thw') as $statecode)
15 echo "td.state_${statecode} {\n";
16 echo "\ttext-align: center;\n";
17 echo "\tbackground-color: #" . (getConfigVar ('color_' . $statecode)) . ";\n";
18 echo "\tfont: bold 10px Verdana, sans-serif;\n";
27 border
:1px solid green
;
30 <script language
='javascript' type
='text/javascript' src
='live_validation.js'></script
>
31 <script type
="text/javascript">
33 document
.add_new_range
.range
.setAttribute('match', "^\\d\\d?\\d?\\.\\d\\d?\\d?\\.\\d\\d?\\d?\\.\\d\\d?\\d?\\/\\d\\d?$");
41 <table border
=0 cellpadding
=0 cellspacing
=0 width
='100%' height
='100%' class=maintable
>
44 <table width
='100%' cellspacing
=0 cellpadding
=2 border
=0>
46 <td valign
=top
><?php
printImageHREF ('logo'); ?
></td
>
47 <td valign
=top
><div
class=greeting
><?php
printGreeting(); ?
></div
></td
>
54 <td
class="menubar" colspan
=2>
55 <table border
="0" width
="100%" cellpadding
="3" cellspacing
="0">
57 <?php
showPathAndSearch ($pageno); ?
>
65 showTabs ($pageno, $tabno);
72 if (isset ($page[$pageno]['handler']))
73 $page[$pageno]['handler'] ($tabno);
75 showError ("Failed to find handler for page '${pageno}'");