示例#1
0
$log = new Log();
$o = new Selection();
$isadmin = $xoopsUser->isAdmin();
$getHandler = new EBAGetHandler();
switch ($action) {
    case "country":
        $wherestring = " WHERE country_id>0 and isdeleted=0";
        $o->showCountry();
        break;
    case "module":
        $wherestring = " WHERE mid>0";
        $o->showModule();
        break;
    case "window":
        $wherestring = " WHERE window_id>=0";
        $o->showWindow();
        break;
    case "currency":
        $wherestring = " WHERE currency_id>0";
        $o->showCurrency();
        break;
    case "period":
        $wherestring = " WHERE period_id>0";
        $o->showCurrency();
        break;
    case "races":
        $wherestring = " WHERE races_id>0 ";
        $o->showRaces($wherestring);
        break;
    case "region":
        $wherestring = " WHERE religion_id>0 ";