public function edit($id)
 {
     if (!$id) {
         header("Location: /hosting");
     } else {
         if (user::accessLevel($_COOKIE['id']) == 1) {
             if ($_SERVER['REQUEST_METHOD'] == 'POST') {
                 hosting::UPDATE($id, $_POST['name'], $_POST['adminPanelLink'], $_POST['login'], $_POST['password'], $_POST['emailID'], $_POST['ip'], $_POST['phpMyAdminLink'], $_POST['NS1'], $_POST['NS2'], $_POST['NS3'], $_POST['NS4']);
                 if ($_GET['return-url']) {
                     $redirect = "Location: " . $_GET['return-url'];
                     header($redirect);
                 }
             }
             hostingController::loadView('_form', $args = array('id' => $id));
         } else {
             //alert("YOU HAVE NO ACCESS");
             header("Location: /hosting/view/{$id}");
         }
     }
 }