da2eaa6d6f8367bf912f8f72272dedd012cbf3e2
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) 
Bernd Wurst Copyright year update

Bernd Wurst authored 6 years ago

5) Written 2008-2018 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) 
9) To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.
10) 
Hanno Fix coding style with php-c...

Hanno authored 5 years ago

11) You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see
Bernd Wurst Neues Modul zum Prüfen der...

Bernd Wurst authored 10 years ago

12) http://creativecommons.org/publicdomain/zero/1.0/
13) 
14) 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.
15) */
16) 
17) require_once('session/start.php');
18) 
19) require_once('inc/security.php');
20) require_once('inc/icons.php');
21) 
22) require_once('adddomain.php');
23) 
24) require_role(ROLE_CUSTOMER);
25) 
26) title("Domain hinzufügen");
27) $section = 'adddomain_search';
28) 
29) output('<p>Mit dieser Funktion können Sie eine neue Domain in unsere Datenbank eintragen.</p>
30) <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>');
31) 
32) $data = get_domain_offer($_REQUEST['domain']);
33) 
34) if (! $data) {
Hanno Fix coding style with php-c...

Hanno authored 5 years ago

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

Bernd Wurst authored 10 years ago

37) }
38) 
39) $users = list_useraccounts();
40) $userselect = array();
41) foreach ($users as $u) {
Hanno Fix coding style with php-c...

Hanno authored 5 years ago

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