trig("Impossible d'accéder au webservice"); } if (Env::has('new_maps')) { require_once('geoloc.inc.php'); if (!get_new_maps(Env::get('url'))) $page->trig("Impossible d'accéder aux nouvelles cartes"); } $countMissing = $globals->xdb->query("SELECT COUNT(*) FROM geoloc_city AS c LEFT JOIN geoloc_city_in_maps AS m ON(c.id = m.city_id) WHERE m.city_id IS NULL"); $page->assign("nb_cities_not_on_map", $countMissing->fetchOneCell()); $page->run(); // vim:set et sws=4 sts=4 sw=4: ?>