Skip to content
Snippets Groups Projects
Commit 0f4e0def authored by Brett Bieber's avatar Brett Bieber
Browse files

Close survey after a given date.

parent 5ca922d0
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@ var survey_url = '<?php echo str_replace('index.php', '', $_SERVER['SCRIPT_NAME'
<link type="text/css" rel="stylesheet" href="style.css" />
</head>
<body marginheight="0" topmargin="0" leftmargin="0" rightmargin="0"; marginwidth="0">
<body marginheight="0" topmargin="0" leftmargin="0" rightmargin="0" marginwidth="0">
<noscript>
<h2>Sorry, JavaScript is required to complete the design survey!</h2>
<p>You must enable JavaScript before moving forward.</p>
......@@ -40,7 +40,22 @@ var survey_url = '<?php echo str_replace('index.php', '', $_SERVER['SCRIPT_NAME'
</div>
</div>
</div>
<?php else:
<?php elseif (date('Y-m-d') > '2009-04-13'): ?>
<div id="introduction">
<div id="content">
<h1 id="header">University Communications | UNL | Next Generation Redevelopment Group Research </h1>
<div id="left"> <img src="images/design_survey_008.gif" alt="We need change" /> </div>
<div id="right">
<h2 style="width:auto;">Sorry!</h2>
<p style="font-size:1.2em;">
Sorry, the survey was closed on April 13th, 2009.
Thanks for your participation.</p>
</div>
</div>
</div>
<?php
else:
$voter->run();
endif;
?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment