Rev 4 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2 | daniel-mar | 1 | <?php |
2 | |||
3 | daniel-mar | 3 | if (!defined('IBLEGAL')) die('Kann nicht ohne Personal WebBase ausgeführt werden.'); |
2 | daniel-mar | 4 | |
5 | echo $header; |
||
6 | |||
7 | if ($modulueberschrift == '') $modulueberschrift = $modul; |
||
3 | daniel-mar | 8 | echo '<h1>'.my_htmlentities($modulueberschrift).'</h1>'; |
2 | daniel-mar | 9 | echo '<b>Datensicherung herunterladen</b><br><br> |
10 | |||
3 | daniel-mar | 11 | Hier können Sie eine Datensicherung durchführen, um beispielsweise auf einen anderen Personal WebBase-Server umzuziehen.<br><br> |
2 | daniel-mar | 12 | |
8 | daniel-mar | 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> |
2 | daniel-mar | 14 | <b>Datensicherung importieren</b><br><br> |
3 | daniel-mar | 15 | Hier können Sie eine Personal WebBase-Datensicherung einfügen.<br><br> |
2 | daniel-mar | 16 | |
3 | daniel-mar | 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> |
2 | daniel-mar | 18 | |
3 | daniel-mar | 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> |
2 | daniel-mar | 20 | |
21 | <form enctype="multipart/form-data" action="'.$_SERVER['PHP_SELF'].'" method="post"> |
||
22 | <input type="hidden" name="seite" value="kraftsetzung"> |
||
23 | <input type="hidden" name="modul" value="'.$modul.'"> |
||
24 | <input type="hidden" name="aktion" value="dump"> |
||
25 | <input type="hidden" name="MAX_FILE_SIZE" value="'.return_bytes(ini_get('post_max_size')).'"> |
||
26 | |||
27 | <table cellspacing="0" cellpadding="2" border="0"> |
||
28 | <tr> |
||
29 | <td>Aktuelles Passwort:</td> |
||
30 | <td><img src="design/spacer.gif" alt="" width="5" height="1"></td> |
||
31 | <td>'; |
||
32 | |||
33 | if ($ib_user_type == 0) |
||
34 | echo 'Im Gastkonto wird kein Passwort benötigt.'; |
||
35 | else |
||
36 | echo '<input type="password" class="normal" onmouseover="this.className=\'highlight\';" onmouseout="this.className=\'normal\';" name="pwd" value="">'; |
||
37 | |||
38 | echo '</td> |
||
39 | </tr> |
||
40 | <tr> |
||
41 | <td>Datensicherung:</td> |
||
42 | <td><img src="design/spacer.gif" alt="" width="5" height="1"></td> |
||
43 | <td><input name="dfile" type="file"></td> |
||
44 | </tr> |
||
45 | </table><br> |
||
46 | |||
47 | <input type="submit" class="button" onmouseover="this.className=\'button_act\';" onmouseout="this.className=\'button\';" value="Hochladen"> |
||
48 | </form> |
||
49 | |||
50 | <b>Alle Datensätze entfernen</b><br><br> |
||
51 | |||
3 | daniel-mar | 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> |
2 | daniel-mar | 53 | |
54 | <form action="'.$_SERVER['PHP_SELF'].'" method="POST"> |
||
55 | <input type="hidden" name="seite" value="kraftsetzung"> |
||
56 | <input type="hidden" name="modul" value="'.$modul.'"> |
||
57 | <input type="hidden" name="aktion" value="dest"> |
||
58 | |||
59 | <table cellspacing="0" cellpadding="2" border="0"> |
||
60 | <tr> |
||
61 | <td>Aktuelles Passwort:</td> |
||
62 | <td><img src="design/spacer.gif" alt="" width="5" height="1"></td> |
||
63 | <td>'; |
||
64 | |||
65 | if ($ib_user_type == 0) |
||
66 | echo 'Im Gastkonto wird kein Passwort benötigt.'; |
||
67 | else |
||
68 | echo '<input type="password" class="normal" onmouseover="this.className=\'highlight\';" onmouseout="this.className=\'normal\';" name="pwd" value="">'; |
||
69 | |||
70 | echo '</td> |
||
71 | </tr> |
||
72 | <tr> |
||
73 | <td>Sicherheitsfeld:</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> |
||
76 | </tr> |
||
77 | </table><br> |
||
78 | |||
79 | <input type="submit" class="button" onmouseover="this.className=\'button_act\';" onmouseout="this.className=\'button\';" value="Datensätze entfernen"> |
||
80 | </form>'; |
||
81 | |||
82 | echo $footer; |
||
83 | |||
3 | daniel-mar | 84 | ?> |