".__('Pandora Setup')." » "; echo __('Map conections GIS').""; $action = get_parameter('action'); if ($action == 'delete_connection') { $idConnectionMap = get_parameter('id_connection_map'); deleteMapConnection($idConnectionMap); } $table->width = '500px'; $table->head[0] = __('Map connection name'); $table->head[1] = __('Group'); $table->head[3] = __('Delete'); $table->align[1] = 'center'; $table->align[2] = 'center'; $table->align[3] = 'center'; $mapsConnections = get_db_all_rows_in_table ('tgis_map_connection','conection_name'); $table->data = array(); if ($mapsConnections !== false) { foreach ($mapsConnections as $mapsConnection) { $table->data[] = array('' . $mapsConnection['conection_name'] . '', print_group_icon ($mapsConnection['group_id'], true), '' . print_image ("images/cross.png", true).''); } } print_table($table); echo '
'; ?>