Bernd Wurst
Zeige Domain-Details nur bei Domains die über uns verwaltet werden
Bernd Wurst commited 9609f4e at 2018-01-24 10:34:58
<?php
/*
This file belongs to the Webinterface of schokokeks.org Hosting
Written 2008-2018 by schokokeks.org Hosting, namely
Bernd Wurst <bernd@schokokeks.org>
Hanno Böck <hanno@schokokeks.org>
To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.
You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see
http://creativecommons.org/publicdomain/zero/1.0/
Nevertheless, in case you use a significant part of this code, we ask (but not require, see the license) that you keep the authors' names in place and return your changes to the public. We would be especially happy if you tell us what you're going to do with this code.
*/
require_once('inc/debug.php');
require_once('session/start.php');
require_once('class/domain.php');
require_once('domains.php');
require_role(array(ROLE_SYSTEMUSER, ROLE_CUSTOMER));
if ($_SESSION['role'] & ROLE_CUSTOMER)
$user_domains = get_domain_list($_SESSION['customerinfo']['customerno']);
else
$user_domains = get_domain_list($_SESSION['userinfo']['customerno'], $_SESSION['userinfo']['uid']);
title("Domains");
output('<p>In Ihrem Account werden die folgenden Domains verwaltet:</p>
<table>
<tr><th>Domainname</th><th>Status</th><th>Funktionen</th></tr>
');
foreach ($user_domains as $domain)
{
$regdate = $domain->reg_date;
if ($domain->provider != 'terions')
$regdate = '<em>Extern registriert</em>';
elseif ($domain->reg_date == NULL)
$regdate = '<em>Umzug bevorstehend</em>';
else
$regdate = 'Registriert seit '.$regdate;
if ($domain->cancel_date) {
$regdate .= '<br />Gekündigt zum '.$domain->cancel_date;
}
$features = array();
 
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX