} else { print "Something got lost back there."; } break; case 'delete_map': if( isset($_REQUEST['id']) && is_numeric($_REQUEST['id']) ) map_delete($_REQUEST['id']); header("Location: weathermap-cacti-plugin-mgmt.php"); break; case 'deactivate_map': if( isset($_REQUEST['id']) && is_numeric($_REQUEST['id']) ) map_deactivate($_REQUEST['id']); header("Location: weathermap-cacti-plugin-mgmt.php"); break; case 'activate_map': if( isset($_REQUEST['id']) && is_numeric($_REQUEST['id']) ) map_activate($_REQUEST['id']); header("Location: weathermap-cacti-plugin-mgmt.php"); break; case 'move_map_up': if( isset($_REQUEST['id']) && is_numeric($_REQUEST['id']) && isset($_REQUEST['order']) && is_numeric($_REQUEST['order']) ) map_move($_REQUEST['id'],$_REQUEST['order'],-1); header("Location: weathermap-cacti-plugin-mgmt.php"); break; case 'move_map_down':
include_once $config["base_path"] . "/include/top_header.php"; perms_list($_REQUEST['id']); include_once $config["base_path"] . "/include/bottom_footer.php"; } else { print "Something got lost back there."; } break; case 'delete_map': if (isset($_REQUEST['id']) && is_numeric($_REQUEST['id'])) { map_delete($_REQUEST['id']); } header("Location: weathermap-cacti-plugin-mgmt.php"); break; case 'deactivate_map': if (isset($_REQUEST['id']) && is_numeric($_REQUEST['id'])) { map_deactivate($_REQUEST['id']); } header("Location: weathermap-cacti-plugin-mgmt.php"); break; case 'activate_map': if (isset($_REQUEST['id']) && is_numeric($_REQUEST['id'])) { map_activate($_REQUEST['id']); } header("Location: weathermap-cacti-plugin-mgmt.php"); break; case 'move_map_up': if (isset($_REQUEST['id']) && is_numeric($_REQUEST['id']) && isset($_REQUEST['order']) && is_numeric($_REQUEST['order'])) { map_move($_REQUEST['id'], $_REQUEST['order'], -1); } header("Location: weathermap-cacti-plugin-mgmt.php"); break;