dcc202fb249a446ac15c7cf413b9f1b4a3f31b58
Bernd Wurst Neues Modul zum Prüfen der...

Bernd Wurst authored 10 years ago

1) <?php
2) /*
3) This file belongs to the Webinterface of schokokeks.org Hosting
4) 
Hanno Böck Change license from CC0 to...

Hanno Böck authored 1 year ago

5) Written by schokokeks.org Hosting, namely
Bernd Wurst Neues Modul zum Prüfen der...

Bernd Wurst authored 10 years ago

6)   Bernd Wurst <bernd@schokokeks.org>
7)   Hanno Böck <hanno@schokokeks.org>
8) 
Hanno Böck Change license from CC0 to...

Hanno Böck authored 1 year ago

9) This code is published under a 0BSD license.
Bernd Wurst Neues Modul zum Prüfen der...

Bernd Wurst authored 10 years ago

10) 
11) 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.
12) */
13) 
14) require_once('session/start.php');
15) 
16) require_once('inc/security.php');
17) require_once('inc/icons.php');
18) 
19) require_once('adddomain.php');
20) 
21) require_role(ROLE_CUSTOMER);
22) 
23) title("Domain hinzufügen");
24) $section = 'adddomain_search';
25) 
26) output('<p>Mit dieser Funktion können Sie eine neue Domain in unsere Datenbank eintragen.</p>
27) <p><strong>WICHTIG:</strong> Diese Funktion löst nicht die Registrierung der Domain aus und diese Funktion erteilt uns auch nicht den Auftrag, eine Domain zu registrieren. Die Registrierung müssen Sie selbst durchführen oder separat bei uns beauftragen.</p>');
28) 
29) $data = get_domain_offer($_REQUEST['domain']);
30) 
31) if (! $data) {
Hanno Fix coding style with php-c...

Hanno authored 5 years ago

32)     // Die Include-Datei setzt eine passende Warning-Nachricht
33)     redirect('search');
Bernd Wurst Neues Modul zum Prüfen der...

Bernd Wurst authored 10 years ago

34) }
35) 
36) $users = list_useraccounts();
Hanno Böck Codingstyle PSR12 + array s...

Hanno Böck authored 2 years ago

37) $userselect = [];
Bernd Wurst Neues Modul zum Prüfen der...

Bernd Wurst authored 10 years ago

38) foreach ($users as $u) {
Hanno Fix coding style with php-c...

Hanno authored 5 years ago

39)     $userselect[$u['uid']] = $u['username'].' / '.$u['name'];