include 'zzcookie.php'; ob_start(); // BLAETTERN ANFANG if (isset($_GET['seite'])) { $seite = intval($_GET['seite']); } else { $seite = 1; } $eintraege_pro_seite = 15; // ANGEBEN DER BEITRAEGE PRO SEITE $start = $seite * $eintraege_pro_seite - $eintraege_pro_seite; // ERMITTELN DER STARTZAHL FÜR DIE ABFRAGE // BLAETTERN ENDE require_once './classes/I18N.php'; if (isset($_GET['setLocale'])) { I18N::changeLanguage($_GET['setLocale']); } I18N::init('messages', './i18n', 'en_US', array('/^de((-|_).*?)?$/i' => 'de_DE', '/^en((-|_).*?)?$/i' => 'en_US', '/^es((-|_).*?)?$/i' => 'es_ES')); // INFO-BOXEN-ARRAY ANFANG $showInfoBox = array(); function addInfoBox($text) { global $showInfoBox; $showInfoBox[] = trim($text); } function setTaskDone($shortName) { global $prefix, $cookie_id, $cookie_team; if ($_SESSION['hasLicense'] == 0 && $cookie_team != '__' . $cookie_id) { $taskDone1 = "INSERT INTO " . $prefix . "licenseTasks_Completed (user, task) VALUES ('" . $cookie_id . "', '" . mysql_real_escape_string(trim($shortName)) . "')"; $taskDone2 = mysql_query($taskDone1);