array ("post", "string", ""), "siteid" => array ("request", "integer", -1), ); getFields($fields); if ($siteid === -1) { $msg->raise('Error', "piwik", _("Missing site parameters")); include('piwik_sitelist.php'); exit; } if(!empty($confirm_del) ) { if ($piwik->site_delete($siteid) ) { $msg->raise('Ok', "piwik", _("Site successfully deleted")); } include('piwik_sitelist.php'); exit; } include_once('head.php'); ?>