summaryrefslogtreecommitdiff
path: root/banned.php
blob: 93e8929eccfe0ba7ba23864a8b1880120c37cbf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php
  require_once 'inc/functions.php';
  require_once 'inc/bans.php';
  checkBan();
  print "<!doctype html><html><head><meta charset='utf-8'><title>"._("Banned?")."</title></head><body>";

  //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>";
?>