Esempio n. 1
0
        $i = 0;
        $j = count($gid);
        while ($i < $j) {
            if (isset($delgage[$i])) {
                $gage->setValue('gageslnoid', $gid[$i]);
                $gage->deleteGage();
            }
            $i++;
        }
    } else {
        if (isset($_GET['ui'])) {
            $gage->showGageUI();
        }
        if (isset($_GET['gtype'])) {
            $gage->setValue('gagedesc', $_GET['gtype']);
            $gage->saveGageType();
        }
        if (isset($_GET['rgage'])) {
            if (isset($_GET['gid'])) {
                $gage->setValue('gageid', $_GET['gid']);
            }
            if (isset($_GET['gpno'])) {
                $gage->setValue('gatepassno', $_GET['gpno']);
            }
            $gage->listReceivedGages();
        }
        if (isset($_GET['gplist'])) {
            $gage->getGPList();
        }
    }
}