20 lines
665 B
PHP
20 lines
665 B
PHP
<p>
|
|
Ce <?= linkToDocs('registry', 'registre') ?> permet d'obtenir un domaine se terminant par <code><?= CONF['reg']['registry'] ?></code>, par exemple <code><em>domaine</em>.<?= CONF['reg']['registry'] ?></code>.
|
|
</p>
|
|
|
|
<?php displayIndex(); ?>
|
|
|
|
<h2>Domaines actuellement enregistrés</h2>
|
|
|
|
<?php
|
|
|
|
$domains = query('select', 'registry', ['username' => $_SESSION['username'] ?? ''], 'domain');
|
|
if ($domains === [])
|
|
echo '<p>Ce compte n\'a aucun domaine enregistré sur <code>' . CONF['reg']['registry'] . '</code><p>' . "\n";
|
|
else {
|
|
echo '<ul>' . "\n";
|
|
foreach ($domains as $domain)
|
|
echo ' <code><li>' . $domain . '</li></code>' . "\n";
|
|
echo '</ul>' . "\n";
|
|
}
|