Exemplo n.º 1
0
        show($sxe);
    }
    $row = $qry->getRow();
    $list->addSystem($row['sys_id']);
} else {
    if (isset($_GET['region'])) {
        $qry->execute("SELECT reg_id FROM kb3_regions WHERE reg_id = " . intval($_GET['region']) . " LIMIT 1");
        if (!$qry->recordCount()) {
            show($sxe);
        }
        $row = $qry->getRow();
        $list->addRegion($row['reg_id']);
    }
}
if (isset($_GET['lastID']) && isset($_GET['allkills']) && $_GET['allkills'] == 0) {
    $list->setMinExtID(intval($_GET['lastID']));
    if (isset($_GET['range'])) {
        $list->setMaxExtID(intval($_GET['lastID'] + $_GET['range']));
    }
} else {
    if (isset($_GET['lastintID'])) {
        $list->setMinKllID(intval($_GET['lastintID']));
        if (isset($_GET['range'])) {
            $list->setMaxKllID(intval($_GET['lastintID'] + $_GET['range']));
        }
    }
}
if (isset($_GET['startdate'])) {
    $list->setStartDate(gmdate('Y-m-d H:i:s', intval($_GET['startdate'])));
}
if (isset($_GET['enddate'])) {