$eveRender->Display('admin.tpl'); exit; } elseif ($action == 'updateprices') { $PricesUpdate = $eve->VarCleanFromInput('PricesUpdate'); foreach ($PricesUpdate as $id => $value) { $pinfo = array('name' => $id, 'value' => $value); if (!$posmgmt->UpdatePrices($pinfo)) { $eve->RedirectUrl('admin.php'); } } $eve->SessionSetVar('statusmsg', 'Prices updated manually!'); } elseif ($action == 'updatesettings') { $SettingsUpdate = $eve->VarCleanFromInput('SettingsUpdate'); foreach ($SettingsUpdate as $id => $value) { $sinfo = array('name' => $id, 'value' => $value); if (!$posmgmt->UpdateSettings($sinfo)) { $eve->RedirectUrl('admin.php'); } } $settings = $posmgmt->GetSettings(); $eve->SessionSetVar('statusmsg', 'Global Settings Updated!'); } elseif ($action == 'updateusers') { $userremove = $eve->VarCleanFromInput('userremove'); $UserList = $eve->VarCleanFromInput('UserList'); $UserEnabled = $eve->VarCleanFromInput('UserEnabled'); $CorpAccess = $eve->VarCleanFromInput('CorpAccess'); $OtherCorpAccess = $eve->VarCleanFromInput('OtherCorpAccess'); $OutpostAccess = $eve->VarCleanFromInput('OutpostAccess'); $JobAccess = $eve->VarCleanFromInput('JobAccess'); $ProdAccess = $eve->VarCleanFromInput('ProdAccess'); $TrustAccess = $eve->VarCleanFromInput('TrustAccess');