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 /> <hr />
</div> </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, //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, //then we will show the registration confirmation page as a link in the menu,
$registrationconfirmationlink=""; $registrationconfirmationlink="";
//only display it if a date is set to begin with. //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"); $q=mysql_query("SELECT (NOW()>'".$config['dates']['regclose']."') AS test");
$r=mysql_fetch_object($q); $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>"; $registrationconfirmationlink="<li><a href=\"".$config['SFIABDIRECTORY']."/confirmed_participants.php\">".i18n("Confirmed Participants")."</a></li>";
} }
} }
@ -639,7 +636,7 @@ echo "</ul>";
?> ?>
</div> </div>
</td><td>
<? <?
if(is_array($nav)) { if(is_array($nav)) {
@ -700,7 +697,6 @@ function send_footer()
{ {
global $config; global $config;
?> ?>
</td></tr></table>
</div> </div>
<div id="footer"> <div id="footer">
<? <?

View File

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