Example #1
0
 private static function DisplayBannedMessage($bans, $board = '')
 {
     /* Set a cookie with the users current IP address in case they use a proxy to attempt to make another post */
     setcookie('tc_previousip', $_SERVER['REMOTE_ADDR'], time() + 604800, kxEnv::Get('kx:paths:boards:folder'));
     require_once KX_ROOT . '/lib/dwoo.php';
     kxTemplate::assign('bans', $bans);
     return $dwoo->get(KX_ROOT . kxEnv::Get('kx:templates:dir') . '/banned.tpl', $twigData);
 }