registration summary table

summarytable css class
This commit is contained in:
james 2004-12-02 19:03:53 +00:00
parent 785e62a765
commit c17447ed70
3 changed files with 72 additions and 4 deletions

View File

@ -139,6 +139,7 @@ function send_header($title="")
if($HEADER_SENT) return;
else $HEADER_SENT=true;
echo "<?xml version=\"1.0\" encoding=\"iso-8859-1\" ?>\n";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >

View File

@ -30,10 +30,48 @@ echo mysql_error();
}
$r=mysql_fetch_object($q);
send_header("Participant Registration");
echo "Welcome back <b>$r->name</b>";
echo "<br><br>";
print_r($r);
send_header("Participant Registration Summary");
echo i18n("Hello <b>%1</b>",array($r->name));
echo "<br />";
echo "<br />";
echo i18n("Please use the checklist below to complete your registration. Click on an item in the table to edit that information. When you have entered all information, the <b>Status</b> field will change to <b>Complete</b>");
echo "<br />";
echo "<br />";
echo "<table class=\"summarytable\">";
echo "<tr><th>".i18n("Registration Item")."</th><th>".i18n("Status")."</th></tr>";
//participant information
echo "<tr><td>".i18n("Student Information")."</td><td>";
//check to see if its complete
echo "</td></tr>";
//project information
echo "<tr><td>".i18n("Project Information")."</td><td>";
//check to see if its complete
echo "</td></tr>";
//safety information
echo "<tr><td>".i18n("Safety Information")."</td><td>";
//check to see if its complete
echo "</td></tr>";
//signature page
echo "<tr><td>".i18n("Signature Page")."</td><td>";
//check to see if its complete
echo "</td></tr>";
//received information
echo "<tr><td>".i18n("Signature Page Received")."</td><td>";
//check to see if its complete
echo "</td></tr>";
echo "</table>";
echo "<br /><br />";
send_footer();

View File

@ -86,3 +86,32 @@ a {
font-size: 11px;
color: #5C6F90;
}
.summarytable {
border-collapse: collapse;
border-spacing: 0px;
border: 2px solid black;
margin: 0px;
padding: 0px;
margin-left: 30px;
}
.summarytable th {
border: 2px solid black;
background-color: #5C6F90;
padding: 5px;
margin: 0px;
font-size: 12px;
color: white;
font-weight: bold;
}
.summarytable td {
border: 2px solid black;
margin: 0px;
padding: 4px;
}