2022-08-11 14:38:45 +00:00
< p >
2023-01-23 00:14:59 +00:00
< ? = sprintf ( _ ( 'This domain name registry allows to register domains ending with <code>%1$s</code>, for instance <code><em>domain</em>%1$s</code>.' ), '.' . key ( CONF [ 'reg' ][ 'suffixes' ])) ?>
2022-08-11 14:38:45 +00:00
</ p >
2022-09-14 11:30:45 +00:00
< ? php displayIndex (); ?>
2022-10-09 21:35:24 +00:00
2023-01-21 00:27:52 +00:00
< h2 >< ? = _ ( 'Currently registered domains' ) ?> </h2>
2022-10-09 21:35:24 +00:00
< ? php
2022-11-30 22:12:42 +00:00
$domains = query ( 'select' , 'registry' , [ 'username' => $_SESSION [ 'id' ] ? ? '' ], 'domain' );
2022-10-09 21:35:24 +00:00
if ( $domains === [])
2023-01-21 00:27:52 +00:00
echo '<p>∅</p>' . LF ;
2022-10-09 21:35:24 +00:00
else {
2022-11-20 14:11:54 +00:00
echo '<ul>' . LF ;
2022-10-09 21:35:24 +00:00
foreach ( $domains as $domain )
2022-11-20 14:11:54 +00:00
echo ' <code><li>' . $domain . '</li></code>' . LF ;
echo '</ul>' . LF ;
2022-10-09 21:35:24 +00:00
}