Michael Walker
8 years ago
committed by
GitHub
2 changed files with 22 additions and 6 deletions
@ -1,8 +1,18 @@ |
|||||
<?php |
<?php |
||||
require_once 'inc/functions.php'; |
require_once 'inc/functions.php'; |
||||
require_once 'inc/bans.php'; |
require_once 'inc/bans.php'; |
||||
checkBan(); |
checkBan(); |
||||
print "<!doctype html><html><head><meta charset='utf-8'><title>"._("Banned?")."</title></head><body>"; |
print "<!doctype html><html><head><meta charset='utf-8'><title>"._("Banned?")."</title></head><body>"; |
||||
print "<h1>"._("You are not banned.")."</h1>"; |
|
||||
print "</body></html>"; |
//If the user is not banned, show the "not banned" page. |
||||
|
die( |
||||
|
Element('page.html', array( |
||||
|
'title' => _('Not banned!'), |
||||
|
'config' => $config, |
||||
|
'nojavascript' => true, |
||||
|
'body' => Element('notbanned.html', array() |
||||
|
)) |
||||
|
)); |
||||
|
|
||||
|
print "</body></html>"; |
||||
?> |
?> |
||||
|
@ -0,0 +1,6 @@ |
|||||
|
{% filter remove_whitespace %} |
||||
|
{# Automatically removes unnecessary whitespace #} |
||||
|
<div class="ban"> |
||||
|
<h1>You are not banned! Well done on not being terrible!</h1> |
||||
|
</div> |
||||
|
{% endfilter %} |
Loading…
Reference in new issue