Hanno Böck 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('

In Ihrem Account werden die folgenden Domains verwaltet:

'); foreach ($user_domains as $domain) { $regdate = $domain->reg_date; if ($domain->provider != 'terions') $regdate = 'Extern registriert'; elseif ($domain->reg_date == NULL) $regdate = 'Umzug bevorstehend'; else $regdate = 'Registriert seit '.$regdate; if ($domain->cancel_date) { $regdate .= '
Gekündigt zum '.$domain->cancel_date; } $features = array(); if ($domain->dns == 1) { if (dns_in_use($domain->id)) $features[] = 'DNS'; //if ($domain->autodns == 1) // $features[] = 'AutoDNS'; } $mailman = mailman_subdomains($domain->id); if (mail_in_use($domain->id)) $features[] = 'Mail'; if ($mailman) $features[] = 'Mailinglisten'; if (web_in_use($domain->id)) $features[] = 'Web'; if ($domain->jabber == 1) $features[] = 'Jabber'; $features = implode(', ', $features); if (! $features) $features = 'unbenutzt'; $punycode = $domain->punycode; if ($domain->is_idn) { $punycode = "
($punycode)"; } else { $punycode = ''; } $domainname = "{$domain->fqdn}{$punycode}"; if ((!$domain->cancel_date || $domain->cancel_date > date('Y-m-d')) && have_module('contacts') && $_SESSION['role'] & ROLE_CUSTOMER && update_possible($domain->id)) { $domainname = internal_link('update', $domainname, 'id='.$domain->id); } output(" \n"); } output('
DomainnameStatusFunktionen
{$domainname}{$regdate}{$features}
'); output("
"); ?>