delete_supermaster.php
changeset 71 e1b918eaf69a
parent 48 2b8781fd2e49
child 79 0c0aa144356a
equal deleted inserted replaced
70:47248e2af079 71:e1b918eaf69a
    35                 clean_page("index.php");
    35                 clean_page("index.php");
    36         }
    36         }
    37         include_once("inc/header.inc.php");
    37         include_once("inc/header.inc.php");
    38 	$info = get_supermaster_info_from_ip($_GET["master_ip"]);
    38 	$info = get_supermaster_info_from_ip($_GET["master_ip"]);
    39         ?>
    39         ?>
    40 	<h2><? echo _('Delete supermaster'); ?> "<? echo $_GET["master_ip"] ?>"</h2>
    40 	<h2><?php echo _('Delete supermaster'); ?> "<?php echo $_GET["master_ip"] ?>"</h2>
    41 	<? echo _('Hostname in NS record'); ?>: <? echo $info["ns_name"] ?><br>
    41 	<?php echo _('Hostname in NS record'); ?>: <?php echo $info["ns_name"] ?><br>
    42 	<? echo _('Account'); ?>: <? echo $info["account"] ?><br><br>
    42 	<?php echo _('Account'); ?>: <?php echo $info["account"] ?><br><br>
    43         <font class="warning"><? echo _('Are you sure?'); ?></font><br><br>
    43         <font class="warning"><?php echo _('Are you sure?'); ?></font><br><br>
    44         <input type="button" class="button" OnClick="location.href='<? echo $_SERVER["REQUEST_URI"] ?>&confirm=1'" value="<? echo _('Yes'); ?>"> 
    44         <input type="button" class="button" OnClick="location.href='<?php echo $_SERVER["REQUEST_URI"] ?>&confirm=1'" value="<?php echo _('Yes'); ?>"> 
    45 	<input type="button" class="button" OnClick="location.href='<? echo $_SERVER["REQUEST_URI"] ?>&confirm=0'" value="<? echo _('No'); ?>">
    45 	<input type="button" class="button" OnClick="location.href='<?php echo $_SERVER["REQUEST_URI"] ?>&confirm=0'" value="<?php echo _('No'); ?>">
    46         <?
    46         <?php
    47 } else {
    47 } else {
    48         include_once("inc/header.inc.php");
    48         include_once("inc/header.inc.php");
    49         echo _('Nothing to do!');
    49         echo _('Nothing to do!');
    50 }
    50 }
    51 include_once("inc/footer.inc.php");
    51 include_once("inc/footer.inc.php");