30 require_once(
"../class/config.php");
31 include_once(
"head.php");
34 "sub_domain_id" => array (
"request",
"integer",
""),
39 if (!
$r=
$dom->get_sub_domain_all($sub_domain_id)) {
47 __(
"This page is restricted to authorized staff");
53 if (!
$r=
$dom->get_sub_domain_all($sub_domain_id)) {
57 if (!
$dom->del_sub_domain($sub_domain_id)) {
64 <h3><?php echo sprintf(_(
"Deleting the subdomain %s:"),((
$r[
'name'])?
$r[
'name'].
".":
$r[
'name']).$r[
'domain']); ?></h3>
69 echo
"<p class=\"alert alert-danger\">$error</p>";
70 include_once(
"foot.php");
75 $error=strtr(_(
"The modifications will take effect at %time. Server time is %now."), array(
'%now' => date(
'H:i:s',
$t),
'%time' => date(
'H:i:s', (
$t-(
$t%300)+300))));
76 echo
"<p class=\"alert alert-info\">".$error.
"</p>";
79 <p><span
class=
"ina"><a href=
"dom_edit.php?domain=<?php echo urlencode($r['domain']) ?>"><?php
__(
"Click here to continue"); ?></a></span></p>
80 <?php include_once(
"foot.php"); ?>