git.schokokeks.org
Repositories
Help
Report an Issue
webinterface.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
040e631
Branches
Tags
master
ticket
webinterface.git
modules
domains
domains.php
Zeige Reg-Status der Domains explizit an
bernd
commited
040e631
at 2009-02-06 10:27:17
domains.php
Blame
History
Raw
<?php require_once('inc/debug.php'); require_once('session/start.php'); require_once('class/domain.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 = "Domainüberblick"; output('<h3>Domains</h3> <p>In Ihrem Account werden die folgenden Domains verwaltet:</p> <table> <tr><th>Domainname</th><th>Reg-Datum</th><th>Kündigungsdatum</th><th> </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>'; output(" <tr><td>{$domain->fqdn}</td><td>{$regdate}</td><td>{$domain->cancel_date}</td><td><a href=\"http://www.{$domain->fqdn}\">WWW-Seite aufrufen</a></td></tr>\n"); } output('</table>'); output("<br />"); ?>