<?php //ini_set('display_errors',1); //ini_set('display_startup_errors',1); //error_reporting(-1); define('ENTRY_POINT', true); // This is interface for wm-bot's logs require_once "psf/psf.php"; require_once "includes/core.php"; require_once "includes/logshtml.php"; require_once "menu.php"; $exec = microtime(true); // Initialize some variables Logs::Init(); $selected_channel = null; $recent = null; $displaying_logs = isset($_GET['display']) && isset($_GET['start']) && isset($_GET['end']); if (isset($_GET['display'])) { $selected_channel = $_GET['display']; } $html = new HtmlPage("Wikimedia IRC logs browser"); googlefonts_init($html); $html->Style->items['*']['font-family'] = 'Open Sans'; // Github ribbon $github_ribbon = new GitHub_Ribbon(); $github_ribbon->Repository = "benapetr/wikimedia-bot/tree/master/public_html/logs"; $html->AppendHtml($github_ribbon->ToHtml()); $html->ExternalCss[] = "style/style.css"; $html->ExternalCss[] = "http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css"; $html->ExternalJs[] = "http://code.jquery.com/jquery-1.9.1.js"; $html->ExternalJs[] = "http://code.jquery.com/ui/1.10.3/jquery-ui.js";