88,7 → 88,7 |
{ |
if (!$this->drawnFooter) |
{ |
write('<p class="copyright">© 2011 Tim32 · <a href="http://validator.w3.org/check?uri=http%3A%2F%2Ftim32.org%2F">HTML5 Valid</a></p>'); |
write('<br /><p class="copyright">© 2011 Tim32 · <a href="http://validator.w3.org/check?uri=http%3A%2F%2Ftim32.org%2F">HTML5 Valid</a></p>'); |
write('</div>'); |
write('</body>'); |
write('</html>'); |
278,6 → 278,24 |
return false; |
} |
|
function checkChallengeStatus($challengeID, $previous, $next) |
{ |
$currentChallengeID = $this->getLoggedInUser()->challengeID; |
|
if (!$this->isLoggedIn()) |
{ |
$this->redirect('index.php'); |
} |
else if ($currentChallengeID > $challengeID) |
{ |
$this->redirect($next . '.php'); |
} |
else if ($currentChallengeID < $challengeID) |
{ |
$this->redirect($previous . '.php'); |
} |
} |
|
function checkLoggedIn() |
{ |
if (!$this->isLoggedIn()) |