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