Exemple #1
0
$id = $_GET['id'];
$defaultorganization_id = $_SESSION['defaultorganization_id'];
$defaultpagesize = 15;
$action = $_GET['action'];
$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 ";