<?php

if (isset($_GET["verbose"])) {
    $GLOBALS["VERBOSE"] = true;
    ini_set('display_errors', 1);
    ini_set('error_reporting', E_ALL);
    ini_set('error_prepend_string', null);
    ini_set('error_append_string', null);
}
$GLOBALS["ICON_FAMILY"] = "ANTISPAM";
include_once 'ressources/class.templates.inc';
include_once 'ressources/class.ldap.inc';
include_once 'ressources/class.users.menus.inc';
if (isset($_GET["disclaimer"])) {
    disclaimer();
    exit;
}
if (isset($_GET["items-rules"])) {
    items();
    exit;
}
if (isset($_GET["diclaimers-rule"])) {
    disclaimer_rule();
    exit;
}
if (isset($_GET["disclaimers-text"])) {
    disclaimer_text();
    exit;
}
if (isset($_GET["disclaimers-html"])) {
    disclaimer_html();
Exemple #2
0
require_once e_PLUGIN . "ebattles/include/ebattles_header.php";
$text .= "\r\n<script type='text/javascript'>\r\n<!--//\r\nfunction buttonval(v)\r\n{\r\ndocument.getElementById('sort').value=v;\r\ndocument.getElementById('submitform').submit();\r\n}\r\n//-->\r\n</script>\r\n";
/**
* Display Past Events
*/
$text .= '<div id="tabs">';
$text .= '<ul>';
$text .= '<li><a href="#tabs-1">' . EB_EVENTP_L2 . '</a></li>';
$text .= '</ul>';
$text .= '<div id="tabs-1">';
displayPastEvents();
$text .= '
</div>
</div>
';
$text .= disclaimer();
$ns->tablerender(EB_EVENTP_L1, $text);
require_once FOOTERF;
exit;
/***************************************************************************************
Functions
***************************************************************************************/
/**
* displayEvents - Displays the events database table in
* a nicely formatted html table.
*/
function displayPastEvents()
{
    global $sql;
    global $text;
    global $time;