delete_supermaster.php
changeset 106 41d05ff53708
parent 82 c255196bc447
child 119 f74e4f88b680
equal deleted inserted replaced
105:df46fd74c2ee 106:41d05ff53708
    20  */
    20  */
    21 
    21 
    22 require_once("inc/toolkit.inc.php");
    22 require_once("inc/toolkit.inc.php");
    23 include_once("inc/header.inc.php");
    23 include_once("inc/header.inc.php");
    24 
    24 
    25 $master_ip = "-1"
    25 $master_ip = "-1";
    26 if (isset($_GET['master_ip']) && (is_valid_ip($_GET['master_ip']) || is_valid_ip6($_GET['master_ip']))) {
    26 if (isset($_GET['master_ip']) && (is_valid_ip($_GET['master_ip']) || is_valid_ip6($_GET['master_ip']))) {
    27 	 $master_ip = $_GET['master_ip'];
    27 	 $master_ip = $_GET['master_ip'];
    28 }
    28 }
    29 
    29 
    30 $confirm = "-1";
    30 $confirm = "-1";
    31 if ((isset($_GET['confirm']) && v_num($_GET['confirm'])
    31 if ((isset($_GET['confirm'])) && (v_num($_GET['confirm']))) {
    32         $confirm = $_GET['confirm'];
    32         $confirm = $_GET['confirm'];
    33 }
    33 }
    34 
    34 
    35 if ($master_ip == "-1"){
    35 if ($master_ip == "-1"){
    36 	error(ERR_INV_INPUT);
    36 	error(ERR_INV_INPUT);