function BlocksList(&$db) { require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Config/Main.php"; require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/Language/{$MainLanguage}/Blocks.php"; $db->Query("SELECT * FROM Z_BlockedUsers WHERE status = '1' ORDER BY blockdate DESC"); $NumRows = $db->NumRows(); for ($i = 0; $i < $NumRows; $i++) { $Blocks[$i] = $db->GetRow(); } $return = "<fieldset><legend>{$BlocksMessage07}</legend>\n\t\t<table class=\"BlockListTable\">\n \t<tr>\n\t\t\t\t<th align=\"center\">{$BlocksMessage01}</th>\n \t<th align=\"center\">{$BlocksMessage02}</th>\n \t<th align=\"center\">{$BlocksMessage03}</th>\n \t<th align=\"center\">{$BlocksMessage04}</th>\n \t<th align=\"center\">{$BlocksMessage05}</th>\n \t<th align=\"center\">{$BlocksMessage06}</th>\n \t<th></th>\n \t</tr>"; $dateClass = new Date(); $manClass = new Manager(); for ($i = 0; $i < $NumRows; $i++) { $data = $Blocks[$i]; $return .= "\n\t\t\t<tr>\n\t\t\t\t<td align=\"center\">" . $data['memb___id'] . "</td>\n \t<td class=\"BlockListCause\">" . $data['cause'] . "</td>\n \t<td align=\"center\">" . $dateClass->DateFormat($data['blockdate']) . "</td>\n \t<td align=\"center\">" . $dateClass->DateFormat($data['unblockdate']) . "</td>\n \t<td align=\"center\">" . $manClass->GetUserName($data['admin'], $db) . "</td>\n \t<td align=\"center\">"; if (strlen($data['image']) > 10) { $return .= "\n\t\t\t\t\t<a href=\"" . $data['image'] . "\" target=\"blank\">\n\t\t\t\t\t<div id=\"icon\" style=\"cursor:pointer;\" align=\"center\" class=\"ui-state-default ui-corner-all\" title=\"{$BlocksMessage22}\">\n\t\t\t\t\t<span class=\"ui-widget ui-icon ui-icon-image\"></span>\n\t\t\t\t\t</div>\n\t\t\t\t\t</a>"; } $return .= "\n\t\t\t\t</td>\n \t<td align=\"center\">\n\t\t\t\t\t"; if ($_SESSION['ManagerId'] == $data['admin'] || $manClass->GetUserLevel($_SESSION['ManagerId'], $db) > $manClass->GetUserLevel($data['admin'], $db) || $manClass->GetUserLevel($data['admin'], $db) >= 9) { $return .= "\n\t\t\t\t\t\t<div id=\"icon\" style=\"cursor:pointer; float:left;\" align=\"center\" class=\"ui-state-default ui-corner-all\" onclick=\"UnBlock('" . $data['idx'] . "')\" title=\"{$BlocksMessage08}\">\n\t\t\t\t\t\t<span class=\"ui-widget ui-icon ui-icon-check\"></span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div id=\"icon\" style=\"cursor:pointer; float:left;\" align=\"center\" class=\"ui-state-default ui-corner-all\" onclick=\"EditBlock('" . $data['idx'] . "')\" title=\"{$BlocksMessage09}\">\n\t\t\t\t\t\t<span class=\"ui-widget ui-icon ui-icon-pencil\"></span>\n\t\t\t\t\t\t</div>"; } $return .= "\n\t\t\t\t</td>\n \t</tr>"; } $return .= "</table></fieldset>"; $return .= "\n\t\t<script>\n\t\t\tfunction Go()\n\t\t\t{\n\t\t\t\t\$('.BlockListTable tbody tr:even').addClass('HelpDeskTicketRowEven');\n\t\t\t\t\$('.BlockListTable tbody tr:odd').addClass('HelpDeskTicketRowOdd');\n\t\t\t}\n\t\t\t\n\t\t\t\$(function()\n\t\t\t{\n\t\t\t\tsetTimeout(Go, 100);\n\t\t\t});\n\t\t</script>\n\t\t"; return $return; }
<?php @session_start(); require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Config/Main.php"; require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Config/Manager.php"; require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "System/Sanity.class.php"; $sanity = new Sanity(); require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/System/LoggedOnly.class.php"; new LoggedOnly(); require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "System/IniSets.class.php"; new IniSets(); require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/System/Manager.class.php"; $mn = new Manager(); require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "System/MuDatabase.class.php"; $db = new MuDatabase(); if ($mn->GetUserLevel($_SESSION['ManagerId'], $db) < $ManagerCreditShopLevel) { require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/Language/{$MainLanguage}/Manager.php"; $db->Disconnect(); exit($ManagerMessage01); } require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/System/CreditShop.class.php"; $cs = new CreditShop(); switch ($_GET['action']) { default: case "new": echo $cs->NewPackForm($db); break; case "saveNew": echo $cs->NewPack($db, $_POST); break; case "manage":
<?php @session_start(); require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Config/Main.php"; require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Config/Manager.php"; require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "System/Sanity.class.php"; $sanity = new Sanity(); require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/System/LoggedOnly.class.php"; new LoggedOnly(); require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "System/IniSets.class.php"; new IniSets(); require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/System/Manager.class.php"; $mn = new Manager(); require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "System/MuDatabase.class.php"; $db = new MuDatabase(); if ($mn->GetUserLevel($_SESSION['ManagerId'], $db) < $ManagerWebShopLogLevel) { require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/Language/{$MainLanguage}/Manager.php"; $db->Disconnect(); exit($ManagerMessage01); } require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/System/WebShop.class.php"; $ws = new WebShop(); switch ($_GET['action']) { default: case "log": echo $ws->LogListForm($db); break; case "results": echo $ws->GetResults($db, $_POST); break; case "cancelPurchases":
function ScheduledEvents(&$db) { require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "System/Date.class.php"; $dateClass = new Date(); require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Config/Main.php"; require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/Language/{$MainLanguage}/Events.php"; require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/System/Manager.class.php"; $mn = new Manager(); $db->Query("SELECT * FROM Z_Currencies ORDER BY idx"); $NumCurrencies = $db->NumRows(); $Currencies = array(); for ($i = 0; $i < $NumCurrencies; $i++) { $Currencies[$i + 1] = $db->GetRow(); } $db->Query("SELECT idx,title FROM Z_Events"); while ($data = $db->GetRow()) { $EventNames[$data[0]] = $data[1]; } $return = "\n\t\t<table class=\"BlockListTable\">\n \t<tr>\n\t\t\t\t<th align=\"center\">{$EventsMessage027}</th>\n \t<th align=\"center\">{$EventsMessage028}</th>\n \t<th align=\"center\">{$EventsMessage029}</th>\n\t\t\t\t<th align=\"center\">{$EventsMessage040}</th>\n\t\t\t\t<th align=\"center\">{$EventsMessage031}</th>\n \t<th align=\"center\"></th>\n \t<th></th>\n \t</tr>"; $db->Query("SELECT * FROM Z_EventsSchedule WHERE winner IS NULL ORDER BY date ASC"); $numrows = $db->NumRows(); for ($i = 0; $i < $numrows; $i++) { $ScheduledEvents[$i] = $db->GetRow(); } if (is_array($ScheduledEvents)) { foreach ($ScheduledEvents as $k => $v) { $getColor = ""; if ($v['date'] < date("Y-m-d H:i:s")) { $getColor = "style=\"color:#F00\""; } $disabled = ""; if ($_SESSION['ManagerId'] != $v['by']) { if ($mn->GetUserLevel($_SESSION['ManagerId'], $db) <= $mn->GetUserLevel($v['by'], $db)) { $disabled = "disabled=\"disabled\""; } } $Prizes = ""; foreach ($Currencies as $Key => $Value) { if ($v["currency" . $Key] > 0) { $Prizes .= $v["currency" . $Key] . " " . $Value['name'] . "<br />"; } } $return .= "\n\t\t\t\t<tr>\n\t\t\t\t\t<td align=\"center\">" . $EventNames[$v['event']] . "</td>\n\t\t\t\t\t<td align=\"center\">" . $mn->GetUserName($v['by'], $db) . "</td>\n\t\t\t\t\t<td align=\"center\" {$getColor}>" . $dateClass->DateFormat($v['date']) . " " . $dateClass->TimeFormat($v['date'], "h") . "</td>\n\t\t\t\t\t<td align=\"center\">{$Prizes}</td>\n\t\t\t\t\t<td align=\"center\">\n\t\t\t\t\t\t<input type=\"text\" name=\"winner_" . $v['idx'] . "\" id=\"winner_" . $v['idx'] . "\" size=\"10\" maxlength=\"10\" {$disabled} />\n\t\t\t\t\t</td>\n\t\t\t\t\t<td>\n\t\t\t\t\t\t"; if ($_SESSION['ManagerId'] == $v['by'] || $mn->GetUserLevel($_SESSION['ManagerId'], $db) > $mn->GetUserLevel($v['by'], $db)) { $return .= "\n\t\t\t\t\t\t\t<div id=\"icon\" style=\"cursor:pointer; float:left;\" align=\"center\" class=\"ui-state-default ui-corner-all\" onclick=\"EventPrize('" . $v['idx'] . "')\" title=\"{$EventsMessage032}\">\n\t\t\t\t\t\t\t\t<span class=\"ui-widget ui-icon ui-icon-check\"></span>\n\t\t\t\t\t\t\t</div>\n\t\t\n\t\t\t\t\t\t\t<div id=\"icon\" style=\"cursor:pointer; float:left;\" align=\"center\" class=\"ui-state-default ui-corner-all\" onclick=\"CancelScheduled('" . $v['idx'] . "')\" title=\"{$EventsMessage033}\">\n\t\t\t\t\t\t\t\t<span class=\"ui-widget ui-icon ui-icon-closethick\"></span>\n\t\t\t\t\t\t\t</div>"; } $return .= "\n\t\t\t\t\t</td>\n\t\t\t\t</tr>"; } } $return .= "</table>"; return $return; }
@session_start(); require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Config/Main.php"; require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Config/Manager.php"; require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "System/Sanity.class.php"; $sanity = new Sanity(); require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/System/LoggedOnly.class.php"; new LoggedOnly(); require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "System/IniSets.class.php"; new IniSets(); require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "System/MuDatabase.class.php"; $db = new MuDatabase(); require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/System/System.class.php"; $sys = new System($db); require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/System/Manager.class.php"; $mn = new Manager(); if ($mn->GetUserLevel($_SESSION['ManagerId'], $db) < 9) { require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/Language/{$MainLanguage}/Manager.php"; $db->Disconnect(); exit($ManagerMessage01); } switch ($_GET['action']) { //User info default: case "status": echo $sys->Status(); break; case "update": echo $sys->Update(1); break; case "updateNow": echo $sys->Update(2);
<?php @session_start(); require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Config/Main.php"; require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Config/Manager.php"; require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Config/WebServices.php"; require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/System/LoggedOnly.class.php"; new LoggedOnly(); require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "System/Sanity.class.php"; $sanity = new Sanity(); require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "System/MuDatabase.class.php"; $db = new MuDatabase(); require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/System/Manager.class.php"; $mn = new Manager(); if (!isset($WebServiceGeneralSwitch) || $WebServiceGeneralSwitch !== true || $mn->GetUserLevel($_SESSION['ManagerId'], $db) < $ManagerWebServicesLevel) { $db->Disconnect(); die; } $db->Disconnect(); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $WebServiceURL . $_POST['param']); curl_exec($ch); curl_close($ch);
<?php @session_start(); require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Config/Main.php"; require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Config/Manager.php"; require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "System/Sanity.class.php"; $sanity = new Sanity(); require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/System/LoggedOnly.class.php"; new LoggedOnly(); require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "System/IniSets.class.php"; new IniSets(); require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/System/Manager.class.php"; $mn = new Manager(); require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "System/MuDatabase.class.php"; $db = new MuDatabase(); if ($mn->GetUserLevel($_SESSION['ManagerId'], $db) < $ManagerConfigLevel) { require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/Language/{$MainLanguage}/Manager.php"; $db->Disconnect(); exit("{$ManagerMessage01}"); } require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/System/Config.class.php"; $cfg = new Config(); switch ($_GET['action']) { default: echo $cfg->ViewConfig($_GET['action']); break; case "saveConfig": echo $cfg->SaveConfig($_POST); break; } $db->Disconnect();
function ManagersList(&$db) { require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Config/Main.php"; require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Config/Manager.php"; require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/Language/{$MainLanguage}/Users.php"; require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Language/{$MainLanguage}/GenericMessages.php"; require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/System/Manager.class.php"; $mn = new Manager(); if ($mn->GetUserLevel($_SESSION['ManagerId'], $db) >= $ManagerManagerLevel) { $return = ""; $return .= "\n\t\t\t<fieldset>\n\t\t\t<legend>{$UsersMessage048}</legend>\n\t\t\t<table class=\"UsersManagersListTable\">\n\t\t\t<tbody id=\"UsersManagersListTable\">\n\t\t\t<tr>\n\t\t\t\t<td colspan=\"4\" align=\"left\">{$UsersMessage049}</td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<th>{$UsersMessage044}</th>\n\t\t\t\t<th>{$UsersMessage045}</th>\n\t\t\t\t<th>{$UsersMessage046}</th>\n\t\t\t\t<th>{$UsersMessage047}</th>\n\t\t\t</tr>"; $db->Query("SELECT * FROM Z_Users ORDER BY id"); $NumRows = $db->NumRows(); for ($i = 0; $i < $NumRows; $i++) { $data = $db->GetRow(); $return .= "\n\t\t\t\t<tr>\n\t\t\t\t\t<td><input type=\"text\" name=\"username\" id=\"username\" maxlength=\"20\" value=\"" . $data['username'] . "\" /></td>\n\t\t\t\t\t<td><input type=\"text\" name=\"password\" id=\"password\" maxlength=\"20\" value=\"" . $data['password'] . "\" /></td>\n\t\t\t\t\t<td><input type=\"text\" name=\"realname\" id=\"realname\" maxlength=\"50\" value=\"" . $data['realname'] . "\" /></td>\n\t\t\t\t\t<td>\n\t\t\t\t\t\t<select name=\"userlevel\" id=\"userlevel\">"; for ($j = 0; $j < 10; $j++) { $data['userlevel'] == $j ? $selected = "selected=\"selected\"" : ($selected = ""); $return .= "\n\t\t\t\t\t\t\t<option value=\"{$j}\" {$selected}>{$j}</option>\n\t\t\t\t\t\t\t"; } $return .= "\n\t\t\t\t\t\t</select>\n\t\t\t\t\t</td>\n\t\t\t\t</tr>"; } $return .= "\n\t\t\t\t</tbody>\n\t\t\t\t<tr>\n\t\t\t\t\t<td colspan=\"2\">\n\t\t\t\t\t\t<input type=\"button\" name=\"button\" id=\"button\" value=\"{$UsersMessage039}\" onclick=\"SaveManagers()\" />\n\t\t\t\t\t</td>\n\t\t\t\t\t<td colspan=\"2\">\n\t\t\t\t\t\t<input type=\"button\" name=\"button\" id=\"button\" value=\"{$UsersMessage050}\" onclick=\"AddManager()\" />\n\t\t\t\t\t</td>\n\t\t\t\t</tr>\n\t\t\t</table>\n\t\t\t</fieldset>\n\t\t\t"; return $return; } else { return $GenericMessage07; } }
<?php @session_start(); require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Config/Main.php"; require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Config/Manager.php"; require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "System/Sanity.class.php"; $sanity = new Sanity(); require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/System/LoggedOnly.class.php"; new LoggedOnly(); require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "System/IniSets.class.php"; new IniSets(); require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/System/Manager.class.php"; $mn = new Manager(); require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "System/MuDatabase.class.php"; $db = new MuDatabase(); if ($mn->GetUserLevel($_SESSION['ManagerId'], $db) < $ManagerResellerLevel) { require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/Language/{$MainLanguage}/Manager.php"; $db->Disconnect(); exit("{$ManagerMessage01}"); } require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/System/Reseller.class.php"; $rs = new Reseller(); switch ($_GET['action']) { default: case "manage": echo $rs->ManageResellers($db); break; case "new": echo $rs->NewResellerForm(); break; case "saveNewReseller":
<?php @session_start(); require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Config/Main.php"; require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Config/Manager.php"; require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "System/Sanity.class.php"; $sanity = new Sanity(); require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/System/LoggedOnly.class.php"; new LoggedOnly(); require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "System/IniSets.class.php"; new IniSets(); require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/System/Manager.class.php"; $mn = new Manager(); require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "System/MuDatabase.class.php"; $db = new MuDatabase(); if ($mn->GetUserLevel($_SESSION['ManagerId'], $db) < $ManagerDonationLevel) { require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/Language/{$MainLanguage}/Manager.php"; $db->Disconnect(); exit($ManagerMessage01); } require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/System/Donations.class.php"; $dn = new Donations(); switch ($_GET['action']) { default: case "confirmations": echo $dn->Confirmations($db); break; case "viewConfirmation": echo $dn->ViewConfirmation($db, $_GET['idx']); break; case "cancelConfirmation":
<?php @session_start(); require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Config/Main.php"; require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Config/Manager.php"; require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "System/Sanity.class.php"; $sanity = new Sanity(); require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/System/LoggedOnly.class.php"; new LoggedOnly(); require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "System/IniSets.class.php"; new IniSets(); require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "System/MuDatabase.class.php"; $db = new MuDatabase(); require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/System/Manager.class.php"; $mn = new Manager(); if ($mn->GetUserLevel($_SESSION['ManagerId'], $db) < $ManagerAccountViewLevel) { require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/Language/{$MainLanguage}/Manager.php"; $db->Disconnect(); exit("{$ManagerMessage01}"); } require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/System/Users.class.php"; $us = new Users($db); switch ($_GET['action']) { //User info default: case "find": echo $us->FindUserForm(); break; case "userInfo": echo $us->ViewUserInfo($db, $_GET['memb___id']); break;
<?php @session_start(); require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Config/Main.php"; require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Config/Manager.php"; require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "System/Sanity.class.php"; $sanity = new Sanity(); require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/System/LoggedOnly.class.php"; new LoggedOnly(); require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "System/IniSets.class.php"; new IniSets(); require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/System/Manager.class.php"; $mn = new Manager(); require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "System/MuDatabase.class.php"; $db = new MuDatabase(); if ($mn->GetUserLevel($_SESSION['ManagerId'], $db) < $ManagerGuidDBLevel) { require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/Language/{$MainLanguage}/Manager.php"; $db->Disconnect(); exit($ManagerMessage01); } require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/System/GuideDB.class.php"; $gdb = new GuideDB(); switch ($_GET['action']) { default: case "manage": echo $gdb->ManageForm($db); break; case "new": echo $gdb->NewGuideForm($db); break; case "saveNewGuide":
@session_start(); require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Config/Main.php"; require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Config/News.php"; require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Config/Manager.php"; require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "System/Sanity.class.php"; $sanity = new Sanity(); require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/System/LoggedOnly.class.php"; new LoggedOnly(); require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "System/IniSets.class.php"; new IniSets(); require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/System/Manager.class.php"; $mn = new Manager(); require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "System/MuDatabase.class.php"; $db = new MuDatabase(); if ($mn->GetUserLevel($_SESSION['ManagerId'], $db) < $ManagerNewsLevel) { require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/Language/{$MainLanguage}/Manager.php"; $db->Disconnect(); exit("{$ManagerMessage01}"); } require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/System/News.class.php"; $nw = new News($db); switch ($_GET['action']) { case "new": echo $nw->AddNewForm(); break; case "AddNew": echo $nw->AddNew($db, $_POST); break; case "EditNew": echo $nw->EditNewForm($_GET['id'], $db);
// die("Dupe Finder not authorized.<br />Ask at www.leoferrarezi.com"); // } //} require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "System/Sanity.class.php"; $sanity = new Sanity(); require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/System/LoggedOnly.class.php"; new LoggedOnly(); require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "System/IniSets.class.php"; new IniSets(); require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "System/MuDatabase.class.php"; $db = new MuDatabase(); require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/System/DupeFinder.class.php"; $it = new DupeFinder(); require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/System/Manager.class.php"; $mn = new Manager(); if ($mn->GetUserLevel($_SESSION['ManagerId'], $db) < $ManagerDupeFinderLevel) { require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/Language/{$MainLanguage}/Manager.php"; $db->Disconnect(); exit($ManagerMessage01); } switch ($_GET['action']) { default: case "DupeFinder": echo $it->DupeFinderStart(); break; case "DupeFinderStep1": $it->DupeFinderStep1(); break; case "DupeFinderStep1Frame": $it->DupeFinderStep1Frame($db); break;
@session_start(); require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Config/Main.php"; require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Config/Manager.php"; require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Config/HelpDesk.php"; require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "System/Sanity.class.php"; $sanity = new Sanity(); require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/System/LoggedOnly.class.php"; new LoggedOnly(); require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "System/IniSets.class.php"; new IniSets(); require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/System/Manager.class.php"; $mn = new Manager(); require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "System/MuDatabase.class.php"; $db = new MuDatabase(); if ($mn->GetUserLevel($_SESSION['ManagerId'], $db) < $ManagerHelpDeskLevel) { require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/Language/{$MainLanguage}/Manager.php"; $db->Disconnect(); exit("{$ManagerMessage01}"); } require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/System/HelpDesk.class.php"; $hd = new HelpDesk($db); switch ($_GET['action']) { //Pending tickets default: case "waiting": echo $hd->GetTicketsList(0, $db); break; //Waiting user //Waiting user case "answered":
// } //} require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Config/Main.php"; require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Config/MailService.php"; require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Config/Manager.php"; require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "System/Sanity.class.php"; $sanity = new Sanity(); require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/System/LoggedOnly.class.php"; new LoggedOnly(); require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "System/IniSets.class.php"; new IniSets(); require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/System/Manager.class.php"; $mn = new Manager(); require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "System/MuDatabase.class.php"; $db = new MuDatabase(); if ($mn->GetUserLevel($_SESSION['ManagerId'], $db) < $ManagerMailListLevel) { require $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/Language/{$MainLanguage}/Manager.php"; $db->Disconnect(); exit("{$ManagerMessage01}"); } require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "Manager/System/MailList.class.php"; $ml = new MailList($db); switch ($_GET['action']) { case "new": echo $ml->AddMessageForm(); break; case "AddMessage": echo $ml->AddMessage($db, $_POST); break; case "EditMessage": echo $ml->EditMessageForm($_GET['idx'], $db);