Switch back to CSS layout

This commit is contained in:
james 2010-06-28 18:00:47 +00:00
parent 07f76fdac8
commit 16c5e8ecc9
2 changed files with 11 additions and 12 deletions

View File

@ -506,20 +506,17 @@ echo "</div>";
?>
<hr />
</div>
<table cellpadding="5" width="100%">
<tr><td width="175">
<?
//if the date is greater than the date/time that the confirmed participants gets posted,
//then we will show the registration confirmation page as a link in the menu,
$registrationconfirmationlink="";
//only display it if a date is set to begin with.
if($config['dates']['postparticipants'] && $config['dates']['postparticipants']!="0000-00-00 00:00:00")
{
if($config['dates']['postparticipants'] && $config['dates']['postparticipants']!="0000-00-00 00:00:00") {
$q=mysql_query("SELECT (NOW()>'".$config['dates']['regclose']."') AS test");
$r=mysql_fetch_object($q);
if($r->test==1)
{
if($r->test==1) {
$registrationconfirmationlink="<li><a href=\"".$config['SFIABDIRECTORY']."/confirmed_participants.php\">".i18n("Confirmed Participants")."</a></li>";
}
}
@ -639,7 +636,7 @@ echo "</ul>";
?>
</div>
</td><td>
<?
if(is_array($nav)) {
@ -700,7 +697,6 @@ function send_footer()
{
global $config;
?>
</td></tr></table>
</div>
<div id="footer">
<?

View File

@ -36,6 +36,7 @@ table tr.odd {
#footer {
width: 100%;
margin-top: 5px;
text-align: center;
background-color : #5C6F90;
font-size: 0.8em;
@ -53,27 +54,29 @@ table tr.odd {
border: 2px solid Silver;
padding: 5px;
font-size: 1.0em;
float: left;
margin-left: 3px;
}
#main {
margin-right: 10px;
margin-right: 3px;
margin-left: 185px;
background: #FFFFFF;
padding: 3px;
border: 2px solid Silver;
min-height: 600px;
width: 99%;
}
#mainwhere {
margin-right: 10px;
margin-left: 185px;
margin-right: 3px;
background: #EEEEFF;
padding: 3px;
border-top: 2px solid Silver;
border-left: 2px solid Silver;
border-right: 2px solid Silver;
font-size: 0.85em;
width: 99%;
}