Пример #1
0
if ($isadmin) {
    $log->showLog(3, "Current user is admin user");
}
//$log->cleanLog();
switch ($action) {
    case "country":
        $o->saveCountry();
        break;
    case "window":
        $o->saveWindow();
        break;
    case "currency":
        $o->saveCurrency();
        break;
    case "conversionrate":
        $o->saveConversionRate();
        break;
    case "period":
        $o->savePeriod();
        break;
    case "races":
        $o->saveRaces();
        break;
    case "region":
        $o->saveRegion();
        break;
    case "religion":
        $o->saveReligion();
        break;
    case "bpartnergroup":
        $o->saveBPartnerGroup();