Rev 4 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4 | Rev 8 | ||
---|---|---|---|
1 | <?php |
1 | <?php |
2 | 2 | ||
3 | if (!defined('IBLEGAL')) die('Kann nicht ohne Personal WebBase ausgeführt werden.'); |
3 | if (!defined('IBLEGAL')) die('Kann nicht ohne Personal WebBase ausgeführt werden.'); |
4 | 4 | ||
5 | echo $header; |
5 | echo $header; |
6 | 6 | ||
7 | if ($modulueberschrift == '') $modulueberschrift = $modul; |
7 | if ($modulueberschrift == '') $modulueberschrift = $modul; |
8 | echo '<h1>'.my_htmlentities($modulueberschrift).'</h1>'; |
8 | echo '<h1>'.my_htmlentities($modulueberschrift).'</h1>'; |
9 | echo '<b>Datensicherung herunterladen</b><br><br> |
9 | echo '<b>Datensicherung herunterladen</b><br><br> |
10 | 10 | ||
11 | Hier können Sie eine Datensicherung durchführen, um beispielsweise auf einen anderen Personal WebBase-Server umzuziehen.<br><br> |
11 | Hier können Sie eine Datensicherung durchführen, um beispielsweise auf einen anderen Personal WebBase-Server umzuziehen.<br><br> |
12 | 12 | ||
13 | <input type="button" class="button" onmouseover="this.className=\'button_act\';" onmouseout="this.className=\'button\';" onclick="document.location.href=\''.$_SERVER['PHP_SELF'].'?modul='.$modul.'&seite=export\'" value="Datensicherung"><br><br> |
13 | <input type="button" class="button" onmouseover="this.className=\'button_act\';" onmouseout="this.className=\'button\';" onclick="document.location.href=\''.$_SERVER['PHP_SELF'].'?modul='.urlencode($modul).'&seite=export\'" value="Datensicherung"><br><br> |
14 | <b>Datensicherung importieren</b><br><br> |
14 | <b>Datensicherung importieren</b><br><br> |
15 | Hier können Sie eine Personal WebBase-Datensicherung einfügen.<br><br> |
15 | Hier können Sie eine Personal WebBase-Datensicherung einfügen.<br><br> |
16 | 16 | ||
17 | Achtung: Wenn die Personal WebBase-Schnittstelle, mit der Sie die Sicherung durchgeführt haben, mehr Module enthielt als diese Personal WebBase-Schnittstelle, so werden nur die Datensätze importiert, zu denen die Module gefunden wurden.<br><br> |
17 | Achtung: Wenn die Personal WebBase-Schnittstelle, mit der Sie die Sicherung durchgeführt haben, mehr Module enthielt als diese Personal WebBase-Schnittstelle, so werden nur die Datensätze importiert, zu denen die Module gefunden wurden.<br><br> |
18 | 18 | ||
19 | Bitte Beachten Sie: Wenn Sie Datensätze hochladen, die die selbe ID-Nummer enthalten, wird Personal WebBase die ID-Nummern erhöhen, sodass das Einfügen erfolgreich wird. Duplikate sind somit möglich. Maximale Dateigröße: '.ini_get('post_max_size').'B<br><br> |
19 | Bitte Beachten Sie: Wenn Sie Datensätze hochladen, die die selbe ID-Nummer enthalten, wird Personal WebBase die ID-Nummern erhöhen, sodass das Einfügen erfolgreich wird. Duplikate sind somit möglich. Maximale Dateigröße: '.ini_get('post_max_size').'B<br><br> |
20 | 20 | ||
21 | <form enctype="multipart/form-data" action="'.$_SERVER['PHP_SELF'].'" method="post"> |
21 | <form enctype="multipart/form-data" action="'.$_SERVER['PHP_SELF'].'" method="post"> |
22 | <input type="hidden" name="seite" value="kraftsetzung"> |
22 | <input type="hidden" name="seite" value="kraftsetzung"> |
23 | <input type="hidden" name="modul" value="'.$modul.'"> |
23 | <input type="hidden" name="modul" value="'.$modul.'"> |
24 | <input type="hidden" name="aktion" value="dump"> |
24 | <input type="hidden" name="aktion" value="dump"> |
25 | <input type="hidden" name="MAX_FILE_SIZE" value="'.return_bytes(ini_get('post_max_size')).'"> |
25 | <input type="hidden" name="MAX_FILE_SIZE" value="'.return_bytes(ini_get('post_max_size')).'"> |
26 | 26 | ||
27 | <table cellspacing="0" cellpadding="2" border="0"> |
27 | <table cellspacing="0" cellpadding="2" border="0"> |
28 | <tr> |
28 | <tr> |
29 | <td>Aktuelles Passwort:</td> |
29 | <td>Aktuelles Passwort:</td> |
30 | <td><img src="design/spacer.gif" alt="" width="5" height="1"></td> |
30 | <td><img src="design/spacer.gif" alt="" width="5" height="1"></td> |
31 | <td>'; |
31 | <td>'; |
32 | 32 | ||
33 | if ($ib_user_type == 0) |
33 | if ($ib_user_type == 0) |
34 | echo 'Im Gastkonto wird kein Passwort benötigt.'; |
34 | echo 'Im Gastkonto wird kein Passwort benötigt.'; |
35 | else |
35 | else |
36 | echo '<input type="password" class="normal" onmouseover="this.className=\'highlight\';" onmouseout="this.className=\'normal\';" name="pwd" value="">'; |
36 | echo '<input type="password" class="normal" onmouseover="this.className=\'highlight\';" onmouseout="this.className=\'normal\';" name="pwd" value="">'; |
37 | 37 | ||
38 | echo '</td> |
38 | echo '</td> |
39 | </tr> |
39 | </tr> |
40 | <tr> |
40 | <tr> |
41 | <td>Datensicherung:</td> |
41 | <td>Datensicherung:</td> |
42 | <td><img src="design/spacer.gif" alt="" width="5" height="1"></td> |
42 | <td><img src="design/spacer.gif" alt="" width="5" height="1"></td> |
43 | <td><input name="dfile" type="file"></td> |
43 | <td><input name="dfile" type="file"></td> |
44 | </tr> |
44 | </tr> |
45 | </table><br> |
45 | </table><br> |
46 | 46 | ||
47 | <input type="submit" class="button" onmouseover="this.className=\'button_act\';" onmouseout="this.className=\'button\';" value="Hochladen"> |
47 | <input type="submit" class="button" onmouseover="this.className=\'button_act\';" onmouseout="this.className=\'button\';" value="Hochladen"> |
48 | </form> |
48 | </form> |
49 | 49 | ||
50 | <b>Alle Datensätze entfernen</b><br><br> |
50 | <b>Alle Datensätze entfernen</b><br><br> |
51 | 51 | ||
52 | Mit dieser Funktion können Sie <i>alle Datensätze</i> aus Ihrer Personal WebBase-Datenbank entfernen! Bitte geben Sie das Wort "OK" in das Sicherheitsfeld ein. Dieser Vorgang kann nicht mehr rückgängig gemacht werden.<br><br> |
52 | Mit dieser Funktion können Sie <i>alle Datensätze</i> aus Ihrer Personal WebBase-Datenbank entfernen! Bitte geben Sie das Wort "OK" in das Sicherheitsfeld ein. Dieser Vorgang kann nicht mehr rückgängig gemacht werden.<br><br> |
53 | 53 | ||
54 | <form action="'.$_SERVER['PHP_SELF'].'" method="POST"> |
54 | <form action="'.$_SERVER['PHP_SELF'].'" method="POST"> |
55 | <input type="hidden" name="seite" value="kraftsetzung"> |
55 | <input type="hidden" name="seite" value="kraftsetzung"> |
56 | <input type="hidden" name="modul" value="'.$modul.'"> |
56 | <input type="hidden" name="modul" value="'.$modul.'"> |
57 | <input type="hidden" name="aktion" value="dest"> |
57 | <input type="hidden" name="aktion" value="dest"> |
58 | 58 | ||
59 | <table cellspacing="0" cellpadding="2" border="0"> |
59 | <table cellspacing="0" cellpadding="2" border="0"> |
60 | <tr> |
60 | <tr> |
61 | <td>Aktuelles Passwort:</td> |
61 | <td>Aktuelles Passwort:</td> |
62 | <td><img src="design/spacer.gif" alt="" width="5" height="1"></td> |
62 | <td><img src="design/spacer.gif" alt="" width="5" height="1"></td> |
63 | <td>'; |
63 | <td>'; |
64 | 64 | ||
65 | if ($ib_user_type == 0) |
65 | if ($ib_user_type == 0) |
66 | echo 'Im Gastkonto wird kein Passwort benötigt.'; |
66 | echo 'Im Gastkonto wird kein Passwort benötigt.'; |
67 | else |
67 | else |
68 | echo '<input type="password" class="normal" onmouseover="this.className=\'highlight\';" onmouseout="this.className=\'normal\';" name="pwd" value="">'; |
68 | echo '<input type="password" class="normal" onmouseover="this.className=\'highlight\';" onmouseout="this.className=\'normal\';" name="pwd" value="">'; |
69 | 69 | ||
70 | echo '</td> |
70 | echo '</td> |
71 | </tr> |
71 | </tr> |
72 | <tr> |
72 | <tr> |
73 | <td>Sicherheitsfeld:</td> |
73 | <td>Sicherheitsfeld:</td> |
74 | <td><img src="design/spacer.gif" alt="" width="5" height="1"></td> |
74 | <td><img src="design/spacer.gif" alt="" width="5" height="1"></td> |
75 | <td><input type="text" class="normal" onmouseover="this.className=\'highlight\';" onmouseout="this.className=\'normal\';" name="sic" value=""></td> |
75 | <td><input type="text" class="normal" onmouseover="this.className=\'highlight\';" onmouseout="this.className=\'normal\';" name="sic" value=""></td> |
76 | </tr> |
76 | </tr> |
77 | </table><br> |
77 | </table><br> |
78 | 78 | ||
79 | <input type="submit" class="button" onmouseover="this.className=\'button_act\';" onmouseout="this.className=\'button\';" value="Datensätze entfernen"> |
79 | <input type="submit" class="button" onmouseover="this.className=\'button_act\';" onmouseout="this.className=\'button\';" value="Datensätze entfernen"> |
80 | </form>'; |
80 | </form>'; |
81 | 81 | ||
82 | echo $footer; |
82 | echo $footer; |
83 | 83 | ||
84 | ?> |
84 | ?> |
85 | 85 |