19 lines
546 B
PHP
19 lines
546 B
PHP
<p>
|
|
<?= sprintf(_('This domain name registry allows to register domains ending with <code>%1$s</code>, for instance <code><em>domain</em>%1$s</code>.'), '.' . CONF['reg']['registry']) ?>
|
|
</p>
|
|
|
|
<?php displayIndex(); ?>
|
|
|
|
<h2><?= _('Currently registered domains') ?></h2>
|
|
|
|
<?php
|
|
|
|
$domains = query('select', 'registry', ['username' => $_SESSION['id'] ?? ''], 'domain');
|
|
if ($domains === [])
|
|
echo '<p>∅</p>' . LF;
|
|
else {
|
|
echo '<ul>' . LF;
|
|
foreach ($domains as $domain)
|
|
echo ' <code><li>' . $domain . '</li></code>' . LF;
|
|
echo '</ul>' . LF;
|
|
}
|