summaryrefslogtreecommitdiff
path: root/banned.php
blob: a38b87c47d758e0b91b7054d5e2e333be20f29f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php
  require_once 'inc/functions.php';
  require_once 'inc/bans.php';
  checkBan();

  //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()
    ))
  )); 
?>