From ff7578f6fe227c0119eae7a70a7ddb029aa6d53c Mon Sep 17 00:00:00 2001 From: dsb Date: Fri, 22 May 2015 13:43:20 +0200 Subject: [PATCH] Initial commit of version 1.24.4 --- .gitignore | 1 + ReadMe/ReadMe.txt | 15 + ReadMe/changelog_deutsch.txt | 107 + ReadMe/changelog_english.txt | 100 + ReadMe/install_deutsch.txt | 5 + ReadMe/install_english.txt | 5 + ReadMe/install_francais.txt | 6 + ReadMe/install_italiano.txt | 6 + ReadMe/license_deutsch.txt | 105 + ReadMe/license_english.txt | 88 + config.php | 126 + config_overview.php | 1005 ++++ css/msd/icons/arrow_down.gif | Bin 0 -> 132 bytes css/msd/icons/arrow_up.gif | Bin 0 -> 131 bytes css/msd/icons/arrowdown.gif | Bin 0 -> 211 bytes css/msd/icons/arrowleft.gif | Bin 0 -> 131 bytes css/msd/icons/arrowup.gif | Bin 0 -> 208 bytes css/msd/icons/blank.gif | Bin 0 -> 43 bytes css/msd/icons/browse.gif | Bin 0 -> 991 bytes css/msd/icons/close.gif | Bin 0 -> 131 bytes css/msd/icons/delete.gif | Bin 0 -> 145 bytes css/msd/icons/edit.gif | Bin 0 -> 985 bytes css/msd/icons/gz.gif | Bin 0 -> 1468 bytes css/msd/icons/index.gif | Bin 0 -> 1003 bytes css/msd/icons/key_fulltext.gif | Bin 0 -> 998 bytes css/msd/icons/key_nokey.gif | Bin 0 -> 547 bytes css/msd/icons/key_primary.gif | Bin 0 -> 994 bytes css/msd/icons/key_unique.gif | Bin 0 -> 1001 bytes css/msd/icons/mysql_help.gif | Bin 0 -> 359 bytes css/msd/icons/notok.gif | Bin 0 -> 74 bytes css/msd/icons/ok.gif | Bin 0 -> 138 bytes css/msd/icons/openfile.gif | Bin 0 -> 154 bytes css/msd/icons/progressbar_dump.gif | Bin 0 -> 780 bytes css/msd/icons/progressbar_restore.gif | Bin 0 -> 680 bytes css/msd/icons/progressbar_speed.gif | Bin 0 -> 108 bytes css/msd/icons/rename.gif | Bin 0 -> 296 bytes css/msd/icons/search.gif | Bin 0 -> 991 bytes css/msd/icons/table_truncate.gif | Bin 0 -> 979 bytes css/msd/icons/table_truncate_reset.gif | Bin 0 -> 923 bytes css/msd/pics/bg-body.gif | Bin 0 -> 1249 bytes css/msd/pics/bg-buttons.gif | Bin 0 -> 1298 bytes css/msd/pics/bg-headings.gif | Bin 0 -> 583 bytes css/msd/pics/blank.gif | Bin 0 -> 43 bytes css/msd/pics/h1_logo.gif | Bin 0 -> 3476 bytes css/msd/pics/loveyourdata.gif | Bin 0 -> 6340 bytes css/msd/pics/navi_bg.jpg | Bin 0 -> 4132 bytes css/msd/style.css | 647 +++ css/msd_green/icons/arrow_down.gif | Bin 0 -> 859 bytes css/msd_green/icons/arrow_up.gif | Bin 0 -> 857 bytes css/msd_green/icons/arrowdown.gif | Bin 0 -> 65 bytes css/msd_green/icons/arrowleft.gif | Bin 0 -> 878 bytes css/msd_green/icons/arrowup.gif | Bin 0 -> 64 bytes css/msd_green/icons/blank.gif | Bin 0 -> 43 bytes css/msd_green/icons/browse.gif | Bin 0 -> 995 bytes css/msd_green/icons/close.gif | Bin 0 -> 880 bytes css/msd_green/icons/delete.gif | Bin 0 -> 944 bytes css/msd_green/icons/edit.gif | Bin 0 -> 985 bytes css/msd_green/icons/gz.gif | Bin 0 -> 1468 bytes css/msd_green/icons/index.gif | Bin 0 -> 1003 bytes css/msd_green/icons/key_fulltext.gif | Bin 0 -> 998 bytes css/msd_green/icons/key_nokey.gif | Bin 0 -> 547 bytes css/msd_green/icons/key_primary.gif | Bin 0 -> 994 bytes css/msd_green/icons/key_unique.gif | Bin 0 -> 1001 bytes css/msd_green/icons/mysql_help.gif | Bin 0 -> 359 bytes css/msd_green/icons/nokey.gif | Bin 0 -> 1299 bytes css/msd_green/icons/notok.gif | Bin 0 -> 74 bytes css/msd_green/icons/ok.gif | Bin 0 -> 138 bytes css/msd_green/icons/openfile.gif | Bin 0 -> 941 bytes css/msd_green/icons/progressbar_dump.gif | Bin 0 -> 502 bytes css/msd_green/icons/progressbar_restore.gif | Bin 0 -> 471 bytes css/msd_green/icons/progressbar_speed.gif | Bin 0 -> 484 bytes css/msd_green/icons/rename.gif | Bin 0 -> 296 bytes css/msd_green/icons/search.gif | Bin 0 -> 540 bytes css/msd_green/icons/table_truncate.gif | Bin 0 -> 979 bytes css/msd_green/icons/table_truncate_reset.gif | Bin 0 -> 923 bytes css/msd_green/pics/body_bg.gif | Bin 0 -> 53 bytes css/msd_green/pics/h1_logo.gif | Bin 0 -> 4780 bytes css/msd_green/pics/loveyourdata.gif | Bin 0 -> 43 bytes css/msd_green/pics/mainnavi.gif | Bin 0 -> 1748 bytes css/msd_green/pics/navi_bg.jpg | Bin 0 -> 21264 bytes css/msd_green/pics/overall_bg.gif | Bin 0 -> 51 bytes css/msd_green/pics/pagetitle.gif | Bin 0 -> 200 bytes css/msd_green/style.css | 708 +++ dump.php | 452 ++ filemanagement.php | 540 ++ help.php | 60 + images/logo.gif | Bin 0 -> 5219 bytes images/paypal-de.gif | Bin 0 -> 1356 bytes inc/define_icons.php | 27 + inc/functions.php | 756 +++ inc/functions_dump.php | 554 ++ inc/functions_files.php | 491 ++ inc/functions_global.php | 1322 +++++ inc/functions_imexport.php | 402 ++ inc/functions_restore.php | 405 ++ inc/functions_sql.php | 1213 ++++ inc/header.php | 23 + inc/home/databases.php | 213 + inc/home/home.php | 63 + inc/home/mysql_variables.php | 112 + inc/home/protection_create.php | 140 + inc/home/protection_delete.php | 7 + inc/home/protection_edit.php | 83 + inc/home/system.php | 104 + inc/mysql.php | 488 ++ inc/runtime.php | 137 + inc/sql_importexport.php | 294 + inc/sql_tools.php | 187 + inc/sqlbrowser/mysql_search.php | 397 ++ inc/sqlbrowser/sql_commands.php | 91 + inc/sqlbrowser/sql_dataview.php | 361 ++ .../sql_record_insert_inputmask.php | 41 + .../sql_record_update_inputmask.php | 50 + inc/sqlbrowser/sql_tables.php | 595 ++ inc/sqlbrowser/sqlbox.php | 67 + inc/sqllib.php | 53 + inc/tabellenabfrage.php | 172 + inc/template.php | 484 ++ index.php | 31 + install.php | 664 +++ js/prototype/prototype.js | 4874 +++++++++++++++++ js/script.js | 55 + js/scriptaculous/MIT-LICENSE | 20 + js/scriptaculous/lib/builder.js | 136 + js/scriptaculous/lib/controls.js | 965 ++++ js/scriptaculous/lib/dragdrop.js | 975 ++++ js/scriptaculous/lib/effects.js | 1130 ++++ js/scriptaculous/lib/scriptaculous.js | 60 + js/scriptaculous/lib/slider.js | 275 + js/scriptaculous/lib/sound.js | 55 + js/strength.jpg | Bin 0 -> 602 bytes language/ar/help.php | 127 + language/ar/lang.php | 112 + language/ar/lang_config_overview.php | 111 + language/ar/lang_dump.php | 61 + language/ar/lang_filemanagement.php | 80 + language/ar/lang_help.php | 33 + language/ar/lang_install.php | 94 + language/ar/lang_log.php | 11 + language/ar/lang_main.php | 81 + language/ar/lang_restore.php | 23 + language/ar/lang_sql.php | 197 + language/ch/help.php | 122 + language/ch/lang.php | 112 + language/ch/lang_config_overview.php | 109 + language/ch/lang_dump.php | 49 + language/ch/lang_filemanagement.php | 75 + language/ch/lang_help.php | 30 + language/ch/lang_install.php | 83 + language/ch/lang_log.php | 9 + language/ch/lang_main.php | 74 + language/ch/lang_restore.php | 21 + language/ch/lang_sql.php | 191 + language/da/help.php | 127 + language/da/lang.php | 112 + language/da/lang_config_overview.php | 110 + language/da/lang_dump.php | 60 + language/da/lang_filemanagement.php | 79 + language/da/lang_help.php | 36 + language/da/lang_install.php | 84 + language/da/lang_log.php | 12 + language/da/lang_main.php | 77 + language/da/lang_restore.php | 21 + language/da/lang_sql.php | 191 + language/de/help.php | 122 + language/de/lang.php | 112 + language/de/lang_config_overview.php | 111 + language/de/lang_dump.php | 56 + language/de/lang_filemanagement.php | 81 + language/de/lang_help.php | 40 + language/de/lang_install.php | 92 + language/de/lang_log.php | 12 + language/de/lang_main.php | 81 + language/de/lang_restore.php | 24 + language/de/lang_sql.php | 191 + language/de_du/help.php | 122 + language/de_du/lang.php | 112 + language/de_du/lang_config_overview.php | 111 + language/de_du/lang_dump.php | 55 + language/de_du/lang_filemanagement.php | 80 + language/de_du/lang_help.php | 37 + language/de_du/lang_install.php | 89 + language/de_du/lang_log.php | 9 + language/de_du/lang_main.php | 78 + language/de_du/lang_restore.php | 21 + language/de_du/lang_sql.php | 191 + language/el/help.php | 128 + language/el/lang.php | 115 + language/el/lang_config_overview.php | 111 + language/el/lang_dump.php | 57 + language/el/lang_filemanagement.php | 79 + language/el/lang_help.php | 39 + language/el/lang_install.php | 92 + language/el/lang_log.php | 11 + language/el/lang_main.php | 80 + language/el/lang_restore.php | 24 + language/el/lang_sql.php | 194 + language/en/help.php | 128 + language/en/lang.php | 112 + language/en/lang_config_overview.php | 110 + language/en/lang_dump.php | 57 + language/en/lang_filemanagement.php | 79 + language/en/lang_help.php | 33 + language/en/lang_install.php | 89 + language/en/lang_log.php | 9 + language/en/lang_main.php | 78 + language/en/lang_restore.php | 21 + language/en/lang_sql.php | 191 + language/es/help.php | 160 + language/es/lang.php | 112 + language/es/lang_config_overview.php | 111 + language/es/lang_dump.php | 56 + language/es/lang_filemanagement.php | 79 + language/es/lang_help.php | 32 + language/es/lang_install.php | 89 + language/es/lang_log.php | 9 + language/es/lang_main.php | 78 + language/es/lang_restore.php | 21 + language/es/lang_sql.php | 193 + language/flags/ar.gif | Bin 0 -> 226 bytes language/flags/ch.gif | Bin 0 -> 1765 bytes language/flags/da.gif | Bin 0 -> 117 bytes language/flags/de.gif | Bin 0 -> 158 bytes language/flags/de_du.gif | Bin 0 -> 158 bytes language/flags/el.gif | Bin 0 -> 696 bytes language/flags/en.gif | Bin 0 -> 206 bytes language/flags/es.gif | Bin 0 -> 141 bytes language/flags/fr.gif | Bin 0 -> 140 bytes language/flags/index.htm | 10 + language/flags/it.gif | Bin 0 -> 140 bytes language/flags/lu.gif | Bin 0 -> 232 bytes language/flags/nl.gif | Bin 0 -> 141 bytes language/flags/pl.gif | Bin 0 -> 1121 bytes language/flags/pt.gif | Bin 0 -> 3316 bytes language/flags/pt_br.gif | Bin 0 -> 222 bytes language/flags/sw.gif | Bin 0 -> 117 bytes language/flags/tr.gif | Bin 0 -> 612 bytes language/flags/vn.gif | Bin 0 -> 207 bytes language/fr/help.php | 117 + language/fr/lang.php | 112 + language/fr/lang_config_overview.php | 113 + language/fr/lang_dump.php | 56 + language/fr/lang_filemanagement.php | 75 + language/fr/lang_help.php | 37 + language/fr/lang_install.php | 89 + language/fr/lang_log.php | 9 + language/fr/lang_main.php | 74 + language/fr/lang_restore.php | 21 + language/fr/lang_sql.php | 194 + language/it/help.php | 124 + language/it/lang.php | 112 + language/it/lang_config_overview.php | 109 + language/it/lang_dump.php | 56 + language/it/lang_filemanagement.php | 75 + language/it/lang_help.php | 32 + language/it/lang_install.php | 83 + language/it/lang_log.php | 9 + language/it/lang_main.php | 74 + language/it/lang_restore.php | 21 + language/it/lang_sql.php | 191 + language/lang_list.php | 126 + language/pt_br/help.php | 154 + language/pt_br/lang.php | 112 + language/pt_br/lang_config_overview.php | 111 + language/pt_br/lang_dump.php | 57 + language/pt_br/lang_filemanagement.php | 79 + language/pt_br/lang_help.php | 36 + language/pt_br/lang_install.php | 89 + language/pt_br/lang_log.php | 9 + language/pt_br/lang_main.php | 78 + language/pt_br/lang_restore.php | 21 + language/pt_br/lang_sql.php | 191 + language/sw/help.php | 115 + language/sw/lang.php | 112 + language/sw/lang_config_overview.php | 109 + language/sw/lang_dump.php | 52 + language/sw/lang_filemanagement.php | 75 + language/sw/lang_help.php | 33 + language/sw/lang_install.php | 83 + language/sw/lang_log.php | 9 + language/sw/lang_main.php | 74 + language/sw/lang_restore.php | 21 + language/sw/lang_sql.php | 191 + language/tr/help.php | 122 + language/tr/lang.php | 112 + language/tr/lang_config_overview.php | 110 + language/tr/lang_dump.php | 56 + language/tr/lang_filemanagement.php | 76 + language/tr/lang_help.php | 36 + language/tr/lang_install.php | 89 + language/tr/lang_log.php | 9 + language/tr/lang_main.php | 74 + language/tr/lang_restore.php | 21 + language/tr/lang_sql.php | 191 + language/vn/help.php | 127 + language/vn/lang.php | 115 + language/vn/lang_config_overview.php | 112 + language/vn/lang_dump.php | 58 + language/vn/lang_filemanagement.php | 79 + language/vn/lang_help.php | 39 + language/vn/lang_install.php | 92 + language/vn/lang_log.php | 12 + language/vn/lang_main.php | 81 + language/vn/lang_restore.php | 24 + language/vn/lang_sql.php | 194 + log.php | 146 + main.php | 39 + menu.php | 136 + msd_cron/crondump.pl | 1378 +++++ msd_cron/perltest.pl | 147 + msd_cron/simpletest.pl | 36 + refresh_dblist.php | 60 + restore.php | 309 ++ sql.php | 298 + tpl/dump_select_tables.tpl | 58 + tpl/home/databases_list_dbs.tpl | 47 + tpl/home/databases_list_tables.tpl | 109 + tpl/home/headnavi.tpl | 9 + tpl/home/home.tpl | 54 + tpl/home/protection_create.tpl | 191 + tpl/menu/content.tpl | 52 + tpl/menu/footer.tpl | 10 + tpl/menu/header.tpl | 33 + tpl/restore_select_tables.tpl | 65 + tpl/sqlbrowser/mysql_search.tpl | 73 + .../sql_record_insert_inputmask.tpl | 52 + .../sql_record_update_inputmask.tpl | 53 + tpl/sqlbrowser/sqlbox.tpl | 56 + 328 files changed, 38836 insertions(+) create mode 100644 .gitignore create mode 100644 ReadMe/ReadMe.txt create mode 100644 ReadMe/changelog_deutsch.txt create mode 100644 ReadMe/changelog_english.txt create mode 100644 ReadMe/install_deutsch.txt create mode 100644 ReadMe/install_english.txt create mode 100644 ReadMe/install_francais.txt create mode 100644 ReadMe/install_italiano.txt create mode 100644 ReadMe/license_deutsch.txt create mode 100644 ReadMe/license_english.txt create mode 100644 config.php create mode 100644 config_overview.php create mode 100644 css/msd/icons/arrow_down.gif create mode 100644 css/msd/icons/arrow_up.gif create mode 100644 css/msd/icons/arrowdown.gif create mode 100644 css/msd/icons/arrowleft.gif create mode 100644 css/msd/icons/arrowup.gif create mode 100644 css/msd/icons/blank.gif create mode 100644 css/msd/icons/browse.gif create mode 100644 css/msd/icons/close.gif create mode 100644 css/msd/icons/delete.gif create mode 100644 css/msd/icons/edit.gif create mode 100644 css/msd/icons/gz.gif create mode 100644 css/msd/icons/index.gif create mode 100644 css/msd/icons/key_fulltext.gif create mode 100644 css/msd/icons/key_nokey.gif create mode 100644 css/msd/icons/key_primary.gif create mode 100644 css/msd/icons/key_unique.gif create mode 100644 css/msd/icons/mysql_help.gif create mode 100644 css/msd/icons/notok.gif create mode 100644 css/msd/icons/ok.gif create mode 100644 css/msd/icons/openfile.gif create mode 100644 css/msd/icons/progressbar_dump.gif create mode 100644 css/msd/icons/progressbar_restore.gif create mode 100644 css/msd/icons/progressbar_speed.gif create mode 100644 css/msd/icons/rename.gif create mode 100644 css/msd/icons/search.gif create mode 100644 css/msd/icons/table_truncate.gif create mode 100644 css/msd/icons/table_truncate_reset.gif create mode 100644 css/msd/pics/bg-body.gif create mode 100644 css/msd/pics/bg-buttons.gif create mode 100644 css/msd/pics/bg-headings.gif create mode 100644 css/msd/pics/blank.gif create mode 100644 css/msd/pics/h1_logo.gif create mode 100644 css/msd/pics/loveyourdata.gif create mode 100644 css/msd/pics/navi_bg.jpg create mode 100644 css/msd/style.css create mode 100644 css/msd_green/icons/arrow_down.gif create mode 100644 css/msd_green/icons/arrow_up.gif create mode 100644 css/msd_green/icons/arrowdown.gif create mode 100644 css/msd_green/icons/arrowleft.gif create mode 100644 css/msd_green/icons/arrowup.gif create mode 100644 css/msd_green/icons/blank.gif create mode 100644 css/msd_green/icons/browse.gif create mode 100644 css/msd_green/icons/close.gif create mode 100644 css/msd_green/icons/delete.gif create mode 100644 css/msd_green/icons/edit.gif create mode 100644 css/msd_green/icons/gz.gif create mode 100644 css/msd_green/icons/index.gif create mode 100644 css/msd_green/icons/key_fulltext.gif create mode 100644 css/msd_green/icons/key_nokey.gif create mode 100644 css/msd_green/icons/key_primary.gif create mode 100644 css/msd_green/icons/key_unique.gif create mode 100644 css/msd_green/icons/mysql_help.gif create mode 100644 css/msd_green/icons/nokey.gif create mode 100644 css/msd_green/icons/notok.gif create mode 100644 css/msd_green/icons/ok.gif create mode 100644 css/msd_green/icons/openfile.gif create mode 100644 css/msd_green/icons/progressbar_dump.gif create mode 100644 css/msd_green/icons/progressbar_restore.gif create mode 100644 css/msd_green/icons/progressbar_speed.gif create mode 100644 css/msd_green/icons/rename.gif create mode 100644 css/msd_green/icons/search.gif create mode 100644 css/msd_green/icons/table_truncate.gif create mode 100644 css/msd_green/icons/table_truncate_reset.gif create mode 100644 css/msd_green/pics/body_bg.gif create mode 100644 css/msd_green/pics/h1_logo.gif create mode 100644 css/msd_green/pics/loveyourdata.gif create mode 100644 css/msd_green/pics/mainnavi.gif create mode 100644 css/msd_green/pics/navi_bg.jpg create mode 100644 css/msd_green/pics/overall_bg.gif create mode 100644 css/msd_green/pics/pagetitle.gif create mode 100644 css/msd_green/style.css create mode 100644 dump.php create mode 100644 filemanagement.php create mode 100644 help.php create mode 100644 images/logo.gif create mode 100644 images/paypal-de.gif create mode 100644 inc/define_icons.php create mode 100644 inc/functions.php create mode 100644 inc/functions_dump.php create mode 100644 inc/functions_files.php create mode 100644 inc/functions_global.php create mode 100644 inc/functions_imexport.php create mode 100644 inc/functions_restore.php create mode 100644 inc/functions_sql.php create mode 100644 inc/header.php create mode 100644 inc/home/databases.php create mode 100644 inc/home/home.php create mode 100644 inc/home/mysql_variables.php create mode 100644 inc/home/protection_create.php create mode 100644 inc/home/protection_delete.php create mode 100644 inc/home/protection_edit.php create mode 100644 inc/home/system.php create mode 100644 inc/mysql.php create mode 100644 inc/runtime.php create mode 100644 inc/sql_importexport.php create mode 100644 inc/sql_tools.php create mode 100644 inc/sqlbrowser/mysql_search.php create mode 100644 inc/sqlbrowser/sql_commands.php create mode 100644 inc/sqlbrowser/sql_dataview.php create mode 100644 inc/sqlbrowser/sql_record_insert_inputmask.php create mode 100644 inc/sqlbrowser/sql_record_update_inputmask.php create mode 100644 inc/sqlbrowser/sql_tables.php create mode 100644 inc/sqlbrowser/sqlbox.php create mode 100644 inc/sqllib.php create mode 100644 inc/tabellenabfrage.php create mode 100644 inc/template.php create mode 100644 index.php create mode 100644 install.php create mode 100644 js/prototype/prototype.js create mode 100644 js/script.js create mode 100644 js/scriptaculous/MIT-LICENSE create mode 100644 js/scriptaculous/lib/builder.js create mode 100644 js/scriptaculous/lib/controls.js create mode 100644 js/scriptaculous/lib/dragdrop.js create mode 100644 js/scriptaculous/lib/effects.js create mode 100644 js/scriptaculous/lib/scriptaculous.js create mode 100644 js/scriptaculous/lib/slider.js create mode 100644 js/scriptaculous/lib/sound.js create mode 100644 js/strength.jpg create mode 100644 language/ar/help.php create mode 100644 language/ar/lang.php create mode 100644 language/ar/lang_config_overview.php create mode 100644 language/ar/lang_dump.php create mode 100644 language/ar/lang_filemanagement.php create mode 100644 language/ar/lang_help.php create mode 100644 language/ar/lang_install.php create mode 100644 language/ar/lang_log.php create mode 100644 language/ar/lang_main.php create mode 100644 language/ar/lang_restore.php create mode 100644 language/ar/lang_sql.php create mode 100644 language/ch/help.php create mode 100644 language/ch/lang.php create mode 100644 language/ch/lang_config_overview.php create mode 100644 language/ch/lang_dump.php create mode 100644 language/ch/lang_filemanagement.php create mode 100644 language/ch/lang_help.php create mode 100644 language/ch/lang_install.php create mode 100644 language/ch/lang_log.php create mode 100644 language/ch/lang_main.php create mode 100644 language/ch/lang_restore.php create mode 100644 language/ch/lang_sql.php create mode 100644 language/da/help.php create mode 100644 language/da/lang.php create mode 100644 language/da/lang_config_overview.php create mode 100644 language/da/lang_dump.php create mode 100644 language/da/lang_filemanagement.php create mode 100644 language/da/lang_help.php create mode 100644 language/da/lang_install.php create mode 100644 language/da/lang_log.php create mode 100644 language/da/lang_main.php create mode 100644 language/da/lang_restore.php create mode 100644 language/da/lang_sql.php create mode 100644 language/de/help.php create mode 100644 language/de/lang.php create mode 100644 language/de/lang_config_overview.php create mode 100644 language/de/lang_dump.php create mode 100644 language/de/lang_filemanagement.php create mode 100644 language/de/lang_help.php create mode 100644 language/de/lang_install.php create mode 100644 language/de/lang_log.php create mode 100644 language/de/lang_main.php create mode 100644 language/de/lang_restore.php create mode 100644 language/de/lang_sql.php create mode 100644 language/de_du/help.php create mode 100644 language/de_du/lang.php create mode 100644 language/de_du/lang_config_overview.php create mode 100644 language/de_du/lang_dump.php create mode 100644 language/de_du/lang_filemanagement.php create mode 100644 language/de_du/lang_help.php create mode 100644 language/de_du/lang_install.php create mode 100644 language/de_du/lang_log.php create mode 100644 language/de_du/lang_main.php create mode 100644 language/de_du/lang_restore.php create mode 100644 language/de_du/lang_sql.php create mode 100644 language/el/help.php create mode 100644 language/el/lang.php create mode 100644 language/el/lang_config_overview.php create mode 100644 language/el/lang_dump.php create mode 100644 language/el/lang_filemanagement.php create mode 100644 language/el/lang_help.php create mode 100644 language/el/lang_install.php create mode 100644 language/el/lang_log.php create mode 100644 language/el/lang_main.php create mode 100644 language/el/lang_restore.php create mode 100644 language/el/lang_sql.php create mode 100644 language/en/help.php create mode 100644 language/en/lang.php create mode 100644 language/en/lang_config_overview.php create mode 100644 language/en/lang_dump.php create mode 100644 language/en/lang_filemanagement.php create mode 100644 language/en/lang_help.php create mode 100644 language/en/lang_install.php create mode 100644 language/en/lang_log.php create mode 100644 language/en/lang_main.php create mode 100644 language/en/lang_restore.php create mode 100644 language/en/lang_sql.php create mode 100644 language/es/help.php create mode 100644 language/es/lang.php create mode 100644 language/es/lang_config_overview.php create mode 100644 language/es/lang_dump.php create mode 100644 language/es/lang_filemanagement.php create mode 100644 language/es/lang_help.php create mode 100644 language/es/lang_install.php create mode 100644 language/es/lang_log.php create mode 100644 language/es/lang_main.php create mode 100644 language/es/lang_restore.php create mode 100644 language/es/lang_sql.php create mode 100644 language/flags/ar.gif create mode 100644 language/flags/ch.gif create mode 100644 language/flags/da.gif create mode 100644 language/flags/de.gif create mode 100644 language/flags/de_du.gif create mode 100644 language/flags/el.gif create mode 100644 language/flags/en.gif create mode 100644 language/flags/es.gif create mode 100644 language/flags/fr.gif create mode 100644 language/flags/index.htm create mode 100644 language/flags/it.gif create mode 100644 language/flags/lu.gif create mode 100644 language/flags/nl.gif create mode 100644 language/flags/pl.gif create mode 100644 language/flags/pt.gif create mode 100644 language/flags/pt_br.gif create mode 100644 language/flags/sw.gif create mode 100644 language/flags/tr.gif create mode 100644 language/flags/vn.gif create mode 100644 language/fr/help.php create mode 100644 language/fr/lang.php create mode 100644 language/fr/lang_config_overview.php create mode 100644 language/fr/lang_dump.php create mode 100644 language/fr/lang_filemanagement.php create mode 100644 language/fr/lang_help.php create mode 100644 language/fr/lang_install.php create mode 100644 language/fr/lang_log.php create mode 100644 language/fr/lang_main.php create mode 100644 language/fr/lang_restore.php create mode 100644 language/fr/lang_sql.php create mode 100644 language/it/help.php create mode 100644 language/it/lang.php create mode 100644 language/it/lang_config_overview.php create mode 100644 language/it/lang_dump.php create mode 100644 language/it/lang_filemanagement.php create mode 100644 language/it/lang_help.php create mode 100644 language/it/lang_install.php create mode 100644 language/it/lang_log.php create mode 100644 language/it/lang_main.php create mode 100644 language/it/lang_restore.php create mode 100644 language/it/lang_sql.php create mode 100644 language/lang_list.php create mode 100644 language/pt_br/help.php create mode 100644 language/pt_br/lang.php create mode 100644 language/pt_br/lang_config_overview.php create mode 100644 language/pt_br/lang_dump.php create mode 100644 language/pt_br/lang_filemanagement.php create mode 100644 language/pt_br/lang_help.php create mode 100644 language/pt_br/lang_install.php create mode 100644 language/pt_br/lang_log.php create mode 100644 language/pt_br/lang_main.php create mode 100644 language/pt_br/lang_restore.php create mode 100644 language/pt_br/lang_sql.php create mode 100644 language/sw/help.php create mode 100644 language/sw/lang.php create mode 100644 language/sw/lang_config_overview.php create mode 100644 language/sw/lang_dump.php create mode 100644 language/sw/lang_filemanagement.php create mode 100644 language/sw/lang_help.php create mode 100644 language/sw/lang_install.php create mode 100644 language/sw/lang_log.php create mode 100644 language/sw/lang_main.php create mode 100644 language/sw/lang_restore.php create mode 100644 language/sw/lang_sql.php create mode 100644 language/tr/help.php create mode 100644 language/tr/lang.php create mode 100644 language/tr/lang_config_overview.php create mode 100644 language/tr/lang_dump.php create mode 100644 language/tr/lang_filemanagement.php create mode 100644 language/tr/lang_help.php create mode 100644 language/tr/lang_install.php create mode 100644 language/tr/lang_log.php create mode 100644 language/tr/lang_main.php create mode 100644 language/tr/lang_restore.php create mode 100644 language/tr/lang_sql.php create mode 100644 language/vn/help.php create mode 100644 language/vn/lang.php create mode 100644 language/vn/lang_config_overview.php create mode 100644 language/vn/lang_dump.php create mode 100644 language/vn/lang_filemanagement.php create mode 100644 language/vn/lang_help.php create mode 100644 language/vn/lang_install.php create mode 100644 language/vn/lang_log.php create mode 100644 language/vn/lang_main.php create mode 100644 language/vn/lang_restore.php create mode 100644 language/vn/lang_sql.php create mode 100644 log.php create mode 100644 main.php create mode 100644 menu.php create mode 100644 msd_cron/crondump.pl create mode 100644 msd_cron/perltest.pl create mode 100644 msd_cron/simpletest.pl create mode 100644 refresh_dblist.php create mode 100644 restore.php create mode 100644 sql.php create mode 100644 tpl/dump_select_tables.tpl create mode 100644 tpl/home/databases_list_dbs.tpl create mode 100644 tpl/home/databases_list_tables.tpl create mode 100644 tpl/home/headnavi.tpl create mode 100644 tpl/home/home.tpl create mode 100644 tpl/home/protection_create.tpl create mode 100644 tpl/menu/content.tpl create mode 100644 tpl/menu/footer.tpl create mode 100644 tpl/menu/header.tpl create mode 100644 tpl/restore_select_tables.tpl create mode 100644 tpl/sqlbrowser/mysql_search.tpl create mode 100644 tpl/sqlbrowser/sql_record_insert_inputmask.tpl create mode 100644 tpl/sqlbrowser/sql_record_update_inputmask.tpl create mode 100644 tpl/sqlbrowser/sqlbox.tpl diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..485dee6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.idea diff --git a/ReadMe/ReadMe.txt b/ReadMe/ReadMe.txt new file mode 100644 index 0000000..9b0cb00 --- /dev/null +++ b/ReadMe/ReadMe.txt @@ -0,0 +1,15 @@ +MySqlDumper Copyright (C)2004-2009 Daniel Schlichtholz (admin@mysqldumper.de) + +This program is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation; either version 2 of the License, or (at your option) any later +version. + +This program is distributed in the hope that it will be useful, but WITHOUT +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +details. + +You should have received a copy of the GNU General Public License along with +this program; if not, write to the Free Software Foundation, Inc., 675 Mass +Ave, Cambridge, MA 02139, USA. diff --git a/ReadMe/changelog_deutsch.txt b/ReadMe/changelog_deutsch.txt new file mode 100644 index 0000000..0f43466 --- /dev/null +++ b/ReadMe/changelog_deutsch.txt @@ -0,0 +1,107 @@ +Version 1.24.4 + +Folgende Dinge wurden geändert: +- Allgemein: Wenn "inc" in der Domain oder im Pfad zum MySQLDUmper-Verzeichnis vorkam, konnte die Datei runtime.php nicht eingebunden werden. +- Home / Konfiguration: beim Speichern der Perl-Konfigurationsdatei wurden die Auswahl der zu sichernden Datenbanken nicht korrekt gespeichert. +- Home / Verzeichnisschutz: beim Anlegen des Verzeichnisschutzes wurden PHP-Warnungen ausgegeben wenn PHP kleiner 5.3.0 genutzt wird. +- Perl: Einige kosmetische Änderungen in der Ausgabe. +- Perl: Schreibt "DROP VIEW" anstelle von "DROP TABLE" in die Backupdatei wenn es sich um einen VIEW handelt. +- Perl: Ausgabe des Typs einer Tabelle zur Ausgabe hinzugefügt. + +Version 1.24.3 + +Folgende Dinge wurden geändert: + +- Manuelles Hinzufügen von Datenbanken: Das interne Handling wurde überarbeitet. Die Datei dbs_manual.php ist nicht mehr notwendig; manuell hinzugefügte Datenbanken werden nun im jeweiligen Konfigurationsprofil gespeichert. +- Home / Verzeichnisschutz: Beim Anlegen war die Ausgabe über Erfolg / Misserfolg vertauscht. +- Home / Verzeichnisschutz: Schlägt das Erstellen des Schutzes fehl, so enthielt die folgende Anzeige der Inhalte der Dateien unschöne
's, die nicht in die Dateien gehören. +- Home / Verzeichnisschutz: Der erstellten htaccess-Datei wurde "RewriteEngine off" hinzugefügt. Das vermindert Probleme, wenn MySQLDumper in einen Unterordner bestehender Systeme installiert wird, die selbst mod_rewrite nutzen. +- Home / Verzeichnisschutz: Funktion zum Editieren eines bestehenden Schutzes wurde überarbeitet. +- Home / Datenbanken: Der Key Status wurde unvollständig ermittelt. Es wurde für jede Tabelle nur der erste Index betrachtet. +- SQLBrowser / Tabellenstruktur: Bei der Anzeige der Felder und Indizes ist die Spalte "Kommentar" hinzugekommen. +- SQLBrowser / Tabellenstruktur: Die Verwaltung für Indizes wurde überarbeitet. Es können nun beliebige Indizes festgelegt werden, was bisher auf Primärschlüssel beschränkt war. +- SQLBrowser: Die Systemtabelle "information_schema" wird nun angezeigt und kann betrachtet werden. +- SQLBrowser: Ein Fehler, welcher die korrekte Funktion der Suche verhindern konnte, wurde korrigiert. +- SQLBrowser: Bei bestimmten Anfragen wurde die Anzahl der Datensätze nicht korrekt ermittelt. +- SQLBrowser: Datensätze, welche in einem Feld das Zeichen "|" enthalten, konnten unter Umständen nicht editiert werden. +- SQLBrowser: Die Fehlerbehandlung wurde verbessert. +- Wiederherstellung: Bei der Wiederherstellung von Backups anderer Skripte wurden "CREATE DATABASE"-Anweisungen nicht korrekt erkannt. +- Verwaltung / Backup-Konverter: Im Backup-Konverter befand sich ein fehlerhafter Funktionsaufruf, der eine Fehlermeldung verursachte. +- Perl: in der Perl-Datei crondump.pl wurden Warnungen ausgegeben, wenn die Option "Autodelete" aktiviert ist und sich Backups anderer Programme im work/backup-Ordner befinden. +- Perl: Anzeige der Perl-Version, Kleinigkeiten bei der Fehlerbehandlung, Schriftart in der HTML-Ausgabe +- Perl: Unterstützung von FTP via SSL (NET::FTPSSL-Perl-Modul notwendig) +- Perl: Die optionalen SQL-Befehle (Command Before/After) können nun mit mehreren, aufeinanderfolgenden Querys konfiguriert werden + +Version 1.24.2 + +Folgende Dinge wurden geändert: + +- Trotz der inteligenten Umgehung des PHP-Timeouts, kann es während einer Wiederherstellung beim Aufbau von Indexen großer Tabellen zu einem Timeout kommen. +Jetzt kann man MySQLDumper so konfigurieren, dass während der Wiederherstellung "ENABLE KEYS"-Befehle ignoriert werden. +Nach der Wiederherstellung müssen die so deaktivierten Schlüssel/Indexe manuell wieder aktiviert werden. +Dies geschieht unter Home/Datenbanken/Datenbank wählen/ Button: Enable keys. Die Option und eine entsprechende Nachricht wird automatisch eingeblendet wenn nicht aktivierte Schlüssel/Indexe erkannt werden => nichts zu sehen = nichts zu tun. + +- Bei Systemen, die den Wert 0 in auto_increment-Feldern nutzen (z.B. bei Magento), kann die Wiederherstellung den Eintrag mit dem Wert 0 verfälschen, so dass es in der Anwendung (die gesicherte Anwendung, nicht MySQLDumper) zu Fehlfunktionen kommen kann. +Nun setzt MySQLDumper für die Dauer der Wiederherstellung den SQL-Modus auf "NO_AUTO_VALUE_ON_ZERO", so dass auch ungültige Werte aus der Originalanwendung unverfälscht erhalten bleiben. + +- Das Perl Skript wirft Warnungen beim Sichern von VIEWS. + +- Beim Sichern über die Web-Gui und aktivierter Option "Tabellen optimieren" hat diese aufgrund eines fehlerhaften Befehls +keine Auswirkung. + +-------------------- +Version 1.24 + +Changelog der wichtigsten Änderungen im Vergleich zur Version 1.22 (1.23 hat die Beta-Phase nie verlassen): + +- MySQLDumper 1.24 funktioniert nach wie vor sowohl mit PHP4 als auch mit PHP5 +- neue, helle und freundliche Optik. Der "alte" Style ist für "Nostaligiker" ebenfalls enthalten. +- bessere Speicherausnutzung +- Backup und Wiederherstellung per PHP sind im Schnitt ca. 25 Prozent schneller +- Möglichkeit beim Sichern und auch beim Wiederherstellen nur bestimmte Tabellen auszuwählen +- Nutzen von mehreren MySQL-Servern und -Usern über Konfigurationsprofile. +Damit kann man mehrere Server über eine MySQLDumper-Installation warten und sichern. +- der interne SQL-Parser ist an vielen Stellen verbessert worden (noch mehr Fremdbackups können importiert werden) +- SQLBrowser: jede Menge Bugfxies und kleinere Erweiterungen (dennoch ist der SQLBrowser noch als experimentell einzustufen) +- SQLBrowser: über die Lupe kommt man zu einer durchdachten Vollextsuche. Editiert man einen Datensatz, kommt man zur Trefferliste zurück. + Das ist recht komfortabel wenn man Stellen finden muss, von denen man nicht genau weiß in welchen Spalten sie vorkommen können. +- Tools: der Export von Daten als Datei funktionierte in 1.22 nicht. Jetzt klappt das wieder. +- die Konfiguration in der WEB-GUI wurde an einigen Stellen nochmals vereinfacht und überflüssige Parameter entfernt +(Du hast kaum noch eine Chance etwas "falsch" einzustellen. :) ) +- FTP-Übertragung kann nun optional auf bis zu 3 unterschiedliche Server gleichzeitig erfolgen +- Tabellen vom Typ VIEW und MEMORY werden nun automatisch erkannt und deren Daten korrekterweise nicht mitgesichert, wohl aber deren Struktur. +- das Verzeichnis work/structure wird nicht mehr benötigt +- die automatisch immer mit angelegten Struktur-Backups wurden entfernt +- noch besseres, internes Handling der Kodierung von Backups (Umlautproblematik) +- Fehler (auch beim Sichern) werden noch zuverlässig abgefangen und aussagekräftig im Log notiert +- Konverter: wurde neu geschrieben. Jetzt werden große Dateien beim Konvertieren automatisch in Multipart-Dateien aufgeteilt +- keine Notices in Server-Logs mehr +- Beim Anlegen von gespeicherten SQL-Befehlen können nun mehrere Queries angegeben werden, die bei Nutzung von "Command before/after backup" +nacheinander ausgeführt werden. Der Erfolg oder Mißerfolg wird om Logfile notiert. +- Beim Anlegen des Verzeichnisschutzes wird die Stärke des Kennworts visualisiert. + +crodump.pl: +- wenn die crondump.pl im Standardordner "msd_cron" aufgerufen werded kann, braucht man den "$absolute_path_of_configdir" nicht mehr editieren. +Hier findet nun eine automatische Erkennung statt. +- besseres Abfangen von Fehlern +- es wird präziser mit aussagekräftigen Nachrichten geloggt +- automatisches Löschen betrachtet Multipart-Dateien nun korrekt als 1 vollständiges Backup und funktioniert wie erwartet +- das automatische Löschen wird nicht mehr zu Beginn ausgeführt, sondern erst nach Beenden des Sicherungsvorgangs + (somit bleiben im Fehlerfall alte Backups erhalten) +- der Parameter der zu nutzenden Konfigurationsdatei kann im Aufruf nun auf 3 Arten angegeben werden. +Die fehlende Endung ".conf.php" wird bei Bedarf automatisch ergänzt: +1. config=mysqldumper.conf.php +2. config=mysqdumper.conf +3. config=mysqldumper + +- Signalhandler entfernt: +Dieser sollte eigentlich einen Abbruch des Users melden und das Skript beenden. Über einen Cronjob aufgerufen führte dies bei einigen, wenigen +Servern zu der Fehlfunktion, dass mehrere Instanzen des Skripts gestartet wurden, die lange in der Prozesliste standen und manuell beendet +werden mussten. + +... und viele weitere kleine und große Bugfixes und jede Menge Aufräumarbeiten im Code. + +Wer Du es ganz genau wissen möchtest, dann schaue Dir das changelog auf Sourceforge an. Hier ist akribisch +jede Änderung am Code dokumentiert: + +http://mysqldumper.svn.sourceforge.net/viewvc/mysqldumper/trunk/?view=log diff --git a/ReadMe/changelog_english.txt b/ReadMe/changelog_english.txt new file mode 100644 index 0000000..63263e8 --- /dev/null +++ b/ReadMe/changelog_english.txt @@ -0,0 +1,100 @@ +Version 1.24.4 + +We addressed the following issues: +- General: If "inc" was anywhere in the path or the domain to the MySQLDumper-Root-Diretory the file runtime.php couldn't be included. +- Configuration: When saving the Perl configuration file, the selected databases to be backed up have been saved incorrectly. +- Home / directory protection: At creating the protection PHP-Warnings were shown if running PHP lower than 5.3.0. +- Perl: Some cosmetic changes in output +- Perl: Write "DROP VIEW" instead of "DROP TABLE" to backup file if table is a view. +- Perl: Added type of table to log output. + +Version 1.24.3 + +We addressed the following issues: +- Configuration / Databases / Connection Parameter: manual adding of databases: The internal handling was completely modified. The file dbs_manual.php is no longer needed. Manually added databases are now stored in the selected configuration profile. +- Home / directory protection: Fixed a bug that inverted the resulting message of success / failure. +- Home / directory protection: If the automatic creation of the directory protection failed, the displayed content of the .htaccess file to be created manually contained some messy
html code. +- Home / directory protection: The created .htaccess file was extended with "RewriteEngine off". That fixes some problems if MySQLDumper was installed in a sub-folder of an existing website that also used .htaccess files with "mod_rewrite". +- Home / directory protection: The functionality for editing an existing protection was revised. +- Home / Databases: The key status was determined incompletely so that only the first index of each table was considered. +- SQL-Browser / table structure: Added the row "comment" in the display of fields and indexes. +- SQL-Browser / table structure: The functionality for managing keys was revised. It is now possible to define any kind of keys which was limited to primary keys. +- SQL-Browser: The system table "information_schema" is now displayed and can be browsed. +- SQL-Browser: A bug was fixed that could prevent the search from working correctly. +- SQL-Browser: For some queries the number of records was not determined correctly. +- SQL-Browser: Records containing the character "|" could not be edited in some cases. +- SQL-Browser: Error handling was improved. +- Restore: When restoring backups that were not created with MySQLDumper, CREATE DATABASE statements were not recognized correctly. +- File-Administration / Backup Converter: Inside the backup converter there was a buggy routine that caused an error message. +- Backup / Perl: When the configuration option "autodelete" was activated and the folder work/backup contained files not created by MySQLDumper, the perl script crondump.pl issued warning messages. +- Perl: Show perl version, better error handling, nicer font with html +- Perl: Support for FTP over SSL added (NET::FTPSSL perl modul necessary). +- Perl: The optional SQL-Commands (Command Before/After) can now handle multiple Queries. + +Version 1.24.2 + +We addressed the following issues: +- Although MySQLDumper bypasses timeouts by taking care of PHP's max_execution_time, it can happen that building the index of a big table leads to a timeout. +Now you can can configure MySQLDumper to ignore "ENABLE KEYS" statements while restoring a backup. But remember to enable them manually afterwards. +This is done under Home/Databases/Select database/ Button: Enable Keys. This option and a message will only show up, if MySQLDumper detects disabled keys or indexes. + +- When systems use the value 0 for auto_increment fields (e.g. Magento), restoring could change the value which could cause the app to malfunction. +While restoring MySQLDumper now sets the SQL-Mode to "NO_AUTO_VALUE_ON_ZERO" for the restoring session. + +- The Perl script crondump.pl threw warnings when backing up views. + +- When backing up via the gui the option "optimize tables" has no effect because of an incomplete query. + +-------------------- +Version 1.24 + +Changelog of the most important changes compared to version 1.22 (1.23 never left the beta status): + +- MySQLDumper 1.24 still is working on PHP4 and PHP5 +- new, light and friendly style. The "old" style is still included. +- better use of RAM +- backup and restore via PHP is about 25 percent faster +- possibility to select tables when doing an backup or restore +- use different configuration profiles to manage different MySQL-Server or -user. + This way you can maintain different MySQL-Server with a singel MySQLDumper-Installation. +- the internal SQL-Parser has been improved (more backups from other programms can be importet) +- SQLBrowser: a lot of bugfixes and some improvements (nevertheless it must still be regarded as experimental) +- SQLBrowser: a comfortable fulltext-search lets you find text even when you don't know in what column it can occur + After editing a record you get back to the hitlist. That really is comfortable when you need to change data. +- Tools: in version 1.22 the export of data as file didn't work. Now it is working again. +- the Web-GUI has been simplified. Some parameters have been removed. (You nearly have no chance to configure something incorrectly :) ) +- FTP-Transfer: address up to 3 ftp configurations simultaneously in one backup process +- Tables of type VIEW or MEMORY are now detected and data is not saved but the structure of the table is +- the directory work/structure is no longer needed +- the automatic "structure only" backup has been removed +- better and safer handling of encodings of backup files +- better and safer error-handling +- the backup converter has been rewritten. Now it also automatically converts big files into Multipart files. +- no notices in server-logs +- when adding SQL-Queries to the SQL-Library you can now enter more than one query. If using "commadn before/after backup" + these queries will be executed in a row. Succes or failure is written to the log file. +- When creating a password protection the password strength is visualized. + +crodump.pl: +- when you can call crondump.pl in the standard directory "msd_cron" you no longer need to enter the + "$absolute_path_of_configdir" manually. An automatic detection was added. +- better and safer catching of errors +- logging of events is much more precise and gives you clear statements what happened +- automatic deletion now regards Multipart files as one complete backup and works the way you expect it to work +- automatic deletion is done after the backup process. In case of errors this retains your old backups you might need. +- the config parameter - which configuration profile is to be used - can be set in 3 ways. The missing suffix + ".conf.php" will be added dynamically. +1. config=mysqldumper.conf.php +2. config=mysqdumper.conf +3. config=mysqldumper + +- removed signalhandler: +When crondump.pl was started via a cronjob there was a malfunction. On some, rare server this signalhandler caused a second +or third instance of the script that never stopped and stuck in the process list. In this case the process must be killed manually. + +... and many more small or big bugfixes and cleaning up the code + +When you want to know more, just take a look at the changelog of my code changes at Sourceforge. Each change +of the code is documented here: + +http://mysqldumper.svn.sourceforge.net/viewvc/mysqldumper/trunk/?view=log diff --git a/ReadMe/install_deutsch.txt b/ReadMe/install_deutsch.txt new file mode 100644 index 0000000..e47e2bd --- /dev/null +++ b/ReadMe/install_deutsch.txt @@ -0,0 +1,5 @@ +Installation: + +- lade den Ordner mysqldumper in einen beliebeigen Ordner auf Deinen Webspace hoch +- Starte das Script im Browser (http://www.deineDomain.de/DeinOrdner/mysqldumper/) +- Folge den Installationsanweisungen diff --git a/ReadMe/install_english.txt b/ReadMe/install_english.txt new file mode 100644 index 0000000..fbdbaf7 --- /dev/null +++ b/ReadMe/install_english.txt @@ -0,0 +1,5 @@ +Installation: + +- upload the folder mysqldumper to any folder on your webspace +- start the script in your browser (http://www.yourDomain.de/yourFolder/mysqldumper/) +- Follow the Installatio assistent \ No newline at end of file diff --git a/ReadMe/install_francais.txt b/ReadMe/install_francais.txt new file mode 100644 index 0000000..717754b --- /dev/null +++ b/ReadMe/install_francais.txt @@ -0,0 +1,6 @@ +Installation: + +- Envoyer le r�pertoire "mysqldumper" sur votre serveur +- Chmoder le fichier "config.php" en 777 +- D�buter le script en saisissant l'adresse suivante dans votre navigateur (http://www.votre_domaine.fr/mysqldumper/) +- Suivez les instructions d'installation du script diff --git a/ReadMe/install_italiano.txt b/ReadMe/install_italiano.txt new file mode 100644 index 0000000..bddcff2 --- /dev/null +++ b/ReadMe/install_italiano.txt @@ -0,0 +1,6 @@ +Installazione: + +- carica la cartella mysqldumper sul tuo spazio web +- metti i diritti del file config.php a 777 +- fai partire lo script nel tuo Browser (http://www.il tuo dominio.it/mysqldumper/) +- segui la installazione \ No newline at end of file diff --git a/ReadMe/license_deutsch.txt b/ReadMe/license_deutsch.txt new file mode 100644 index 0000000..629c6a8 --- /dev/null +++ b/ReadMe/license_deutsch.txt @@ -0,0 +1,105 @@ +GNU General Public License +Deutsche Übersetzung der Version 2, Juni 1991 + +Copyright © 1989, 1991 Free Software Foundation, Inc. + +59 Temple Place, Suite 330, Boston, MA 02111-1307, USA + + +Diese Übersetzung ist kein rechtskräftiger Ersatz für die englischsprachige Originalversion! + + +Vorwort +Die meisten Softwarelizenzen sind daraufhin entworfen worden, Ihnen die Freiheit zu nehmen, die Software weiterzugeben und zu verändern. Im Gegensatz dazu soll Ihnen die GNU General Public License , die Allgemeine Öffentliche GNU-Lizenz, ebendiese Freiheit garantieren. Sie soll sicherstellen, daß die Software für alle Benutzer frei ist. Diese Lizenz gilt für den Großteil der von der Free Software Foundation herausgegebenen Software und für alle anderen Programme, deren Autoren ihr Datenwerk dieser Lizenz unterstellt haben. Auch Sie können diese Möglichkeit der Lizenzierung für Ihre Programme anwenden. (Ein anderer Teil der Software der Free Software Foundation unterliegt stattdessen der GNU Library General Public License , der Allgemeinen Öffentlichen GNU-Lizenz für Bibliotheken.) [Mittlerweile wurde die GNU Library Public License von der GNU Lesser Public License abgelöst - Anmerkung des Übersetzers.] + +Die Bezeichnung ,,freie`` Software bezieht sich auf Freiheit, nicht auf den Preis. Unsere Lizenzen sollen Ihnen die Freiheit garantieren, Kopien freier Software zu verbreiten (und etwas für diesen Service zu berechnen, wenn Sie möchten), die Möglichkeit, die Software im Quelltext zu erhalten oder den Quelltext auf Wunsch zu bekommen. Die Lizenzen sollen garantieren, daß Sie die Software ändern oder Teile davon in neuen freien Programmen verwenden dürfen - und daß Sie wissen, daß Sie dies alles tun dürfen. + +Um Ihre Rechte zu schützen, müssen wir Einschränkungen machen, die es jedem verbieten, Ihnen diese Rechte zu verweigern oder Sie aufzufordern, auf diese Rechte zu verzichten. Aus diesen Einschränkungen folgen bestimmte Verantwortlichkeiten für Sie, wenn Sie Kopien der Software verbreiten oder sie verändern. + +Beispielsweise müssen Sie den Empfängern alle Rechte gewähren, die Sie selbst haben, wenn Sie - kostenlos oder gegen Bezahlung - Kopien eines solchen Programms verbreiten. Sie müssen sicherstellen, daß auch die Empfänger den Quelltext erhalten bzw. erhalten können. Und Sie müssen ihnen diese Bedingungen zeigen, damit sie ihre Rechte kennen. + +Wir schützen Ihre Rechte in zwei Schritten: (1) Wir stellen die Software unter ein Urheberrecht (Copyright), und (2) wir bieten Ihnen diese Lizenz an, die Ihnen das Recht gibt, die Software zu vervielfältigen, zu verbreiten und/oder zu verändern. + +Um die Autoren und uns zu schützen, wollen wir darüberhinaus sicherstellen, daß jeder erfährt, daß für diese freie Software keinerlei Garantie besteht. Wenn die Software von jemand anderem modifiziert und weitergegeben wird, möchten wir, daß die Empfänger wissen, daß sie nicht das Original erhalten haben, damit irgendwelche von anderen verursachte Probleme nicht den Ruf des ursprünglichen Autors schädigen. + +Schließlich und endlich ist jedes freie Programm permanent durch Software-Patente bedroht. Wir möchten die Gefahr ausschließen, daß Distributoren eines freien Programms individuell Patente lizensieren - mit dem Ergebnis, daß das Programm proprietär würde. Um dies zu verhindern, haben wir klargestellt, daß jedes Patent entweder für freie Benutzung durch jedermann lizenziert werden muß oder überhaupt nicht lizenziert werden darf. + +Es folgen die genauen Bedingungen für die Vervielfältigung, Verbreitung und Bearbeitung: + + +Allgemeine Öffentliche GNU-Lizenz +Bedingungen für die Vervielfältigung, +Verbreitung und Bearbeitung +§0. Diese Lizenz gilt für jedes Programm und jedes andere Datenwerk, in dem ein entsprechender Vermerk des Copyright-Inhabers darauf hinweist, daß das Datenwerk unter den Bestimmungen dieser General Public License verbreitet werden darf. Im folgenden wird jedes derartige Programm oder Datenwerk als ,,das Programm`` bezeichnet; die Formulierung ,,auf dem Programm basierendes Datenwerk`` bezeichnet das Programm sowie jegliche Bearbeitung des Programms im urheberrechtlichen Sinne, also ein Datenwerk, welches das Programm, auch auszugsweise, sei es unverändert oder verändert und/oder in eine andere Sprache übersetzt, enthält. (Im folgenden wird die Übersetzung ohne Einschränkung als ,,Bearbeitung`` eingestuft.) Jeder Lizenznehmer wird im folgenden als ,,Sie`` angesprochen. + +Andere Handlungen als Vervielfältigung, Verbreitung und Bearbeitung werden von dieser Lizenz nicht berührt; sie fallen nicht in ihren Anwendungsbereich. Der Vorgang der Ausführung des Programms wird nicht eingeschränkt, und die Ausgaben des Programms unterliegen dieser Lizenz nur, wenn der Inhalt ein auf dem Programm basierendes Datenwerk darstellt (unabhängig davon, daß die Ausgabe durch die Ausführung des Programmes erfolgte). Ob dies zutrifft, hängt von den Funktionen des Programms ab. + +§1. Sie dürfen auf beliebigen Medien unveränderte Kopien des Quelltextes des Programms, wie sie ihn erhalten haben, anfertigen und verbreiten. Voraussetzung hierfür ist, daß Sie mit jeder Kopie einen entsprechenden Copyright-Vermerk sowie einen Haftungsausschluß veröffentlichen, alle Vermerke, die sich auf diese Lizenz und das Fehlen einer Garantie beziehen, unverändert lassen und desweiteren allen anderen Empfängern des Programms zusammen mit dem Programm eine Kopie dieser Lizenz zukommen lassen. + +Sie dürfen für den eigentlichen Kopiervorgang eine Gebühr verlangen. Wenn Sie es wünschen, dürfen Sie auch gegen Entgeld eine Garantie für das Programm anbieten. + +§2. Sie dürfen Ihre Kopie(n) des Programms oder eines Teils davon verändern, wodurch ein auf dem Programm basierendes Datenwerk entsteht; Sie dürfen derartige Bearbeitungen unter den Bestimmungen von Paragraph 1 vervielfältigen und verbreiten, vorausgesetzt, daß zusätzlich alle im folgenden genannten Bedingungen erfüllt werden: + + +1. +Sie müssen die veränderten Dateien mit einem auffälligen Vermerk versehen, der auf die von Ihnen vorgenommene Modifizierung und das Datum jeder Änderung hinweist. + +2. +Sie müssen dafür sorgen, daß jede von Ihnen verbreitete oder veröffentlichte Arbeit, die ganz oder teilweise von dem Programm oder Teilen davon abgeleitet ist, Dritten gegenüber als Ganzes unter den Bedingungen dieser Lizenz ohne Lizenzgebühren zur Verfügung gestellt wird. + +3. +Wenn das veränderte Programm normalerweise bei der Ausführung interaktiv Kommandos einliest, müssen Sie dafür sorgen, daß es, wenn es auf dem üblichsten Wege für solche interaktive Nutzung gestartet wird, eine Meldung ausgibt oder ausdruckt, die einen geeigneten Copyright-Vermerk enthält sowie einen Hinweis, daß es keine Gewährleistung gibt (oder anderenfalls, daß Sie Garantie leisten), und daß die Benutzer das Programm unter diesen Bedingungen weiter verbreiten dürfen. Auch muß der Benutzer darauf hingewiesen werden, wie er eine Kopie dieser Lizenz ansehen kann. (Ausnahme: Wenn das Programm selbst interaktiv arbeitet, aber normalerweise keine derartige Meldung ausgibt, muß Ihr auf dem Programm basierendes Datenwerk auch keine solche Meldung ausgeben). + +Diese Anforderungen gelten für das bearbeitete Datenwerk als Ganzes. Wenn identifizierbare Teile des Datenwerkes nicht von dem Programm abgeleitet sind und vernünftigerweise als unabhängige und eigenständige Datenwerke für sich selbst zu betrachten sind, dann gelten diese Lizenz und ihre Bedingungen nicht für die betroffenen Teile, wenn Sie diese als eigenständige Datenwerke weitergeben. Wenn Sie jedoch dieselben Abschnitte als Teil eines Ganzen weitergeben, das ein auf dem Programm basierendes Datenwerk darstellt, dann muß die Weitergabe des Ganzen nach den Bedingungen dieser Lizenz erfolgen, deren Bedingungen für weitere Lizenznehmer somit auf das gesamte Ganze ausgedehnt werden - und somit auf jeden einzelnen Teil, unabhängig vom jeweiligen Autor. + +Somit ist es nicht die Absicht dieses Abschnittes, Rechte für Datenwerke in Anspruch zu nehmen oder Ihnen die Rechte für Datenwerke streitig zu machen, die komplett von Ihnen geschrieben wurden; vielmehr ist es die Absicht, die Rechte zur Kontrolle der Verbreitung von Datenwerken, die auf dem Programm basieren oder unter seiner auszugsweisen Verwendung zusammengestellt worden sind, auszuüben. + +Ferner bringt auch das einfache Zusammenlegen eines anderen Datenwerkes, das nicht auf dem Programm basiert, mit dem Programm oder einem auf dem Programm basierenden Datenwerk auf ein- und demselben Speicher- oder Vertriebsmedium dieses andere Datenwerk nicht in den Anwendungsbereich dieser Lizenz. + +§3. Sie dürfen das Programm (oder ein darauf basierendes Datenwerk gemäß Paragraph 2) als Objectcode oder in ausführbarer Form unter den Bedingungen der Paragraphen 1 und 2 kopieren und weitergeben - vorausgesetzt, daß Sie außerdem eine der folgenden Leistungen erbringen: + + +1. +Liefern Sie das Programm zusammen mit dem vollständigen zugehörigen maschinenlesbaren Quelltext auf einem für den Datenaustausch üblichen Medium aus, wobei die Verteilung unter den Bedingungen der Paragraphen 1 und 2 erfolgen muß. Oder: + +2. +Liefern Sie das Programm zusammen mit einem mindestens drei Jahre lang gültigen schriftlichen Angebot aus, jedem Dritten eine vollständige maschinenlesbare Kopie des Quelltextes zur Verfügung zu stellen - zu nicht höheren Kosten als denen, die durch den physikalischen Kopiervorgang anfallen -, wobei der Quelltext unter den Bedingungen der Paragraphen 1 und 2 auf einem für den Datenaustausch üblichen Medium weitergegeben wird. Oder: + +3. +Liefern Sie das Programm zusammen mit dem schriftlichen Angebot der Zurverfügungstellung des Quelltextes aus, das Sie selbst erhalten haben. (Diese Alternative ist nur für nicht-kommerzielle Verbreitung zulässig und nur, wenn Sie das Programm als Objectcode oder in ausführbarer Form mit einem entsprechenden Angebot gemäß Absatz b erhalten haben.) + +Unter dem Quelltext eines Datenwerkes wird diejenige Form des Datenwerkes verstanden, die für Bearbeitungen vorzugsweise verwendet wird. Für ein ausführbares Programm bedeutet ,,der komplette Quelltext``: Der Quelltext aller im Programm enthaltenen Module einschließlich aller zugehörigen Modulschnittstellen-Definitionsdateien sowie der zur Compilation und Installation verwendeten Skripte. Als besondere Ausnahme jedoch braucht der verteilte Quelltext nichts von dem zu enthalten, was üblicherweise (entweder als Quelltext oder in binärer Form) zusammen mit den Hauptkomponenten des Betriebssystems (Kernel, Compiler usw.) geliefert wird, unter dem das Programm läuft - es sei denn, diese Komponente selbst gehört zum ausführbaren Programm. + +Wenn die Verbreitung eines ausführbaren Programms oder von Objectcode dadurch erfolgt, daß der Kopierzugriff auf eine dafür vorgesehene Stelle gewährt wird, so gilt die Gewährung eines gleichwertigen Zugriffs auf den Quelltext als Verbreitung des Quelltextes, auch wenn Dritte nicht dazu gezwungen sind, den Quelltext zusammen mit dem Objectcode zu kopieren. + +§4. Sie dürfen das Programm nicht vervielfältigen, verändern, weiter lizenzieren oder verbreiten, sofern es nicht durch diese Lizenz ausdrücklich gestattet ist. Jeder anderweitige Versuch der Vervielfältigung, Modifizierung, Weiterlizenzierung und Verbreitung ist nichtig und beendet automatisch Ihre Rechte unter dieser Lizenz. Jedoch werden die Lizenzen Dritter, die von Ihnen Kopien oder Rechte unter dieser Lizenz erhalten haben, nicht beendet, solange diese die Lizenz voll anerkennen und befolgen. + +§5. Sie sind nicht verpflichtet, diese Lizenz anzunehmen, da Sie sie nicht unterzeichnet haben. Jedoch gibt Ihnen nichts anderes die Erlaubnis, das Programm oder von ihm abgeleitete Datenwerke zu verändern oder zu verbreiten. Diese Handlungen sind gesetzlich verboten, wenn Sie diese Lizenz nicht anerkennen. Indem Sie das Programm (oder ein darauf basierendes Datenwerk) verändern oder verbreiten, erklären Sie Ihr Einverständnis mit dieser Lizenz und mit allen ihren Bedingungen bezüglich der Vervielfältigung, Verbreitung und Veränderung des Programms oder eines darauf basierenden Datenwerks. + +§6. Jedesmal, wenn Sie das Programm (oder ein auf dem Programm basierendes Datenwerk) weitergeben, erhält der Empfänger automatisch vom ursprünglichen Lizenzgeber die Lizenz, das Programm entsprechend den hier festgelegten Bestimmungen zu vervielfältigen, zu verbreiten und zu verändern. Sie dürfen keine weiteren Einschränkungen der Durchsetzung der hierin zugestandenen Rechte des Empfängers vornehmen. Sie sind nicht dafür verantwortlich, die Einhaltung dieser Lizenz durch Dritte durchzusetzen. + +§7. Sollten Ihnen infolge eines Gerichtsurteils, des Vorwurfs einer Patentverletzung oder aus einem anderen Grunde (nicht auf Patentfragen begrenzt) Bedingungen (durch Gerichtsbeschluß, Vergleich oder anderweitig) auferlegt werden, die den Bedingungen dieser Lizenz widersprechen, so befreien Sie diese Umstände nicht von den Bestimmungen dieser Lizenz. Wenn es Ihnen nicht möglich ist, das Programm unter gleichzeitiger Beachtung der Bedingungen in dieser Lizenz und Ihrer anderweitigen Verpflichtungen zu verbreiten, dann dürfen Sie als Folge das Programm überhaupt nicht verbreiten. Wenn zum Beispiel ein Patent nicht die gebührenfreie Weiterverbreitung des Programms durch diejenigen erlaubt, die das Programm direkt oder indirekt von Ihnen erhalten haben, dann besteht der einzige Weg, sowohl das Patentrecht als auch diese Lizenz zu befolgen, darin, ganz auf die Verbreitung des Programms zu verzichten. + +Sollte sich ein Teil dieses Paragraphen als ungültig oder unter bestimmten Umständen nicht durchsetzbar erweisen, so soll dieser Paragraph seinem Sinne nach angewandt werden; im übrigen soll dieser Paragraph als Ganzes gelten. + +Zweck dieses Paragraphen ist nicht, Sie dazu zu bringen, irgendwelche Patente oder andere Eigentumsansprüche zu verletzen oder die Gültigkeit solcher Ansprüche zu bestreiten; dieser Paragraph hat einzig den Zweck, die Integrität des Verbreitungssystems der freien Software zu schützen, das durch die Praxis öffentlicher Lizenzen verwirklicht wird. Viele Leute haben großzügige Beiträge zu dem großen Angebot der mit diesem System verbreiteten Software im Vertrauen auf die konsistente Anwendung dieses Systems geleistet; es liegt am Autor/Geber, zu entscheiden, ob er die Software mittels irgendeines anderen Systems verbreiten will; ein Lizenznehmer hat auf diese Entscheidung keinen Einfluß. + +Dieser Paragraph ist dazu gedacht, deutlich klarzustellen, was als Konsequenz aus dem Rest dieser Lizenz betrachtet wird. + +§8. Wenn die Verbreitung und/oder die Benutzung des Programms in bestimmten Staaten entweder durch Patente oder durch urheberrechtlich geschützte Schnittstellen eingeschränkt ist, kann der Urheberrechtsinhaber, der das Programm unter diese Lizenz gestellt hat, eine explizite geographische Begrenzung der Verbreitung angeben, in der diese Staaten ausgeschlossen werden, so daß die Verbreitung nur innerhalb und zwischen den Staaten erlaubt ist, die nicht ausgeschlossen sind. In einem solchen Fall beinhaltet diese Lizenz die Beschränkung, als wäre sie in diesem Text niedergeschrieben. + +§9. Die Free Software Foundation kann von Zeit zu Zeit überarbeitete und/oder neue Versionen der General Public License veröffentlichen. Solche neuen Versionen werden vom Grundprinzip her der gegenwärtigen entsprechen, können aber im Detail abweichen, um neuen Problemen und Anforderungen gerecht zu werden. + +Jede Version dieser Lizenz hat eine eindeutige Versionsnummer. Wenn in einem Programm angegeben wird, daß es dieser Lizenz in einer bestimmten Versionsnummer oder ,,jeder späteren Version`` (``any later version'') unterliegt, so haben Sie die Wahl, entweder den Bestimmungen der genannten Version zu folgen oder denen jeder beliebigen späteren Version, die von der Free Software Foundation veröffentlicht wurde. Wenn das Programm keine Versionsnummer angibt, können Sie eine beliebige Version wählen, die je von der Free Software Foundation veröffentlicht wurde. + +§10. Wenn Sie den Wunsch haben, Teile des Programms in anderen freien Programmen zu verwenden, deren Bedingungen für die Verbreitung anders sind, schreiben Sie an den Autor, um ihn um die Erlaubnis zu bitten. Für Software, die unter dem Copyright der Free Software Foundation steht, schreiben Sie an die Free Software Foundation ; wir machen zu diesem Zweck gelegentlich Ausnahmen. Unsere Entscheidung wird von den beiden Zielen geleitet werden, zum einen den freien Status aller von unserer freien Software abgeleiteten Datenwerke zu erhalten und zum anderen das gemeinschaftliche Nutzen und Wiederverwenden von Software im allgemeinen zu fördern. + + +Keine Gewährleistung + +§11. Da das Programm ohne jegliche Kosten lizenziert wird, besteht keinerlei Gewährleistung für das Programm, soweit dies gesetzlich zulässig ist. Sofern nicht anderweitig schriftlich bestätigt, stellen die Copyright-Inhaber und/oder Dritte das Programm so zur Verfügung, ,,wie es ist``, ohne irgendeine Gewährleistung, weder ausdrücklich noch implizit, einschließlich - aber nicht begrenzt auf - Marktreife oder Verwendbarkeit für einen bestimmten Zweck. Das volle Risiko bezüglich Qualität und Leistungsfähigkeit des Programms liegt bei Ihnen. Sollte sich das Programm als fehlerhaft herausstellen, liegen die Kosten für notwendigen Service, Reparatur oder Korrektur bei Ihnen. + +§12. In keinem Fall, außer wenn durch geltendes Recht gefordert oder schriftlich zugesichert, ist irgendein Copyright-Inhaber oder irgendein Dritter, der das Programm wie oben erlaubt modifiziert oder verbreitet hat, Ihnen gegenüber für irgendwelche Schäden haftbar, einschließlich jeglicher allgemeiner oder spezieller Schäden, Schäden durch Seiteneffekte (Nebenwirkungen) oder Folgeschäden, die aus der Benutzung des Programms oder der Unbenutzbarkeit des Programms folgen (einschließlich - aber nicht beschränkt auf - Datenverluste, fehlerhafte Verarbeitung von Daten, Verluste, die von Ihnen oder anderen getragen werden müssen, oder dem Unvermögen des Programms, mit irgendeinem anderen Programm zusammenzuarbeiten), selbst wenn ein Copyright-Inhaber oder Dritter über die Möglichkeit solcher Schäden unterrichtet worden war. + + +Ende der Bedingungen diff --git a/ReadMe/license_english.txt b/ReadMe/license_english.txt new file mode 100644 index 0000000..13db015 --- /dev/null +++ b/ReadMe/license_english.txt @@ -0,0 +1,88 @@ +GNU GENERAL PUBLIC LICENSE +Version 2, June 1991 + +Copyright (C) 1989, 1991 Free Software Foundation, Inc. +59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + +Everyone is permitted to copy and distribute verbatim copies +of this license document, but changing it is not allowed. + +Preamble +The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. + +When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. + +To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. + +For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. + +We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. + +Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. + +Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. + +The precise terms and conditions for copying, distribution and modification follow. + +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION +0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. + +1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. + +You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. + +2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: + + +a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. + +b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. + +c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) +These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. +Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. + +3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: + +a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, + +b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, + +c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) +The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. +If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. + +4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. + +5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. + +6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. + +7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. + +This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. + +8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. + +9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. + +10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. + +NO WARRANTY + +11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + + +END OF TERMS AND CONDITIONS diff --git a/config.php b/config.php new file mode 100644 index 0000000..927707c --- /dev/null +++ b/config.php @@ -0,0 +1,126 @@ +1000 +$config['processlist_refresh']=3000; + +$config['empty_db_before_restore']=0; +$config['optimize_tables_beforedump']=1; +$config['stop_with_error']=1; + +// For sending a mail after backup set send_mail to 1, otherless set to 0 +$config['send_mail']=0; +// Attach the backup 0=no 1=yes +$config['send_mail_dump']=0; +// set the recieve adress for the mail +$config['email_recipient']=''; +$config['email_recipient_cc']=''; +// set the sender adress (the script) +$config['email_sender']=''; + +//max. Size of Email-Attach, here 3 MB +$config['email_maxsize1']=3; +$config['email_maxsize2']=2; + +// FTP Server Configuration for Transfer +$config['ftp_transfer'][0]=0; +$config['ftp_timeout'][0]=30; +$config['ftp_useSSL'][0]=0; +$config['ftp_mode'][0]=0; +$config['ftp_server'][0]=''; // Adress of FTP-Server +$config['ftp_port'][0]='21'; // Port +$config['ftp_user'][0]=''; // Username +$config['ftp_pass'][0]=''; // Password +$config['ftp_dir'][0]=''; // Upload-Directory + +$config['ftp_transfer'][1]=0; +$config['ftp_timeout'][1]=30; +$config['ftp_useSSL'][1]=0; +$config['ftp_mode'][1]=0; +$config['ftp_server'][1]=''; +$config['ftp_port'][1]='21'; +$config['ftp_user'][1]=''; +$config['ftp_pass'][1]=''; +$config['ftp_dir'][1]=''; + +$config['ftp_transfer'][2]=0; +$config['ftp_timeout'][2]=30; +$config['ftp_useSSL'][2]=0; +$config['ftp_mode'][2]=0; +$config['ftp_server'][2]=''; +$config['ftp_port'][2]='21'; +$config['ftp_user'][2]=''; +$config['ftp_pass'][2]=''; +$config['ftp_dir'][2]=''; + +//Multipart 0=off 1=on +$config['multi_part']=0; +$config['multipartgroesse1']=1; +$config['multipartgroesse2']=2; +$config['multipart_groesse']=0; + +//Auto-Delete 0=off 1=on +$config['auto_delete']=0; +$config['max_backup_files']=3; + +//configuration file +$config['cron_configurationfile']='mysqldumper.conf.php'; +//path to perl, for windows use e.g. C:perlbinperl.exe +$config['cron_perlpath']='/usr/bin/perl'; +//mailer use sendmail(1) or SMTP(0) +$config['cron_use_sendmail']=1; +//path to sendmail +$sendmail_path=ini_get('sendmail_path'); +$config['cron_sendmail']=$sendmail_path>'' ? $sendmail_path: '/usr/lib/sendmail -t -oi -oem'; + +//adress of smtp-server +$config['cron_smtp']='localhost'; +//smtp-port +$config['cron_smtp_port']=25; +$config['cron_extender']=0; +$config['cron_compression']=1; +$config['cron_printout']=1; +$config['cron_completelog']=1; +$config['cron_comment']=''; +$config['multi_dump']=0; +$config['logcompression']=1; +$config['log_maxsize1']=1; +$config['log_maxsize2']=2; +$config['log_maxsize']=1048576; \ No newline at end of file diff --git a/config_overview.php b/config_overview.php new file mode 100644 index 0000000..c81ab69 --- /dev/null +++ b/config_overview.php @@ -0,0 +1,1005 @@ +'; + return $t; +} + +// wenn neue Sprache angewählt wurde schon vor dem includen übernehmen +if (isset($_POST['save']) && $_POST['language'] != $_POST['lang_old']) +{ + $config['language']=$_POST['language']; + $temp_lang=$config['language']; + include_once ( './inc/header.php' ); // Normal prodecure (resets config[language]) + $config['language']=$temp_lang; // re-set language + include ( './language/lang_list.php' ); // This re-initializes $lang[] and loads appropiate language files +} +else + include_once ( './inc/header.php' ); // language not changed, go on as usual +include_once ( './inc/runtime.php' ); +include_once ( './inc/functions_sql.php' ); +include_once ( './language/' . $config['language'] . '/lang_help.php' ); +include_once ( './language/' . $config['language'] . '/lang_config_overview.php' ); +include_once ( './language/' . $config['language'] . '/lang_sql.php' ); + +$msg=''; +$sel=( isset($_POST['sel']) ) ? $_POST['sel'] : 'db'; +if (isset($_GET['sel'])) $sel=$_GET['sel']; + +$old_config_file=$config['config_file']; +if (isset($_GET['config'])) +{ + unset($databases); + $databases=array(); + if (isset($_POST['save'])) unset($_POST['save']); + if (read_config($_GET['config'])) + { + $config['config_file']=$_GET['config']; + $_SESSION['config_file']=$config['config_file']; + $msg="" . sprintf($lang['L_CONFIG_LOADED'],$config['config_file']) . ""; + $msg.=''; + } + else + { + read_config($old_config_file); + $msg='

' . sprintf($lang['L_ERROR_LOADING_CONFIGFILE'],$config['config_file']) . '

'; + } +} + +if (isset($_GET['config_delete'])) +{ + $del_config=urldecode($_GET['config_delete']); + if ($del_config == $config['config_file']) + { + //aktuell gewaehlte Konfiguration wurde geloescht + $config['config_file']='mysqldumper'; + $_SESSION['config_file']=$config['config_file']; + read_config($config['config_file']); // Standard laden + } + + $del=@unlink($config['paths']['config'] . $del_config . '.php'); + if ($del) $del=@unlink($config['paths']['config'] . $del_config . '.conf.php'); + if ($del === false) $msg='

' . sprintf($lang['L_ERROR_DELETING_CONFIGFILE'],$del_config) . '

'; + else $msg='

' . sprintf($lang['L_SUCCESS_DELETING_CONFIGFILE'],$del_config) . '

' . ''; //refresh menu-frame + $sel='configs'; +} + +include_once ( './inc/define_icons.php' ); + +$config['files']['parameter']=$config['paths']['config'] . $config['config_file'] . '.php'; +$config['theme']=( !isset($config['theme']) ) ? 'msd' : $config['theme']; +$config['cron_smtp_port']=( !isset($config['cron_smtp_port']) ) ? 25 : $config['cron_smtp_port']; + +if (!isset($command)) $command=0; + +$checkFTP=Array( + + " 

 
 ", + " 

 
 ", + " 

 
 " +); +$checkFTP[$i]=""; +$ftptested=-1; +if (( isset($_POST['testFTP0']) ) || ( isset($_POST['testFTP1']) ) || ( isset($_POST['testFTP2']) )) +{ + $config['ftp_transfer']=array(); + $config['ftp_timeout']=array(); + $config['ftp_mode']=array(); + $config['ftp_useSSL']=array(); + + for ($i=0; $i < 3; $i++) + { + $config['ftp_transfer'][$i]=( isset($_POST['ftp_transfer'][$i]) ) ? $_POST['ftp_transfer'][$i] : 0; + $config['ftp_timeout'][$i]=( isset($_POST['ftp_timeout'][$i]) ) ? $_POST['ftp_timeout'][$i] : 30; + $config['ftp_useSSL'][$i]=( isset($_POST['ftp_useSSL'][$i]) ) ? $_POST['ftp_useSSL'][$i] : 0; + $config['ftp_mode'][$i]=( isset($_POST['ftp_mode'][$i]) ) ? 1 : 0; + $config['ftp_server'][$i]=( isset($_POST['ftp_server'][$i]) ) ? $_POST['ftp_server'][$i] : ''; + $config['ftp_port'][$i]=( isset($_POST['ftp_port'][$i]) ) ? $_POST['ftp_port'][$i] : 21; + $config['ftp_user'][$i]=( isset($_POST['ftp_user'][$i]) ) ? $_POST['ftp_user'][$i] : ''; + $config['ftp_pass'][$i]=( isset($_POST['ftp_pass'][$i]) ) ? $_POST['ftp_pass'][$i] : ''; + $config['ftp_dir'][$i]=( isset($_POST['ftp_dir'][$i]) ) ? stripslashes($_POST['ftp_dir'][$i]) : '/'; + if ($config['ftp_dir'][$i] == "" || ( strlen($config['ftp_dir'][$i]) > 1 && substr($config['ftp_dir'][$i],-1) != "/" )) $config['ftp_dir'][$i].="/"; + if (isset($_POST['testFTP' . $i])) + { + $checkFTP[$i]='
' . $lang['L_TESTCONNECTION'] . ' FTP-Connection ' . ( $i + 1 ) . '

' . TesteFTP($i) . '
'; + $ftptested=$i; + } + } +} + +$showVP=false; +$oldtheme=$config['theme']; +$oldscposition=$config['interface_server_caption_position']; + +if ($ftptested > -1) +{ + $ftp_server[$ftptested]=$_POST['ftp_server'][$ftptested]; + $ftp_port[$ftptested]=$_POST['ftp_port'][$ftptested]; + $ftp_user[$ftptested]=$_POST['ftp_user'][$ftptested]; + $ftp_pass[$ftptested]=$_POST['ftp_pass'][$ftptested]; + $ftp_dir_s='ftp_dir[' . $ftptested . ']'; + $f=$_POST['ftp_dir']; + $ftp_dir[$ftptested]=stripslashes($f[$ftptested]); + // Eingaben merken + $config['ftp_transfer'][$ftptested]=( isset($_POST['ftp_transfer'][$ftptested]) ) ? $_POST['ftp_transfer'][$ftptested] : 0; + $config['ftp_timeout'][$ftptested]=( isset($_POST['ftp_timeout'][$ftptested]) ) ? $_POST['ftp_timeout'][$ftptested] : 30; + $config['ftp_useSSL'][$ftptested]=( isset($_POST['ftp_useSSL'][$ftptested]) ) ? $_POST['ftp_useSSL'][$ftptested] : 0; + $config['ftp_mode'][$ftptested]=( isset($_POST['ftp_mode'][$ftptested]) ) ? 1 : 0; + $config['ftp_server'][$ftptested]=$ftp_server[$ftptested]; + $config['ftp_port'][$ftptested]=$ftp_port[$ftptested]; + $config['ftp_user'][$ftptested]=$ftp_user[$ftptested]; + $config['ftp_pass'][$ftptested]=$ftp_pass[$ftptested]; + $config['ftp_dir'][$ftptested]=$ftp_dir[$ftptested]; + + if ($ftp_dir[$ftptested] == "" || ( strlen($ftp_dir[$ftptested]) > 1 && substr($ftp_dir[$ftptested],-1) != "/" )) $ftp_dir[$ftptested].="/"; + WriteParams(); +} + +echo MSDHeader(); + +if (isset($_POST['load'])) +{ + $msg=SetDefault(true); + $msg=nl2br($msg) . "
" . $lang['L_LOAD_SUCCESS'] . "
"; + echo ''; +} + +if (isset($_POST['save'])) +{ + $save_config=true; + //Parameter auslesen + $config['multi_dump']=( isset($_POST['MultiDBDump']) ) ? $_POST['MultiDBDump'] : 0; + $config['compression']=$_POST['compression']; + $config['language']=$_POST['language']; + if (!isset($_POST['server_caption'])) $config['interface_server_caption']=0; + else $config['interface_server_caption']=$_POST['server_caption']; + $config['interface_server_caption_position']=isset($_POST['server_caption_position']) ? $_POST['server_caption_position'] : 0; + $config['interface_sqlboxsize']=$_POST['sqlboxsize']; + $config['theme']=$_POST['theme']; + $config['interface_table_compact']=( isset($_POST['interface_table_compact']) ) ? $_POST['interface_table_compact'] : 1; + + $config['email_recipient']=$_POST['email0']; + $config['email_recipient_cc']=$_POST['email_recipient_cc']; + $config['email_sender']=$_POST['email1']; + $config['send_mail']=$_POST['send_mail']; + $config['send_mail_dump']=$_POST['send_mail_dump']; + + $config['email_maxsize1']=$_POST['email_maxsize1']; + if ($config['email_maxsize1'] == "") $config['email_maxsize1']=0; + $config['email_maxsize2']=$_POST['email_maxsize2']; + $config['email_maxsize']=$config['email_maxsize1'] * ( ( $config['email_maxsize2'] == 1 ) ? 1024 : 1024 * 1024 ); + + $config['memory_limit']=$_POST['memory_limit']; + if ($config['memory_limit'] == "") $config['memory_limit']=0; + $config['minspeed']=$_POST['minspeed']; + if ($config['minspeed'] < 50) $config['minspeed']=50; + $config['maxspeed']=$_POST['maxspeed']; + if ($config['maxspeed'] < $config['minspeed']) $config['maxspeed']=$config['minspeed'] * 2; + $config['stop_with_error']=$_POST['stop_with_error']; + $config['ignore_enable_keys']=isset($_POST['ignore_enable_keys']) ? (int) $_POST['ignore_enable_keys']:0; + + $config['multi_part']=$_POST['multi_part']; + $config['multipartgroesse1']=isset($_POST['multipartgroesse1']) ? floatval(str_replace(',','.',$_POST['multipartgroesse1'])) : 0; + $config['multipartgroesse2']=isset($_POST['multipartgroesse2']) ? intval($_POST['multipartgroesse2']) : 0; + if ($config['multipartgroesse1'] < 100 && $config['multipartgroesse2'] == 1) $config['multipartgroesse1']=100; + if ($config['multipartgroesse1'] < 1 && $config['multipartgroesse2'] == 2) $config['multipartgroesse1']=1; + + $oldlogcompression=$config['logcompression']; + $config['logcompression']=( isset($_POST['logcompression']) && $_POST['logcompression'] == 1 ) ? 1 : 0; + $config['log_maxsize1']=$_POST['log_maxsize1']; + if ($config['log_maxsize1'] == "") $config['log_maxsize1']=0; + $config['log_maxsize2']=$_POST['log_maxsize2']; + $config['log_maxsize']=$config['log_maxsize1'] * ( ( $config['log_maxsize2'] == 1 ) ? 1024 : 1024 * 1024 ); + + $config['auto_delete']=$_POST['auto_delete']; + $config['max_backup_files']=$_POST['max_backup_files']; + + $config['empty_db_before_restore']=$_POST['empty_db_before_restore']; + $config['optimize_tables_beforedump']=$_POST['optimize_tables']; + $config['cron_dbindex']=$_POST['cron_dbindex']; + $config['cron_comment']=$_POST['cron_comment']; + + $config['cron_extender']=$_POST['cron_extender']; + // cron_select_savepath/ + if (!isset($_POST['cron_select_savepath'])) $_POST['cron_select_savepath']=$config['config_file']; + if (isset($_POST['cron_savepath_new']) && !empty($_POST['cron_savepath_new'])) + { + $tmp_configfilename=utf8_decode(trim($_POST['cron_savepath_new'])); + if (!preg_match("/^[a-z.-_]+$/i",$tmp_configfilename,$matches)) + { + $save_config=false; + $msg.='

' . sprintf($lang['L_ERROR_CONFIGFILE_NAME'],$_POST['cron_savepath_new']) . '

'; + } + else + { + $config['config_file']=$_POST['cron_savepath_new']; + $config['cron_configurationfile']=$_POST['cron_savepath_new'] . ".conf.php"; + } + } + + $config['cron_execution_path']=$_POST['cron_execution_path']; + if ($config['cron_execution_path'] == "") $config['cron_execution_path']="msd_cron/"; + if (strlen($config['cron_execution_path']) > 1 && substr($config['cron_execution_path'],-1) != "/") $config['cron_execution_path'].="/"; + + $config['cron_use_sendmail']=$_POST['cron_use_sendmail']; + $config['cron_sendmail']=$_POST['cron_sendmail']; + $config['cron_smtp']=isset($_POST['cron_smtp']) ? $_POST['cron_smtp'] : 'localhost'; + + $config['cron_printout']=$_POST['cron_printout']; + $config['cron_completelog']=$_POST['cron_completelog']; + $config['cron_compression']=$_POST['compression']; + $config['cron_completelog']=$_POST['cron_completelog']; + + $databases['multi']=Array(); + $databases['multi_praefix']=Array(); + $databases['multi_commandbeforedump']=Array(); + $databases['multi_commandafterdump']=Array(); + + if (isset($databases['Name'][0]) && $databases['Name'][0] > '') + { + for ($i=0; $i < count($databases['Name']); $i++) + { + $databases['praefix'][$i]=isset($_POST['dbpraefix_' . $i]) ? $_POST['dbpraefix_' . $i] : ''; + $databases['command_before_dump'][$i]=( !isset($_POST['command_before_' . $i]) ) ? "" : $_POST['command_before_' . $i]; + $databases['command_after_dump'][$i]=( !isset($_POST['command_after_' . $i]) ) ? "" : $_POST['command_after_' . $i]; + if (isset($_POST['db_multidump_' . $i]) && $_POST['db_multidump_' . $i] == "db_multidump_$i") + { + $databases['multi'][]=$databases['Name'][$i]; + $databases['multi_praefix'][]=$databases['praefix'][$i]; + $databases['multi_commandbeforedump'][]=$databases['command_before_dump'][$i]; + $databases['multi_commandafterdump'][]=$databases['command_after_dump'][$i]; + } + } + } + $databases['multisetting']=( count($databases['multi']) > 0 ) ? implode(";",$databases['multi']) : ""; + $databases['multisetting_praefix']=( count($databases['multi']) > 0 ) ? implode(";",$databases['multi_praefix']) : ""; + $databases['multisetting_commandbeforedump']=( count($databases['multi']) > 0 ) ? implode(";",$databases['multi_commandbeforedump']) : ""; + $databases['multisetting_commandafterdump']=( count($databases['multi']) > 0 ) ? implode(";",$databases['multi_commandafterdump']) : ""; + + if ($config['cron_dbindex'] == -2) + { + $datenbanken=count($databases['Name']); + $cron_db_array=str_replace(";","|",$databases['multisetting']); + $cron_dbpraefix_array=str_replace(";","|",$databases['multisetting_praefix']); + $cron_db_cbd_array=str_replace(";","|",$databases['multisetting_commandbeforedump']); + $cron_db_cad_array=str_replace(";","|",$databases['multisetting_commandafterdump']); + + } + elseif ($config['cron_dbindex'] == -3) + { + $cron_db_array=implode("|",$databases['Name']); + $cron_dbpraefix_array=implode("|",$databases['praefix']); + $cron_db_cbd_array=implode("|",$databases['command_before_dump']); + $cron_db_cad_array=implode("|",$databases['command_after_dump']); + } + + $config['ftp_transfer']=array(); + $config['ftp_timeout']=array(); + $config['ftp_mode']=array(); + $config['ftp_useSSL']=array(); + + for ($i=0; $i < 3; $i++) + { + $checkFTP[$i]=""; + $config['ftp_transfer'][$i]=isset($_POST['ftp_transfer'][$i]) ? $_POST['ftp_transfer'][$i] : $config['ftp_transfer'][$i]; + $config['ftp_timeout'][$i]=isset($_POST['ftp_timeout'][$i]) ? $_POST['ftp_timeout'][$i] : 30; + $config['ftp_useSSL'][$i]=isset($_POST['ftp_useSSL'][$i]) ? 1 : 0; + + $config['ftp_mode'][$i]=isset($_POST['ftp_mode'][$i]) ? 1 : 0; + $config['ftp_server'][$i]=$_POST['ftp_server'][$i]; + $config['ftp_port'][$i]=$_POST['ftp_port'][$i]; + $config['ftp_user'][$i]=$_POST['ftp_user'][$i]; + $config['ftp_pass'][$i]=$_POST['ftp_pass'][$i]; + $config['ftp_dir'][$i]=stripslashes($_POST['ftp_dir'][$i]); + if ($config['ftp_port'][$i] == 0) $config['ftp_port'][$i]=21; + if ($config['ftp_dir'][$i] == "" || ( strlen($config['ftp_dir'][$i]) > 1 && substr($config['ftp_dir'][$i],-1) != "/" )) $config['ftp_dir'][$i].="/"; + } + + $config['bb_width']=$_POST['bb_width']; + $config['bb_textcolor']=$_POST['bb_textcolor']; + $config['sql_limit']=$_POST['sql_limit']; + + if ($config['dbhost'] != $_POST['dbhost'] || $config['dbuser'] != $_POST['dbuser'] || $config['dbpass'] != $_POST['dbpass'] || $config['dbport'] != $_POST['dbport'] || $config['dbsocket'] != $_POST['dbsocket']) + { + //neue Verbindungsparameter + $show_VP=true; + + //alte Parameter sichern + $old['dbhost']=$config['dbhost']; + $old['dbuser']=$config['dbuser']; + $old['dbpass']=$config['dbpass']; + $old['dbport']=$config['dbport']; + $old['dbsocket']=$config['dbsocket']; + + //neu setzen + $config['dbhost']=$_POST['dbhost']; + $config['dbuser']=$_POST['dbuser']; + $config['dbpass']=$_POST['dbpass']; + $config['dbport']=$_POST['dbport']; + $config['dbsocket']=$_POST['dbsocket']; + if (MSD_mysql_connect()) + { + // neue Verbindungsdaten wurden akzeptiert -> manuelle DB-Liste von anderem User löschen + SetDefault(); + $msg.=''; + } + else + { + //alte Werte holen + $config['dbhost']=$old['dbhost']; + $config['dbuser']=$old['dbuser']; + $config['dbpass']=$old['dbpass']; + $config['dbport']=$old['dbport']; + $config['dbsocket']=$old['dbsocket']; + $msg.='

' . $lang['L_WRONG_CONNECTIONPARS'] . '

'; + } + } + + // Manuelles hinzufügen einer Datenbank + if ($_POST['add_db_manual'] > '') + { + $to_add=trim($_POST['add_db_manual']); + $found=false; + // Prüfen, ob die DB bereits in der Liste vorhanden ist + if (isset($databases['Name'][0])) + { + foreach ($databases['Name'] as $existing_db) + { + if ($existing_db == $to_add) $found=true; + } + } + if ($found) $add_db_message=sprintf($lang['L_DB_IN_LIST'],$to_add); + else + { + if (MSD_mysql_connect()) + { + $res=@mysql_selectdb($to_add,$config['dbconnection']); + if (!$res === false) + { + $databases['Name'][] = $to_add; + //Menü aktualisieren, damit die DB in der Selectliste erscheint + echo ''; + } + else + $add_db_message=sprintf($lang['L_DB_MANUAL_ERROR'],$to_add); + $showVP=true; + } + } + } + + //Nach einer Uebernahme einer neuen Configuration vor dem Schreiben ueberfluessige Indexe entfernen + $anzahl_datenbanken=sizeof($databases['Name']); + if (sizeof($databases['praefix']) > $anzahl_datenbanken) + { + for ($i=sizeof($databases['praefix']); $i >= $anzahl_datenbanken; $i--) + { + unset($databases['praefix'][$i]); + unset($databases['command_before_dump'][$i]); + unset($databases['command_after_dump'][$i]); + } + if ($databases['db_selected_index'] >= $anzahl_datenbanken) $databases['db_selected_index']=0; + } + + // und wegschreiben + if ($save_config) + { + if (WriteParams(false) == true) + { + //neue Sprache? Dann Menue links auch aktualisieren + if ($_SESSION['config']['language'] != $config['language'] || $_POST['scaption_old'] != $config['interface_server_caption'] || $oldtheme != $config['theme'] || $oldscposition != $config['interface_server_caption_position']) + { + $msg.=''; + if (isset($_POST['cron_savepath_new']) && $_POST['cron_savepath_new'] > '') $msg.='

' . $lang['L_SUCCESS_CONFIGFILE_CREATED'] . '

'; + } + //Parameter laden + read_config($config['config_file']); + if ($config['logcompression'] != $oldlogcompression) DeleteLog(); + $msg.='

' . sprintf($lang['L_SAVE_SUCCESS'],$config['config_file']) . '

'; + $msg.=''; + } + else + $msg.='

' . $lang['L_SAVE_ERROR'] . '

'; + } + +} + +ReadSQL(); +?> + +' . $nl; +$aus['formstart'].='
'; +$aus['formstart'].='
' . $nl; +$aus['formstart'].='
' . $nl; +$aus['formstart'].='
' . $nl; +$aus['formstart'].='
' . $nl; +$aus['formstart'].='
' . $nl; +$aus['formstart'].='
' . $nl; +$aus['formstart'].='
' . $nl; +$aus['formstart'].='
' . $nl; +//$aus['formstart'].='
' . $nl; + + +//$aus['formstart'].=''; +$aus['formstart'].='


' . $nl; +$aus['formstart'].='' . $nl; +//$aus['formstart'].='' . $nl; +$aus['formstart'].='
' . $msg . $nl; + +// Konfigurationsdateien +$aus['conf']='
' . $lang['L_CONFIGFILES'] . '' . $nl . $nl; + +$aus['conf'].=''; +$aus['conf'].=''; +$aus['conf'].=''; +$aus['conf'].=''; +$aus['conf'].='
' . $lang['L_CREATE_CONFIGFILE'] . ':' . print_save_button() . '
'; + +$aus['conf'].='
'; +$aus['conf'].=''; + +$i=0; +$old_config=$config; +$configs=get_config_filenames(); +if (sizeof($configs) > 0) +{ + foreach ($configs as $c) + { + $i++; + unset($databases); + read_config($c); + $aus['conf'].=''; + + $aus['conf'].=''; + + // Einstellungen + $aus['conf'].=''; + + $aus['conf'].=''; + } +} + +$configfile=$old_config['config_file']; +$config=$old_config; +unset($databases); +$databases=array(); +read_config($configfile); + +$aus['conf'].='
#' . $lang['L_CONFIGFILE'] . ' / ' . $lang['L_MYSQL_DATA'] . '' . $lang['L_CONFIGURATIONS'] . '' . $lang['L_ACTION'] . '
' . $i . '.'; + + $aus['conf'].=''; + $aus['conf'].=''; // filename + + + $aus['conf'].=''; + $aus['conf'].=''; + $aus['conf'].=''; + + // Datenbankliste anzeigen + $aus['conf'].=''; + + $aus['conf'].='
' . $lang['L_NAME'] . ':' . $c . '
' . $lang['L_DB_HOST'] . ':' . $config['dbhost'] . '
' . $lang['L_DB_USER'] . ':' . $config['dbuser'] . '
'; + + $aus['conf'].=$lang['L_DBS'] . ':'; + $aus['conf'].=''; + $aus['conf'].=$icon['search'] . '' . sizeof($databases['Name']) . ''; + $aus['conf'].='
'; + $aus['conf'].='
'; + + // String aus Multidump-DBs aufbauen + $toolboxstring=''; + $databases['multi']=array(); + if (isset($databases['multisetting'])) $databases['multi']=explode(";",$databases['multisetting']); + $multi_praefixe=array(); + if (isset($databases['multisetting_praefix'])) $multi_praefixe=explode(";",$databases['multisetting_praefix']); + if (is_array($databases['multi'])) + { + for ($x=0; $x < sizeof($databases['multi']); $x++) + { + if ($x > 0) $toolboxstring.=', '; + $toolboxstring.=$databases['multi'][$x]; + if (isset($multi_praefixe[$x]) && $multi_praefixe[$x] > '') $toolboxstring.=' (\'' . $multi_praefixe[$x] . '\')'; + } + } + + // DB-Liste fuer PHP + if ($config['multi_dump'] == 1) // Multidump + { + $aus['conf'].=table_output($lang['L_BACKUP_DBS_PHP'],$toolboxstring); + } + else + { + // aktuelle DB + $text=isset($databases['db_actual']) ? $databases['db_actual'] : ''; + if (isset($databases['db_selected_index']) && isset($databases['praefix'][$databases['db_selected_index']]) && $databases['praefix'][$databases['db_selected_index']] > '') $text.=" ('" . $databases['praefix'][$databases['db_selected_index']] . "')"; + $aus['conf'].=table_output($lang['L_BACKUP_DBS_PHP'],$text); + } + + // DB-Liste fuer Perl + // Fallback falls aus alten Konfigurationsdateien der Index noch nicht gesetzt ist -> alle DBs sichern + if (!isset($config['cron_dbindex'])) $config['cron_dbindex']=-3; + if ($config['cron_dbindex'] == -2) + { + $aus['conf'].=table_output($lang['L_BACKUP_DBS_PERL'],$toolboxstring); + } + elseif ($config['cron_dbindex'] == -3) + { + $text=$lang['L_ALL']; + $aus['conf'].=table_output($lang['L_BACKUP_DBS_PERL'],$text); + } + else + { + $text=isset($databases['Name'][$config['cron_dbindex']]) ? $databases['Name'][$config['cron_dbindex']] : ''; + if (isset($databases['praefix'][$config['cron_dbindex']]) && $databases['praefix'][$config['cron_dbindex']] > '') $text.=" ('" . $databases['praefix'][$config['cron_dbindex']] . "')"; + $aus['conf'].=table_output($lang['L_BACKUP_DBS_PERL'],$text); + } + + if ($config['multi_part'] == 1) // Multipart + { + $aus['conf'].=table_output($lang['L_MULTI_PART'],$lang['L_YES'] . ", " . $lang['L_FILESIZE'] . " " . byte_output($config['multipart_groesse'])); + } + + if ($config['send_mail'] == 1) //Email + { + $aus['conf'].=table_output($lang['L_SEND_MAIL_FORM'],$lang['L_YES'] . ", " . $lang['L_EMAIL_ADRESS'] . ": " . $config['email_recipient']); + if ($config['email_recipient_cc'] > '') $aus['conf'].=table_output($lang['L_EMAIL_CC'],$config['email_recipient_cc']); + $text=$lang['L_YES'] . ", " . $lang['L_MAX_UPLOAD_SIZE'] . ": "; + $bytes=$config['email_maxsize1'] * 1024; + if ($config['email_maxsize2'] == 2) $bytes=$bytes * 1024; + $text.=byte_output($bytes); + if ($config['send_mail_dump'] == 1) $aus['conf'].=table_output($lang['L_SEND_MAIL_DUMP'],$text); + + } + + for ($x=0; $x < 3; $x++) + { + if (isset($config['ftp_transfer'][$x]) && $config['ftp_transfer'][$x] > 0) + { + //$aus['conf'].=table_output($lang['L_FTP'],sprintf($lang['L_FTP_SEND_TO'],$config['ftp_server'][$x],$config['ftp_dir'][$x]),1,2); + $aus['conf'].=table_output($lang['L_FTP'],sprintf($lang['L_FTP_SEND_TO'],$config['ftp_server'][$x],$config['ftp_dir'][$x])); + } + } + $aus['conf'].='
'; + $aus['conf'].='' . $icon['edit'] . ''; + + if ($c != 'mysqldumper') // && $old_config['config_file']!=$c) +$aus['conf'].='' . $icon['delete'] . ''; + else $aus['conf'].=' '; + + $aus['conf'].='
'; +$aus['conf'].='
' . $nl . $nl; + +// Zugangsdaten +$aus['db']='
' . $lang['L_CONNECTIONPARS'] . '' . $nl . $nl; +$aus['db'].='
' . $lang['L_FADE_IN_OUT'] . '
' . $lang['L_DB_BACKUPPARS'] . ''; + +$aus['db'].=''; + +//Wenn Datenbanken vorhanden sind +if (isset($databases['Name'][0]) && $databases['Name'][0] > '') +{ + if (!isset($databases['multi']) || ( !is_array($databases['multi']) )) $databases['multi']=array(); + if (count($databases['Name']) == 1) + { + $databases['db_actual']=$databases['Name'][0]; + $databases['db_selected_index']=0; + $aus['db'].=''; + $aus['db'].=''; + $aus['db'].=''; + $aus['db'].=''; + $aus['db'].=''; + $aus['db'].=''; + $aus['db'].=''; + } + else + { + $disabled = ''; + if (in_array($databases['db_actual'], $dontBackupDatabases)) $disabled = ' disabled="disabled"'; + + $aus['db'].=''; + $aus['db'].=''; +$aus['db'].='
' . Help($lang['L_HELP_DB'],"conf1") . $lang['L_LIST_DB'] . '' . $databases['db_actual'] . '
' . Help($lang['L_HELP_PRAEFIX'],"conf2") . $lang['L_PRAEFIX'] . '
' . Help($lang['L_HELP_COMMANDS'],"") . 'Command before Dump' . ComboCommandDump(0,$databases['db_selected_index']) . '
' . Help($lang['L_HELP_COMMANDS'],"") . 'Command after Dump' . ComboCommandDump(1,$databases['db_selected_index']) . '' . $lang['L_SQL_BEFEHLE'] . '
' . Help($lang['L_HELP_DB'],"conf1") . $lang['L_LIST_DB'] . ' ' . $lang['L_ACTIVATE_MULTIDUMP'] . '
'; + $aus['db'].=''; + $aus['db'].=''; + + //erst die aktuelle DB + $aus['db'].=''; + $aus['db'].=''; + $aus['db'].=''; + $aus['db'].=''; + $aus['db'].=''; + $aus['db'].=''; + + $dbacombo=$dbbcombo=""; + $j=0; + for ($i=0; $i < count($databases['Name']); $i++) + { + if ($i != $databases['db_selected_index']) + { + $j++; + $disabled = ''; + if (in_array($databases['Name'][$i], $dontBackupDatabases)) $disabled = ' disabled="disabled"'; + if (!isset($databases['praefix'][$i])) $databases['praefix'][$i] = ''; + $aus['db'].=''; + $aus['db'].=''; + $aus['db'].=''; + $aus['db'].=''; + $aus['db'].=''; + } + } + } +} +else + $aus['db'].=''; +$aus['db'].='
' . $lang['L_DB'] . 'Multidump
(' . $lang['L_ALL'] . ' ' . $lang['L_NONE'] . ')
' . Help($lang['L_HELP_PRAEFIX'],"conf2") . $lang['L_PRAEFIX'] . '' . Help($lang['L_HELP_COMMANDS'],"",11) . 'Command before Dump' . Help($lang['L_HELP_COMMANDS'],"",11) . 'Command after Dump' . $lang['L_SQL_BEFEHLE'] . '
' . $databases['db_actual'] . '' . ComboCommandDump(0,$databases['db_selected_index'], $disabled) + . '' . ComboCommandDump(1,$databases['db_selected_index'], $disabled) . '' . $lang['L_SQL_BEFEHLE'] . '
' . $databases['Name'][$i] . '' . ComboCommandDump(0,$i, $disabled) . '' + . ComboCommandDump(1,$i, $disabled) . '' . $lang['L_SQL_BEFEHLE'] . '
' . $lang['L_NO_DB_FOUND'] . '
'; + +// sonstige Einstellungen +$aus['global1']='
' . $lang['L_GENERAL'] . ''; + +$aus['global1'].=''; +$aus['global1'].=''; + +$aus['global1'].=''; +$aus['global1'].=''; + +$aus['global1'].=''; +$aus['global1'].=''; + +$aus['global1'].='
' . Help("","") . 'Logfiles:  ' . $lang['L_COMPRESSED'] . '
'; +$aus['global1'].='' . $lang['L_MAXSIZE'] . ':    '; +$aus['global1'].='
' . Help($lang['L_HELP_MEMORYLIMIT'],"") . $lang['L_MEMORY_LIMIT'] . ':  '; +$aus['global1'].=' Bytes   ' . $lang['L_AUTODETECT'] . ''; +$aus['global1'].='
' . Help($lang['L_HELP_SPEED'],"") . $lang['L_SPEED'] . ':  ' . $lang['L_TO'] . ' 
' . $lang['L_DUMP'] . ''; + +$aus['global1'].=''; +$aus['global1'].=''; +//Multipart-Backup --> +$aus['global1'].=''; +$aus['global1'].=''; + +$aus['global1'].=''; +$aus['global1'].=''; + +$aus['global1'].='
' . Help($lang['L_HELP_ZIP'],"conf3") . $lang['L_GZIP'] . ':  ' . $lang['L_ACTIVATED']; +$aus['global1'].='    ' . $lang['L_NOT_ACTIVATED'] . '
' . Help($lang['L_HELP_MULTIPART'],"") . $lang['L_MULTI_PART'] . ': '; +$aus['global1'].=' ' . $lang['L_YES']; +$aus['global1'].='   ' . $lang['L_NO']; +$aus['global1'].='
' . Help($lang['L_HELP_MULTIPARTGROESSE'],"") . $lang['L_MULTI_PART_GROESSE'] . ':  '; + +$aus['global1'].='Kilobytes
' . Help($lang['L_HELP_OPTIMIZE'],"") . $lang['L_OPTIMIZE'] . ': ' . $lang['L_ACTIVATED']; +$aus['global1'].='    ' . $lang['L_NOT_ACTIVATED'] . '
' . $lang['L_RESTORE'] . ''; +$aus['global1'].=''; + +$aus['global1'].=''; + +if (!isset($config['ignore_enable_keys'])) { + $config['ignore_enable_keys'] = 0; +} +$aus['global1'].=''; + +$aus['global1'].='
' . Help($lang['L_HELP_EMPTY_DB_BEFORE_RESTORE'],"conf4") . $lang['L_EMPTY_DB_BEFORE_RESTORE'] . ': '; +$aus['global1'].=' ' . $lang['L_YES']; +$aus['global1'].='    ' . $lang['L_NO']; +$aus['global1'].='
' . Help("","") . $lang['L_ERRORHANDLING_RESTORE'] . ':'; +$aus['global1'].=' ' . $lang['L_EHRESTORE_CONTINUE'] . '
'; +$aus['global1'].=' ' . $lang['L_EHRESTORE_STOP']; +$aus['global1'].='
Ignore "ENABLE KEYS":'; +$aus['global1'].=' ' . $lang['L_YES']; +$aus['global1'].='    ' . $lang['L_NO']; +$aus['global1'].='
'; +$aus['global1'].=print_save_button(); +$aus['global1'].='
'; + +//Interface --> +$aus['global3']='
' . $lang['L_CONFIG_INTERFACE'] . ''; +$aus['global3'].=''; +$aus['global3'].=''; + +$aus['global3'].=''; +$aus['global3'].=''; +$aus['global3'].=''; + +$aus['global3'].='
' . Help($lang['L_HELP_LANG'],"conf11") . $lang['L_LANGUAGE'] . ': 
' . Help($lang['L_HELP_SERVERCAPTION'],"") . $lang['L_SERVERCAPTION'] . ': ' . $lang['L_ACTIVATED'] . '   '; +$aus['global3'].=' ' . $lang['L_IN_MAINFRAME'] . '   ' . $lang['L_IN_LEFTFRAME'] . ''; +$aus['global3'].='
' . Help("","") . 'Theme:
' . $lang['L_SQL_BROWSER'] . ''; +$aus['global3'].=''; +$aus['global3'].=''; +$aus['global3'].=''; +$aus['global3'].=''; +$aus['global3'].=''; +$aus['global3'].=''; +$aus['global3'].=''; + +$aus['global3'].='
' . Help("","") . $lang['L_SQLBOXHEIGHT'] . ':  Pixel
' . Help("","") . $lang['L_SQLLIMIT'] . ':  
' . Help("","") . $lang['L_BBPARAMS'] . ': '; +$aus['global3'].=''; +$aus['global3'].=''; +$aus['global3'].='
' . $lang['L_WIDTH'] . ': pixel
' . $lang['L_BBTEXTCOLOR'] . ': 
'; +$aus['global3'].='
' . Help("","") . 'SQL-Grid:  normal   '; +$aus['global3'].=' compact
' . print_save_button() . '
'; + +//automatisches Löschen--> +$aus['global2']='
' . $lang['L_CONFIG_AUTODELETE'] . ''; +$aus['global2'].=''; +$aus['global2'].=''; +$aus['global2'].=''; +$aus['global2'].='
' . Help($lang['L_HELP_AD1'],"conf8") . $lang['L_AUTODELETE'] . ':  ' . $lang['L_ACTIVATED']; +$aus['global2'].='    ' . $lang['L_NOT_ACTIVATED']; +$aus['global2'].='
' . Help($lang['L_HELP_AD3'],"conf10") . $lang['L_NUMBER_OF_FILES_FORM'] . ':  '; +$aus['global2'].='
' . print_save_button() . '
'; + +//Email--> +if (!isset($config['email_recipient_cc'])) $config['email_recipient_cc']=''; // backwards compatibility if field is undefined +$aus['transfer1']='
' . $lang['L_CONFIG_EMAIL'] . ''; +$aus['transfer1'].=''; +$aus['transfer1'].=''; +$aus['transfer1'].=''; + +$aus['transfer1'].=''; +$aus['transfer1'].=''; +$aus['transfer1'].=''; +$aus['transfer1'].='
' . $lang['L_SEND_MAIL_FORM'] . ':  ' . $lang['L_YES']; +$aus['transfer1'].='    ' . $lang['L_NO']; +$aus['transfer1'].='
' . $lang['L_EMAIL_ADRESS'] . ': 
' . $lang['L_EMAIL_CC'] . ': 
' . $lang['L_EMAIL_SENDER'] . ': 
' . $lang['L_SEND_MAIL_DUMP'] . ': '; +$aus['transfer1'].=' ' . $lang['L_YES']; +$aus['transfer1'].='    ' . $lang['L_NO']; +$aus['transfer1'].='
' . $lang['L_EMAIL_MAXSIZE'] . ': '; +$aus['transfer1'].='  '; +$aus['transfer1'].='
' . $lang['L_CRON_MAILPRG'] . ': '; +$aus['transfer1'].=''; +$aus['transfer1'].='
 sendmail
 SMTP
 SMTP-Port: ' . $config['cron_smtp_port'] . '
' . print_save_button() . '
'; + +//FTP--> +$aus['transfer2']='
' . $lang['L_CONFIG_FTP'] . ''; +for ($i=0; $i < 3; $i++) +{ + $aus['transfer2'].='
FTP-Connection ' . ( $i + 1 ) . ''; + + $aus['transfer2'].=''; + $aus['transfer2'].=''; + + $aus['transfer2'].=''; + $aus['transfer2'].=''; + + $aus['transfer2'].=''; + $aus['transfer2'].=''; + $aus['transfer2'].='
' . Help($lang['L_HELP_FTPTRANSFER'],"") . $lang['L_FTP_TRANSFER'] . ':  ' . $lang['L_ACTIVATED']; + $aus['transfer2'].='    ' . $lang['L_NOT_ACTIVATED'] . '
' . Help($lang['L_HELP_FTPTIMEOUT'],"") . $lang['L_FTP_TIMEOUT'] . ':  sec
' . Help($lang['L_HELP_FTP_MODE'],"") . $lang['L_FTP_CHOOSE_MODE'] . ':  '; + $aus['transfer2'].=$lang['L_FTP_PASSIVE'] . '
'; + + $aus['transfer2'].='
' . Help($lang['L_HELP_FTPSSL'],"") . $lang['L_FTP_SSL'] . ': '; + $aus['transfer2'].=' ' . $lang['L_FTP_USESSL'] . '
'; + + $aus['transfer2'].='

' . $checkFTP[$i] . '
'; + $aus['transfer2'].=''; + $aus['transfer2'].=''; + $aus['transfer2'].=''; + $aus['transfer2'].=''; + $aus['transfer2'].=''; + $aus['transfer2'].='
' . Help($lang['L_HELP_FTPSERVER'],"conf14",12) . $lang['L_FTP_SERVER'] . ': 
' . Help($lang['L_HELP_FTPPORT'],"conf15",12) . $lang['L_FTP_PORT'] . ': 
' . Help($lang['L_HELP_FTPUSER'],"conf16",12) . $lang['L_FTP_USER'] . ': 
' . Help($lang['L_HELP_FTPPASS'],"conf17",12) . $lang['L_FTP_PASS'] . ': 
' . Help($lang['L_HELP_FTPDIR'],"conf18",12) . $lang['L_FTP_DIR'] . ': 
' . print_save_button() . '
'; +} +$aus['transfer2'].='
'; + +//Crondump +$aus['cron']='
' . $lang['L_CONFIG_CRONPERL'] . ''; +$aus['cron'].=''; +$aus['cron'].=''; +$aus['cron'].=''; +$aus['cron'].=''; +$aus['cron'].=''; +$aus['cron'].=''; +$aus['cron'].=''; + +$aus['cron'].=''; +$aus['cron'].=''; + +// comment +$aus['cron'].=''; +$aus['cron'].=''; +$aus['cron'].='
' . Help($lang['L_HELP_CRONEXTENDER'],"") . $lang['L_CRON_EXTENDER'] . ':  .pl'; +$aus['cron'].='    .cgi'; +$aus['cron'].='
' . Help($lang['L_HELP_CRONEXECPATH'],"") . $lang['L_CRON_EXECPATH'] . ': 
' . Help($lang['L_HELP_CRONPRINTOUT'],"") . $lang['L_CRON_PRINTOUT'] . ':  ' . $lang['L_YES']; +$aus['cron'].='    ' . $lang['L_NO'] . '
' . Help($lang['L_HELP_CRONCOMPLETELOG'],"") . $lang['L_CRON_COMPLETELOG'] . ':  ' . $lang['L_YES']; +$aus['cron'].='    ' . $lang['L_NO'] . '
' . Help($lang['L_HELP_CRONDBINDEX'],"conf14") . $lang['L_CRON_CRONDBINDEX'] . ': ' . "\n"; +$aus['cron'].='
' . $lang['L_CRON_COMMENT'] . ': 
' . print_save_button() . '
'; + +//Formular-Buttons --> +$aus['formende']='

'; + +// AUSGABE +echo $aus['formstart']; +echo $aus['db']; +echo $aus['global1']; +echo $aus['global2']; +echo $aus['global3']; +echo $aus['transfer1']; +echo $aus['transfer2']; +echo $aus['cron']; +echo $aus['conf']; + +echo $aus['formende']; + +echo ''; +echo MSDFooter(); +$_SESSION['config']=$config; +ob_end_flush(); \ No newline at end of file diff --git a/css/msd/icons/arrow_down.gif b/css/msd/icons/arrow_down.gif new file mode 100644 index 0000000000000000000000000000000000000000..f96cd2ad86d98be22ef294d8b66dc499a757c116 GIT binary patch literal 132 zcmZ?wbhEHb6krfw*v!KaJ7rhFj!$(b{+90hR(1GS)~0ujr~j|K`D4MwFH5d|OI`D7 z?zzwZ|Nm!z0mYvzj0_As3_2hIkQodth7(SDuHI{rd|+o!ki^+0y$Ns&Uf~@ eC){q2X7qfhZpF>8(19hs`|-2GIaa!Y4AuZX|26#p literal 0 HcmV?d00001 diff --git a/css/msd/icons/arrow_up.gif b/css/msd/icons/arrow_up.gif new file mode 100644 index 0000000000000000000000000000000000000000..7646f6b7fb31f2e2394a8bfe15a092e953e4154f GIT binary patch literal 131 zcmZ?wbhEHb6krfw*v!QcJ7rhZ;a|J%|E@dnH*3?o)HSb4_kAna@oB^5&yA=50|5gn zQ2fcl$iTqGpaT*HnZdwf5OC6S^^vzQjE=Kri7Ifo{n;d(Aiu-6+GYRt V)(7XCHTbf3C8wV}uK*bD11I3>#j0_Bd3_2hkAUhdY0}@pFQZnbMEm)@$ zz~rcNT8~r1Wu35>EmKcZfP#)ejnaWb2Sf~bxl>pkcyO${-r~&FAhWOOJ>#KTg>y~D aj}GSY-233zY`wZTT6ap_`S$Rb%)guD*SE#Dl=tF~hipaYrvmcSYqFnl@$0yrhh6d1Y4Ou%@ziVP z*_E)HZLphe@WeyMk`}nAd(p&{lX_E-ZZ+`6MUHe%n}k~Fr~>-+!r`F;x|?K*aZ1vb z3FGSc)WCR`rn~5<0`SUE+vNAInr*I_YTf4d@Y{js?fTowsK29J`S|m?pKZ^$gy7l1 zy{m%o#YXJLP>`q8uer^9Uq0j7sokn1|NsA4Sy@_IT3cINTwGjTU0q&YUSD5dU|?Wj zVPRroVq;@tWMpJzWo2e&W@l$-XlQ6@X=!R|YHMq2Y;0_8ZEbFDZf|dIaBy&OadC2T za&vQYbaZreb#-=jc6WDoczAeud3kzzdV70&e0+R;eSLm@et&;|fPjF3fq{a8f`fyD zgoK2Jg@uNOhKGlTh=_=ZiHVAeii?YjjEszpjg5|uj*pLzkdTm(k&%*;l9Q8@l$4Z} zm6ev3mY0{8n3$NEnVFiJnwy)OoSdAUot>VZo}ZteprD|kp`oIpqNAguq@<*!rKP5( zrl+T;sHmu^si~@}s;jH3tgNi9t*x%EuCK4Ju&}VPv9YqUva_?Zw6wIfwY9dkwzs#p zxVX5vxw*Q!y1To(yu7@dCU$jHda z$;ryf%FD~k%*@Qq&CSlv&d<-!(9qD)(b3Y<($mw^)YR0~)z#M4*4Nk9*x1lt)=I7_<=;-L_>FMg~>g((4 z?Ck9A?d|UF?(gsK@bK{Q@$vHV^7Hfa^z`)g_4W4l_V@Sq`1ttw`T6?#`uqF){QUg= z{r&#_{{R2~A^8LW003A3EC2ui01yBW06+-50I>)hNU$J51pp8Lz)+xqg%K4B&=45l z2ZIC;C^P_IkRXl^D>68cFl0iB1wJ?m1VP2akq!tt3KXE>0TB)j0szo~!paO8A_y9Z z!eWC100#`@SP;QL!4MFNAm~8?!vG#i3PK1VK!8kv5Hv8jm?XdenF2guq`;vA01GFe zfOv8+NP{T`09<%Mpf3Rh1YOuLu>om;4+C~YxIr)l3>6|J445E NF%Hyd@>OO)06U&TKnDN- literal 0 HcmV?d00001 diff --git a/css/msd/icons/close.gif b/css/msd/icons/close.gif new file mode 100644 index 0000000000000000000000000000000000000000..7646f6b7fb31f2e2394a8bfe15a092e953e4154f GIT binary patch literal 131 zcmZ?wbhEHb6krfw*v!QcJ7rhZ;a|J%|E@dnH*3?o)HSb4_kAna@oB^5&yA=50|5gn zQ2fcl$iTqGpaT*HnZdwf5OC6S^^vzQjE=Kri7Ifo{n;d(Aiu-6+GYRt V)(7XCHTbf3C8wV}3&kGm+-MsnZ zoH@TYZ215GKLZ#j{$ycfVBlrY0r5a)FtFHdIO(~1uSGnA#{IU7rVbWWT?z%OimH4R u*v~{Wy2jlwf26#Jv%$ebrNi;S!wnB~rr8`wFqjl%zP>;0^xH5c25SJl%shVp literal 0 HcmV?d00001 diff --git a/css/msd/icons/edit.gif b/css/msd/icons/edit.gif new file mode 100644 index 0000000000000000000000000000000000000000..bfa895cf311613c09018c8063ae70fba2ecd276d GIT binary patch literal 985 zcmV;~119`ONk%w1VGsZi0QUd@?Y18M`Nj6@qS~AT^xuQwp#k*cjOeHW@XAo|%2Bo_ z8H#aAu9|I=dQ-S17Ot3T^lU@?_{7Y;jJHfoYH@g)gIk+~T87VL@WeyEqg z_u`M+%BYTXPUW~hdR{&Al6fYO7m{;9^wn#)sC((-$+e+z^3-dk9v-@%ZSm7*blOdE z%}ctQWRU({d|y7Ifkn~8lfNYVg~E=)AkqmI?A=I5V6c=20x>*_Fk&l)%Kr@Wn=7rbkx5C2*ot^y7{2 z#zm`-RC2pcjqjYF*Z+YiRsGeruj)>CK-^k6@o`+qe*_qV9c*nGc$C4I@Y(+1Y z9>}?jjk30|n{D~{^Y`oPif~J;fFf+uNsw+eQ%gee*V6z0|9^jffPjF3fq{a8f`fyD zgoK2Jg@uNOhKGlTh=_=ZiHVAeii?YjjEszpjg5|uj*pLzkdTm(k&%*;l9Q8@l$4Z} zm6ev3mY0{8n3$NEnVFiJnwy)OoSdAUot>VZo}ZteprD|kp`oIpqNAguq@<*!rKP5( zrl+T;sHmu^si~@}s;jH3tgNi9t*x%EuCK4Ju&}VPv9YqUva_?Zw6wIfwY9dkwzs#p zxVX5vxw*Q!y1To(yu7@dCU$jHda z$;ryf%FD~k%*@Qq&CSlv&d<-!(9qD)(b3Y<($mw^)YR0~)z#M4*4Nk9*x1lt)=I7_<=;-L_>FMg~>g((4 z?Ck9A?d|UF?(gsK@bK{Q@$vHV^7Hfa^z`)g_4W4l_V@Sq`1ttw`T6?#`uqF){QUg= z{r&#_{{R2~A^8LW004dfEC2ui01yBW000QK0R0FYNU)&6f@wBPI9RX`76=ZAFdVoh zgq0pCCi?MmL`@9^R3^5d@#2S>Ee1^lnRDR`5IrKk+$dN?LXtK+n6QxJLq-WL1j_^n zFh;|ZD_tTCHA3(N2_0yZILU#7gOm>q2-XRMf)52c2>=`zGQb1D2V9nb5kMeplmY|r z5M+a)i2=3<#KMI^(1MK>cM0SbQlJV5f;_}zaFb=q3@C8&>`_sW%o_$37Q`75!$pUI H0RaFz?te=g literal 0 HcmV?d00001 diff --git a/css/msd/icons/gz.gif b/css/msd/icons/gz.gif new file mode 100644 index 0000000000000000000000000000000000000000..f0adfe5aa5a13ba5136ac4f91db2b80d208234e8 GIT binary patch literal 1468 zcmV;t1w;BrNk%w1VITk?0Qdg@9gD~^o!D(=sIlDhHi*gO>-2o9%~XoRIG^9j;^TR< z+wbx9>i7Roqt`8z)rh&`q_(!a+SLF6i6WcYai+HmSEOad_A-CPEP}{kqO>MxyO_G> zw#nH|d$Uca;WxYT>F@QFy|hiU>Gt^fpQ*gX-QGf!%bc#Qg{;y{kd4LR-P`m0Wu4R1 z=jfxysov!5g|x7%!Q1Bh{`dL( zQ^M)-^!Zr3?!wgOWv0_;p0fY|g>$Q`RDQRVs*@{QYWUuM7x_;pX%t8kUB!uQ80!{QdoVu&&eL^2F)* zvDegpr`z`Y{coeuv*Y+;sOrt(?-ifm>ErIg+}~-G$4GOptIpDo#OSET#G$s(roGqK z=I@xYyxr{Uw$JG=cE5h9&-3~6%h&L}-rSbX^NgUst=8~&q|b4q*}K{9oUF5Xpwelg z(0!`gVy>ao*X7gP=8(zhOPbV&r^!r!!Ej)-rpx4H*Z;1}<(FNo3q|Nf-C+Jvpz(%b3L-s@J8%NZG$UysMB%Erav z^ZEbyX0G0V!Q}t`^@qaf+2HHn;_tD+h!zV)P}XZ zio3aRq^E*A^8LW00930EC2ui03ZM$000R80RIUbNU)&6g9sBUTzGInIB-6E81W&< zh!Gih7#=KQXhWJ{JETZ?V<8q4Sw->`S(zuJ!Y9mJjM0GM&mRX45ZwA;>zj-Mm{6Q@ z@r2-r7f6wcp+KQZm3dIBWXOmu73`S`FT(+<2OOC<+xHqhcK{Yi5IPV_jyFd^f*igX&$RMy;>bt|X zM?{6dJX!$3$uVUZ)JP4vtoK|PG|V9oIV@-r3Kl*Xct(EuNx-0g|2%=sArD|vgh3@- zs9@Q)BVI01+;V-TRgj{{xujyW^bDTWvk zl%OXPd?pdk2ty$Ah7)VlqQM_Fw4qQmfY5P=Abdo6#1WMY0mULaoU@A!N?>4$q6y(a zhaoKN!%71lh#*1`LEHjB7Y7uXVvQ26Op%&GdH92m1{V-;lLG-v0Kg=S;K0H(Sis3p z6h{IGCU>BHpZ!Mn4U(;bsF<*vn4^N+<&Z9D_td#y%Q&0E0L&RB(g6PkeImKk_uA Wh!COZV1S|==wpYyD5s2aKma=kKSqE6 literal 0 HcmV?d00001 diff --git a/css/msd/icons/index.gif b/css/msd/icons/index.gif new file mode 100644 index 0000000000000000000000000000000000000000..678cc1d5e5f258713de7145778b786c2e2afb2c6 GIT binary patch literal 1003 zcmZ?wbhEHb6krfw_|Cxa<$m+G*Nfh6lbgI~`@@BdA5H~+{r;zS(U}R$FR$Bw<=59k zHy(YPwf)tX$34&A{(7;T>BBMCFOPd~&0)SZoB6}3fJZNXuHSj~|^KdT)zMH+U=(wFQ@NV zQT_YF`VY4oKVHfF`{VG76-?Op^Zbe}CwCpb^6ci+OVc>-KKuUa{jXWuUVr=f z_rsSzeT&XqzW4RP&4b6cv~?AFO)7SrkZ0PS<2qsam8v+~zdw&|I&{O-Gnru&49XBt z{K>+|z)-=U19BZGPdIR#VED)(xO{z<1>;yX%=TpEEGM;Z)VOjD*U X44%+3TQTBBMCFOPd~&0)SZoB6}3fJZNXuHSj~|^KdT)zMH+U=(wFQ@NV zQT_YF`VY4oKVHfF`{VG76-?Op^Zbe}CwCpb^6ci+OVc>-KKuUa{jXWuUVr=f z_rsSzeT&XqzW4RP&4b6cv~?AFO)7SrkZ0PS<2qsam8v+~zdw&|I&{O-Gnru&49XBt z{K>+|z)-=U19BZGPdIQKX86b<Su1;1#Fnlag_-swF;_*P7v^6Vr=%9#1xk^k)de;o2F(T(*gyDOi3$N&mEGN Rp7zRE7%ZzfAS}RO4FIssN=yI% literal 0 HcmV?d00001 diff --git a/css/msd/icons/key_nokey.gif b/css/msd/icons/key_nokey.gif new file mode 100644 index 0000000000000000000000000000000000000000..e5cfa65fd00877391ef9a9ed7a82c8bde468167b GIT binary patch literal 547 zcmZ?wbhEHb6krfwc*ekR{rdF>4<0OAw(QcSOS^XM3JMC^y?ghB2@{SUJz7&!)7aR! za^=dcTep7t^l9S6iFI{#XU?2izI=I4PtUt|@2aY*X3Ut8nwr|t(b3h_)!EtU=jWH6 zo_^rKf$iJ3FI>1VA|hhu%$Y?+Mf>;fcXV_-e*F0K>C>BfByXY_wPS^ z`0&S%AMNe!uV24zX=#azi`%wsTX%Q&ix)3WoH%j%^yzu?=7oiYtzNzQ>({RzKYl!N zcRYhhrK6XF-)V&^t( zGASf88gT* p*|uoNu485sRG4kvB4%OjIPK|1HRVBBMCFOPd~&0)SZoB6}3fJZNXuHSj~|^KdT)zMH+U=(wFQ@NV zQT_YF`VY4oKVHfF`{VG76-?Op^Zbe}CwCpb^6ci+OVc>-KKuUa{jXWuUVr=f z_rsSzeT&XqzW4RP&4b6cv~?AFO)7SrkZ0PS<2qsam8v+~zdw&|I&{O-Gnru&49XBt z{K>+|z)-=U19BZGPcU%oXZXk=8*-`xHh@e*aj+DwrOO701bj-N5rNF(hNiZR8 zg+Nm}gS1An)fa){<$YIITg=+_=7rJ`E@hup3W^e}PTg#b3?c#_8V<1VvrKk4AfWj6 zmUy&EgF?iS)2+L*SThtA4zfG)1_do(b!gOWG%De^w_%YoyQG+D${PW}_I5{e=Usay OGP55OX=G$%um%8MDoY~( literal 0 HcmV?d00001 diff --git a/css/msd/icons/key_unique.gif b/css/msd/icons/key_unique.gif new file mode 100644 index 0000000000000000000000000000000000000000..5dfe8325fdadb133d55edeb0854899c37e4cb41e GIT binary patch literal 1001 zcmZ?wbhEHb6krfw_+G*A<$m+G*Nfh6lbgI~`@@BdA5H~+{r;zS(U}R$FR$Bw<=59k zHy(YPwf)tX$34&A{(7;T>BBMCFOPd~&0)SZoB6}3fJZNXuHSj~|^KdT)zMH+U=(wFQ@NV zQT_YF`VY4oKVHfF`{VG76-?Op^Zbe}CwCpb^6ci+OVc>-KKuUa{jXWuUVr=f z_rsSzeT&XqzW4RP&4b6cv~?AFO)7SrkZ0PS<2qsam8v+~zdw&|I&{O-Gnru&49XBt z{K>+|z)-=U19BZGPdIQKWBAA+5CsF?s_w!` z-n!=%TVJ*AeABn!LCpXEf0jN@`+tAI?ZqMc-_6|kqVCD=hX3!+zCJVW>7K^_zu*1; z|DS;}p!k!8k%2*rK?h_E$WIJxEe=xyI5foCPb?HHwNmSB@b>(&(_%8iVaJbwGCU2- zxdLX$1hsoA{$WYsVw=2hLSiyIuUE$}nsWTZu>w{o&b2yv)z2uZMTE@fn5lH+GlVBweBvPp2ufrEleTicEuKhl!q H$Y2csXB3RO literal 0 HcmV?d00001 diff --git a/css/msd/icons/notok.gif b/css/msd/icons/notok.gif new file mode 100644 index 0000000000000000000000000000000000000000..2f3a2162f9f2c69e9323a57ec989b8c4139bd83f GIT binary patch literal 74 zcmZ?wbhEHb6krfwn8?hqBPHeA^5y><8~^|RulSRNk%57kL5BedK=KSs(sTM(o_@=( c%)I3mOUpeO1%Z}FFKVx8E`4=s8!Lk~0Hm54!~g&Q literal 0 HcmV?d00001 diff --git a/css/msd/icons/ok.gif b/css/msd/icons/ok.gif new file mode 100644 index 0000000000000000000000000000000000000000..1ca168e4041e46a42fa36302e495e64ba4e17b8b GIT binary patch literal 138 zcmV;50CoRINk%w1VGsZi0J9GOoVaAG=w`C*ZN&V3rQ=}A?wH8`fz9!px$|?;^P#`^ zdDZr(+4-yB{j=Tsu>b%6A^8LW000jFEC2ui01yBW000Cx@X1N5y*O(Mz?Ohvcp5Ma s4T%AY;;2&xA_xP6g3#s54JLtLAmNK02!unCQz$GevX691l|%plJI1I!q5uE@ literal 0 HcmV?d00001 diff --git a/css/msd/icons/openfile.gif b/css/msd/icons/openfile.gif new file mode 100644 index 0000000000000000000000000000000000000000..bc910491a417488fbd577e57ac60cb5727de9149 GIT binary patch literal 154 zcmZ?wbhEHb6krfw*v!MQYSpT@Z{NOp_3HEI&p&?rc>n(W>({Seym;~b`}hC<|Nr{+ z>+j#cKn4R0DE?$&WMJT7&;bd6%wS+~pK#Jso7Ey&+ws?Y_JRXRvm69^L>KH?pT_8s zd;N{+n?LjX8=49<{*>~ZP`Px1fn(kUb>V^)QLBTehFPmt?7z1%?TqH^^F164)&Tx` BNqhhR literal 0 HcmV?d00001 diff --git a/css/msd/icons/progressbar_dump.gif b/css/msd/icons/progressbar_dump.gif new file mode 100644 index 0000000000000000000000000000000000000000..35292ff76175f27f8d1c4661cde1457c5d9ea73a GIT binary patch literal 780 zcmWkrYe-W87@eYJq+v)u!bqn^W)VT^oDW*Q%3k)cQWME3nb|`vd@FM^l`JWnT3WQ- zy1J|GwtVNF&a|>k_mI@UNTL^784-By!kQn4^W)Al*S)W-f=w%>c z8LJlb9Xx*ox&mr3sB+L%pzAQ!g)T8HO7xb3z5%KP#0luzp_8Gf89hztZp70{P(o1o zpe}>F0P-Bjvmlc|oCFaMA`Wj&u$rK4h4u+FkD-2y{)eEhfyx7w4eBDuD>rV=wF*^B`V7 zW2`C=hd}c&)CS@ph-8~ZZL?oa3_@`ieJvQFnMoZ?gD`Z1NCbHahCX!PgRuwXX&C$Q zqJyyqZ_mTD-MkD6FFCdUOi*>?aybthr4mlgi887zKfj|aBBGs=(eh3zBEMLvEKnD(DlQn- zYc(U<@{lpNvGH<~VZ!vr9AYdDnhAPW%9|;jdw*bV_WkUEcSVIo;R|64g^TlHKfV|J znV(;ncUWGIs#;q7)g~Ddxp)L;<$bzQUG44@S@>JZulGB2PcXf7rHbd3o2bwUV?=Ro zp2shrH|w3Nn>MAY1P;Ej)h#I*ul%n{zf?ThVH%a$KEQkx^7R9NqADd z&^eum-lz+zm~vXDuZrO{c3yWpzm}D#%y?b1-Y;vvcvl*6*we9a&4Um&`O}G$9FQPU z2x`){pXu~JCHYYE(KplQB|m1gw#g-XOU=f)j5-g$J>}lpj#oN}EUq_Yv?JMjdn(f4 m{;ht?!41Ayn!mi=nRU(F_^;tqlxiS1AYs}mX{Wb4E9^fpKFodq literal 0 HcmV?d00001 diff --git a/css/msd/icons/progressbar_restore.gif b/css/msd/icons/progressbar_restore.gif new file mode 100644 index 0000000000000000000000000000000000000000..b9def1801b1526cc0a7994a823272242da45c077 GIT binary patch literal 680 zcmZ?wbhEHblw%NJc*el+bMMrjXAb?`T=w(m+Mfqz{aly)^X#FY+p2%=oAUF_!JkXL zex5z}bN|erD?@)CUG;Oh|Ic-4KbQIcJhtxVk<~xfCjH!6^K*Ub&jT}mZYlq{F6rmd zbw9V&{9G0Gb94F6y;FWJ_xrib@8`a$KX-Nf+&}B*&W@jJlYbst`*Ta#&#l!zkFNf? z)br=M)SoNEeqOxrbCCnX$ODQ$S-_sw0g<3MVPOB?pxe~k(%RPE#Kz6Y&BoZr-OI_@ z&B@5f$u_Nj*39WrY75nvnHQ@G2`yTC~i}fQ)Jk?bI*PTjvd=I zq&3(@Pn^~`d*T%Pxie=^YN)baXT6~+a$WWQ9m)H*@7$KWp&+jy_=^9P{JWR@Z(b{W ze);m%OT9mT|NUoR=92OFFu$vrLv%&Jih@Mv76DnM6vvH8&1|BYNn1`dIlGBTN3Lnu zuqefoL&bO9h6S5cyeH}S&a+T_;KDx3xcJ(V&W9{*bFEmfh&VL0a4dFr)rg(-WyQrs z9t*`}9UES8tmcu3Q7w4*>Y8BG;h?8p3P)Q+GA>(L%s%9JYkMy1+Z^fq{`h z2Pg?NL4kpp<*LC6&((V^UY|APIPj@7hGR~O`l6NF`*hRh75H4vkGN6t8Zw4OUp zj)$d!zpACC)-S58*}cFv->xI7vB%#-J&mK)x2s$zIbpi@tlG&<^YdL6soTv?;qOkW zikZP~GQqjCVflQIwDfH|+E;OG+-nk&f8fx>1db`k>raO7pV=3Fbe_D2%Y?1_ug9Ek fQsh=x{bJF^XD{Ebe)H~QK;)-H!|y*N1sSXX1rL76 literal 0 HcmV?d00001 diff --git a/css/msd/icons/search.gif b/css/msd/icons/search.gif new file mode 100644 index 0000000000000000000000000000000000000000..918abed8a39106a809edaa276a7dc7a386ebc902 GIT binary patch literal 991 zcmV<510eiINk%w1VGsZi0QXn`dR{$~qPMP^Z=!)k{rSb^xIT(-ORRt*nuA;Q_xzQ8 zRpFrl`~3d0!r1ofqU!JZ$FzppoCEaVgYC8+*y8r^&}yxiYO9Y_l5;`y$Rb%)guD*SE#Dl=tF~hipaYrvmcSYqFnl@$0yrhh6d1Y4Ou%@ziVP z*_E)HZLphe@WeyMk`}nAd(p&{lX_E-ZZ+`6MUHe%n}k~Fr~>-+!r`F;x|?K*aZ1vb z3FGSc)WCR`rn~5<0`SUE+vNAInr*I_YTf4d@Y{js?fTowsK29J`S|m?pKZ^$gy7l1 zy{m%o#YXJLP>`q8uer^9Uq0j7sokn1|NsA4Sy@_IT3cINTwGjTU0q&YUSD5dU|?Wj zVPRroVq;@tWMpJzWo2e&W@l$-XlQ6@X=!R|YHMq2Y;0_8ZEbFDZf|dIaBy&OadC2T za&vQYbaZreb#-=jc6WDoczAeud3kzzdV70&e0+R;eSLm@et&;|fPjF3fq{a8f`fyD zgoK2Jg@uNOhKGlTh=_=ZiHVAeii?YjjEszpjg5|uj*pLzkdTm(k&%*;l9Q8@l$4Z} zm6ev3mY0{8n3$NEnVFiJnwy)OoSdAUot>VZo}ZteprD|kp`oIpqNAguq@<*!rKP5( zrl+T;sHmu^si~@}s;jH3tgNi9t*x%EuCK4Ju&}VPv9YqUva_?Zw6wIfwY9dkwzs#p zxVX5vxw*Q!y1To(yu7@dCU$jHda z$;ryf%FD~k%*@Qq&CSlv&d<-!(9qD)(b3Y<($mw^)YR0~)z#M4*4Nk9*x1lt)=I7_<=;-L_>FMg~>g((4 z?Ck9A?d|UF?(gsK@bK{Q@$vHV^7Hfa^z`)g_4W4l_V@Sq`1ttw`T6?#`uqF){QUg= z{r&#_{{R2~A^8LW003A3EC2ui01yBW06+-50I>)hNU$J51pp8Lz)+xqg%K4B&=45l z2ZIC;C^P_IkRXl^D>68cFl0iB1wJ?m1VP2akq!tt3KXE>0TB)j0szo~!paO8A_y9Z z!eWC100#`@SP;QL!4MFNAm~8?!vG#i3PK1VK!8kv5Hv8jm?XdenF2guq`;vA01GFe zfOv8+NP{T`09<%Mpf3Rh1YOuLu>om;4+C~YxIr)l3>6|J445E NF%Hyd@>OO)06U&TKnDN- literal 0 HcmV?d00001 diff --git a/css/msd/icons/table_truncate.gif b/css/msd/icons/table_truncate.gif new file mode 100644 index 0000000000000000000000000000000000000000..fbcb3287d460565d031097db93aba93c60f752ad GIT binary patch literal 979 zcmV;^11$VUNk%w1VGsZi0QUd@VvFSc`NbPfw)X3y^xuQ+wjSD?1L2_o^y7{2%24#< zjPS})m3>w5(`S=`t|YDY5MiT`S|lpecFz6PWtn;x6b?Y)oZMPBDc-= zkZv_KXwCii!N-yoDqh9r*_G(10@K~`V36r&mhQ;8jE8JR(v}H)Uq0~Lfv(5+KyuZh zfkms2RQ&kD+s~cHw1)HSx#zt^=%)hdVZo}ZteprD|kp`oIpqNAguq@<*!rKP5( zrl+T;sHmu^si~@}s;jH3tgNi9t*x%EuCK4Ju&}VPv9YqUva_?Zw6wIfwY9dkwzs#p zxVX5vxw*Q!y1To(yu7@dCU$jHda z$;ryf%FD~k%*@Qq&CSlv&d<-!(9qD)(b3Y<($mw^)YR0~)z#M4*4Nk9*x1lt)=I7_<=;-L_>FMg~>g((4 z?Ck9A?d|UF?(gsK@bK{Q@$vHV^7Hfa^z`)g_4W4l_V@Sq`1ttw`T6?#`uqF){QUg= z{r&#_{{R2~A^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P2H8z$v{taY$4EFn@9lOHKb_(OjAZO*w=EU5PaW$ zn*d@v%FQ6|Ky|Vi-`84b?#E*ZW&(*}HWR7bWMUM3xey|=j09+a?K49ZPIQWe`YCpF za*&@$w0xL723crx87Wr!(v>3Xko;ATm7y$$tV~T!ijAdjEwT**SmLH_}=0+k$o&+B-+QYMDWzKRw?YUa)oQ}Iga&qGz zSe(2BG{VI{SeEaaf#XOn0fK392@mrS?%AWVVz=lUJ;^OT<+r#c>Dy90b7%IJc;=Bw z9KBI7C-%2sl>QmgsB>0v0 zWhH)9g^BD}Kk{4stCic*0-EZ*rGd5Dq=A6;9z_$-HD#s+^(|LRgNF7y13_cQ16$D4 fgH8(peQl*75RV%OnMq7r2%_@R!lvJ0u;2ax1LX2@ literal 0 HcmV?d00001 diff --git a/css/msd/pics/bg-buttons.gif b/css/msd/pics/bg-buttons.gif new file mode 100644 index 0000000000000000000000000000000000000000..1fb2865814990a6453937dc131de1a143d711a42 GIT binary patch literal 1298 zcmZ?wbhEHb+{d8K@STC-?c2BS-@pIx;lsy|A3uNo{N>A+uV24@|Ni~Qj~_pO{`~dp z*YDrI|NQy$_wV0-|Ni~||DRzLjE2B43IQFEUqE?*f#W{|BZrK~h6M+kIfS)hPHb3s zxLrWmYmUdpMMt|OjI-`&7&IL3S8(o<@!YiJM*De2T4&&|uu&bBCi zb?4;f<>%)+G;_&1Y*}$}vBzYs*i&0pUS1xs*lVuWR;|X>5u3B_p4z(l`uc>!U9#TW z*4*5j!M!5(^tQFPw--Dk^2y`?H_fM0Lc%hiPK`)g`E(+G z$;+qH6WTPN%}AM+`D|v!vX#$fC46E@(a9XE`4?7{c&&|EenZz=*>R=VoTLo zw;lIC?5OcufBXH9J$2{b|NhU|*woz8+ScCD+11_C+t)u~;w1JdQ>RUzF>}`JIdkXD zU$Ah|;w4KNmaka3YW146>(+1BxM}m2t=qQmVBWQR&)$9e4;(yn_{h;?$4{I*b(;I^ zx$_q;Ub=kc>b2`PZr-|m=k7h82M-@Te)9C$^A|5)y?*od-TMz8KYjl4_1pI!KOeCD z`TOrb12dP5$A$$5n>mEFVoq#W*wikd>@~+@FEZ^r{>&Tuib#-;b=B&G?wywUuKH+eetoODxH#cWoUKM+K+uGaP3pU!#@ZP@e?(T}uukN1S zzW)CH24-$KpB)<>9_|py)!#EKR>^~xm(V6*Or%; zR|Kz)JG*P^>+2hmPtWt+z3uJo9mTKjo!!0t{rv;Y-12^Vc6@w%VzPGpxjj2SKfkcp Nd%oY^s&@hm)&Rz)PJaLZ literal 0 HcmV?d00001 diff --git a/css/msd/pics/blank.gif b/css/msd/pics/blank.gif new file mode 100644 index 0000000000000000000000000000000000000000..076c7538e60cdfc58adf59c9f231302eaf5ab4a7 GIT binary patch literal 43 scmZ?wbhEHbWMp7uXkcLY|NlP&1B2pE7Dgb&paUX6G7d~kE{qJ;0Lp3yIRF3v literal 0 HcmV?d00001 diff --git a/css/msd/pics/h1_logo.gif b/css/msd/pics/h1_logo.gif new file mode 100644 index 0000000000000000000000000000000000000000..6dc5b429eb93dfe3a46528448c70a1b27efc7f82 GIT binary patch literal 3476 zcmV;F4Quj8Nk%w1VZHz|0QUd@Ff1+Rq)nQbnLRo?(%RgZmY1Zw!|Jzn=&)y5iI+=A zNd5i&`1ttF&d&My`TP6(#>U3T$jJQs{L9PB$H&L|`uak7iP6!~)YR0^&(G4*(&pyo z?(Xj5;^OV??d$97%E`*{@$vBR@bdEV?Ck8v#>V60gw$6+Tr8m=;`zG^Xc2i=c-!o@9)jl z+27ya^6>8O>f`O>*XQTw*4EZ+8L|yz=qz@$&N7 z*x2KjGt<)2>%)zlxWLNS+vm)w?djsf(A2WT$#9va>D9cbrl;}m?XRw`>f_n%?(TAM zapmXe<(@!fk)G`C?&O|8>9~09=ig>yW9r_{>)_GC!NJ|)g(<5fh1nv1sbp!KbCAWnyE$zP{+&$?);BgAu@9*5<;@{%qg(at>(a2y%*^WS?6|kLi;0Qr$eF~_*4x_Ja&U0#!i~MWz2M~K@$T#L@bA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8#;Fexgj57P7w1aH$pxH?lM4`6 zl+yE&bNU*6oDk2t*0&ylu6zCKHwb&!LtqE7-(UujFnc6sV0Jrvz3gJ20m)BJ_mhW! z?q7Gq$=#rLlarzc=>5RgKY-pI5dORz@VW@n8v@23-n=~k{CPhhdGiY1>yOVz4?OVS z#-mpRUk|ei5r@ed$?012B962)GAADUiVX-uHe4xyL;c z&UX9Uf1&ueFGUCxUiu!)It0#_bqGq&e1${*`68G#=w}_pvqeAFA;`Y}tb3q%=6|1& zrcb~6&t{MIyZ`<0kH7rqPyhPc|Ni*Tzy9~n|Ni^GrvMm$0yuyKSbzq2fC!j?3b=p_ z*nkfBfIT%25;%brSb-LJff$&98n}TR*nuASfgl)yA~=E!P=Y3Sf+(1RD!76y*n%$j zf-o3^GB|@YSc5j`063U~I=F*8*n>X!gFqOBLO6s(ScFD+gh-f#6|jU%*o02_gisiT zQaFWFScO)2g;|EYPg1M*oJQSh7u5mayW-{ zSci6ahj^HWdbo#t*oS`jhkzJ}g17*LScryrh=`boinxf3*ocmC_=u1giIO;plvs)T zaEX|hiJG{HoY;w;_=%txilR7*q*#ikc#5c)imJGZtk{aK_=>Q2iT^N*v{;L_c#F80 zi@Laryx5Dr_=~_8jKVmK#8`~Rc#O!HjLNu-%-D?1_>9mPjnX)c)L4zyc#Xsu5CA)u C3UQMF literal 0 HcmV?d00001 diff --git a/css/msd/pics/loveyourdata.gif b/css/msd/pics/loveyourdata.gif new file mode 100644 index 0000000000000000000000000000000000000000..ddcc647c48663b5e8b7be0ee7599df489028ba5f GIT binary patch literal 6340 zcmW-ki$7D3~~Ms9Pz zvr%qQqmo-$$fd-TB4OXp@Av!@UXRD~@pwIrO;73QI^F<6ffW(Z-1EviyZAy_LRQO* zXinYTymIpZc=B!Ir=(*)mX}%Cg$~iF%fEla6%E(o*#QOR2k$&O8xVE+QS|I+*F>E5 zxu94hzwq6zUL!B^9zEj}abL_%je2Gjj1_tu^$PyIx~g|Ku=>sWnQz}t`A6PN&D-bx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^mJ}MNG5TGm={N3q*Hy3@C4Y8;%aFp)v zWKco?WmKZ&%n1%`K$lNwpk!E%p{>VmHL+fn*kjd1EP@f0CkelmB#W*0;_b=!JSu63 zO!`6wsp9=NxO}2`{}u(1l|&%)LB$m033Y@wfFLUjn9W1g0BI1w*T6{ezJaZguf3T3 zAQrlZgYe>DZgU39Si~iY*bx{wKq0rmeI5Xj$v~ri-)_c^3z`TYGUS)$D95jymzYBnk;_`c7;5;D(Y0hKYV`XSPTLoKeSs08EY+|8p zS>P|Sn3pc{Dx>TO8`;4CJp`|~=BRlgGMmnqfP2|&0x|{y_@n`Oye=D5<&%Cgh$k8E z{P?773QikFUK4SMhJ31;!&+DOgdXv!)=Q~9jcC3*BG7n3}6%>4l#(k=$!!! z|A-D9FH-$() z3hrLi^u*rwYHs(8FiL45JR3-(3}ktoh27@Au%qZ zm`MPNw^dWYqk@VsGeQ}S1odu7E}aw8M2d=u^#bS-zf~~{`Adl3=%{ZI;!~Kf40`dU zTtp8?T#t6{cm}~z2xB!80mN|h}p zOC?UiM4S+Ock_E04csq4bn!t;D)<=21+jo0pa)AM-J*gs`^Bf&s0wv5RvyZsi?wPX z?w1hS?Rz`T33D*A)d9Z&0Hai4@y$0(5f|md!n~lNj0A`vA%2P3V?=J#qllH!dW?ji z%K~&l9m!^6dZroty#4A$ z@3Dk{Z=ARbA#z{6r>V>N!Pu*Fg5&k#)7TqkoRrRuGw?BrV0D|bg!CAqs{Zq=GnggdZE~+ S`sSCB_unpZ?2rgR|Nj8-YN{3h literal 0 HcmV?d00001 diff --git a/css/msd/pics/navi_bg.jpg b/css/msd/pics/navi_bg.jpg new file mode 100644 index 0000000000000000000000000000000000000000..018cbddfd5c5ca4be04bc9756063476d3db42c5d GIT binary patch literal 4132 zcma)9c{Cf^)=v=8)U2qXlNzd~OU*NFxhSe;f=kRX&y}i{8cNYBQS((ahKi|#2wL-8 za|lu~q!mLNHB?cb`@ZkH@Aa+s$J=L}z4qCAuf6vo_+1S}wnYp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W;p=}&ZTOJG=fc(^PbpuBR`jg286$to=?&(rzAemJ@v;j*$cEk86W7`4)z zAP&ma8wqrlGQp z+7R`D#pNc*g(_zSe5?E0jqs9%hqnoyRBD(@%|W5_$hRB)_r<;>oB%v!+JY^#twu^N6sm{j2k0KUKEApowZkgs{rG3dfE~Pjqoxxq#yh8>jh+j zSdUa+^WVl;FE}T)1fxkYN(Lz$>7Tc?y+VS(5cUt)TvOIvxsj?44S9)B0q>UJ>WVn2 zv~~4Cp&y8zdU0>%&JZPRA@&52Of^Ej!?%@ANJm$11jY@!=dMKu3AUTgZ@9=gT$P&1 z5!2!g(ea82#zI=^wB=6#mfU*lwVztNIympyE|YPExaQeo{WlHwO;(^HNWO@J>cHmU zDCcKsCjj3`$zWWl&*Q_`hDxt{`sHp#jZWqPcSCIu>M0Gw%f@?Cy~;bdD5R@^lx*`5 zv?(XS&~DDh&B?uHigxoVEm02%nm(%jw5y%%71lwb$=|&_zetyzm}0uP;ZK z!+x%$g^fZ6rG_}(vEmH@H%aR&noq!8H986^wT;H@tmFjqDGTt-=~wPg!GAl#zm`{R zO{G-X!~@oI=S3>FE`}T2;CDgfMP#W8b(mHGyD0u5k!oTS6U(w;Vc#p81@Ya_If6@_ z;g7Ed=Ur;()K!u`y$(ty9S+kIRzBt-Nwp2~RQ`Q0rr0JW;%MTPMByg0%%k{t6xHI2^R5XuUG=pm%zRKinxx)b`y&4@;QOC2 z{4WWtq&A_ + @author Ingo Wagener , Daniel Schlichtholz, Christian Gresshoener + @date 2008-02-28 13:39:07 + @lastmodified 2009-09-15 00:19:30 + @media screen and projection +*/ +*,.nomargin { + margin: 0; + padding: 0; +} + +label { + cursor: pointer; +} + +img { + border: 0; + padding: 0; + margin: 0; +} + +body { + font: 12px/1.5 Verdana, Helvetica, sans-serif; /* Important IE Bugfix: No spaces in font-attribute between px and slash */ + border-top: 5px solid #256777; + background: #fff url(pics/bg-body.gif) repeat-x 0 5px; +} + +body.content { + min-width: 540px; + padding: 0 18px; +} + +.menu-frame { + background-color: #FFF; + color: #000; +} + +/* LINKS */ +a { + color: #256777; +} + +a:hover { + color: #E87B00; + text-decoration: none; +} + +a.ul { + text-decoration: underline; +} + +/* general */ +#pagetitle { + color: #256777; + font-size: 1.8em; + padding-top: 2px; + margin-bottom: 20px; + border-bottom: 1px solid #c7c7c7; +} + +#server0 { + position: absolute; + bottom: 4px; + text-align: center; + left: 10px; + color: #000; +} + +#server1 { + position: absolute; + right: 16px; + text-align: center; + padding: 10px; +} + + +.small { + font-size: 11px; +} + +.ssmall { + font-size: 10px; +} + +.success { + color: green; + font-weight: bold; +} + +.error { + color: #E87B00; + background-color: yellow; + font-weight: bold; +} + +.explain { + text-decoration: none; + border-bottom: 1px dotted; +} + +.explain:hover { + cursor: help; +} + +.active_db { + font-weight: bold; + border-bottom: 1px dotted; + color: #9AA2B1; +} + +table { + color: #000; +} + +table.bdr,.bdr { + border: 1px solid #ddd !important; + border-collapse: collapse !important; +} + +table td { + text-align: left; + vertical-align: top; + padding: 0 6px; + font-size: 12px; +} + +table th { + padding: 0 6px; +} + +/* MENU */ +#menu { + text-align: left; + position:absolute; + margin: 0px; + top: 154px; + left:0; + width:190px; + height:160px; +} + +#menu ul { + margin: 0px 0 0 0; + list-style: none; + background-color: transparent; +} + +#menu ul li { + border-bottom: 1px solid #ddd; +} + +#menu ul a { + padding: 0 10px; + display: block; + line-height: 2; + text-decoration: none; + outline: none; +} + +#menu ul a:hover { + background: #eee; + text-decoration: none; +} + +#menu ul li.active { + border-bottom: 1px solid #256777; +} + +#menu ul li.active a,#menu ul li.active a:hover { + color: #E87B00; + font-weight: bold; + text-decoration: none; + background: transparent; +} + +#menu ul li.icon-holder { + margin-top: 3em; + border-bottom: 0; + text-align: center; +} + +#menu ul li strong { + text-align: left; + color: #256777; + font: normal normal .8em/1.4em verdana, sans-serif; + display: block; +} + +fieldset { + margin: 10px; + padding: 5px; + border: 1px solid #ddd; + color: #256777; +} + +body.content legend { + font-weight: bold; +} + +body.menu fieldset p { + margin: 5px 0 0; + text-align: center; +} + +/* MAIN */ +#topnavi { + list-style: none; + margin: 10px 0 20px; +} + +#topnavi li { + float: left; + margin-right: 6px; +} + +#topnavi li a { + float: left; + font: 1.1em verdana, arial, sans-serif; + border: 1px solid #ddd; + background: url(pics/bg-buttons.gif) repeat-x; + color: #E87B00; + padding: 3px 6px; + vertical-align: bottom; + cursor: pointer; + text-decoration: none; + white-space: nowrap; +} + +#topnavi li a span { + color: #256777; +} + +#topnavi li a:hover { + color: #256777; +} + +#topnavi li a:hover span { + color: #E87B00; +} + +#content p { + margin: 10px 0; +} + +/*Tabellen */ +table tr.dbrow { + background: #FCFDFD; +} + +table tr.dbrow1 { + background: #F8FAFB; +} + +table tr.dbrowsel { + background: #F9F3ED; + color: #256777; +} + +table tr.dbrowsel a:hover { + color: #E87B00; +} + +table td.treffer { + background: #000; +} + +/* Treffer bei der MySQL-Suche */ +table tr.dbrow .treffer,table tr.dbrow1 .treffer { + color: yellow; + background-color: #E87B00; +} + +table.border { + border: 1px solid #738C88; +} + +table td.sum { + background-color: red; + font-weight: bold; + text-align: right; +} + +table tr.thead th,table tr.thead td { + background: url(pics/bg-buttons.gif) repeat-x; + border: 1px solid #ddd; + color: #256777; +} + +#configright table a { + font-size: 11px; + color: #E87B00; +} + +#configright table tr.dbrowsel a { + color: #E87B00; +} + +.tdcompact { + width: 100px; + height: 16px; + overflow: hidden; + font-size: 11px; +} + +.tdnormal { + white-space: nowrap; + padding: 1px; +} + +.sqlheadmenu a { + +} + +/* FORM-Elements */ +#content .Formbutton,#content .ConfigButton,#content .ConfigButtonSelected,#content .Formtext { + margin: 0px 6px 0px 0px; + font: 1.1em verdana, arial, sans-serif; + border: 1px solid #ddd; + background: url(pics/bg-buttons.gif) repeat-x; + color: #E87B00; + line-height: 14px; + padding: 2px; + white-space: nowrap; + overflow: visible; + text-decoration: none; +} + +#content a.Formbutton { + padding: 3px 6px; + vertical-align: bottom; +} + +.Formbutton { cursor: pointer; } +.Formbutton:disabled { cursor: default; } + +#content .Formtext { + overflow: hidden; + cursor: text; +} + +#content .ConfigButtonSelected { + color: #256777; +} + +#content .ConfigButton,#content .ConfigButtonSelected { + width: 160px; + margin-bottom: 4px; + cursor: pointer; +} + +#content .SQLbutton { + font-size: 11px; + background: #E4E9E8; + cursor: pointer; +} + +/* htaccess edit area */ +#content textarea #thta { + font-size: 11px; + color: blue; + width: 400px; + height: 300px; + overflow: scroll; +} + +#content textarea { + width: 100%; + background: #FFF; +} + +input.radio,input.checkbox { + background-color: transparent; +} + +/* Colors for Formelements */ +input.text,input.small { + border: 1px solid #256777; + background: #fff; + color: #000; +} + +select { + background: #FFF; + color: #000; +} + +textarea { + background: #B3C2C0; + color: #4E5665; +} + +/* disabled textarea when editign rows in SQLBrowser */ +.off { + background-color: #ccc !important; +} + +/* for Geckos */ +input[disabled] { + color: #888 !important; + border: 1px solid #CAC8BB !important; +} + +/*horizontal menu */ +#hormenu ul { + border-bottom: thin solid #D5DDDC; + margin-bottom: 8px; + width: 80%; +} + +#hormenu ul li { + display: inline; +} + +#hormenu ul li a { + font: 11px/20px verdana, sans-serif; + text-decoration: none; + color: #4E5665; + padding: 0 14px; + border: 0; +} + +#hormenu ul li a:hover { + color: #E87B00; +} + +#hormenu ul li#active a { + font: bold 11px/ 20px verdana, sans-serif; + text-decoration: none; + color: #E87B00; + float: left; + padding: 0 14px; +} + +#hormenu ul li#active a:hover { + color: #E87B00; +} + +/* special elements */ +.MySQLbox { + font-size: 10pt; + padding: 0px; + background: #000; + color: #fff; + border: thin solid #999999; + height: 200px; + width: 100%; + text-align: left; + overflow: auto; +} + +#content #sqlheaderbox,.sqlbox-warning { + white-space: nowrap; + vertical-align: top; + padding: 8px; + background: url(pics/bg-buttons.gif) repeat-x; + border: 1px solid #ddd; + color: #256777; + line-height: 22px; +} + +#sqlheaderbox .Formbutton { + line-height: 14px; + padding: 2px; + margin: 0px; +} + +#sqltextarea { + margin-right: 30px !important; + width: 100% !important; + overflow: auto; +} + +#content #sqleditbox { + border: 1px solid #738C88; + background: #EEEEEE; + margin-bottom: 10px; +} + +#content #sqleditbox form { + margin: 10px; +} + +#content #sqleditbox p { + background: #A5B6B4; + font-weight: bold; + text-align: center; +} + +#content #sqlnewbox { + border: 1px solid #738C88; + background: #E4E9E8; +} + +#content #sqlnewbox p { + background: #A5B6B4; + font-weight: bold; + text-align: center; +} + +#content #sqloutbox { + font-size: 11px; + width: 700px; + padding: 6px; + background: #D5DDDC; + border: 1px solid #738C88; + overflow: auto; +} + +#content p.autodel { + font-size: 11px; + border-bottom: 1px dashed #fff; + margin-bottom: 12px; +} + +#content .Logbox { + font: 12px/1.2 "Courier New", Courier, monospace; + padding: 6px; + border: 1px solid #ddd; + height: 320px; + width: 90%; + text-align: left; + overflow: auto; +} + +#content .Logbox span { + color: #738C88; +} + +#content .backupmsg { + padding-left: 20px; + font-size: 11px; +} + +#content .backupmsg .success,#content .backupmsg a { + color: #999; + font-size: 11px; +} + +#content .backupmsg .error { + color: red; +} + +/* TEXT */ +h1 { + font-size: 16px; +} + +h5 { + font-size: 1.7em; + font-weight: normal; + color: #256777; + margin: 20px 0 10px; +} + +h6 { + font-size: 1.5em; + font-weight: normal; + color: #256777; + margin: 10px 0; + padding-left: 4px; + background: url(pics/bg-headings.gif) repeat-x; +} + +/* Config */ +#configleft { + float: left; + width: 180px; +} + +#configleft .Formbutton { + width: 160px; + margin: 4px 0; +} + +#configright { + margin-left: 180px; +} + +#footer { + margin-top: 36px; + padding: 10px 0; + border-top: 1px solid #eee; + font-size: 10px; + text-align: right; +} + +#version { + position:absolute; + top:60px; + left:0; + margin:0; + padding:0; + height:90px; + color: #4E5665; + z-index:10; +} +.version-line +{ + position:absolute; + top:-20px; + left:0; + width:190px; + text-align:center; + font: 11px/20px verdana, sans-serif; +} + +#version a:link, +#version a:active, +#version a:hover, +#version a:visited +{ color: #4E5665; } + + +#selectConfig +{ + position:absolute; + top:360px; + left:0; + width:190px; + height: 196px; + z-index:5; +} + +#footer a { + text-decoration: none; +} + +#footer a:hover { + text-decoration: underline; +} + +#ilog { + border: 1px solid #ddd !important; + padding: 12px; + background-color: #fcfcfc; +} + +.right { + text-align: right; +} + +.center { + text-align: center; +} \ No newline at end of file diff --git a/css/msd_green/icons/arrow_down.gif b/css/msd_green/icons/arrow_down.gif new file mode 100644 index 0000000000000000000000000000000000000000..825c9e80204868c4813fdbbb9a7f3e3eed3fb2b5 GIT binary patch literal 859 zcmV-h1El;%Nk%v~VGIBb0QUg^|Ns90005Mfl!SzY|NopqLPE~YoSb6-&YS@M&H(>X zQvUz|oB#lvoMX;00LI3~|NqYaoX-FM{}U4v6ciK{6%`g178e&67#J8C85tTH8XFrM z92^`S9UUGX9v>ecARr(iAt53nA|oRsBqSsyB_$>%CMPE+C@3f?DJd!{Dl021EG#T7 zEiEoCE-x=HFfcGNF)=bSGBYzXG&D3dH8nOiHa9mnI5;>tIXOByIy*Z%JUl!-Jv}}? zK0iM{KtMo2K|w-7LPJACL_|bIMMXwNMn^|SNJvOYNl8jdN=r*iOiWBoO-)WtPESuy zP*6}&QBhJ-Qd3h?R8&+|RaI72R##V7SXfwDSy@_IT3cINTwGjTU0q&YUSD5dU|?Wj zVPRroVq;@tWMpJzWo2e&W@l$-XlQ6@X=!R|YHMq2Y;0_8ZEbFDZf|dIaBy&OadC2T za&vQYbaZreb#-=jc6WDoczAeud3kzzdV70&e0+R;eSLm@et&;|fPjF3fq{a8f`fyD zgoK2Jg@uNOhKGlTh=_=ZiHVAeii?YjjEszpjg5|uj*pLzkdTm(k&%*;l9Q8@l$4Z} zm6ev3mY0{8n3$NEnVFiJnwy)OoSdAUot>VZo}ZteprD|kp`oIpqNAguq@<*!rKP5( zrl+T;sHmu^si~@}s;jH3tgNi9t*x%EuCK4Ju&}VPv9YqUva_?Zw6wIfwY9dkwzs#p zxVX5vxw*Q!y1To(yu7@dCU$jHda z$;ryf%FD~k%*@Qq&CSlv&d<-!(9qD)(b3Y<($mw^)YR0~)z#M4*4Nk9*x1lt)=I7_<=;-L_>FMg~>g((4 z?Ck9A?d|UF?(gsK@bK{Q@$vHV^7Hfa^z`)g_4W4l_V@Sq`1ttw`T6?#`uqF){QUg= z{r&#_{{R2~A^8LW00000EC2ui01N;P00#&-009UbNU$IP0}Kop9Eeci!h;DPLUg#W lp+N%*En*zVfWbrn9T_HUXi;Rthy@XLq?mG}#DxI?06Vnhv#J09 literal 0 HcmV?d00001 diff --git a/css/msd_green/icons/arrow_up.gif b/css/msd_green/icons/arrow_up.gif new file mode 100644 index 0000000000000000000000000000000000000000..701b71411077d650d4a0823bf7101b6730623e00 GIT binary patch literal 857 zcmV-f1E%~(Nk%v~VGIBb0QUg^|Ns90005Mfl!SzY|NopqLPE~YoSb6-&YS@M&H(>X zQvUz|oB#lvoMX;00LI3~|NqYaoX-FM{}U4v6ciK{6%`g178e&67#J8C85tTH8XFrM z92^`S9UUGX9v>ecARr(iAt53nA|oRsBqSsyB_$>%CMPE+C@3f?DJd!{Dl021EG#T7 zEiEoCE-x=HFfcGNF)=bSGBYzXG&D3dH8nOiHa9mnI5;>tIXOByIy*Z%JUl!-Jv}}? zK0iM{KtMo2K|w-7LPJACL_|bIMMXwNMn^|SNJvOYNl8jdN=r*iOiWBoO-)WtPESuy zP*6}&QBhJ-Qd3h?R8&+|RaI72R##V7SXfwDSy@_IT3cINTwGjTU0q&YUSD5dU|?Wj zVPRroVq;@tWMpJzWo2e&W@l$-XlQ6@X=!R|YHMq2Y;0_8ZEbFDZf|dIaBy&OadC2T za&vQYbaZreb#-=jc6WDoczAeud3kzzdV70&e0+R;eSLm@et&;|fPjF3fq{a8f`fyD zgoK2Jg@uNOhKGlTh=_=ZiHVAeii?YjjEszpjg5|uj*pLzkdTm(k&%*;l9Q8@l$4Z} zm6ev3mY0{8n3$NEnVFiJnwy)OoSdAUot>VZo}ZteprD|kp`oIpqNAguq@<*!rKP5( zrl+T;sHmu^si~@}s;jH3tgNi9t*x%EuCK4Ju&}VPv9YqUva_?Zw6wIfwY9dkwzs#p zxVX5vxw*Q!y1To(yu7@dCU$jHda z$;ryf%FD~k%*@Qq&CSlv&d<-!(9qD)(b3Y<($mw^)YR0~)z#M4*4Nk9*x1lt)=I7_<=;-L_>FMg~>g((4 z?Ck9A?d|UF?(gsK@bK{Q@$vHV^7Hfa^z`)g_4W4l_V@Sq`1ttw`T6?#`uqF){QUg= z{r&#_{{R2~A^8LW00000EC2ui01N;P00#&*009UbNU$IP0|*TYG{B&t0fP)9GI%&J jqQ!{=8y>`{apA*=2PqN+sc@r6h!{(fRJgLF!GHieR0Fh; literal 0 HcmV?d00001 diff --git a/css/msd_green/icons/arrowdown.gif b/css/msd_green/icons/arrowdown.gif new file mode 100644 index 0000000000000000000000000000000000000000..32d7ceb398e28330cc2c87cdf1ec8e0c73585366 GIT binary patch literal 65 zcmZ?wbhEHb6krfwXkY+=|Ns9h{$ycfU|?j>0r5dH3``O|{VPwuS2@!(; literal 0 HcmV?d00001 diff --git a/css/msd_green/icons/arrowleft.gif b/css/msd_green/icons/arrowleft.gif new file mode 100644 index 0000000000000000000000000000000000000000..560043d1693cad7535eb07b168bada343b23b9df GIT binary patch literal 878 zcmZvbKWGzi6vw~y4`h&9q=E@8DDn#^4(0|GYziW@znse6ZpbfDllClTM&Vj0g0) z^xBk)qCwORY6+?#Dhk3uk$TK{NMFD0H%q=MQB4=aPqKNgQ+5^AQVtVIC)sd$?~v>nn5)|C4^8YI(b+`V9-q9 zhOiYZCl8A-21$Z2gi>(Qo^i~fPwlZU*~{EIVVLG9=D=syV_Q-QHgLi)O&v4#>3j4f zrJ%@mH*^}{Wd*C*`TN&$HJI;$XL_w)9X=2hlU-+N|!B%>?jr{lgYus!T$dK z-rnBs?(X*Xb`(XOPA3S0_4V~;v$?vu>bmaA%8G5cxnW^ju zZe)_(#B$*QrV4ZN^X1mU+Y8qp^=_WO_v+kyY2o|E`){vjFFu|t#P0o<^VPB`Os+0% mJb&2v`Dx9S@2=Iq%>I71HF$IDY4qaK+OMx4&YnJnyZ-^^rL;Bx literal 0 HcmV?d00001 diff --git a/css/msd_green/icons/arrowup.gif b/css/msd_green/icons/arrowup.gif new file mode 100644 index 0000000000000000000000000000000000000000..e9eba1fbab6eeb15b5fd53003be4c2b8002aaa5e GIT binary patch literal 64 zcmZ?wbhEHb6krfwXkY+=|Ns9h{$ycfU|?j>0r5dH3{2uZ{VPwu<(KYYjL6u0dd|o7 OHA=42o>hu4SOWm~%o3Xb literal 0 HcmV?d00001 diff --git a/css/msd_green/icons/blank.gif b/css/msd_green/icons/blank.gif new file mode 100644 index 0000000000000000000000000000000000000000..076c7538e60cdfc58adf59c9f231302eaf5ab4a7 GIT binary patch literal 43 scmZ?wbhEHbWMp7uXkcLY|NlP&1B2pE7Dgb&paUX6G7d~kE{qJ;0Lp3yIRF3v literal 0 HcmV?d00001 diff --git a/css/msd_green/icons/browse.gif b/css/msd_green/icons/browse.gif new file mode 100644 index 0000000000000000000000000000000000000000..e52271a20506f29f1a5152f7f0caae34d9e13bd8 GIT binary patch literal 995 zcmV<9104KENk%w1VGsZi0QUd@HA!Q#!q~3A)cf$SlcKkfr_}W0jQ#n=jiSt&x9arc zjhw5&=%)fUN@VuyqNB3M@zZDRwjP(JyNYp2%)N}8gj)Oh^_qiQ&$xutzx|?L`@A~ZU`{vn|^wn#>qg>P9_3`xl@bvtUr_`F<+!7Cp>eL5YIVZo}ZteprD|kp`oIpqNAguq@<*!rKP5( zrl+T;sHmu^si~@}s;jH3tgNi9t*x%EuCK4Ju&}VPv9YqUva_?Zw6wIfwY9dkwzs#p zxVX5vxw*Q!y1To(yu7@dCU$jHda z$;ryf%FD~k%*@Qq&CSlv&d<-!(9qD)(b3Y<($mw^)YR0~)z#M4*4Nk9*x1lt)=I7_<=;-L_>FMg~>g((4 z?Ck9A?d|UF?(gsK@bK{Q@$vHV^7Hfa^z`)g_4W4l_V@Sq`1ttw`T6?#`uqF){QUg= z{r&#_{{R2~A^8LW003zKEC2ui01yBW000QU0MiH@NU&g<009IbL@2=fu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H9~w?vt>es1%o~a G2mm{uV7bKr literal 0 HcmV?d00001 diff --git a/css/msd_green/icons/delete.gif b/css/msd_green/icons/delete.gif new file mode 100644 index 0000000000000000000000000000000000000000..131f69e7bb0e0c964c80f133af8561618267591f GIT binary patch literal 944 zcmV;h15f-%Nk%w1VGsZi0QUd@t~)!`JUp;FJMoT;y*xa$JUqobJnn^pDUN$h=l;$dL2J3HoVYuQLhzC1kFLPGJ8kJmvz*hfdT zJUr@ncgQVZo}ZteprD|kp`oIpqNAguq@<*!rKP5( zrl+T;sHmu^si~@}s;jH3tgNi9t*x%EuCK4Ju&}VPv9YqUva_?Zw6wIfwY9dkwzs#p zxVX5vxw*Q!y1To(yu7@dCU$jHda z$;ryf%FD~k%*@Qq&CSlv&d<-!(9qD)(b3Y<($mw^)YR0~)z#M4*4Nk9*x1lt)=I7_<=;-L_>FMg~>g((4 z?Ck9A?d|UF?(gsK@bK{Q@$vHV^7Hfa^z`)g_4W4l_V@Sq`1ttw`T6?#`uqF){QUg= z{r&#_{{R2~A^8LW0027xEC2ui01yBW000P$0Cxx+NU)&6g9jm4C^%q-K?pT&j2OsZ z1BU|^uxOF)2oS;N&$Lhl Sb^tpNtwFT{@ghVR5CA(M-UEjK literal 0 HcmV?d00001 diff --git a/css/msd_green/icons/edit.gif b/css/msd_green/icons/edit.gif new file mode 100644 index 0000000000000000000000000000000000000000..bfa895cf311613c09018c8063ae70fba2ecd276d GIT binary patch literal 985 zcmV;~119`ONk%w1VGsZi0QUd@?Y18M`Nj6@qS~AT^xuQwp#k*cjOeHW@XAo|%2Bo_ z8H#aAu9|I=dQ-S17Ot3T^lU@?_{7Y;jJHfoYH@g)gIk+~T87VL@WeyEqg z_u`M+%BYTXPUW~hdR{&Al6fYO7m{;9^wn#)sC((-$+e+z^3-dk9v-@%ZSm7*blOdE z%}ctQWRU({d|y7Ifkn~8lfNYVg~E=)AkqmI?A=I5V6c=20x>*_Fk&l)%Kr@Wn=7rbkx5C2*ot^y7{2 z#zm`-RC2pcjqjYF*Z+YiRsGeruj)>CK-^k6@o`+qe*_qV9c*nGc$C4I@Y(+1Y z9>}?jjk30|n{D~{^Y`oPif~J;fFf+uNsw+eQ%gee*V6z0|9^jffPjF3fq{a8f`fyD zgoK2Jg@uNOhKGlTh=_=ZiHVAeii?YjjEszpjg5|uj*pLzkdTm(k&%*;l9Q8@l$4Z} zm6ev3mY0{8n3$NEnVFiJnwy)OoSdAUot>VZo}ZteprD|kp`oIpqNAguq@<*!rKP5( zrl+T;sHmu^si~@}s;jH3tgNi9t*x%EuCK4Ju&}VPv9YqUva_?Zw6wIfwY9dkwzs#p zxVX5vxw*Q!y1To(yu7@dCU$jHda z$;ryf%FD~k%*@Qq&CSlv&d<-!(9qD)(b3Y<($mw^)YR0~)z#M4*4Nk9*x1lt)=I7_<=;-L_>FMg~>g((4 z?Ck9A?d|UF?(gsK@bK{Q@$vHV^7Hfa^z`)g_4W4l_V@Sq`1ttw`T6?#`uqF){QUg= z{r&#_{{R2~A^8LW004dfEC2ui01yBW000QK0R0FYNU)&6f@wBPI9RX`76=ZAFdVoh zgq0pCCi?MmL`@9^R3^5d@#2S>Ee1^lnRDR`5IrKk+$dN?LXtK+n6QxJLq-WL1j_^n zFh;|ZD_tTCHA3(N2_0yZILU#7gOm>q2-XRMf)52c2>=`zGQb1D2V9nb5kMeplmY|r z5M+a)i2=3<#KMI^(1MK>cM0SbQlJV5f;_}zaFb=q3@C8&>`_sW%o_$37Q`75!$pUI H0RaFz?te=g literal 0 HcmV?d00001 diff --git a/css/msd_green/icons/gz.gif b/css/msd_green/icons/gz.gif new file mode 100644 index 0000000000000000000000000000000000000000..f0adfe5aa5a13ba5136ac4f91db2b80d208234e8 GIT binary patch literal 1468 zcmV;t1w;BrNk%w1VITk?0Qdg@9gD~^o!D(=sIlDhHi*gO>-2o9%~XoRIG^9j;^TR< z+wbx9>i7Roqt`8z)rh&`q_(!a+SLF6i6WcYai+HmSEOad_A-CPEP}{kqO>MxyO_G> zw#nH|d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index 0000000000000000000000000000000000000000..678cc1d5e5f258713de7145778b786c2e2afb2c6 GIT binary patch literal 1003 zcmZ?wbhEHb6krfw_|Cxa<$m+G*Nfh6lbgI~`@@BdA5H~+{r;zS(U}R$FR$Bw<=59k zHy(YPwf)tX$34&A{(7;T>BBMCFOPd~&0)SZoB6}3fJZNXuHSj~|^KdT)zMH+U=(wFQ@NV zQT_YF`VY4oKVHfF`{VG76-?Op^Zbe}CwCpb^6ci+OVc>-KKuUa{jXWuUVr=f z_rsSzeT&XqzW4RP&4b6cv~?AFO)7SrkZ0PS<2qsam8v+~zdw&|I&{O-Gnru&49XBt z{K>+|z)-=U19BZGPdIR#VED)(xO{z<1>;yX%=TpEEGM;Z)VOjD*U X44%+3TQTBBMCFOPd~&0)SZoB6}3fJZNXuHSj~|^KdT)zMH+U=(wFQ@NV zQT_YF`VY4oKVHfF`{VG76-?Op^Zbe}CwCpb^6ci+OVc>-KKuUa{jXWuUVr=f z_rsSzeT&XqzW4RP&4b6cv~?AFO)7SrkZ0PS<2qsam8v+~zdw&|I&{O-Gnru&49XBt z{K>+|z)-=U19BZGPdIQKX86b<Su1;1#Fnlag_-swF;_*P7v^6Vr=%9#1xk^k)de;o2F(T(*gyDOi3$N&mEGN Rp7zRE7%ZzfAS}RO4FIssN=yI% literal 0 HcmV?d00001 diff --git a/css/msd_green/icons/key_nokey.gif b/css/msd_green/icons/key_nokey.gif new file mode 100644 index 0000000000000000000000000000000000000000..e5cfa65fd00877391ef9a9ed7a82c8bde468167b GIT binary patch literal 547 zcmZ?wbhEHb6krfwc*ekR{rdF>4<0OAw(QcSOS^XM3JMC^y?ghB2@{SUJz7&!)7aR! za^=dcTep7t^l9S6iFI{#XU?2izI=I4PtUt|@2aY*X3Ut8nwr|t(b3h_)!EtU=jWH6 zo_^rKf$iJ3FI>1VA|hhu%$Y?+Mf>;fcXV_-e*F0K>C>BfByXY_wPS^ z`0&S%AMNe!uV24zX=#azi`%wsTX%Q&ix)3WoH%j%^yzu?=7oiYtzNzQ>({RzKYl!N zcRYhhrK6XF-)V&^t( zGASf88gT* p*|uoNu485sRG4kvB4%OjIPK|1HRVBBMCFOPd~&0)SZoB6}3fJZNXuHSj~|^KdT)zMH+U=(wFQ@NV zQT_YF`VY4oKVHfF`{VG76-?Op^Zbe}CwCpb^6ci+OVc>-KKuUa{jXWuUVr=f z_rsSzeT&XqzW4RP&4b6cv~?AFO)7SrkZ0PS<2qsam8v+~zdw&|I&{O-Gnru&49XBt z{K>+|z)-=U19BZGPcU%oXZXk=8*-`xHh@e*aj+DwrOO701bj-N5rNF(hNiZR8 zg+Nm}gS1An)fa){<$YIITg=+_=7rJ`E@hup3W^e}PTg#b3?c#_8V<1VvrKk4AfWj6 zmUy&EgF?iS)2+L*SThtA4zfG)1_do(b!gOWG%De^w_%YoyQG+D${PW}_I5{e=Usay OGP55OX=G$%um%8MDoY~( literal 0 HcmV?d00001 diff --git a/css/msd_green/icons/key_unique.gif b/css/msd_green/icons/key_unique.gif new file mode 100644 index 0000000000000000000000000000000000000000..5dfe8325fdadb133d55edeb0854899c37e4cb41e GIT binary patch literal 1001 zcmZ?wbhEHb6krfw_+G*A<$m+G*Nfh6lbgI~`@@BdA5H~+{r;zS(U}R$FR$Bw<=59k zHy(YPwf)tX$34&A{(7;T>BBMCFOPd~&0)SZoB6}3fJZNXuHSj~|^KdT)zMH+U=(wFQ@NV zQT_YF`VY4oKVHfF`{VG76-?Op^Zbe}CwCpb^6ci+OVc>-KKuUa{jXWuUVr=f z_rsSzeT&XqzW4RP&4b6cv~?AFO)7SrkZ0PS<2qsam8v+~zdw&|I&{O-Gnru&49XBt z{K>+|z)-=U19BZGPdIQKWBAA+5CsF?s_w!` z-n!=%TVJ*AeABn!LCpXEf0jN@`+tAI?ZqMc-_6|kqVCD=hX3!+zCJVW>7K^_zu*1; z|DS;}p!k!8k%2*rK?h_E$WIJxEe=xyI5foCPb?HHwNmSB@b>(&(_%8iVaJbwGCU2- zxdLX$1hsoA{$WYsVw=2hLSiyIuUE$}nsWTZu>w{o&b2yv)z2uZMTE@fn5lH+GlVBweBvPp2ufrEleTicEuKhl!q H$Y2csXB3RO literal 0 HcmV?d00001 diff --git a/css/msd_green/icons/nokey.gif b/css/msd_green/icons/nokey.gif new file mode 100644 index 0000000000000000000000000000000000000000..0a3caa67bf23998c087d03ca603c93af3fa9c96d GIT binary patch literal 1299 zcmZ?wbh9u|lx0w4_|DJp@87@IXXj3uwe|e+q`#l%Zm2h&G;wlfN^C=Q*|KFzeqYGH zaN+#(XHRzR+Vy>@!~g&Pe^@ayjDpb+7%m~8_>+Z^fq|bv2jn48o^a>*&!Ff~;qZa6 znUzD_K;y)QM8`&61_p~84hk%tj4~Dh4Gs;B%zQdh5hperY+~b;kny>Y(7?nh#=WN` zz(Ki*l~1xOW)x4{!Uq{Q+lU))^JvKMWp9|?b*0N(zh$fIYI~QgNe8bmTSyvxNceYs zbwaaFs1*PF$)A%~>j(yIopmXpVZm+oYpFF0_W%FqFDbwf$S05{>!{(#>KOWw*Mor} zne#&o<8R)U1b-fego(`zCd(NZWgA5GB|+=}g#xfWvE-U8rH=;fQ8r z7ZG5{F_9GuiAa=e5Mnl4b~Mb#<8~^|RulSRNk%57kL5BedK=KSs(sTM(o_@=( c%)I3mOUpeO1%Z}FFKVx8E`4=s8!Lk~0Hm54!~g&Q literal 0 HcmV?d00001 diff --git a/css/msd_green/icons/ok.gif b/css/msd_green/icons/ok.gif new file mode 100644 index 0000000000000000000000000000000000000000..1ca168e4041e46a42fa36302e495e64ba4e17b8b GIT binary patch literal 138 zcmV;50CoRINk%w1VGsZi0J9GOoVaAG=w`C*ZN&V3rQ=}A?wH8`fz9!px$|?;^P#`^ zdDZr(+4-yB{j=Tsu>b%6A^8LW000jFEC2ui01yBW000Cx@X1N5y*O(Mz?Ohvcp5Ma s4T%AY;;2&xA_xP6g3#s54JLtLAmNK02!unCQz$GevX691l|%plJI1I!q5uE@ literal 0 HcmV?d00001 diff --git a/css/msd_green/icons/openfile.gif b/css/msd_green/icons/openfile.gif new file mode 100644 index 0000000000000000000000000000000000000000..898764012b6c2d30d5877c96799bda200d6eb5bc GIT binary patch literal 941 zcmZ?wbh9u|6krfw_|C`x1poj42a|LD|6lt1=d|x1I{$y4^5IG4|Ia=DKhHV0C;I>E zmjBONuJ5pabkP6*p{P(+@mKO2+KOXh}ddvUc-$AyHg3%Bd1R126PetE)tF5<6ec>cvM?*WxWnmqh`m#@dD0b!kQWCTm?!aBcrMHgp2{O8{SOWmJ+Ir&v literal 0 HcmV?d00001 diff --git a/css/msd_green/icons/progressbar_dump.gif b/css/msd_green/icons/progressbar_dump.gif new file mode 100644 index 0000000000000000000000000000000000000000..c57f75e1a139ecb86135bef9dcf933aaf0c450fb GIT binary patch literal 502 zcmZ?wbhEHb)L;-`xXQr5uxJLuqM3p#7iex?opk!B>;4^8S1-8j-_d>NdeznQNvDqp ztXxoi^+Mw5qgtC+yYAnvxn*_IsUy`_&v)Osk#y>4;^`xro7Z&Rx$d@qd)2k`f-4pz zo;s?zWsTszqQ3R zwI%GV>>aFK{9WyBZLAVKto-bg`#aes+9wOLaEZFh0F3FyV*51%LDATD>==svD&WWaG1(v@`Tmo35(fP zHrrL4W>;BlR&v^`K6|jo&^E8(g zvobNU^z^Vy6cn5w)yE>)-#cqcACut3UKVZ%Hg0BKZf-W_HLID|uG+xM#=CLF2DUY9 z5?j`CiEtg_}3p59l|dTG_o_uGTbRhI49T4^F|`boc|X373pOo1J>4MLtWk)C!5RREtB48! literal 0 HcmV?d00001 diff --git a/css/msd_green/icons/progressbar_speed.gif b/css/msd_green/icons/progressbar_speed.gif new file mode 100644 index 0000000000000000000000000000000000000000..c8cd9dc771639b5836cccad7c301c815b60a30be GIT binary patch literal 484 zcmZ?wbhEHb)L;-`xXQqAhJoQ}TH5Wvzz@~c|7XrTV{H7hxA$3E+9iAYOAhvz>>Ymg z_I#+S{@K&}p}Oj4PtWbZpxZ%#cLD=%2L-*auD;~paM{8Bvc3I}p57n5y+3+--d9!s z=av5w8Do?8)m3+b0vTun6o0aS4b}mXAU`p%{dZ_6@X(R!Ke43fq=?wO z3oA;z<~A+iVp%k4t%_c!i`c?|mV>vtt|_^doDp}a*6DCz5pGoJ-_QN8UO-8xtX@z^ zsI;O%pn-{T0y{h7hk5n#rOb+aa*G%7tX{HX z1wR`bFE{VrJ=|=&xn&L?IJoo^>o;!Ry2dNP&3*64NhvnT{ktz7 zmfC;*@G)-5qq|pa-o`Aw_}e1s?OXmXSsr2;ag{50xi`Cc?W-*Xlb!r#NI7OKNuQ|9 z*em4w;c^H6!fpvgkA@Eidz$#7PN^ttcJr3d)zt4P+qRbOxRi#sPbr%z;5V6X-N DfN`z* literal 0 HcmV?d00001 diff --git a/css/msd_green/icons/rename.gif b/css/msd_green/icons/rename.gif new file mode 100644 index 0000000000000000000000000000000000000000..c55d78ea2b89edc9f733cf32e552503f251186c4 GIT binary patch literal 296 zcmZ?wbh9u|RA5kG*v!uW1Px%^0Hzv%yao_BaNxjyp!k1=|6mG816e?z_>+Z^fq{`h z2Pg?NL4kpp<*LC6&((V^UY|APIPj@7hGR~O`l6NF`*hRh75H4vkGN6t8Zw4OUp zj)$d!zpACC)-S58*}cFv->xI7vB%#-J&mK)x2s$zIbpi@tlG&<^YdL6soTv?;qOkW zikZP~GQqjCVflQIwDfH|+E;OG+-nk&f8fx>1db`k>raO7pV=3Fbe_D2%Y?1_ug9Ek fQsh=x{bJF^XD{Ebe)H~QK;)-H!|y*N1sSXX1rL76 literal 0 HcmV?d00001 diff --git a/css/msd_green/icons/search.gif b/css/msd_green/icons/search.gif new file mode 100644 index 0000000000000000000000000000000000000000..26e0cd408b16178aa0b289e9039e2a9b8d873f4c GIT binary patch literal 540 zcmZ?wbhEHb6krfwcoxF&4+#DP!9N*IS6MB$oT7%X*zA3WPy0m{h9{Lzn7*{QvhCmB ze_y|R{qyI~xr^7`{Nrj{r*%$P@axyF?Yj=_-gjin&O__B?B2Qe_@^(QzJB{wQq{I? z*OB6imiO;JEL^(g?c2A%e*Sd!Pd|J9>Zebi{{HzpVd^}fmDA_0lGb#-e)FERx?N~Y z&cta;vx^!VI%c~1#x7X4$;2W0%a<<}4xz_RUOaT{oV141@87>$d*}TB_piBQ@~4j< z?>=~voLwcQX5Y|0&Dt&D{G}ToK79QD_uu>X@0YCFx_aZTxRj!oFJCTRzVYGX=N~?N z`2OSPkMG|@6U%_qj~_paYx{tHW*7uO@h1x-149Ud4#+K_IALI~YzS#;ZfR{13(^;o zXlrqB_hk%Z=jsjd61NBrW?(RN>(!GA;A7;OtJ}+JBk8AZ#T0DV>!IMvD;&(EYS}9- z;-g}$=)x~J%|KMn(^=V3V_FECfUJ&*wvpMz7I}Lmr`yeH<{VlNo2)hcZJ&p5Gjn>s NwPTTa+tSEj4FIDy(VhSR literal 0 HcmV?d00001 diff --git a/css/msd_green/icons/table_truncate.gif b/css/msd_green/icons/table_truncate.gif new file mode 100644 index 0000000000000000000000000000000000000000..fbcb3287d460565d031097db93aba93c60f752ad GIT binary patch literal 979 zcmV;^11$VUNk%w1VGsZi0QUd@VvFSc`NbPfw)X3y^xuQ+wjSD?1L2_o^y7{2%24#< zjPS})m3>w5(`S=`t|YDY5MiT`S|lpecFz6PWtn;x6b?Y)oZMPBDc-= zkZv_KXwCii!N-yoDqh9r*_G(10@K~`V36r&mhQ;8jE8JR(v}H)Uq0~Lfv(5+KyuZh zfkms2RQ&kD+s~cHw1)HSx#zt^=%)hdVZo}ZteprD|kp`oIpqNAguq@<*!rKP5( zrl+T;sHmu^si~@}s;jH3tgNi9t*x%EuCK4Ju&}VPv9YqUva_?Zw6wIfwY9dkwzs#p zxVX5vxw*Q!y1To(yu7@dCU$jHda z$;ryf%FD~k%*@Qq&CSlv&d<-!(9qD)(b3Y<($mw^)YR0~)z#M4*4Nk9*x1lt)=I7_<=;-L_>FMg~>g((4 z?Ck9A?d|UF?(gsK@bK{Q@$vHV^7Hfa^z`)g_4W4l_V@Sq`1ttw`T6?#`uqF){QUg= z{r&#_{{R2~A^8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;MvLdiNPKl)5zSl@EDZkkr(n^NoNT)5x)$$l9;%P$YkLBQ#y z)Q{D>3(AA&HN1|7*UnXbG=NXRr?RUNoz>NMxyUH)!`W)kh^sbN9RzV3?v|RQfaT1m z`-u&=4Phtxsfkk#C~IeY8xMX&H&O7GofxSXo=?OBTR-vkM)9V+ z(w*jb`!>KyO!HI{&!dLt*HJIRJ%R(c80XTxsodIi?&&%1nNEy7os0G7HW9e~QPt-@ zwVXF<4RC3tN0m1XHkug1j;hL549c@8t$V$BUmLaEh-&im$6J!0ggaMc0lb^GZOl(? zESI)8BYwPpn|~@knD%U?y)MfcMfYyKXw?45r9I~{KQ9%(x28S6v;E0jd;VNo7Pb7q zVB?Q8d^58=v9lv~qiv5ZHsz<%V8f~yWyhYMI$=?r9gjP^QagKW+k;)IvWPWJhTMDj zj>5-XPiwj)on22JcfdZO$6UH){@vq0bx%fh&){)ffBb?imX=)5J?7t;;>~*z)${Uk z&#He9?I`}YPdzR8-rtRS|8nVlXWP5!-@BaJ{kf)lWv+K?qZdfS4;+PB=n&={go}po zg^=23NFxnjYAZmy3iQqi^p6Q*$Q?!zrN%>o;Jfu^#zG6bPAga8qW3e=W1-#WZp5#` Y#ZN*9W0Cqf5g|gPnI;-ABmge|1z|&1I{*Lx literal 0 HcmV?d00001 diff --git a/css/msd_green/pics/loveyourdata.gif b/css/msd_green/pics/loveyourdata.gif new file mode 100644 index 0000000000000000000000000000000000000000..076c7538e60cdfc58adf59c9f231302eaf5ab4a7 GIT binary patch literal 43 scmZ?wbhEHbWMp7uXkcLY|NlP&1B2pE7Dgb&paUX6G7d~kE{qJ;0Lp3yIRF3v literal 0 HcmV?d00001 diff --git a/css/msd_green/pics/mainnavi.gif b/css/msd_green/pics/mainnavi.gif new file mode 100644 index 0000000000000000000000000000000000000000..23547e33a5731b8f3d806845e917609e69e769a4 GIT binary patch literal 1748 zcmV;_1}phTNk%w1VUPh(0K^*r!NknJ!pgh9$ji>uy1vKJ(%8w%(!RmU#K+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(@51R9w=uD?N*U8RycB3IOjHf*3 zNzZz|5T5qTr#|<|&wl!Ym%c(vq6=q$o|PN>?fuHP-Q^Fpa59XG+tW+VnAZ6r@gf%F~|u q^rt`#Dr*S&$f6qcs7Ot!QkTk9rfor%KhT4sSmp002Ano%a|3 literal 0 HcmV?d00001 diff --git a/css/msd_green/pics/navi_bg.jpg b/css/msd_green/pics/navi_bg.jpg new file mode 100644 index 0000000000000000000000000000000000000000..5b956ed9db516d145892a3653c700d60167e51ca GIT binary patch literal 21264 zcmbTd19WDww>bLM#*|arwmY@WueLp%y3=-QcWT?VZQGvOwqNI`d)LGN-u3p$NwSr* zb5^pGoaB5gef$9+ONmK}0YE?j0OQXK@No+GBI0CZu>a2c z2mO-|gA4#bf`I?EiF@%iK)xxB#=mPrL-P6jkvzIwF zJw_rJjwpW>!Jr{vKVLG`Uu!>6z!xGW6mUUBgJ03as1V4P4%y6%)!oxVN`^5cXoOq7 zIRf_IduCXaXUX)hYK%zHAyGj-t@(UqpY{5LzlHoQLeSt+(E<5aG+}miH{?z4d(T_Qm@A8Pk?8(yH||PbKgFhZQrpekR3i~A9LeW*avAdcRC9zG?jtKMCEqC( z@@SAxOooFx^#CKadnLgP3N{jzy=)@OZzD%f_z6bEn1)4k6vE3f{o7e$FR!24 zkCr^FfE=(q0BbhulUVpQS?o~`9Pwt&3U>a&*v7hC??%MXiz!GPx8+xyPHc({kAx3E zG2TYU>AC$5Z=AR)jL$I^6rQ8nS?`#;Q46yUqQndJ$-t|;S*llRH`PiU z`1+rSaRY8NeD$_%s1tX0?>b$a6R4A4ymWf0R(IXzZ)*+{HW(OE^o01m&Tv|0Hc?q{ z+jPU8@qpAv#+p9glS`eUe~egjb`?BjFA% z)xpwvQ^qaP-)1wCcYg&z{^&w)a7cOTjX`*p-;1W*jwa2bG?BApb$)iPJ%iG+II0Ah z(npn-7A=xOqnRse`kgT_9qKQHg&j08Ib@fN5(}Q6qEZ zl5UYRlw?baOfq8JP$T@?%>m$Z#r9c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 00:21:30 + @media screen and projection +*/ +*,.normargin { + margin: 0; + padding: 0; +} + +img { + border: 0; +} + +body { + font: 12px/1.5 Verdana, Helvetica, sans-serif; /* Important IE Bugfix: No spaces in font-attribute between px and slash */ + color: #4E5665; + background: #C7D1D0; +} + +body.content { + min-width: 540px; +} + +.menu-frame { + font: 12px/1.5 Verdana, Helvetica, sans-serif; + background-color: #738C88; + color: #eee; +} + +/* LINKS */ +a { + color: #4E5665; + text-decoration: underline; + font: 12px verdana, sans-serif +} + +a:hover { + color: #E87B00; + text-decoration: none +} + +a.ul { + text-decoration: underline; +} + +/* general */ +#pagetitle { + font-size: 1.5em; + font-weight: bold; + background: url(pics/pagetitle.gif); + background-repeat: repeat-x; + letter-spacing: 2px; + color: white; + padding: 2px 6px; + border-bottom: 1px solid #A9AFBB; + height: 26px; + overflow: hidden; +} + +#server0 { + position: absolute; + bottom: 4px; + text-align: center; + left: 10px; + color: white; +} + +#server1 { + position: absolute; + right: 16px; + text-align: center; + padding: 10px; +} + +a.server { + color: #333333; + font-size: 10px; +} + +a.server:hover { + text-decoration: underline; + color: white; +} + +.version { + display: block; + position: absolute; + top: 31px; + left: 0; + width: 190px; + z-index: 5; + text-align: center; + font-size: 11px; + font-weight: bold; +} + +.small { + font-size: 11px; +} + +.ssmall { + font-size: 10px; +} + +.success { + font-weight: bold; +} + +.error { + color: red; + font-weight: bold; +} + +.explain { + text-decoration: none; + border-bottom: 1px dotted; +} + +.explain:hover { + cursor: help; +} + +.active_db { + font-weight: bold; + border-bottom: 1px dotted; + color: #9AA2B1; +} + +table td { + text-align: left; + vertical-align: top; + padding: 0 6px; +} + +table th { + padding: 0 6px; +} + +table.bdr,.bdr { + border: 1px solid #ddd !important; + border-collapse: collapse !important; +} + +/* MENU */ +#wrapmenu { + background: url(pics/pagetitle.gif) #A9AFBB; + background-repeat: repeat-x; +} + +#db-select { + font: 12px Verdana, Helvetica, sans-serif; + color: #4E5665; + background: #A9AFBB; +} + +#menu { + position:absolute; + margin: 0px; + top: 222px; + left:0; + width:190px; + height:160px; + background-color: #738C88; + border-top: 1px solid #9AA2B1 +} + +#menu ul { + list-style: none; +} + +#menu ul li { + height: 20px; +} + +#menu ul li a { + display: block; + position: relative; /*fuer den ie*/ + font: 11px/20px verdana, sans-serif; + text-decoration: none; + color: #4E5665; + background: url(pics/mainnavi.gif) repeat-x 0 -20px; + padding: 0 15px; + height: 20px; + text-align: left; +} + +#menu ul li a:hover { + color: #fff; + background: url(pics/mainnavi.gif) repeat-x 0 0px; +} + +/*der aktive link in der navi*/ +#menu ul li.active a { + font-weight: bold; + color: #fff; + background: url(pics/mainnavi.gif) repeat-x 0 -40px; + display: block; +} + +#menu p,#menu p a { + color: #fff; + line-height: 1.5; + font-size: 11px; +} + +#version { + position:absolute; + top:30px; + left:0; + margin:0; + padding:0; + height:191px; + color: #4E5665; + z-index:10; + border-top:1px solid #A9AFBB; +} +.version-line +{ + position:absolute; + top:-1px; + left:0; + width:190px; + text-align:center; + font: 11px/20px verdana, sans-serif; +} + +#version a:link, +#version a:active, +#version a:hover, +#version a:visited +{ color: #4E5665; } + + +#selectConfig +{ + position:absolute; + top:380px; + left:0; + width:190px; + height: 196px; + z-index:5; +} + +table.bdr,.bdr { + border: 1px solid #4E5665 !important; + border-collapse: collapse !important; +} + +#db-selectbox,#config-selectbox { + position: relative; + top: 0px; + width: 190px; + background: transparent; + text-align: center; + font: 11px/1.5 Verdana, Helvetica, sans-serif; + color: white; +} + +#db-selectbox a,#config-selectbox a { + font: 11px/1.5 Verdana, Helvetica, sans-serif; + color: white; + text-decoration: underline; +} + +#db-selectbox a:hover,#config-selectbox a:hover { + text-decoration: none +} + +fieldset { + margin: 10px; + padding: 5px; + border: 1px solid #ddd; + color: #256777; +} + +body.content legend { + font-weight: bold; +} + +body.menu fieldset p { + margin: 5px 0 0; + text-align: center; +} + +#configSelect legend,#dbSelect legend,#dbSelect a { + font: 11px/1.5 Verdana, Helvetica, sans-serif; + color: #eee; +} + +/* MAIN */ +#topnavi { + list-style: none; + margin: 10px 0 20px; + padding: 5px 0px; +} + +#topnavi li { + float: left; + margin-right: 6px; +} + +#topnavi li a { + float: left; + font: 0.8em verdana, arial, sans-serif; + border: 1px solid #4E5665; + background-color: #A9B2B1; + color: #4E5665; + margin: 3px; + padding: 3px 23px 4px 23px; + cursor: pointer; + text-decoration: none; + white-space: nowrap; +} + +#topnavi li a span { + display: none; +} + +#content { + margin-left: 12px; + background-color: #C7D1D0; +} + +#content p { + margin-bottom: 8px; +} + +/*Tabellen */ +table tr.dbrow { + background: #E4E9E8; +} + +table tr.dbrow1 { + background: #D5DDDC; +} + +table tr.dbrowsel { + background: #fff; +} + +table td.treffer { + background: #000; +} + +/* Treffer bei der MySQL-Suche */ +table tr.dbrow .treffer,table tr.dbrow1 .treffer { + color: yellow; + background-color: #738C88; +} + +table.bordersmall,table.border { + border: 2px solid #738C88; + width: 84%; +} + +table.border th,table.bordersmall th { + font-size: 11px; + color: #738C88; +} + +table tr.thead th,table tr.thead td { + background-color: #A5B6B4; + color: #738C88; + border: 1px solid #738C88; +} + +table.border tr.thead,table.bordersmall tr.thead { + height: 24px; +} + +table td.sum { + background-color: red; + font-weight: bold; + text-align: right; +} + +table.bordersmall input,table.bordersmall select,table.bordersmall td,#sqlheaderbox select + { + border: 1px solid #738C88; + font-size: 11px; +} + +.tdcompact { + width: 100px; + height: 16px; + overflow: hidden; + font-size: 11px; +} + +.tdnormal { + white-space: nowrap; + padding: 4px; +} + +.sqlheadmenu a { + +} + +/* FORM-Elements */ +#content .Formbutton,#content .Formtext { + white-space: nowrap; + margin: 6px; + font: 10px verdana, sans-serif; + border: 1px solid #4E5665; + background: #A9B2B1; + color: #4E5665; + padding: 2px 10px; + cursor: pointer; + overflow: visible; + text-decoration: none; +} + +#content a.Formbutton { + padding: 2px 23px 3px 23px; +} + +label { + cursor: pointer; +} + +.Formbutton { + cursor: pointer; +} + +.Formbutton:disabled { + cursor: default !important; +} + +#content .Formtext { + padding: 2px; + overflow: hidden; + cursor: text; +} + +#content .SQLbutton { + font-size: 11px; + background: #E4E9E8; + cursor: pointer; +} + +#content textarea #thta { + font-size: 11px; + color: blue; + width: 400px; + height: 300px; + overflow: scroll; +} + +#content textarea { + width: 100%; + background: #B3C2C0; +} + +input.radio,input.checkbox { + background-color: transparent; +} + +/* Colors for Formelements */ +input.text,input.small { + background: #B3C2C0; + color: #4E5665; +} + +select { + background: #B3C2C0; + color: #4E5665; +} + +textarea { + background: #B3C2C0; + color: #4E5665; +} + +/* for Geckos */ +input[disabled] { + color: #888 !important; +} + +/*horizontales Men� */ +#hormenu { + +} + +#hormenu ul { + border-bottom: thin solid #D5DDDC; + margin-bottom: 8px; + width: 80%; +} + +#hormenu ul li { + display: inline; +} + +#hormenu ul li a { + font: 11px/20px verdana, sans-serif; + text-decoration: none; + color: #4E5665; + padding: 0 14px; + border: 0; +} + +#hormenu ul li a:hover { + color: #E87B00; +} + +#hormenu ul li#active a { + font: bold 11px/20px verdana, sans-serif; + text-decoration: none; + color: #E87B00; + float: left; + padding: 0 14px; +} + +#hormenu ul li#active a:hover { + color: #E87B00; +} + +/* spezielle Elemente */ +.MySQLbox { + font-size: 10pt; + padding: 6px; + background: #000; + color: #fff; + border: thin solid #999999; + height: 200px; + width: 80%; + text-align: left; + overflow: auto; +} + +#content #mysqlbox { + border: 1px solid #738C88; + background: #D5DDDC; +} + +#content #sqlheaderbox,.sqlbox-warning { + white-space: nowrap; + vertical-align: top; + padding: 8px; + border: 1px solid #738C88; + color: #256777; + line-height: 22px; +} + +#sqlheaderbox .Formbutton { + line-height: 12px; + padding: 2px; + margin: 0px; +} + +#sqltextarea { + width: 100% !important; + overflow: auto; + background-color: #B3C2C0; +} + +#content #sqlheaderbox { + white-space: nowrap; + height: 20px; + vertical-align: middle; + padding-top: 2px; +} + +#content #sqleditbox { + border: 1px solid #738C88; + background: #E4E9E8; + margin-bottom: 10px; +} + +#content #sqleditbox form { + margin: 10px; +} + +#content #sqleditbox p { + background: #A5B6B4; + font-weight: bold; + text-align: center; +} + +#content #sqlnewbox { + border: 1px solid #738C88; + background: #E4E9E8; +} + +#content #sqlnewbox p { + background: #A5B6B4; + font-weight: bold; + text-align: center; +} + +#content #sqloutbox { + font-size: 11px; + width: 700px; + padding: 6px; + background: #D5DDDC; + border: 1px solid #738C88; + overflow: auto; + height: 240px; +} + +#content p.autodel { + font-size: 11px; + border-bottom: 1px dashed #fff; + margin-bottom: 12px; +} + +#content .Logbox { + font: 12px/1.2 "Courier New", Courier, monospace; + padding: 6px; + border: thin solid #738C88; + height: 320px; + width: 90%; + text-align: left; + overflow: auto; +} + +#content .Logbox span { + color: #738C88; +} + +#content .backupmsg { + padding-left: 20px; + font-size: 11px; +} + +#content .backupmsg .success,#content .backupmsg a { + color: #999; + font-size: 11px; +} + +#content .backupmsg .error { + color: red; +} + +/* TEXT */ +h1 { + font-size: 16px; +} + +h5 { + font-size: 14px; + margin: 12px 0; +} + +h6 { + font-size: 11px; + background: #D1D4DC; + border: 1px solid #9AA2B1; + text-indent: 12px; + margin: 8px 0; +} + +/* Config */ +#configleft { + float: left; + width: 160px; + margin-top: 24px; +} + +#configleft .Formbutton { + width: 130px; + margin: 8px 0; +} + +#configleft .ConfigButton { + width: 130px; + font-size: 11px; + background: #E4E9E8; + cursor: pointer; +} + +#configleft .ConfigButtonSelected { + width: 130px; + font-size: 11px; + background: #D5DDDC; +} + +#configright { + font-size: 11px; + margin-left: 160px; +} + +#configright fieldset { + border: 1px solid #D5DDDC; + padding: 12px; + width: 90%; +} + +#configright legend { + color: #646968; + margin: 8px 0; +} + +#footer { + font-size: 11px; + text-align: center; + border-top: 1px dashed #eee; + margin-top: 36px; +} + +#footer a { + font-size: 11px; +} \ No newline at end of file diff --git a/dump.php b/dump.php new file mode 100644 index 0000000..e26c3aa --- /dev/null +++ b/dump.php @@ -0,0 +1,452 @@ +0) ? $config['minspeed']:50); + $dump['dump_encoding']=(isset($_POST['dump_encoding'])) ? urldecode($_POST['dump_encoding']):''; + + if (isset($_GET['sel_dump_encoding'])) + { + // Erstaufruf -> encoding auswerten + include_once ('./inc/functions_sql.php'); + get_sql_encodings(); + $encodingline=$config['mysql_possible_character_sets'][$_GET['sel_dump_encoding']]; + $encoding=explode(' ',$encodingline); + $dump['dump_encoding']=isset($encoding[0]) ? $encoding[0]:$encodingline; + } + include ('./inc/define_icons.php'); + $dump['tabellen_gesamt']=0; +} + +$mp2=array( + +'Bytes','Kilobytes','Megabytes','Gigabytes'); + +FillMultiDBArrays(); +if ($databases['db_actual_tableselected']!=''&&$config['multi_dump']==0) +{ + $dump['tblArray']=explode('|',$databases['db_actual_tableselected']); + $tbl_sel=true; + $msgTbl=sprintf($lang['L_NR_TABLES_SELECTED'],count($dump['tblArray'])); +} +// Korrektur -> Multi-DB-Array ist gefuellt (damit die Infos in der Konfig nicht verloren gehen), aber Multidump ist nicht aktiviert) +if ($config['multi_dump']==0) +{ + unset($databases['multi']); + $databases['multi']=array(); + $databases['multi'][0]=$databases['db_actual']; +} +else +{ + // wenn Multidump aktiviert ist, aber keine DB gewaehlt wurde -> aktuelle DB uebernehmen + if (!isset($databases['multi'][0])) $databases['multi'][0]=$databases['db_actual']; + // find correct dbindex -> take dbname from $databases['multi'] and get the correct index + // from $databases['Name'] -> needed to set $dump['dbindex'] for first run of command_before_dump + $dump['dbindex']=$flipped[$databases['multi'][0]]; +} + +//Zeitzähler aktivieren +$dump['max_zeit']=intval($config['max_execution_time']*$config['time_buffer']); +$dump['startzeit']=time(); +$xtime=(isset($_POST['xtime'])) ? $_POST['xtime']:time(); +$dump['countdata']=(!empty($_POST['countdata'])) ? $_POST['countdata']:0; +$dump['aufruf']=(!empty($_POST['aufruf'])) ? $_POST['aufruf']:0; +MSD_mysql_connect($dump['dump_encoding']); +if ($dump['table_offset']==-1) ExecuteCommand('b'); + +// only read tableinfos the first time and save it to session to speed up backing up process +if (!isset($_SESSION['dump'])) getDBInfos(); + +$num_tables=count($dump['tables']); + +if ($config['optimize_tables_beforedump']==1&&$dump['table_offset']==-1) $out.=sprintf($lang['L_NR_TABLES_OPTIMIZED'],$num_tables).'
'; +$dump['data']=''; +$dump['dbindex']=(isset($_POST['dbindex'])) ? $_POST['dbindex']:$flipped[$databases['multi'][0]]; + +//Ausgaben-Header bauen +$aus_header[]=headline('Backup: '.(($config['multi_dump']==1) ? 'Multidump ('.count($databases['multi']).' '.$lang['L_DBS'].')':$lang['L_DB'].': '.$databases['Name'][$dump['dbindex']].(($databases['praefix'][$dump['dbindex']]!='') ? ' ('.$lang['L_WITHPRAEFIX'].' '.$databases['praefix'][$dump['dbindex']].')':''))); +if (isset($aus_error)&&count($aus_error)>0) $aus_header=array_merge($aus_header,$aus_error); + +if ($num_tables==0) +{ + //keine Tabellen gefunden + $aus[]='

'.$lang['L_ERROR'].': '.sprintf($lang['L_DUMP_NOTABLES'],$databases['Name'][$dump['dbindex']]).'

'; + if (!$config['multi_dump']==1) + { + echo $pageheader; + echo get_page_parameter($dump); + echo implode("\n",$aus); + echo ''; + exit(); + } +} +else +{ + if ($dump['table_offset']==-1) + { + // File anlegen, da Erstaufruf + new_file(); + $dump['table_offset']=0; // jetzt kanns losgehen + flush(); + } + else + { + // SQL-Befehle ermitteln + $dump['restzeilen']=$dump['anzahl_zeilen']; + WHILE (($dump['table_offset']<$num_tables)&&($dump['restzeilen']>0)) + { + $table=substr($dump['tables'][$dump['table_offset']],strpos($dump['tables'][$dump['table_offset']],'|')+1); + $adbname=substr($dump['tables'][$dump['table_offset']],0,strpos($dump['tables'][$dump['table_offset']],'|')); + if ($databases['Name'][$dump['dbindex']]!=$adbname) + { + //neue Datenbank + $dump['data'].="\nSET FOREIGN_KEY_CHECKS=1;"; + $dump['data'].="\n".$mysql_commentstring.' EOB'."\n\n"; + WriteToDumpFile(); + WriteLog('Dump \''.$dump['backupdatei'].'\' finished.'); + ExecuteCommand('a'); + if ($config['multi_part']==1) + { + $out.=$lang['L_FINISHED'].'
'; + $dateistamm=substr($dump['backupdatei'],0,strrpos($dump['backupdatei'],'part_')).'part_'; + $dateiendung=($config['compression']==1) ? '.sql.gz':'.sql'; + for($i=1;$i<($dump['part']-$dump['part_offset']);$i++) + { + $mpdatei=$dateistamm.$i.$dateiendung; + clearstatcache(); + $sz=byte_output(@filesize($config['paths']['backup'].$mpdatei)); + $out.=$lang['L_FILE'].' '.$mpdatei.' ('.$sz.') '.$lang['L_DUMP_SUCCESSFUL'].'
'; + } + } + else + { + clearstatcache(); + $out.=$lang['L_FINISHED'].'
'.$dump['backupdatei'].' ('.byte_output(filesize($config['paths']['backup'].$dump['backupdatei'])).')
'; + } + if ($config['send_mail']==1) DoEmail(); + + for($i=0;$i<3;$i++) + { + if ($config['ftp_transfer'][$i]==1) DoFTP($i); + } + if (isset($flipped[$adbname])) $dump['dbindex']=$flipped[$adbname]; + $dump['part_offset']=$dump['part']-1; + $out.='

'; + ExecuteCommand('b'); + new_file(); + } + + $aktuelle_tabelle=$dump['table_offset']; + if ($dump['zeilen_offset']==0) + { + if ($config['minspeed']>0) + { + $dump['anzahl_zeilen']=$config['minspeed']; + $dump['restzeilen']=$config['minspeed']; + } + + $create_statement=''; + $create_statement=get_def($adbname,$table); + + if (!($create_statement===false)) + { + $dump['data'].=$create_statement; + } + else + { + WriteToDumpFile(); // save data we have up to now + // error reading table definition + $read_create_error=sprintf($lang['L_FATAL_ERROR_DUMP'],$table,$adbname).': '.mysql_error($config['dbconnection']); + Errorlog("DUMP",$databases['db_actual'],'',$read_create_error,0); + WriteLog($read_create_error); + if ($config['stop_with_error']>0) + { + die($read_create_error); + } + $dump['errors']++; + } + } + WriteToDumpFile(); + if (!in_array($adbname.'|'.$table,$dump['skip_data'])&&$dump['table_types'][getDBIndex($adbname,$table)]!='VIEW') + { + get_content($adbname,$table); + $dump['restzeilen']--; + } + else + { + // skip data + if ($dump['table_types'][getDBIndex($adbname,$table)]!='VIEW') $dump['data'].='/*!40000 ALTER TABLE `'.$table.'` ENABLE KEYS */;'."\n"; + WriteToDumpFile(); + $dump['table_offset']++; + } + if ($config['memory_limit']>0&&strlen($dump['data'])>$config['memory_limit']) WriteToDumpFile(); + } + } + + ///////////////////////////////// + // Anzeige - Fortschritt + ///////////////////////////////// + if ($config['multi_dump']==1) + { + $mudbs=''; + $count_dbs=count($databases['multi']); + for($i=0;$i<$count_dbs;$i++) + { + if ($databases['Name'][$dump['dbindex']]==$databases['multi'][$i]) $mudbs.=''.$databases['multi'][$i].'   '; + else + $mudbs.=''.$databases['multi'][$i].'   '; + } + } + if ($config['multi_part']==1) $aus[]='
Multipart-Backup: '.$config['multipartgroesse1'].' '.$mp2[$config['multipartgroesse2']].'
'; + + $aus[]='

'.$lang['L_DUMP_HEADLINE'].'

'; + + if ($dump['kommentar']>'') $aus[]=$lang['L_COMMENT'].': '.$dump['kommentar'].'
'; + $aus[]=($config['multi_dump']==1) ? $lang['L_DB'].': '.$mudbs:$lang['L_DB'].': '.$databases['Name'][$dump['dbindex']].''; + $aus[]=(($databases['praefix'][$dump['dbindex']]!='') ? ' ('.$lang['L_WITHPRAEFIX'].' '.$databases['praefix'][$dump['dbindex']].')':'').'
'; + if (isset($tbl_sel)) $aus[]=$msgTbl.'

'; + + if ($config['multi_part']==1) + { + $aus[]='Multipart-Backup File '.($dump['part']-$dump['part_offset']-1).'
'; + $aus2=', '.($dump['part']-1).' files'; + } + $aus[]=$lang['L_DUMP_FILENAME'].''.$dump['backupdatei'].'
'.$lang['L_CHARSET'].': '.$dump['dump_encoding'].''. + + '
'.$lang['L_FILESIZE'].': '.byte_output($dump['filesize']).'

'.$lang['L_GZIP_COMPRESSION'].' '; + $aus[]=($config['compression']==1) ? $lang['L_ACTIVATED']:$lang['L_NOT_ACTIVATED']; + $aus[]='.
'; + if ($out>'') $aus[]='
'.$out.''; + + if (isset($dump['tables'][$dump['table_offset']])) + { + $table=substr($dump['tables'][$dump['table_offset']],strpos($dump['tables'][$dump['table_offset']],'|')+1); + $adbname=substr($dump['tables'][$dump['table_offset']],0,strpos($dump['tables'][$dump['table_offset']],'|')); + + // get nr of recorsd from dump-array + $record_string=$dump['records'][$dump['table_offset']]; + $record_string=explode('|',$record_string); + $dump['zeilen_total']=$record_string[1]; + + if ($dump['zeilen_total']>0) $fortschritt=intval((100*$dump['zeilen_offset'])/$dump['zeilen_total']); + else + $fortschritt=100; + + $aus[]=$lang['L_SAVING_TABLE'].''.($dump['table_offset']+1).' '.$lang['L_OF'].' '.sizeof($dump['tables']).'
'.$lang['L_ACTUAL_TABLE'].': '.$table.'

'.$lang['L_PROGRESS_TABLE'].':
'; + + $aus[]=''.''.''.''; + + if ($dump['anzahl_zeilen']+$dump['zeilen_offset']>=$dump['zeilen_total']) + { + $eintrag=$dump['zeilen_offset']+1; + $zeilen_gesamt=$dump['zeilen_total']; + if ($zeilen_gesamt==0) $eintrag=0; + } + else + { + $zeilen_gesamt=$dump['zeilen_offset']+$dump['anzahl_zeilen']; + $eintrag=$dump['zeilen_offset']+1; + } + + $aus[]=''.'
 '.($fortschritt).'%
'.$lang['L_ENTRY'].' '.number_format($eintrag,0,',','.').' '.$lang['L_UPTO'].' '.number_format(($zeilen_gesamt),0,',','.').' '.$lang['L_OF'].' '.number_format($dump['zeilen_total'],0,',','.').'
'; + + $dump['tabellen_gesamt']=(isset($dump['tables'])) ? count($dump['tables']):0; + + $noch_zu_speichern=$dump['totalrecords']-$dump['countdata']; + $prozent=($dump['totalrecords']>0) ? round(((100*$noch_zu_speichern)/$dump['totalrecords']),0):100; + if ($noch_zu_speichern==0||$prozent>100) $prozent=100; + + $aus[]="\n".'
'.$lang['L_PROGRESS_OVER_ALL'].':'."\n".''.''.''.'
'.(100-$prozent).'%
'; + + //Speed-Anzeige + $fw=($config['maxspeed']==$config['minspeed']) ? 300:round(($dump['anzahl_zeilen']-$config['minspeed'])/($config['maxspeed']-$config['minspeed'])*300,0); + if ($fw>300) $fw=300; + $aus[]='
'.'
'.'Speed
'.$dump['anzahl_zeilen'].'
'.''.'
'.''.'
'.''.''.'
'.$config['minspeed'].''.$config['maxspeed'].'
'."\n".'
'. + + //Status-Text + '

'.zeit_format(time()-$xtime).', '.$dump['aufruf'].' '.$lang['L_PAGE_REFRESHS'].$aus2; + $aus[]=($dump['errors']>0) ? ', '.$dump['errors'].' errors':''; + $aus[]='

'; + } + else + $dump['table_offset']++; + // Ende Anzeige + WriteToDumpFile(); + if (!isset($summe_eintraege)) $summe_eintraege=0; + + if ($dump['table_offset']<=$dump['tabellen_gesamt']) + { + $dauer=time()-($xtime+$dump['verbraucht']); + $dump['verbraucht']+=$dauer; + $summe_eintraege+=$dump['anzahl_zeilen']; + + //Zeitanpassung + if ($dauer<$dump['max_zeit']) + { + $dump['anzahl_zeilen']=$dump['anzahl_zeilen']*$config['tuning_add']; + if ($dauer<$dump['max_zeit']/2) $dump['anzahl_zeilen']*=1.8; + if ($dump['anzahl_zeilen']>$config['maxspeed']) $dump['anzahl_zeilen']=$config['maxspeed']; + } + else + { + $dump['anzahl_zeilen']=$dump['anzahl_zeilen']*$config['tuning_sub']; + if ($dump['anzahl_zeilen']<$config['minspeed']) $dump['anzahl_zeilen']=$config['minspeed']; + } + $dump['anzahl_zeilen']=intval($dump['anzahl_zeilen']); + $dump['aufruf']++; + } + else + { + //Backup fertig + $dump['data']="\nSET FOREIGN_KEY_CHECKS=1;"; + $dump['data'].="\n".$mysql_commentstring.' EOB'."\n\n"; + WriteToDumpFile(); + ExecuteCommand('a'); + chmod($config['paths']['backup'].$dump['backupdatei'],0777); + if ($config['multi_part']==1) + { + $out.="\n".'
'; + $dateistamm=substr($dump['backupdatei'],0,strrpos($dump['backupdatei'],'part_')).'part_'; + $dateiendung=($config['compression']==1) ? '.sql.gz':'.sql'; + clearstatcache(); + for($i=1;$i<($dump['part']-$dump['part_offset']);$i++) + { + $mpdatei=$dateistamm.$i.$dateiendung; + $sz=byte_output(@filesize($config['paths']['backup'].$mpdatei)); + $out.="\n".$lang['L_FILE'].' '.$mpdatei.' ('.$sz.') '.$lang['L_DUMP_SUCCESSFUL'].'
'; + } + + } + else + $out.="\n".'
'.$lang['L_FILE'].' '.$dump['backupdatei'].' ('.byte_output(filesize($config['paths']['backup'].$dump['backupdatei'])).')'.''.$lang['L_DUMP_SUCCESSFUL'].'
'; + + $xtime=time()-$xtime; + $aus=Array(); + $aus[]='
'."\n"; + if ($config['multi_dump']==1) + { + WriteLog('Dump \''.$dump['backupdatei'].'\' finished.'); + WriteLog('Multidump: '.count($databases['multi']).' Databases in '.zeit_format($xtime).'.'); + } + else + WriteLog('Dump \''.$dump['backupdatei'].'\' finished in '.zeit_format($xtime).'.'); + + if ($config['send_mail']==1) DoEmail(); + for($i=0;$i<3;$i++) + { + if ($config['ftp_transfer'][$i]==1) DoFTP($i); + } + + $aus[]=''.$lang['L_DONE'].'
'; + + if ($config['multi_dump']==1) + { + $aus[]=sprintf($lang['L_MULTIDUMP'],count($databases['multi'])).': '; + $aus[]=''.implode(', ',$databases['multi']).''; + $aus2=''; + $out=''; + } + else + { + $aus[]='
'.sprintf($lang['L_DUMP_ENDERGEBNIS'],$num_tables,number_format($dump['countdata'],0,',','.')); + } + if ($dump['errors']>0) $aus[]=sprintf($lang['L_DUMP_ERRORS'],$dump['errors']); + + $aus[]='
'.$out.'
'.'

'.zeit_format($xtime).', '.$dump['aufruf'].' '.$lang['L_PAGE_REFRESHS'].$aus2.'

'."\n"; + $aus[]="\n".'
'; + $aus[]='   '; + $aus[]='   

'; + $aus[]='
'; + + $DumpFertig=1; + } +} + +//===================================================================== +//================= Anzeige =========================================== +//===================================================================== + + +//Seite basteln +$aus=array_merge($aus_header,$aus); + +$dump['xtime']=$xtime; +if ($DumpFertig!=1) +{ + // save actual values to session + $_SESSION['dump']=$dump; + $page_parameter=get_page_parameter($dump); + $pagefooter=''; + $selbstaufruf=$page_parameter.'
'; +} +else +{ + $dump=array(); + $_SESSION['dump']=$dump; + $pagefooter=MSDFooter('',1); + $selbstaufruf=''; +} +$complete_page=$pageheader.implode("\n",$aus)."\n".$selbstaufruf."\n".$pagefooter; +echo $complete_page; +ob_end_flush(); \ No newline at end of file diff --git a/filemanagement.php b/filemanagement.php new file mode 100644 index 0000000..4de2348 --- /dev/null +++ b/filemanagement.php @@ -0,0 +1,540 @@ +'; + if (is_array($databases['multi'])) + { + for ($i=0; $i0) $toolboxstring.=', '; + $toolboxstring.=$databases['multi'][$i]; + if ($multi_praefixe[$i]>'') $toolboxstring.=' (\''.$multi_praefixe[$i].'\')'; + } + } +} + +//*** Abfrage ob Dump nach Tabellenaufruf *** +if (isset($_POST['dump_tbl'])) +{ + $check_dirs=TestWorkDir(); + if (!$check_dirs===true) die($check_dirs); + $databases['db_actual_tableselected']=substr($_POST['tbl_array'],0,strlen($_POST['tbl_array'])-1); + WriteParams(); + $dump['fileoperations']=0; + echo ''; + exit(); +} + +//*** Abfrage ob Dump *** +if (isset($_POST['dump'])) +{ + if (isset($_POST['tblfrage'])&&$_POST['tblfrage']==1) + { + //Tabellenabfrage + $tblfrage_refer="dump"; + include ("inc/tabellenabfrage.php"); + exit(); + } + else + { + @$check_dir=TestWorkDir(); + if (!$check_dir===true) die($check_dir); + $databases['db_actual_tableselected']=""; + WriteParams(); + + $dump['fileoperations']=0; + echo ''; + exit(); + } +} + +//*** Abfrage ob Restore nach Tabellenaufruf *** +if (isset($_POST['restore_tbl'])) +{ + $databases['db_actual_tableselected']=substr($_POST['tbl_array'],0,strlen($_POST['tbl_array'])-1); + WriteParams(); + echo ''; + + exit(); +} + +//*** Abfrage ob Restore *** +if (isset($_POST['restore'])) +{ + if (isset($_POST['file'])) + { + if (isset($_POST['tblfrage'])&&$_POST['tblfrage']==1) + { + //Tabellenabfrage + $tblfrage_refer="restore"; + $filename=urldecode($_POST['file'][0]); + include ("inc/tabellenabfrage.php"); + exit(); + } + else + { + $file=$_POST['file'][0]; + $statusline=read_statusline_from_file($file); + if (isset($_POST['sel_dump_encoding_restore'])) + { + $encodingstring=$config['mysql_possible_character_sets'][$_POST['sel_dump_encoding_restore']]; + $encoding=explode(' ',$encodingstring); + $dump_encoding=$encoding[0]; + } + else + { + if (!isset($statusline['charset'])||trim($statusline['charset'])=='?') + { + echo headline($lang['L_FM_RESTORE'].': '.$file); + + // if we can't detect encoding ask user + echo '
'.$lang['L_CHOOSE_CHARSET'].'

'; + echo '
'; + echo ''; + + echo '
'.$lang['L_FM_CHOOSE_ENCODING'].':'; + echo '
'; + echo $lang['L_MYSQL_CONNECTION_ENCODING'].':'.$config['mysql_standard_character_set'].'

'; + echo ''; + echo '
'; + exit(); + } + else + $dump_encoding=$statusline['charset']; + } + + $databases['db_actual_tableselected']=""; + WriteParams(); + echo ''; + exit(); + } + } + else + $msg.='

'.$lang['L_FM_NOFILE'].'

'; +} + +//*** Abfrage ob Delete *** +$del=array(); +if (isset($_POST['delete'])) +{ + if (isset($_POST['file'])) + { + $delfiles=Array(); + for ($i=0; $i'; +} +if (isset($_POST['deleteauto'])) +{ + $delete_result=AutoDelete(); + if ($delete_result>'') $msg.='

'.$delete_result.'

'; +} + +if (isset($_POST['deleteall'])||isset($_POST['deleteallfilter'])) +{ + if (isset($_POST['deleteall'])) + { + $del=DeleteFilesM($fpath,"*.sql"); + $del=array_merge($del,DeleteFilesM($fpath,"*.gz")); + } + else + $del=DeleteFilesM($fpath,$databases['db_actual']."*"); +} + +// print file-delete-messages +if (is_array($del)&&sizeof($del)>0) +{ + foreach ($del as $filename=>$success) + { + if ($success) + { + $msg.=''; + $msg.=$lang['L_FM_DELETE1'].' \''.$filename.'\' '.$lang['L_FM_DELETE2']; + WriteLog("deleted '$filename'."); + $msg.='
'; + } + else + { + $msg.=''; + $msg.=$lang['L_FM_DELETE1'].' \''.$filename.'\' '.$lang['L_FM_DELETE3']; + WriteLog("deleted '$filename'."); + $msg.='
'; + } + } +} + +// Upload +if (isset($_POST['upload'])) +{ + $error=false; + if (!isset($_FILES['upfile']['name'])) echo ''.$lang['L_FM_UPLOADFILEREQUEST'].'

'; + else + { + if (!file_exists($fpath.$_FILES['upfile']['name'])) + { + // Extension ermitteln -strrpos fängt hinten an und ermittelt somit den letzten Punkt + $endung=strrchr($_FILES['upfile']['name'],"."); + $erlaubt=ARRAY( + + ".gz", ".sql"); + if (!in_array($endung,$erlaubt)) + { + $msg.="".$lang['L_FM_UPLOADNOTALLOWED1']."
"; + $msg.=$lang['L_FM_UPLOADNOTALLOWED2']."
"; + } + else + { + if (!$error) + { + if (move_uploaded_file($_FILES['upfile']['tmp_name'],$fpath.$_FILES['upfile']['name'])) @chmod($fpath.$upfile_name,0777); + else + $error.="".$lang['L_FM_UPLOADMOVEERROR']."
"; + } + if ($error) $msg.=$error."".$lang['L_FM_UPLOADFAILED']."
"; + } + } + else + $msg.="".$lang['L_FM_UPLOADFILEEXISTS']."
"; + } +} + +//Seitenteile vordefinieren +$href='filemanagement.php?action='.$action.'&kind='.$kind; +$tbl_abfrage=''; +if ($config['multi_dump']==0) $tbl_abfrage=''.$lang['L_FM_SELECTTABLES'].''; +$dk=(isset($_POST['dumpKommentar'])) ? htmlentities($_POST['dumpKommentar']) : ''; +$tbl_abfrage.=''.$lang['L_FM_COMMENT'].':'; +$autodel='

'.$lang['L_AUTODELETE'].": "; +$autodel.=($config['auto_delete']==0) ? $lang['L_NOT_ACTIVATED'] : $lang['L_ACTIVATED'].' ('.$config['max_backup_files'].' '.$lang['L_MAX_BACKUP_FILES_EACH2'].')'; +$autodel.='

'; + +//Fallunterscheidung +switch ($action) +{ + case 'dump': + $dbName = $databases['Name'][$databases['db_selected_index']]; + if ($config['multi_dump']==0 && in_array($dbName, $dontBackupDatabases)) { + echo headline($lang['L_FM_DUMP_HEADER'].' ("'.$lang['L_CONFIG_HEADLINE'].': '.$config['config_file'].'")'); + echo ''.sprintf($lang['L_BACKUP_NOT_POSSIBLE'], $dbName).''; + break; + } + if ($config['multi_dump']==0) DBDetailInfo($databases['db_selected_index']); + $cext=($config['cron_extender']==0) ? "pl" : "cgi"; + $actualUrl=substr($_SERVER['SCRIPT_NAME'],0,strrpos($_SERVER['SCRIPT_NAME'],"/")+1); + if (substr($actualUrl,-1)!="/") $actualUrl.="/"; + if (substr($actualUrl,0,1)!="/") $actualUrl="/$actualUrl"; + $refdir=(substr($config['cron_execution_path'],0,1)=="/") ? "" : $actualUrl; + $scriptdir=$config['cron_execution_path'].'crondump.'.$cext; + $sfile=$config['cron_execution_path']."perltest.$cext"; + $simplefile=$config['cron_execution_path']."simpletest.$cext"; + $scriptentry=Realpfad("./").$config['paths']['config']; + $cronabsolute=(substr($config['cron_execution_path'],0,1)=="/") ? $_SERVER['DOCUMENT_ROOT'].$scriptdir : Realpfad("./").$scriptdir; + $confabsolute=$config['config_file']; + $scriptref=getServerProtocol().$_SERVER['SERVER_NAME'].$refdir.$config['cron_execution_path'].'crondump.'.$cext."?config=".$confabsolute; + $cronref="perl ".$cronabsolute." -config=".$confabsolute." -html_output=0"; + + //Ausgabe + echo headline($lang['L_FM_DUMP_HEADER'].' ("'.$lang['L_CONFIG_HEADLINE'].': '.$config['config_file'].'")'); + if (!is_writable($config['paths']['backup'])) die(''.sprintf($lang['L_WRONG_RIGHTS'],'work/backup','777').''); + echo ($msg>'') ? $msg.'
' : ''; + echo $autodel; + + //Auswahl + echo '
+ +       + +
'; + echo '
'; + + //Dumpsettings + echo '
'.$lang['L_DUMP'].' (PHP)
'; + + echo '
'; + echo '
'; + + echo '
'; + echo $tbl_abfrage; + echo ''; + echo ''; + echo ''; + echo '
'.$lang['L_MYSQL_CONNECTION_ENCODING'].':'.$config['mysql_standard_character_set'].'
'; + echo '

'; + + echo '
'.$lang['L_FM_DUMPSETTINGS'].' (PHP)
'; + + echo ''; + echo ''; + + if ($config['multi_dump']==0&&$databases['praefix'][$databases['db_selected_index']]>'') + { + echo ''; + } + + echo ''; + + echo ''; + + if ($config['multi_part']==1) + { + echo ''; + } + + if ($config['send_mail']==1) + { + $t=$config['email_recipient'].(($config['send_mail_dump']==1) ? $lang['L_WITHATTACH'] : $lang['L_WITHOUTATTACH']); + } + echo ''; + + for ($x=0; $x<3; $x++) + { + if (isset($config['ftp_transfer'][$x])&&$config['ftp_transfer'][$x]>0) + { + echo table_output($lang['L_FTP_TRANSFER'],sprintf(str_replace('
',' ',$lang['L_FTP_SEND_TO']),$config['ftp_server'][$x],$config['ftp_dir'][$x]),1,2); + } + } + //echo ''; + echo '
'.$lang['L_DB'].':'; + if ($config['multi_dump']==1) + { + echo 'Multidump ('.count($databases['multi']).' '.$lang['L_DBS'].')'; + echo ''.$toolboxstring.''; + } + else + { + echo $databases['db_actual'].'  ('.$databases['Detailinfo']['tables']." Tables, ".$databases['Detailinfo']['records']." Records, ".byte_output($databases['Detailinfo']['size']).')'; + + } + echo '
'.$lang['L_PRAEFIX'].':'; + echo $databases['praefix'][$databases['db_selected_index']]; + echo '
'.$lang['L_GZIP'].':'.(($config['compression']==1) ? $lang['L_ACTIVATED'] : $lang['L_NOT_ACTIVATED']); + echo '
'.$lang['L_MULTI_PART'].':'.(($config['multi_part']==1) ? $lang['L_YES'] : $lang['L_NO']); + echo '
'.$lang['L_MULTI_PART_GROESSE'].':'.byte_output($config['multipart_groesse']).'
'.$lang['L_SEND_MAIL_FORM'].':'.(($config['send_mail']==1) ? $t : $lang['L_NOT_ACTIVATED']); + echo '
'; + + echo '

'; + + echo '
'; + + break; + + case 'restore': + echo headline(sprintf($lang['L_FM_RESTORE_HEADER'],$databases['db_actual'])); + echo ($msg>'') ? $msg : ''; + echo $autodel; + echo '
'; + echo '
'; + echo ''; + echo ''; + echo FileList(); + echo ''; + echo '
'; + break; + case 'files': + $sysfedit=(isset($_POST['sysfedit'])) ? 1 : 0; + $sysfedit=(isset($_GET['sysfedit'])) ? $_GET['sysfedit'] : $sysfedit; + echo headline($lang['L_FILE_MANAGE']); + echo ($msg>'') ? $msg.'
' : ''; + echo $autodel; + echo '
'; + echo ''; + echo ''; + echo ''; + echo ''; + + echo FileList().'
'; + + echo '
'.$lang['L_FM_FILEUPLOAD'].'
'; + echo '
'; + echo ''; + echo ''; + echo '
'.$lang['L_MAX_UPLOAD_SIZE'].': '.$config['upload_max_filesize'].''; + echo '
'.$lang['L_MAX_UPLOAD_SIZE_INFO']; + + echo '
'; + + echo '
Tools
'; + echo ''; + echo '
'; + + break; + case "convert": + // Konverter + echo headline($lang['L_CONVERTER']); + echo '

'; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo '
'.$lang['L_CONVERT_TITLE'].'
'.$lang['L_CONVERT_FILE'].''.FilelisteCombo($config['paths']['backup'],$selectfile).'
'.$lang['L_CONVERT_FILENAME'].':
 '.$lang['L_COMPRESSED'].'

'; + if (isset($_POST['startconvert'])) + { + //$destfile.=($compressed==1) ? ".sql.gz" : ".sql"; + echo $lang['L_CONVERTING']." $selectfile ==> $destfile
"; + + if ($selectfile!=""&&file_exists($config['paths']['backup'].$selectfile)&&strlen($destfile)>2) + { + Converter($selectfile,$destfile,$compressed); + } + else + echo $lang['L_CONVERT_WRONG_PARAMETERS']; + } + +} +echo MSDFooter(); +ob_end_flush(); \ No newline at end of file diff --git a/help.php b/help.php new file mode 100644 index 0000000..b0b6b85 --- /dev/null +++ b/help.php @@ -0,0 +1,60 @@ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+0FcIH-t|)FhXZ`pi3NWpAq%Jd zaYa9RXaFfOv*p3R=T-dr%OTy9>uc-HBi!XMMc4E~ev-nw<&V43(zUgx{W@s2?RDUZqzwGUG{dz)ChW~DX>D1KJ9B=7efE3>! zI(<#7G{TbL=Ra&K@-0{_tfJY`$#JAGfaYo#78YS=dx2Ea{CA;uifI?+W3v&m_jiE6 zd_}mso3oqwN&Z!!`0?28H(pWct+%xlegbAG-DJgQ?{b#2us5A|X>Vsor)z9HpG{Pb zFZ}C^=&oR?UbuAWyeTyF=32G)j{x|WyOC=YwFSzl&y9&&p~#))V16Ch+S&a%ZW$V9wJG(eL-sODv6>)HI@V$0zcXQp&-X5Ud ziHMBk^l|{dw3gZmGBx~hpxQ=jTta>sDc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-pZ?5LKO{ literal 0 HcmV?d00001 diff --git a/inc/define_icons.php b/inc/define_icons.php new file mode 100644 index 0000000..7df7c73 --- /dev/null +++ b/inc/define_icons.php @@ -0,0 +1,27 @@ +'; +$icon['arrow_down']=''; +$icon['blank']=$config['files']['iconpath'] . 'blank.gif'; +$icon['browse']='' . $lang['L_TITLE_SHOW_DATA'] . ''; +$icon['edit']='' . $lang['L_EDIT'] . ''; +$icon['delete']='' . $lang['L_DELETE'] . ''; + +$icon['index']='' . $lang['L_TITLE_INDEX'] . ''; +$icon['key_primary']='' . $lang['L_TITLE_KEY_PRIMARY'] . ''; +$icon['key_fulltext']='' . $lang['L_TITLE_KEY_FULLTEXT'] . ''; +$icon['key_unique']='' . $lang['L_TITLE_KEY_UNIQUE'] . ''; +$icon['key_nokey']='' . $lang['L_TITLE_NOKEY'] . ''; +$icon['table_truncate']='' . $lang['L_EMPTY'] . ''; +$icon['table_truncate_reset']='' . $lang['L_EMPTYKEYS'] . ''; +$icon['back2db_overview']='' . $lang['L_SQL_BACKDBOVERVIEW'] . ''; + +$icon['search']='' . $lang['L_TITLE_SEARCH'] . ''; +$icon['mysql_help']='' . $lang['L_TITLE_MYSQL_HELP'] . ''; +$icon['upload']='' . $lang['L_TITLE_UPLOAD'] . ''; + +//other pics +$icon['logo']=$config['theme'] . 'pics/h1_logo.gif'; + +?> \ No newline at end of file diff --git a/inc/functions.php b/inc/functions.php new file mode 100644 index 0000000..5e5d5b9 --- /dev/null +++ b/inc/functions.php @@ -0,0 +1,756 @@ +$fItem) + { + $between=explode(strtolower($fItem),strtolower($string)); + $pos=0; + foreach ($between as $bKey=>$bItem) + { + $between[$bKey]=substr($string,$pos,strlen($bItem)); + $pos+=strlen($bItem) + strlen($fItem); + } + $string=implode($replace[$fKey],$between); + } + return ( $string ); + } +} + +if (!function_exists('stripos')) // borrowed from php.net comments +{ + + function stripos($haystack, $needle) + { + return strpos($haystack,stristr($haystack,$needle)); + } +} + +function Help($ToolTip, $Anker, $imgsize=12) +{/* + global $config; + if($Anker!=""){ + return 'Help'; + } else { + return 'Help'; + } +*/ +} + +function DeleteFilesM($dir, $pattern="*.*") +{ + $deleted=array(); + $pattern=str_replace(array( + + "\*", + "\?" + ),array( + + ".*", + "." + ),preg_quote($pattern)); + if (substr($dir,-1) != "/") $dir.="/"; + if (is_dir($dir)) + { + $d=opendir($dir); + while ($file=readdir($d)) + { + if (is_file($dir . $file) && ereg("^" . $pattern . "$",$file)) + { + if (unlink($dir . $file)) $deleted[$file]=true; + else $deleted[$file]=false; + } + } + closedir($d); + return $deleted; + } +} + +function SetDefault($load_default=false) +{ + global $config,$databases,$nl,$out,$lang,$preConfig; + + if ($load_default == true) + { + if (file_exists($config['files']['parameter']) && ( is_readable($config['files']['parameter']) )) include ( $config['files']['parameter'] ); // alte Config lesen + } + $restore_values=array(); + $restore_values['cron_dbindex']=isset($config['cron_dbindex']) ? $config['cron_dbindex'] : -3; + $restore_values['cron_dbpraefix_array']=isset($config['cron_dbpraefix_array']) ? $config['cron_dbpraefix_array'] : ''; + if ($restore_values['cron_dbindex'] >= 0 && isset($databases['Name'][$config['cron_dbindex']])) // eine bestimmte Db gewaehlt? + { + // Ja, Namen merken, um spaeter den Index wieder herzustellen + $restore_values['db_actual_cron']=$databases['Name'][$config['cron_dbindex']]; + } + $restore_values['db_actual']=isset($databases['db_actual']) ? $databases['db_actual'] : ''; + + $old_lang=isset($config['language']) && in_array($config['language'],$lang['languages']) ? $config['language'] : ''; + if ($load_default == true) + { + if (file_exists($config['files']['parameter'])) @unlink($config['files']['parameter']); + include ( "./config.php" ); + if (is_array($preConfig)) + { + foreach ($preConfig as $key=>$val) + { + $config[$key]=$val; + } + } + + if ($old_lang != '') $config['language']=$old_lang; + include ( "./language/" . $config['language'] . "/lang.php" ); + } + + $oldVals = array(); + // Zuordnung nach Namen der Db zwischenspeichern, um Eingaben nicht zu verlieren + if (isset($databases) && isset($databases['Name'])) { + foreach ($databases['Name'] as $k=>$v) { + if (!isset($oldVals[$k])) $oldVals[$v] = array(); + $oldVals[$v]['praefix'] = $databases['praefix'][$k]; + $oldVals[$v]['command_before_dump'] = $databases['command_before_dump'][$k]; + $oldVals[$v]['command_after_dump'] = $databases['command_after_dump'][$k]; + } + } + $oldDbArray = array(); + if (isset($databases['Name'])) { + $oldDbArray = $databases['Name']; + } + $databases['Name']=array(); + $found_dbs = array(); + //DB-Liste holen + MSD_mysql_connect(); + + $create_statement='CREATE TABLE `mysqldumper_test_abcxyvfgh` (`test` varchar(200) default NULL, `id` bigint(20) unsigned NOT NULL auto_increment,' . 'PRIMARY KEY (`id`)) TYPE=MyISAM;'; + + $res=mysql_query("SHOW DATABASES",$config['dbconnection']); + WHILE ($row=mysql_fetch_row($res)) { + $found_dbs[] = $row[0]; + } + $found_dbs = array_merge($oldDbArray, $found_dbs); + $found_dbs = array_unique($found_dbs); + sort($found_dbs); + // now check each db + $a=0; + for ($i=0; $i Index uebernehmen + $databases['db_actual']=$restore_values['db_actual']; + } + else + $databases['db_actual']=$databases['Name'][0]; + + //Cron-Index wiederfinden + if (isset($db_names[$restore_values['cron_dbindex']])) + { + $config['cron_dbindex']=$db_names[$restore_values['cron_dbindex']]; + } + else + { + // DB wurde zwischenzeitlich geloescht - sicherheitshalber alle DBs sichern + $databases['cron_dbindex']=-3; + } + } + } + } + FillMultiDBArrays(); + + //Parameter zusammensetzen + $config['multipart_groesse']=$config['multipartgroesse1'] * ( ( $config['multipartgroesse2'] == 1 ) ? 1024 : 1024 * 1024 ); + $param=$pars_all='$val) + { + if (!in_array($var,$config_dontsave)) + { + if (is_array($val)) + { + $pars_all.='$config[\'' . $var . '\']=array();' . $nl; + foreach ($val as $var2=>$val2) + { + if ($config['magic_quotes_gpc'] == 1) + { + $val2=stripslashes($val2); + } + $pars_all.='$config[\'' . $var . '\'][' . ( ( is_int($var2) ) ? $var2 : "'" . $var2 . "'" ) . '] = \'' . my_addslashes($val2) . "';$nl"; + } + } + else + { + if ($config['magic_quotes_gpc'] == 1) + { + $val=stripslashes($val); + } + if (!in_array($var,$config_dontsave)) $pars_all.='$config[\'' . $var . '\'] = \'' . my_addslashes($val) . "';$nl"; + } + } + } + foreach ($databases as $var=>$val) + { + if (is_array($val)) + { + $pars_all.='$databases[\'' . $var . '\']=array();' . $nl; + foreach ($val as $var2=>$val2) + { + if ($config['magic_quotes_gpc'] == 1 || $as == 1) + { + $pars_all.='$databases[\'' . $var . '\'][' . ( ( is_int($var2) ) ? $var2 : "'" . $var2 . "'" ) . '] = \'' . my_addslashes(stripslashes($val2)) . "';$nl"; + } + else + { + $pars_all.='$databases[\'' . $var . '\'][' . ( ( is_int($var2) ) ? $var2 : "'" . $var2 . "'" ) . '] = \'' . my_addslashes($val2) . "';$nl"; + } + } + } + else + { + if ($config['magic_quotes_gpc'] == 0 || $as == 1) + { + $pars_all.='$databases[\'' . $var . '\'] = \'' . addslashes($val) . "';$nl"; + } + else + { + $pars_all.='$databases[\'' . $var . '\'] = \'' . $val . "';$nl"; + } + } + } + + $param.='?>'; + $pars_all.='?>'; + + //Datei öffnen und schreiben + $ret=true; + $file=$config['paths']['config'] . $config['config_file'] . '.php'; + if ($fp=fopen($file,"wb")) + { + if (!fwrite($fp,$pars_all)) $ret=false; + if (!fclose($fp)) $ret=false; + @chmod($file,0777); + } + else + $ret=false; + + $ret=WriteCronScript($restore_values); + return $ret; +} + +function escape_specialchars($text) +{ + $suchen=ARRAY( + + '@', + '$', + '\\\\', + '"' + ); + $ersetzen=ARRAY( + + '\@', + '\$', + '\\', + '\"' + ); + $text=str_replace($suchen,$ersetzen,$text); + return $text; +} + +// definiert einen SAtring, der ein Array nach Perlsyntax aufbaut +function my_implode($arr, $mode=0) // 0=String, 1=intval +{ + global $nl; + if (!is_array($arr)) return false; + foreach ($arr as $key=>$val) + { + if ($mode == 0) $arr[$key]=escape_specialchars($val); + else $arr[$key]=intval($val); + } + if ($mode == 0) $ret='("' . implode('","',$arr) . '");' . $nl; + else $ret='(' . implode(',',$arr) . ');' . $nl; + return $ret; +} + +function WriteCronScript($restore_values=false) +{ + global $nl,$config,$databases,$cron_db_array,$cron_dbpraefix_array,$cron_db_cbd_array,$cron_db_cad_array, $dontBackupDatabases; + + if (!isset($databases['db_selected_index'])) $databases['db_selected_index']=0; + if (!isset($databases['praefix'][$databases['db_selected_index']])) $databases['praefix'][$databases['db_selected_index']]=""; + if (!isset($databases['db_actual_cronindex'])) $databases['db_actual_cronindex']=$databases['db_selected_index']; + if (!isset($config['email_maxsize'])) $config['email_maxsize']=$config['email_maxsize1'] * ( ( $config['email_maxsize2'] == 1 ) ? 1024 : 1024 * 1024 ); + $cron_dbname=$databases['db_actual']; + + // -2 = Multidump configuration + // -3 = all databases - nothing to do + // get standard values for all databases + $cron_db_array = $databases['Name']; + $cron_dbpraefix_array=$databases['praefix']; + $cron_command_before_dump=$databases['command_before_dump']; + $cron_command_after_dump=$databases['command_after_dump']; + if (!isset($config['cron_dbindex'])) $config['cron_dbindex']=-3; + if (intval($config['cron_dbindex']) == -2) + { + // get selected dbs from multidump-settings + $cron_db_array=$databases['multi']; + $cron_dbpraefix_array=$databases['multi_praefix']; + $cron_command_before_dump=$databases['multi_commandbeforedump']; + $cron_command_after_dump=$databases['multi_commandafterdump']; + } + // we need to correct the index of the selected database after we cleaned + // the db-array from information_schema and mysql if it points to a db-name + if ($config['cron_dbindex'] >= 0) { + $cronDbIndexDbName = $databases['Name'][$config['cron_dbindex']]; + } else { + $cronDbIndex = $config['cron_dbindex']; + } + + $newDbNames = $databases['Name']; + //remove database we don't want to backup + foreach ($databases['Name'] as $k=>$v) { + if (in_array($v, $dontBackupDatabases)) { + unset($cron_db_array[$k], + $cron_dbpraefix_array[$k], + $cron_command_before_dump[$k], + $cron_command_after_dump[$k], + $newDbNames[$k]); + } + } + + // find new index + if ($config['cron_dbindex'] >= 0) { + sort($newDbNames); + $dbNames = array_flip($newDbNames); + if (isset($dbNames[$cronDbIndexDbName])) { + $cronDbIndex = $dbNames[$cronDbIndexDbName]; + } else { + $cronDbIndex = 0; + } + } + $r=str_replace("\\\\","/",$config['paths']['root']); + $r=str_replace("@","\@",$r); + $p1=$r . $config['paths']['backup']; + $p2=$r . $config['files']['perllog'] . ( ( $config['logcompression'] == 1 ) ? '.gz' : '' ); + $p3=$r . $config['files']['perllogcomplete'] . ( ( $config['logcompression'] == 1 ) ? '.gz' : '' ); + + // auf manchen Server wird statt 0 ein leerer String gespeichert -> fuehrt zu einem Syntax-Fehler + // hier die entsprechenden Ja/Nein-Variablen sicherheitshalber in intvalues aendern + $int_array=array( + 'dbport', + 'cron_compression', + 'cron_printout', + 'multi_part', + 'multipart_groesse', + 'email_maxsize', + 'auto_delete', + 'max_backup_files', + 'perlspeed', + 'optimize_tables_beforedump', + 'logcompression', + 'log_maxsize', + 'cron_completelog', + 'cron_use_sendmail', + 'cron_smtp_port' + ); + foreach ($int_array as $i) + { + if (is_array($i)) + { + foreach ($i as $key=>$val) + { + $int_array[$key]=intval($val); + } + } + else + $config[$i]=intval($config[$i]); + } + if ($config['dbport'] == 0) $config['dbport']=3306; + + $cronscript=""; + + // Save config + $ret=true; + $sfile=$config['paths']['config'] . $config['config_file'] . '.conf.php'; + if (file_exists($sfile)) @unlink($sfile); + + if ($fp=fopen($sfile,"wb")) + { + if (!fwrite($fp,$cronscript)) $ret=false; + if (!fclose($fp)) $ret=false; + @chmod("$sfile",0777); + } + else + $ret=false; + + // if standard config was deleted -> restore it with the actual values + if (!file_exists($config['paths']['config'] . "mysqldumper.conf.php")) + { + $sfile=$config['paths']['config'] . 'mysqldumper.conf.php'; + if ($fp=fopen($sfile,"wb")) + { + if (!fwrite($fp,$cronscript)) $ret=false; + if (!fclose($fp)) $ret=false; + @chmod("$sfile",0777); + } + else + $ret=false; + } + return $ret; + +} + +function LogFileInfo($logcompression) +{ + global $config; + + $l=Array(); + $sum=$s=$l['log_size']=$l['perllog_size']=$l['perllogcomplete_size']=$l['errorlog_size']=$l['log_totalsize']=0; + if ($logcompression == 1) + { + $l['log']=$config['files']['log'] . ".gz"; + $l['perllog']=$config['files']['perllog'] . ".gz"; + $l['perllogcomplete']=$config['files']['perllogcomplete'] . ".gz"; + $l['errorlog']=$config['paths']['log'] . "error.log.gz"; + } + else + { + $l['log']=$config['files']['log']; + $l['perllog']=$config['files']['perllog']; + $l['perllogcomplete']=$config['files']['perllogcomplete']; + $l['errorlog']=$config['paths']['log'] . "error.log"; + } + $l['log_size']+=@filesize($l['log']); + $sum+=$l['log_size']; + $l['perllog_size']+=@filesize($l['perllog']); + $sum+=$l['perllog_size']; + $l['perllogcomplete_size']+=@filesize($l['perllogcomplete']); + $sum+=$l['perllogcomplete_size']; + $l['errorlog_size']+=@filesize($l['errorlog']); + $sum+=$l['errorlog_size']; + $l['log_totalsize']+=$sum; + + return $l; +} + +function DeleteLog() +{ + global $config; + //Datei öffnen und schreiben + $log=date('d.m.Y H:i:s') . " Log created.\n"; + if (file_exists($config['files']['log'] . '.gz')) @unlink($config['files']['log'] . '.gz'); + if (file_exists($config['files']['log'] . '.gz')) @unlink($config['files']['log']); + if ($config['logcompression'] == 1) + { + $fp=@gzopen($config['files']['log'] . '.gz',"wb"); + @gzwrite($fp,$log); + @gzclose($fp); + @chmod($config['files']['log'] . '.gz',0777); + } + else + { + $fp=@fopen($config['files']['log'],"wb"); + @fwrite($fp,$log); + @fclose($fp); + @chmod($config['files']['log'],0777); + } +} + +function CreateDirsFTP() +{ + + global $config,$lang,$install_ftp_server,$install_ftp_port,$install_ftp_user_name,$install_ftp_user_pass,$install_ftp_path; + // Herstellen der Basis-Verbindung + echo '
' . $lang['L_CONNECT_TO'] . ' `' . $install_ftp_server . '` Port ' . $install_ftp_port . ' ...
'; + $conn_id=ftp_connect($install_ftp_server); + // Einloggen mit Benutzername und Kennwort + $login_result=ftp_login($conn_id,$install_ftp_user_name,$install_ftp_user_pass); + // Verbindung überprüfen + if (( !$conn_id ) || ( !$login_result )) + { + echo $lang['L_FTP_NOTCONNECTED']; + echo $lang['L_CONNWITH'] . " $tinstall_ftp_server " . $lang['L_ASUSER'] . " $install_ftp_user_name " . $lang['L_NOTPOSSIBLE']; + return 0; + } + else + { + if ($config['ftp_mode'] == 1) ftp_pasv($conn_id,true); + //Wechsel in betroffenes Verzeichnis + echo $lang['L_CHANGEDIR'] . ' `' . $install_ftp_path . '` ...
'; + ftp_chdir($conn_id,$install_ftp_path); + // Erstellen der Verzeichnisse + echo $lang['L_DIRCR1'] . ' ...
'; + ftp_mkdir($conn_id,"work"); + ftp_site($conn_id,"CHMOD 0777 work"); + echo $lang['L_CHANGEDIR'] . ' `work` ...
'; + ftp_chdir($conn_id,"work"); + echo $lang['L_INDIR'] . ' `' . ftp_pwd($conn_id) . '`
'; + echo $lang['L_DIRCR5'] . ' ...
'; + ftp_mkdir($conn_id,"config"); + ftp_site($conn_id,"CHMOD 0777 config"); + echo $lang['L_DIRCR2'] . ' ...
'; + ftp_mkdir($conn_id,"backup"); + ftp_site($conn_id,"CHMOD 0777 backup"); + echo $lang['L_DIRCR4'] . ' ...
'; + ftp_mkdir($conn_id,"log"); + ftp_site($conn_id,"CHMOD 0777 log"); + + // Schließen des FTP-Streams + ftp_quit($conn_id); + return 1; + } +} + +function ftp_mkdirs($config, $dirname) +{ + $dir=split("/",$dirname); + for ($i=0; $i < count($dir) - 1; $i++) + { + $path.=$dir[$i] . "/"; + @ftp_mkdir($config['dbconnection'],$path); + } + if (@ftp_mkdir($config['dbconnection'],$dirname)) return 1; +} + +function IsWritable($dir) +{ + $testfile=$dir . "/.writetest"; + if ($writable=@fopen($testfile,'w')) + { + @fclose($writable); + @unlink($testfile); + } + return $writable; +} + +function SearchDatabases($printout, $db='') +{ + global $databases,$config,$lang; + + if (!isset($config['dbconnection'])) MSD_mysql_connect(); + $db_list=array(); + if ($db > '') { + $db_list[]=$db; // DB wurde manuell angegeben + } + // Datenbanken automatisch erkennen + $show_dbs=mysql_query("SHOW DATABASES",$config['dbconnection']); + if (!$show_dbs === false) + { + WHILE ($row=mysql_fetch_row($show_dbs)) + { + if (trim($row[0]) > '') $db_list[]=$row[0]; + } + } + $db_list = array_unique($db_list); + sort($db_list); + if (sizeof($db_list) > 0) + { + $databases['db_selected_index']=0; + for ($i=0; $i < sizeof($db_list); $i++) + { + // Test-Select um zu sehen, ob Berechtigungen existieren + if (!@mysql_query("SHOW TABLES FROM `" . $db_list[$i] . "`",$config['dbconnection']) === false) + { + $databases['Name'][$i]=$db_list[$i]; + $databases['praefix'][$i]=''; + $databases['command_before_dump'][$i]=''; + $databases['command_after_dump'][$i]=''; + if ($printout == 1) echo $lang['L_FOUND_DB'] . ' `' . $db_list[$i] . '`
'; + } else { + if ($printout == 1) echo ''.sprintf($lang['L_DB_MANUAL_ERROR'], $db_list[$i]) . '
'; + } + } + } + if (isset($databases['Name'][0])) $databases['db_actual']=$databases['Name'][0]; +} + +// removes tags from inputs recursivly +function my_strip_tags($value) +{ + global $dont_strip; + if (is_array($value)) + { + foreach ($value as $key=>$val) + { + if (!in_array($key,$dont_strip)) $ret[$key]=my_strip_tags($val); + else $ret[$key]=$val; + } + } + else + $ret=trim(strip_tags($value)); + return $ret; +} + +/** + * Add a slashes only before ' + * + * Used for escaping strings in JS-alerts and config-files + * + * @param $string + * @return string + */ +function my_addslashes($string) +{ + return str_replace("'","\'",$string); +} + +/** + * Replaces quotes for outputting value in HTML-attributes + * + * Replaces quotes for outputing value in HTML-attributes without breaking HTML + * + * @param string $value value to output + * @return string + */ +function my_quotes($value) +{ + return str_replace('"','"',$value); +} + + +// prepares a string for executing it as query +function db_escape($string) +{ + global $config; + if (function_exists('mysql_real_escape_string')) + { + $string=mysql_real_escape_string($string,$config['dbconnection']); + } + else if (function_exists('mysql_escape_string')) + { + $string=mysql_escape_string($string,$config['dbconnection']); + } + else $string=addslashes($string); + return $string; +} + +?> \ No newline at end of file diff --git a/inc/functions_dump.php b/inc/functions_dump.php new file mode 100644 index 0000000..2f29198 --- /dev/null +++ b/inc/functions_dump.php @@ -0,0 +1,554 @@ +'.$lang['L_STARTDUMP'].' `'.$databases['Name'][$dump['dbindex']].'`'.(($databases['praefix'][$dump['dbindex']]!="") ? ' ('.$lang['L_WITHPRAEFIX'].' '.$databases['praefix'][$dump['dbindex']].')':'').'... '; + if ($dump['part']==1) + { + $dump['table_offset']=0; + $dump['countdata']=0; + } + // Seitenerstaufruf -> Backupdatei anlegen + $dump['data']=$statuszeile.$mysql_commentstring.' Dump created: '.$cur_time; + } + else + { + if ($config['multi_part']!=0) + { + WriteLog('Continue Multipart-Dump with File '.($dump['part']-$dump['part_offset']).' (last file was '.$last_groesse.' Bytes)'); + $dump['data']=$statuszeile.$mysql_commentstring.' This is part '.($dump['part']-$dump['part_offset']).' of the backup.'.$nl.$nl.$dump['data']; + + } + } + WriteToDumpFile(); + $dump['part']++; +} + +function GetStatusLine($kind="php") +{ + /*AUFBAU der Statuszeile: + -- Status:tabellenzahl:datensätze:Multipart:Datenbankname:script:scriptversion:Kommentar:MySQLVersion:Backupflags:SQLBefore:SQLAfter:Charset:CharsetEXTINFO + Aufbau Backupflags (1 Zeichen pro Flag, 0 oder 1, 2=unbekannt) + (complete inserts)(extended inserts)(ignore inserts)(delayed inserts)(downgrade)(lock tables)(optimize tables) + */ + + global $databases,$config,$lang,$dump,$mysql_commentstring; + + $t_array=explode("|",$databases['db_actual_tableselected']); + $t=0; + $r=0; + $t_zeile="$mysql_commentstring\n$mysql_commentstring TABLE-INFO\r\n"; + MSD_mysql_connect(); + $res=mysql_query("SHOW TABLE STATUS FROM `".$databases['Name'][$dump['dbindex']]."`"); + $numrows=intval(@mysql_num_rows($res)); + for($i=0;$i<$numrows;$i++) + { + $erg=mysql_fetch_array($res); + // Get nr of records -> need to do it this way because of incorrect returns when using InnoDBs + $sql_2="SELECT count(*) as `count_records` FROM `".$databases['Name'][$dump['dbindex']]."`.`".$erg['Name']."`"; + $res2=@mysql_query($sql_2); + if ($res2===false) + { + // error reading table definition + $read_create_error=sprintf($lang['L_FATAL_ERROR_DUMP'],$databases['Name'][$dump['dbindex']],$erg['Name']).': '.mysql_error($config['dbconnection']); + Errorlog("DUMP",$databases['Name'][$dump['dbindex']],'',$read_create_error,0); + WriteLog($read_create_error); + if ($config['stop_with_error']>0) + { + die($read_create_error); + } + $dump['errors']++; + //$i++; // skip corrupted table + } + else + { + $row2=mysql_fetch_array($res2); + $erg['Rows']=$row2['count_records']; + + if (($databases['db_actual_tableselected']==''||($databases['db_actual_tableselected']!=''&&(in_array($erg[0],$t_array))))&&(substr($erg[0],0,strlen($databases['praefix'][$dump['dbindex']]))==$databases['praefix'][$dump['dbindex']])) + { + $t++; + $r+=$erg['Rows']; + if (isset($erg['Type'])) $erg['Engine']=$erg['Type']; + $t_zeile.="$mysql_commentstring TABLE|".$erg['Name'].'|'.$erg['Rows'].'|'.($erg['Data_length']+$erg['Index_length']).'|'.$erg['Update_time'].'|'.$erg['Engine']."\n"; + } + } + } + //$dump['totalrecords']=$r; + $flags=1; + + $mp=($config['multi_part']==1) ? $mp="MP_".($dump['part']-$dump['part_offset']):'MP_0'; + $statusline="$mysql_commentstring Status:$t:$r:$mp:".$databases['Name'][$dump['dbindex']].":$kind:".MSD_VERSION.":".$dump['kommentar'].":"; + $statusline.=MSD_MYSQL_VERSION.":$flags:::".$dump['dump_encoding'].":EXTINFO\n".$t_zeile."$mysql_commentstring"." EOF TABLE-INFO\n$mysql_commentstring"; + return $statusline; +} + +// Liest die Eigenschaften der Tabelle aus der DB und baut die CREATE-Anweisung zusammen +function get_def($db,$table,$withdata=1) +{ + global $config,$nl,$mysql_commentstring,$dump; + + $def="\n\n$mysql_commentstring\n$mysql_commentstring Create Table `$table`\n$mysql_commentstring\n\n"; + if ($dump['table_types'][getDBIndex($db,$table)]=='VIEW') + { + $def.="DROP VIEW IF EXISTS `$table`;\n"; + $withdata=0; + } + else + $def.="DROP TABLE IF EXISTS `$table`;\n"; + mysql_select_db($db); + $result=mysql_query('SHOW CREATE TABLE `'.$table.'`',$config['dbconnection']); + $row=@mysql_fetch_row($result); + if ($row===false) return false; + $def.=$row[1].';'."\n\n"; + if ($withdata==1) + { + $def.="$mysql_commentstring\n$mysql_commentstring Data for Table `$table`\n$mysql_commentstring\n\n"; + $def.="/*!40000 ALTER TABLE `$table` DISABLE KEYS */;".$nl; + } + return $def; +} + +// Liest die Daten aus der DB aus und baut die INSERT-Anweisung zusammen +function get_content($db,$table) +{ + global $config,$nl,$dump,$buffer; + + $content=''; + $complete=Fieldlist($db,$table).' '; + + $table_ready=0; + $query='SELECT * FROM `'.$table.'` LIMIT '.$dump['zeilen_offset'].','.($dump['restzeilen']+1); + mysql_select_db($db); + $result=mysql_query($query,$config['dbconnection']); + $ergebnisse=@mysql_num_rows($result); + if ($ergebnisse!==false) + { + $num_felder=mysql_num_fields($result); + $first=1; + + if ($ergebnisse>$dump['restzeilen']) + { + $dump['zeilen_offset']+=$dump['restzeilen']; + $ergebnisse--; + $dump['restzeilen']=0; + } + else + { + $dump['table_offset']++; + $dump['zeilen_offset']=0; + $dump['restzeilen']=$dump['restzeilen']-$ergebnisse; + $table_ready=1; + } + $ax=0; + for($x=0;$x<$ergebnisse;$x++) + { + $row=mysql_fetch_row($result); + $ax++; + + $insert='INSERT INTO `'.$table.'` '.$complete.'VALUES ('; + + for($j=0;$j<$num_felder;$j++) + { + if (!isset($row[$j])) $insert.='NULL,'; + else + if ($row[$j]!='') $insert.='\''.mysql_escape_string($row[$j]).'\','; + else + $insert.='\'\','; + } + $insert=substr($insert,0,-1).');'.$nl; + $dump['data'].=$insert; + $dump['countdata']++; + if (strlen($dump['data'])>$config['memory_limit']||($config['multi_part']==1&&strlen($dump['data'])+$buffer>$config['multipart_groesse'])) + { + WriteToDumpFile(); + } + } + if ($table_ready==1&&$dump['table_types'][getDBIndex($db,$table)]!='VIEW') $dump['data'].="/*!40000 ALTER TABLE `$table` ENABLE KEYS */;\n"; + } + else + { + // table corrupt -> skip it + $dump['table_offset']++; + $dump['zeilen_offset']=0; + $dump['restzeilen']=$dump['restzeilen']-$ergebnisse; + $dump['data'].="/*!40000 ALTER TABLE `$table` ENABLE KEYS */;\n"; + if (strlen($dump['data'])>$config['memory_limit']||($config['multi_part']==1&&strlen($dump['data'])+$buffer>$config['multipart_groesse'])) + { + WriteToDumpFile(); + } + } + @mysql_free_result($result); +} + +function WriteToDumpFile() +{ + global $config,$dump,$buffer; + $dump['filesize']=0; + + $df=$config['paths']['backup'].$dump['backupdatei']; + + if ($config['compression']==1) + { + if ($dump['data']!='') + { + $fp=gzopen($df,'ab'); + gzwrite($fp,$dump['data']); + gzclose($fp); + } + } + else + { + if ($dump['data']!='') + { + $fp=fopen($df,'ab'); + fwrite($fp,$dump['data']); + fclose($fp); + } + } + $dump['data']=''; + if (!isset($dump['fileoperations'])) $dump['fileoperations']=0; + $dump['fileoperations']++; + + if ($config['multi_part']==1) clearstatcache(); + $dump['filesize']=filesize($df); + if ($config['multi_part']==1&&$dump['filesize']+$buffer>$config['multipart_groesse']) + { + @chmod($df,0777); + new_file($dump['filesize']); // Wenn maximale Dateigroesse erreicht -> neues File starten + } +} + +function ExecuteCommand($when) +{ + global $config,$databases,$dump,$out,$lang; + $lf='
'; + if (!isset($dump['dbindex'])) return; + if ($when=='b') + { // before dump + $cd=$databases['command_before_dump'][$dump['dbindex']]; + //WriteLog('DbIndex: '.$dump['dbindex'].' Before: '.$databases['command_before_dump'][$dump['dbindex']]); + } + else + { + + $cd=$databases['command_after_dump'][$dump['dbindex']]; + //WriteLog('DbIndex: '.$dump['dbindex'].' After: '.$databases['command_after_dump'][$dump['dbindex']]); + } + + if ($cd!='') + { + //jetzt ausführen + if (substr(strtolower($cd),0,7)!='system:') + { + $cad=array(); + @mysql_select_db($databases['Name'][$dump['dbindex']]); + if (strpos($cd,';')) + { + $cad=explode(';',$cd); + } + else + $cad[0]=$cd; + + for($i=0;$i'') + { + $result=@mysql_query($cad[$i],$config['dbconnection']); + + if ($result===false) + { + WriteLog("Error executing Query '$cad[$i]'! MySQL returns: ".trim(mysql_error())); + ErrorLog("Error executing Query '$cad[$i]'!",$databases['Name'][$dump['dbindex']],$cad[$i],mysql_error(),0); + $dump['errors']++; + $out.='Error executing Query '.$cad[$i].''.$lf; + } + else + { + WriteLog("Successfully executed Query: '$cad[$i]'"); + $out.='Successfully executed Query: \''.$cad[$i].'\''.$lf; + } + } + } + } + elseif (substr(strtolower($cd),0,7)=="system:") + { + $command=substr($cd,7); + $result=@system($command,$returnval); + if (!$result) + { + WriteLog("Error while executing System Command '$command'"); + $dump['errors']++; + $out.=$lf.'ERROR executing System Command \''.$ommand.'\'
'; + } + else + { + WriteLog("Successfully executed System Command '$command'. [$returnval]"); + $out.=$lf.'Successfully executed System Command \''.$ommand.'.
'; + } + } + } + +} + +function DoEmail() +{ + global $config,$dump,$databases,$email,$lang,$out,$REMOTE_ADDR; + + $header=""; + if ($config['cron_use_sendmail']==1) + { + //sendmail + if (ini_get("sendmail_path")!=$config['cron_sendmail']) @ini_set("SMTP",$config['cron_sendmail']); + if (ini_get("sendmail_from")!=$config['email_sender']) @ini_set("SMTP",$config['email_sender']); + } + else + { + //SMTP + } + if (ini_get("SMTP")!=$config['cron_smtp']) @ini_set("SMTP",$config['cron_smtp']); + if (ini_get("smtp_port")!=25) @ini_set("smtp_port",25); + + if ($config['multi_part']==0) + { + $file=$dump['backupdatei']; + $file_name=(strpos("/",$file)) ? substr($file,strrpos("/",$file)):$file; + $file_type=filetype($config['paths']['backup'].$file); + $file_size=filesize($config['paths']['backup'].$file); + if (($config['email_maxsize']>0&&$file_size>$config['email_maxsize'])||$config['send_mail_dump']==0) + { + //anhang zu gross + $subject="Backup '".$databases['Name'][$dump['dbindex']]."' - ".date("d\.m\.Y H:i",time()); + $header.="FROM:".$config['email_sender']."\n"; + if (isset($config['email_recipient_cc'])&&trim($config['email_recipient_cc'])>'') $header.="Cc: ".$config['email_recipient_cc']."\r\n"; + $header.="MIME-version: 1.0\n"; + $header.="X-Mailer: PHP/".phpversion()."\n"; + $header.="X-Sender-IP: $REMOTE_ADDR\n"; + $header.="Content-Type: text/html; charset=utf-8\n"; + if ($config['send_mail_dump']!=0) + { + $msg_body=sprintf(addslashes($lang['L_EMAILBODY_TOOBIG']),byte_output($config['email_maxsize']),$databases['Name'][$dump['dbindex']],"$file (".byte_output(filesize($config['paths']['backup'].$file)).")
"); + } + else + { + $msg_body=sprintf(addslashes($lang['L_EMAILBODY_NOATTACH']),$databases['Name'][$dump['dbindex']],"$file (".byte_output(filesize($config['paths']['backup'].$file)).")"); + } + include_once ('./inc/functions.php'); + $msg_body.=''.$file.''; + $email_log="Email sent to '".$config['email_recipient']."'"; + $email_out=$lang['L_EMAIL_WAS_SEND']."`".$config['email_recipient']."`
"; + } + else + { + //alles ok, anhang generieren + $msg_body=sprintf(addslashes($lang['L_EMAILBODY_ATTACH']),$databases['Name'][$dump['dbindex']],"$file (".byte_output(filesize($config['paths']['backup'].$file)).")"); + $subject="Backup '".$databases['Name'][$dump['dbindex']]."' - ".date("d\.m\.Y",time()); + $fp=fopen($config['paths']['backup'].$file,"r"); + $contents=fread($fp,$file_size); + $encoded_file=chunk_split(base64_encode($contents)); + fclose($fp); + $header.="FROM:".$config['email_sender']."\n"; + if (isset($config['email_recipient_cc'])&&trim($config['email_recipient_cc'])>'') $header.="Cc: ".$config['email_recipient_cc']."\r\n"; + $header.="MIME-version: 1.0\n"; + $header.="Content-type: multipart/mixed; "; + $header.="boundary=\"Message-Boundary\"\n"; + $header.="Content-transfer-encoding: 7BIT\n"; + $header.="X-attachments: $file_name"; + $body_top="--Message-Boundary\n"; + $body_top.="Content-type: text/html; charset=utf-8\n"; + $body_top.="Content-transfer-encoding: 7BIT\n"; + $body_top.="Content-description: Mail message body\n\n"; + $msg_body=$body_top.$msg_body; + $msg_body.="\n\n--Message-Boundary\n"; + $msg_body.="Content-type: $file_type; name=\"$file\"\n"; + $msg_body.="Content-Transfer-Encoding: BASE64\n"; + $msg_body.="Content-disposition: attachment; filename=\"$file\"\n\n"; + $msg_body.="$encoded_file\n"; + $msg_body.="--Message-Boundary--\n"; + $email_log="Email was sent to '".$config['email_recipient']."' with '".$dump['backupdatei']."'."; + $email_out=$lang['L_EMAIL_WAS_SEND']."`".$config['email_recipient']."`".$lang['L_WITH']."`".$dump['backupdatei']."`.
"; + } + } + else + { + //Multipart + $mp_sub="Backup '".$databases['Name'][$dump['dbindex']]."' - ".date("d\.m\.Y",time()); + $subject=$mp_sub; + $header.="FROM:".$config['email_sender']."\n"; + if (isset($config['email_recipient_cc'])&&trim($config['email_recipient_cc'])>'') $header.="Cc: ".$config['email_recipient_cc']."\r\n"; + $header.="MIME-version: 1.0\n"; + $header.="X-Mailer: PHP/".phpversion()."\n"; + $header.="X-Sender-IP: $REMOTE_ADDR\n"; + $header.="Content-Type: text/html; charset=utf-8"; + $dateistamm=substr($dump['backupdatei'],0,strrpos($dump['backupdatei'],"part_"))."part_"; + $dateiendung=($config['compression']==1) ? ".sql.gz":".sql"; + $mpdatei=Array(); + $mpfiles=""; + for($i=1;$i<($dump['part']-$dump['part_offset']);$i++) + { + $mpdatei[$i-1]=$dateistamm.$i.$dateiendung; + $sz=byte_output(@filesize($config['paths']['backup'].$mpdatei[$i-1])); + $mpfiles.=$mpdatei[$i-1]." (".$sz.")
"; + } + $msg_body=($config['send_mail_dump']==1) ? sprintf(addslashes($lang['L_EMAILBODY_MP_ATTACH']),$databases['Name'][$dump['dbindex']],$mpfiles):sprintf(addslashes($lang['L_EMAILBODY_MP_NOATTACH']),$databases['Name'][$dump['dbindex']],$mpfiles); + $email_log="Email was sent to '".$config['email_recipient']."'"; + $email_out=$lang['L_EMAIL_WAS_SEND']."`".$config['email_recipient']."`
"; + } + if (@mail($config['email_recipient'],stripslashes($subject),$msg_body,$header)) + { + $out.=''.$email_out.''; + WriteLog("$email_log"); + } + else + { + $out.=''.$lang['L_MAILERROR'].'
'; + WriteLog("Email to '".$config['email_recipient']."' failed !"); + ErrorLog("Email ",$databases['Name'][$dump['dbindex']],'Subject: '.stripslashes($subject),$lang['L_MAILERROR']); + $dump['errors']++; + } + + if (isset($mpdatei)&&$config['send_mail_dump']==1) + { // && ($config['email_maxsize']==0 || ($config['email_maxsize']>0 && $config['multipartgroesse2']<=$config['email_maxsize']))) { + for($i=0;$i'') $header.="Cc: ".$config['email_recipient_cc']."\r\n"; + $header.="MIME-version: 1.0\n"; + $header.="Content-type: multipart/mixed; "; + $header.="boundary=\"Message-Boundary\"\n"; + $header.="Content-transfer-encoding: 7BIT\n"; + $header.="X-attachments: $file_name"; + $body_top="--Message-Boundary\n"; + $body_top.="Content-type: text/html; charset=utf-8\n"; + $body_top.="Content-transfer-encoding: 7BIT\n"; + $body_top.="Content-description: Mail message body\n\n"; + $msg_body=$body_top.addslashes($lang['L_EMAIL_ONLY_ATTACHMENT'].$lang['L_EMAILBODY_FOOTER']); + $msg_body.="\n\n--Message-Boundary\n"; + $msg_body.="Content-type: $file_type; name=\"".$mpdatei[$i]."\"\n"; + $msg_body.="Content-Transfer-Encoding: BASE64\n"; + $msg_body.="Content-disposition: attachment; filename=\"".$mpdatei[$i]."\"\n\n"; + $msg_body.="$encoded_file\n"; + $msg_body.="--Message-Boundary--\n"; + $email_log="Email with $mpdatei[$i] was sent to '".$config['email_recipient']."'"; + $email_out=$lang['L_EMAIL_WAS_SEND']."`".$config['email_recipient']."`".$lang['L_WITH']."`".$mpdatei[$i]."`.
"; + + if (@mail($config['email_recipient'],stripslashes($subject),$msg_body,$header)) + { + $out.=''.$email_out.''; + WriteLog("$email_log"); + } + else + { + $out.=''.$lang['L_MAILERROR'].'
'; + WriteLog("Email to '".$config['email_recipient']."' failed !"); + ErrorLog("Email ",$databases['Name'][$dump['dbindex']],'Subject: '.stripslashes($subject),$lang['L_MAILERROR']); + $dump['errors']++; + } + } + } +} + +function DoFTP($i) +{ + global $config,$dump,$out; + + if ($config['multi_part']==0) + { + SendViaFTP($i,$dump['backupdatei'],1); + } + else + { + $dateistamm=substr($dump['backupdatei'],0,strrpos($dump['backupdatei'],"part_"))."part_"; + $dateiendung=($config['compression']==1) ? ".sql.gz":".sql"; + for($a=1;$a<($dump['part']-$dump['part_offset']);$a++) + { + $mpdatei=$dateistamm.$a.$dateiendung; + SendViaFTP($i,$mpdatei,$a); + } + } +} + +function SendViaFTP($i,$source_file,$conn_msg=1) +{ + global $config,$out,$lang; + flush(); + if ($conn_msg==1) $out.=''.$lang['L_FILESENDFTP']."(".$config['ftp_server'][$i]." - ".$config['ftp_user'][$i].")
"; + // Herstellen der Basis-Verbindung + if ($config['ftp_useSSL'][$i]==0) $conn_id=@ftp_connect($config['ftp_server'][$i],$config['ftp_port'][$i],$config['ftp_timeout'][$i]); + else + $conn_id=@ftp_ssl_connect($config['ftp_server'][$i],$config['ftp_port'][$i],$config['ftp_timeout'][$i]); + // Einloggen mit Benutzername und Kennwort + $login_result=@ftp_login($conn_id,$config['ftp_user'][$i],$config['ftp_pass'][$i]); + if ($config['ftp_mode'][$i]==1) ftp_pasv($conn_id,true); + + // Verbindung überprüfen + if ((!$conn_id)||(!$login_result)) + { + $out.=''.$lang['L_FTPCONNERROR'].$config['ftp_server'][$i].$lang['L_FTPCONNERROR1'].$config['ftp_user'][$i].$lang['L_FTPCONNERROR2'].'
'; + } + else + { + if ($conn_msg==1) $out.=''.$lang['L_FTPCONNECTED1'].$config['ftp_server'][$i].$lang['L_FTPCONNERROR1'].$config['ftp_user'][$i].'
'; + } + + // Upload der Datei + $dest=$config['ftp_dir'][$i].$source_file; + $source=$config['paths']['backup'].$source_file; + $upload=@ftp_put($conn_id,$dest,$source,FTP_BINARY); + + // Upload-Status überprüfen + if (!$upload) + { + $out.=''.$lang['L_FTPCONNERROR3']."
($source -> $dest)

"; + } + else + { + $out.=''.$lang['L_FILE'].' '.$source_file.''.$lang['L_FTPCONNECTED2'].$config['ftp_server'][$i].$lang['L_FTPCONNECTED3'].'
'; + WriteLog("'$source_file' sent via FTP."); + } + + // Schließen des FTP-Streams + @ftp_quit($conn_id); +} +?> diff --git a/inc/functions_files.php b/inc/functions_files.php new file mode 100644 index 0000000..b6b8ae0 --- /dev/null +++ b/inc/functions_files.php @@ -0,0 +1,491 @@ +'; + $r.=''; + + $dh=opendir($fpath); + while (false!==($filename=readdir($dh))) + { + if ($filename!="."&&$filename!=".."&&!is_dir($fpath.$filename)) + { + $r.='
'; +ob_end_flush(); +exit(); \ No newline at end of file diff --git a/inc/home/system.php b/inc/home/system.php new file mode 100644 index 0000000..94f00b1 --- /dev/null +++ b/inc/home/system.php @@ -0,0 +1,104 @@ +"; + $res=@mysql_query("FLUSH PRIVILEGES",$config['dbconnection']); + $meldung=mysql_error($config['dbconnection']); + if ($meldung!="") + { + $msg.='> MySQL-Error: '.$meldung; + } + else + { + $msg.="> Privileges were reloaded."; + } + break; + case 2: //FLUSH STATUS + $msg="> operating FLUSH STATUS
"; + $res=@mysql_query("FLUSH STATUS",$config['dbconnection']); + $meldung=mysql_error($config['dbconnection']); + if ($meldung!="") + { + $msg.='> MySQL-Error: '.$meldung; + } + else + { + $msg.="> Status was reset."; + } + break; + case 3: //FLUSH HOSTS + $msg="> operating FLUSH HOSTS
"; + $res=@mysql_query("FLUSH HOSTS",$config['dbconnection']); + $meldung=mysql_error($config['dbconnection']); + if ($meldung!="") + { + $msg.='> MySQL-Error: '.$meldung; + } + else + { + $msg.="> Hosts were reloaded."; + ; + } + break; + case 4: //SHOW MASTER LOGS + $msg="> operating SHOW MASTER LOGS
"; + $res=@mysql_query("SHOW MASTER LOGS",$config['dbconnection']); + $meldung=mysql_error($config['dbconnection']); + if ($meldung!="") + { + $msg.='> MySQL-Error: '.$meldung; + } + else + { + $numrows=mysql_num_rows($res); + if ($numrows==0||$numrows===false) + { + $msg.='> there are no master log-files'; + } + else + { + $msg.='> there are '.$numrows.' logfiles
'; + for ($i=0; $i<$numrows; $i++) + { + $row=mysql_fetch_row($res); + $msg.='> '.$row[0].'   '.(($data_dir) ? byte_output(@filesize($data_dir.$row[0])) : '').'
'; + } + } + } + break; + case 5: //RESET MASTER + $msg="> operating RESET MASTER
"; + $res=@mysql_query("RESET MASTER",$config['dbconnection']); + $meldung=mysql_error($config['dbconnection']); + if ($meldung!="") + { + $msg.='> MySQL-Error: '.$meldung; + } + else + { + $msg.="> All Masterlogs were deleted."; + } + break; +} +echo '
'.$lang['L_MYSQLSYS'].'
'; +echo ''; +echo '
'; +echo '> MySQL Dumper v'.MSD_VERSION.' - Output Console

'; +echo ($msg!="") ? $msg : '> waiting for operation ...
'; +echo '
'; diff --git a/inc/mysql.php b/inc/mysql.php new file mode 100644 index 0000000..4b3b14e --- /dev/null +++ b/inc/mysql.php @@ -0,0 +1,488 @@ + "http://dev.mysql.com/doc/mysql/de/Column_types.html" +); +$mysql_string_types = array( + 'char', + 'varchar', + 'tinytext', + 'text', + 'mediumtext', + 'longtext', + 'binary', + 'varbinary', + 'tinyblob', + 'mediumblob', + 'blob', + 'longblob', + 'enum', + 'set' +); +$mysql_SQLhasRecords=array( + + 'SELECT', + 'SHOW', + 'EXPLAIN', + 'DESCRIBE', + 'DESC' +); + +function MSD_mysql_connect($encoding='utf8', $keycheck_off=false, $actual_table='') +{ + global $config,$databases; + if (isset($config['dbconnection']) && is_resource($config['dbconnection'])) { + return $config['dbconnection']; + } + $port=( isset($config['dbport']) && !empty($config['dbport']) ) ? ':' . $config['dbport'] : ''; + $socket=( isset($config['dbsocket']) && !empty($config['dbsocket']) ) ? ':' . $config['dbsocket'] : ''; + $config['dbconnection']=@mysql_connect($config['dbhost'] . $port . $socket,$config['dbuser'],$config['dbpass']) or die(SQLError("Error establishing a database connection!", mysql_error())); + if (!defined('MSD_MYSQL_VERSION')) GetMySQLVersion(); + + if (!isset($config['mysql_standard_character_set']) || $config['mysql_standard_character_set'] == '') get_sql_encodings(); + + if ($config['mysql_standard_character_set'] != $encoding) + { + $set_encoding=@mysql_query('SET NAMES \'' . $encoding . '\'',$config['dbconnection']); + if ($set_encoding === false) $config['mysql_can_change_encoding']=false; + else $config['mysql_can_change_encoding']=true; + } + if ($keycheck_off) { + // only called with this param when restoring + mysql_query('SET FOREIGN_KEY_CHECKS=0',$config['dbconnection']); + // also set SQL-Mode NO_AUTO_VALUE_ON_ZERO for magento users + mysql_query('SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"', $config['dbconnection']); + } + return $config['dbconnection']; +} + +function GetMySQLVersion() +{ + $res=MSD_query("select version()"); + $row=mysql_fetch_array($res); + $version=$row[0]; + if (!defined('MSD_MYSQL_VERSION')) define('MSD_MYSQL_VERSION',$version); + $versions=explode('.',$version); + $new=false; + if ($versions[0] == 4 && $versions[1] >= 1) $new=true; + if ($versions[0] > 4) $new=true; + if (!defined('MSD_NEW_VERSION')) define('MSD_NEW_VERSION',$new); + return $version; +} + +function MSD_query($query, $error_output=true) +{ + global $config; + if (!isset($config['dbconnection'])) MSD_mysql_connect(); + //echo "
Query: ".htmlspecialchars($query); + $res=mysql_query($query,$config['dbconnection']); + if (false === $res && $error_output) SQLError($query,mysql_error($config['dbconnection'])); + return $res; + +} + +function SQLError($sql, $error, $return_output=false) +{ + global $lang; + + $ret='
+ + + +
MySQL-ERROR
' . $lang['L_SQL_ERROR2'] . '
' . $error . '

' . $lang['L_SQL_ERROR1'] . '
' . Highlight_SQL($sql) . '

'; + if ($return_output) return $ret; + else echo $ret; +} + +function Highlight_SQL($sql) +{ + global $sql_keywords; + + $end=''; + $tickstart=false; + if (function_exists("token_get_all")) $a=@token_get_all(""); + else return $sql; + foreach ($a as $token) + { + if (!is_array($token)) + { + if ($token == '`') $tickstart=!$tickstart; + $end.=$token; + } + else + { + if ($tickstart) $end.=$token[1]; + else + { + switch (token_name($token[0])) + { + case "T_STRING": + case "T_AS": + case "T_FOR": + + $end.=( in_array(strtoupper($token[1]),$sql_keywords) ) ? "" . $token[1] . "" : $token[1]; + break; + case "T_IF": + case "T_LOGICAL_AND": + case "T_LOGICAL_OR": + case "T_LOGICAL_XOR": + $end.=( in_array(strtoupper($token[1]),$sql_keywords) ) ? "" . $token[1] . "" : $token[1]; + break; + case "T_CLOSE_TAG": + case "T_OPEN_TAG": + break; + default: + $end.=$token[1]; + } + } + } + } + $end=preg_replace("/`(.*?)`/si","`$1`",$end); + return $end; +} + +function Fieldlist($db, $tbl) +{ + $fl=''; + $res=MSD_query("SHOW FIELDS FROM `$db`.`$tbl`;"); + if ($res) + { + $fl='('; + for ($i=0; $i < mysql_num_rows($res); $i++) + { + $row=mysql_fetch_row($res); + $fl.='`' . $row[0] . '`,'; + } + $fl=substr($fl,0,strlen($fl) - 1) . ')'; + } + return $fl; +} + +// reads all Tableinfos and place them in $dump-Array +function getDBInfos() +{ + global $databases,$dump,$config,$tbl_sel,$flipped; + for ($ii=0; $ii < count($databases['multi']); $ii++) + { + $dump['dbindex']=$flipped[$databases['multi'][$ii]]; + $tabellen=mysql_query('SHOW TABLE STATUS FROM `' . $databases['Name'][$dump['dbindex']] . '`',$config['dbconnection']) or die('getDBInfos: ' . mysql_error()); + $num_tables=mysql_num_rows($tabellen); + // Array mit den gewünschten Tabellen zusammenstellen... wenn Präfix angegeben, werden die anderen einfach nicht übernommen + if ($num_tables > 0) + { + for ($i=0; $i < $num_tables; $i++) + { + $row=mysql_fetch_array($tabellen); + if (isset($row['Type'])) $row['Engine']=$row['Type']; + if (isset($row['Comment']) && substr(strtoupper($row['Comment']),0,4) == 'VIEW') $dump['table_types'][]='VIEW'; + else $dump['table_types'][]=strtoupper($row['Engine']); + // check if data needs to be backed up + if (strtoupper($row['Comment']) == 'VIEW' || ( isset($row['Engine']) && in_array(strtoupper($row['Engine']),array( + 'MEMORY' + )) )) + { + $dump['skip_data'][]=$databases['Name'][$dump['dbindex']] . '|' . $row['Name']; + } + if ($config['optimize_tables_beforedump'] == 1 && $dump['table_offset'] == -1 + && $databases['Name'][$dump['dbindex']]!='information_schema') { + mysql_select_db($databases['Name'][$dump['dbindex']]); + $opt = 'OPTIMIZE TABLE `' . $row['Name'] . '`'; + $res = mysql_query('OPTIMIZE TABLE `' . $row['Name'] . '`'); + if ($res === false) { + die("Error in ".$opt." -> ".mysql_error()); + } + } + + if (isset($tbl_sel)) + { + if (in_array($row['Name'],$dump['tblArray'])) + { + $dump['tables'][]=$databases['Name'][$dump['dbindex']] . '|' . $row['Name']; + $dump['records'][]=$databases['Name'][$dump['dbindex']] . '|' . $row['Rows']; + $dump['totalrecords']+=$row['Rows']; + } + } + elseif ($databases['praefix'][$dump['dbindex']] != '' && !isset($tbl_sel)) + { + if (substr($row['Name'],0,strlen($databases['praefix'][$dump['dbindex']])) == $databases['praefix'][$dump['dbindex']]) + { + $dump['tables'][]=$databases['Name'][$dump['dbindex']] . '|' . $row['Name']; + $dump['records'][]=$databases['Name'][$dump['dbindex']] . '|' . $row['Rows']; + $dump['totalrecords']+=$row['Rows']; + } + } + else + { + $dump['tables'][]=$databases['Name'][$dump['dbindex']] . '|' . $row['Name']; + $dump['records'][]=$databases['Name'][$dump['dbindex']] . '|' . $row['Rows']; + + // Get nr of records -> need to do it this way because of incorrect returns when using InnoDBs + $sql_2="SELECT count(*) as `count_records` FROM `" . $databases['Name'][$dump['dbindex']] . "`.`" . $row['Name'] . "`"; + $res2=@mysql_query($sql_2); + if ($res2 === false) + { + $read_error='(' . mysql_errno() . ') ' . mysql_error(); + SQLError($read_error,$sql_2); + WriteLog($read_error); + if ($config['stop_with_error'] > 0) + { + die($read_error); + } + } + else + { + $row2=@mysql_fetch_array($res2); + $row['Rows']=$row2['count_records']; + $dump['totalrecords']+=$row['Rows']; + } + } + } + // Correct total number of records; substract skipped data + foreach ($dump['skip_data'] as $skip_data) + { + $index=false; + $records_to_skip=0; + //find index of table to get the nr of records + $count=sizeof($dump['tables']); + for ($a=0; $a < $count; $a++) + { + if ($dump['tables'][$a] == $skip_data) + { + $index=$a; + $t=explode('|',$dump['records'][$a]); + $rekords_to_skip=$t[1]; + break; + } + } + if ($index) $dump['totalrecords']-=$rekords_to_skip; + } + } + } +} + +// gets the numeric index in dump-array and returns it +function getDBIndex($db, $table) +{ + global $dump; + $index=array_keys($dump['tables'],$db . '|' . $table); + return $index[0]; +} +?> diff --git a/inc/runtime.php b/inc/runtime.php new file mode 100644 index 0000000..b6037a5 --- /dev/null +++ b/inc/runtime.php @@ -0,0 +1,137 @@ += 0) { + error_reporting(E_ALL & ~E_DEPRECATED); +} + +if (function_exists("date_default_timezone_set")) date_default_timezone_set(@date_default_timezone_get()); +//Konstanten +if (!defined('MSD_VERSION')) define('MSD_VERSION','1.24.4'); +if (!defined('MSD_OS')) define('MSD_OS',PHP_OS); +if (!defined('MSD_OS_EXT')) define('MSD_OS_EXT',@php_uname()); +if (!defined('config') || !is_array($config)) $config=array(); +if (!defined('databases') || !is_array($databases)) $databases=array(); + +//Pfade und Files +$config['paths']['root']=Realpfad('./'); +$config['paths']['work']='work/'; +$config['paths']['backup']=$config['paths']['work'] . 'backup/'; +$config['paths']['log']=$config['paths']['work'] . 'log/'; +$config['paths']['config']=$config['paths']['work'] . 'config/'; +$config['paths']['perlexec']='msd_cron/'; + +if (isset($_SESSION['config_file'])) +{ + $config['config_file']=$_SESSION['config_file']; + $config['cron_configurationfile']=$_SESSION['config_file']; +} +else +{ + $config['config_file']='mysqldumper'; + $_SESSION['config_file']='mysqldumper'; + $config['cron_configurationfile']='mysqldumper.conf.php'; +} +$config['files']['log']=$config['paths']['log'] . 'mysqldump.log'; +$config['files']['perllog']=$config['paths']['log'] . 'mysqldump_perl.log'; +$config['files']['perllogcomplete']=$config['paths']['log'] . 'mysqldump_perl.complete.log'; +$config['files']['parameter']=$config['paths']['config'] . $config['config_file'] . '.php'; + +// inti MySQL-Setting-Vars +$config['mysql_standard_character_set']=''; +$config['mysql_possible_character_sets']=array(); + +//Ini-Parameter +$config['max_execution_time']=get_cfg_var('max_execution_time'); +$config['max_execution_time']=( $config['max_execution_time'] <= 0 ) ? 30 : $config['max_execution_time']; +if ($config['max_execution_time'] > 30) $config['max_execution_time']=30; +$config['upload_max_filesize']=get_cfg_var('upload_max_filesize'); +$config['safe_mode']=get_cfg_var('safe_mode'); +$config['magic_quotes_gpc']=get_magic_quotes_gpc(); +$config['disabled']=get_cfg_var('disable_functions'); +$config['phpextensions']=implode(', ',get_loaded_extensions()); +$m=trim(str_replace('M','',ini_get('memory_limit'))); +// fallback if ini_get doesn't work +if (intval($m) == 0) $m=trim(str_replace('M','',get_cfg_var('memory_limit'))); +$config['php_ram']=$m; + +//Ist zlib moeglich? +$p1=explode(', ',$config['phpextensions']); +$p2=explode(',',str_replace(' ','',$config['disabled'])); + +//Buggy PHP-Version ? +$p3=explode('.',PHP_VERSION); +$buggy=( $p3[0] == 4 && $p3[1] == 3 && $p3[2] < 3 ); +$config['zlib']=( !$buggy ) && ( in_array('zlib',$p1) && ( !in_array('gzopen',$p2) || !in_array('gzwrite',$p2) || !in_array('gzgets',$p2) || !in_array('gzseek',$p2) || !in_array('gztell',$p2) ) ); + +//Tuning-Ecke +$config['tuning_add']=1.1; +$config['tuning_sub']=0.9; +$config['time_buffer']=0.75; //max_zeit=$config['max_execution_time']*$config['time_buffer'] +$config['perlspeed']=10000; //Anzahl der Datensaetze, die in einem Rutsch gelesen werden +$config['ignore_enable_keys'] = 0; + +//Bausteine +$config['homepage']='http://mysqldumper.net'; +$languagepacks_ref='http://forum.mysqldumper.de/downloads.php?cat=9'; +$stylepacks_ref='http://forum.mysqldumper.de/downloads.php?cat=3'; +$nl="\n"; +$mysql_commentstring='--'; + +//config-Variablen, die nicht gesichert werden sollen +$config_dontsave=Array( + + 'homepage', + 'max_execution_time', + 'safe_mode', + 'magic_quotes_gpc', + 'disabled', + 'phpextensions', + 'php_ram', + 'zlib', + 'tuning_add', + 'tuning_sub', + 'time_buffer', + 'perlspeed', + 'cron_configurationfile', + 'dbconnection', + 'version', + 'mysql_possible_character_sets', + 'mysql_standard_character_set', + 'config_file', + 'upload_max_filesize', + 'mysql_can_change_encoding', + 'cron_samedb', + 'paths', + 'files' +); + +$dontBackupDatabases = array('mysql', 'information_schema'); + +// Automatisches entfernen von Slashes und Leerzeichen vorn und hinten abschneiden +if (1==get_magic_quotes_gpc()) +{ + $_POST=stripslashes_deep($_POST); + $_GET=stripslashes_deep($_GET); +} +$_POST=trim_deep($_POST); +$_GET=trim_deep($_GET); + +function v($t) +{ + echo '
'; + if (is_array($t) || is_object($t)) + { + echo '
';
+		print_r($t);
+		echo '
'; + } + else + echo $t; +} + +function getServerProtocol() +{ + return ( isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on' ) ? 'https://' : 'http://'; +} + +?> \ No newline at end of file diff --git a/inc/sql_importexport.php b/inc/sql_importexport.php new file mode 100644 index 0000000..e747424 --- /dev/null +++ b/inc/sql_importexport.php @@ -0,0 +1,294 @@ +' . $lang['L_IMPORT_NOTABLE'] . ''; + } + else + { + if ($_POST['import_source'] == 0) + { + //Import aus textbox + $sql['import']['csv']=explode($sql['import']['endline'],$sql['import']['text']); + + } + else + { + if (!isset($_FILES['upfile']['name']) || empty($_FILES['upfile']['name'])) + { + $aus.='' . $lang['L_FM_UPLOADFILEREQUEST'] . ''; + } + else + { + $fn=$_FILES['upfile']['tmp_name']; + + $sql['import']['csv']=( substr($_FILES['upfile']['name'],-3) == ".gz" ) ? gzfile($fn) : file($fn); + $sql['import']['text']=implode("",$sql['import']['csv']); + $aus.='' . $lang['L_SQL_UPLOADEDFILE'] . '' . $_FILES['upfile']['name'] . '   ' . byte_output(filesize($_FILES['upfile']['tmp_name'])) . ''; + + } + } + if (is_array($sql['import']['csv'])) $aus.=DoImport(); + else $aus.='
' . $lang['L_CSV_NODATA'] . ''; + + } + } + $impaus=$aus; + + $impaus.='
' . $nl; + $impaus.=''; + $impaus.='' . $lang['L_EXPORT'] . ''; + $impaus.='
' . sprintf($lang['L_SQL_IMPORT'],$databases['Name'][$dbid]) . '
'; + $impaus.='' . $nl; + + $impaus.=''; + + $impaus.=''; + + $impaus.=''; + + $impaus.='
' . $nl; + $impaus.=$lang['L_IMPORTOPTIONS'] . '' . $lang['L_CSVOPTIONS'] . '
' . $nl; + $impaus.='' . $nl; + $impaus.='' . $nl; + $impaus.='' . $nl; + $impaus.='' . $nl; + $impaus.='' . $nl; + $impaus.='' . $nl; + $impaus.='
' . $lang['L_IMPORTTABLE'] . '
' . $lang['L_IMPORTSOURCE'] . '' . $lang['L_FROMTEXTBOX'] . '
' . $nl; + $impaus.='' . $lang['L_FROMFILE'] . '
' . $lang['L_EMPTYTABLEBEFORE'] . '
' . $lang['L_CREATEAUTOINDEX'] . '
' . $nl; + + $impaus.='
' . $nl; + + $impaus.='' . $nl; + $impaus.='' . $nl; + $impaus.='' . $nl; + $impaus.='' . $nl; + $impaus.='' . $nl; + $impaus.='' . $nl; + $impaus.='' . $nl; + $impaus.='
' . $lang['L_CSV_NAMEFIRSTLINE'] . '
' . $lang['L_CSV_FIELDSEPERATE'] . '
' . $lang['L_CSV_FIELDSENCLOSED'] . '
' . $lang['L_CSV_FIELDSESCAPE'] . '
' . $lang['L_CSV_EOL'] . '
' . $lang['L_CSV_NULL'] . '
' . $nl; + + $impaus.='
' . $lang['L_CSV_FILEOPEN'] . ':   + '; + $impaus.='
' . $nl; + + $impaus.='

 

' . $lang['L_IMPORT'] . ':
' . $nl; + + $impaus.='' . $nl; + + echo $impaus . $nl; + +} +else +{ + //EXPORT + $tables=0; + $tblstr=""; + $sql['export']['db']=$db; + + if (isset($_POST['f_export_submit'])) + { + //echo '
'.print_r($_POST,true).'

'; + $sql['export']['header_sent']=""; + $sql['export']['lines']=0; + $sql['export']['format']=$_POST['f_export_format']; + $sql['export']['ztrenn']=( $config['magic_quotes_gpc'] ) ? stripslashes($_POST['f_export_csvztrenn']) : $_POST['f_export_csvztrenn']; + $sql['endline']['ztrenn']=$sql['export']['ztrenn']; + if ($sql['export']['format'] == 0) + { + //CSV + $format=0; + $sql['export']['trenn']=( $config['magic_quotes_gpc'] ) ? stripslashes($_POST['f_export_csvtrenn']) : $_POST['f_export_csvtrenn']; + $sql['export']['enc']=( $config['magic_quotes_gpc'] ) ? stripslashes($_POST['f_export_csvenc']) : $_POST['f_export_csvenc']; + $sql['export']['esc']=( $config['magic_quotes_gpc'] ) ? stripslashes($_POST['f_export_csvesc']) : $_POST['f_export_csvesc']; + if (empty($sql['export']['endline'])) + { + $sql['export']['endline']=$nl; + } + else + { + $sql['export']['endline']=str_replace('\\r',"\015",$sql['export']['endline']); + $sql['export']['endline']=str_replace('\\n',"\012",$sql['export']['endline']); + $sql['export']['endline']=str_replace('\\t',"\011",$sql['export']['endline']); + } + $sql['export']['endline']=str_replace('\\t',"\011",$sql['export']['endline']); + } + elseif ($sql['export']['format'] == 1) + { + //EXCEL + $format=1; + $sql['export']['trenn']=","; + $sql['export']['enc']='"'; + $sql['export']['esc']='"'; + $sql['export']['endline']="\015\012"; + } + elseif ($sql['export']['format'] == 3) + { + //EXCEL 2003 + $format=1; + $sql['export']['trenn']=";"; + $sql['export']['enc']='"'; + $sql['export']['esc']='"'; + $sql['export']['endline']="\015\012"; + } + elseif ($sql['export']['format'] == 4) + { + //XML + $format=4; + CheckcsvOptions(); + } + elseif ($sql['export']['format'] == 5) + { + //HTML + $format=5; + CheckcsvOptions(); + } + if ($format < 3) $sql['export']['null']=( $config['magic_quotes_gpc'] ) ? stripslashes($_POST['f_export_csvnull' . $format]) : $_POST['f_export_csvnull' . $format]; + $sql['export']['namefirstline']=( isset($_POST['f_export_namefirstline' . $format]) ) ? $_POST['f_export_namefirstline' . $format] : 0; + + $sql['export']['sendfile']=$_POST['f_export_sendresult']; + $sql['export']['compressed']=( isset($_POST['f_export_compressed']) ) ? $_POST['f_export_compressed'] : 0; + + $sql['export']['exportfile']=""; + $sql['export']['xmlstructure']=( isset($_POST['f_export_xmlstructure']) ) ? $_POST['f_export_xmlstructure'] : 0; + $sql['export']['htmlstructure']=( isset($_POST['f_export_htmlstructure']) ) ? $_POST['f_export_htmlstructure'] : 0; + + //ausgewählte Tabellen + if (isset($_POST['f_export_tables'])) + { + $sql['export']['tables']=$_POST['f_export_tables']; + } + } + else + CheckcsvOptions(); + + //Tabellenliste + $sqlt="SHOW TABLE STATUS FROM `$db`"; + $res=MSD_query($sqlt); + if ($res) + { + $sql['export']['tablecount']=mysql_numrows($res); + $sql['export']['recordcount']=0; + for ($i=0; $i < $sql['export']['tablecount']; $i++) + { + $row=mysql_fetch_array($res); + $tblstr.='' . "\n"; + $sql['export']['recordcount']+=$row['Rows']; + } + } + + $exaus=$aus . '

' . sprintf($lang['L_SQL_EXPORT'],$databases['Name'][$dbid]) . '

'; + + $exaus.='
' . $nl; + $exaus.='' . $lang['L_IMPORT'] . ''; + $exaus.='
' . sprintf($lang['L_SQL_EXPORT'],$databases['Name'][$dbid]) . '
'; + $exaus.='' . $nl; + $exaus.=''; + $exaus.=''; + $exaus.=''; + + $exaus.='
' . $lang['L_TABLES'] . '' . $lang['L_EXPORTOPTIONS'] . '' . $lang['L_EXPORT'] . '
' . $sql['export']['tablecount'] . ' ' . $lang['L_TABLES'] . ', ' . $sql['export']['recordcount'] . ' ' . $lang['L_RECORDS'] . ''; + $exaus.='   ' . $lang['L_ALL'] . '  ' . $lang['L_NONE'] . '' . $nl; + + $exaus.='

' . $nl; + $exaus.='
' . $nl; + $exaus.='' . $nl; + $exaus.='' . "CSV" . '   ' . $nl; + $exaus.='' . "Excel" . '   ' . $nl; + $exaus.='' . $lang['L_EXCEL2003'] . '
' . $nl; + $exaus.='' . "XML" . '   ' . $nl; + $exaus.='' . "HTML" . '

' . $nl; + $exaus.='
CSV-Optionen' . $nl; + $exaus.='' . $nl; + $exaus.='' . $nl; + $exaus.='' . $nl; + $exaus.='' . $nl; + $exaus.='' . $nl; + $exaus.='
' . $nl; + $exaus.='' . $lang['L_CSV_NAMEFIRSTLINE'] . '
' . $lang['L_CSV_FIELDSEPERATE'] . '
' . $lang['L_CSV_FIELDSENCLOSED'] . '
' . $lang['L_CSV_FIELDSESCAPE'] . '
' . $lang['L_CSV_EOL'] . '
' . $lang['L_CSV_NULL'] . '
' . $nl; + + $exaus.='
Excel-Optionen' . $nl; + $exaus.='' . $nl; + $exaus.='
'; + $exaus.='' . $lang['L_CSV_NAMEFIRSTLINE'] . '
' . $lang['L_CSV_NULL'] . '
' . $nl; + + $exaus.='
XML-Optionen'; + $exaus.=''; + $exaus.='
mit Struktur
' . $nl; + + $exaus.='
HTML-Optionen'; + $exaus.=''; + $exaus.='
mit Struktur
' . $nl; + + $exaus.='
' . $nl; + $exaus.='' . $lang['L_SHOWRESULT'] . '
' . $nl; + $exaus.='' . $lang['L_SENDRESULTASFILE'] . '
' . $nl; + $exaus.='
' . $lang['L_COMPRESSED'] . '

' . $nl; + + $exaus.='
' . $nl; + $exaus.='
' . $nl; + + $exaus.='' . $nl; + + if (!$download) echo $exaus . $nl; + if (isset($_POST['f_export_submit']) && isset($sql['export']['tables'])) + { + if (!$download) echo '

' . $lang['L_EXPORT'] . ':zeige in neuem Fenster

' . $nl; + echo '' . $lang['L_EXPORTFINISHED'] . '  ' . sprintf($lang['L_EXPORTLINES'],$sql['export']['lines']) . $nl; + } + else + { + exit(); + } + } +} + +?> \ No newline at end of file diff --git a/inc/sql_tools.php b/inc/sql_tools.php new file mode 100644 index 0000000..db5183f --- /dev/null +++ b/inc/sql_tools.php @@ -0,0 +1,187 @@ +' . $lang['L_TOOLS'] . ''; +if (isset($_POST['dbdosubmit'])) +{ + $newname=$_POST['newname']; + $db_index=$_POST['db_index']; + $db_action=$_POST['db_action']; + $changed=false; + $ausgabe=$out=""; + switch ($db_action) + { + case "drop": + if (MSD_DoSQL("DROP DATABASE `" . $databases['Name'][$db_index] . "`")) + { + echo SQLOutput($out,'

' . $lang['L_DB'] . ' `' . $databases['Name'][$db_index] . '` ' . $lang['L_SQL_DELETED'] . '

'); + $changed=true; + } + break; + case "empty": + EmptyDB($databases['Name'][$db_index]); + echo SQLOutput($out,'

' . $lang['L_DB'] . ' `' . $databases['Name'][$db_index] . '` ' . $lang['L_SQL_WASEMPTIED'] . '.

'); + break; + case "rename": + $dbold=$databases['Name'][$db_index]; + if (DB_Copy($dbold,$newname,1)) + { + echo SQLOutput($out,'

' . $lang['L_DB'] . ' `' . $dbold . '` ' . $lang['L_SQL_RENAMEDTO'] . ' `' . $newname . '`.

'); + $changed=true; + } + break; + case "copy": + $dbold=$databases['Name'][$db_index]; + if (DB_Copy($dbold,$newname)) + { + $changed=true; + echo SQLOutput($out,'

' . sprintf($lang['L_SQL_DBCOPY'],$dbold,$newname) . '

'); + } + break; + case "structure": + if (DB_Copy($databases['Name'][$db_index],$newname,0,0)) + { + $changed=true; + echo SQLOutput($out,'

' . sprintf($lang['L_SQL_DBSCOPY'],$databases['Name'][$db_index],$newname) . '

'); + } + break; + case "rights": + break; + } + + if ($changed==true) + { + SetDefault(); + include ( $config['files']['parameter'] ); + echo ''; + + } +} +if (isset($_POST['dbwantaction'])) +{ + if (isset($_POST['db_createnew'])) + { + $newname=trim($_POST['db_create']); + if (!empty($newname)) + { + $sqlc="CREATE DATABASE `$newname`"; + $col=( MSD_NEW_VERSION ) ? $_POST['db_collate'] : ""; + if (isset($_POST['db_default_charset']) && intval(substr(MSD_NEW_VERSION,0,1)) > 3) + { + $db_default_charset_string=$config['mysql_possible_character_sets'][$_POST['db_default_charset']]; + $db_default_charset=explode(' ',$db_default_charset_string); + if (isset($db_default_charset[0])) $sqlc.=' DEFAULT CHARACTER SET `' . $db_default_charset[0] . '`'; + } + $db_default_collation=@explode('|',$col); + if (isset($db_default_collation[1])) $sqlc.=' COLLATE `' . $db_default_collation[1] . '`'; + + if (MSD_query($sqlc)) + { + echo $lang['L_DB'] . " `$newname` " . $lang['L_SQL_WASCREATED'] . ".
"; + SetDefault(); + include ( $config['files']['parameter'] ); + echo ''; + } + } + } + $db_action=$newname=""; + $db_index=-1; + for ($i=0; $i < count($databases['Name']); $i++) + { + if (isset($_POST['db_do_' . $i])) + { + $newname=$_POST['db_rename' . $i]; + $db_index=$i; + $db_action=$_POST['db_do_action_' . $i]; + break; + } + } + if ($db_action != "") + { + echo '
'; + echo '
+ + + '; + switch ($db_action) + { + case "drop": + echo '' . sprintf($lang['L_ASKDBDELETE'],$databases['Name'][$i]) . '

'; + echo ''; + break; + case "empty": + echo '' . sprintf($lang['L_ASKDBEMPTY'],$databases['Name'][$i]) . '

'; + echo ''; + break; + case "rename": + echo '' . $lang['L_SQL_RENAMEDB'] . ' `' . $databases['Name'][$db_index] . '` ' . $lang['L_IN'] . ' `' . $newname . '`

'; + if ($newname == "") echo '

' . $lang['L_SQL_NAMEDEST_MISSING'] . '

'; + else + { + echo ''; + } + break; + case "copy": + echo '' . sprintf($lang['L_ASKDBCOPY'],$databases['Name'][$db_index],$newname) . '

'; + if ($newname == "") echo '

' . $lang['L_SQL_NAMEDEST_MISSING'] . '

'; + else + { + echo ''; + } + break; + case "structure": + echo '' . $lang['L_FM_ASKDBCOPY1'] . '`' . $databases['Name'][$db_index] . '`' . $lang['L_FM_ASKDBCOPY2'] . '`' . $newname . '`' . $lang['L_FM_ASKDBCOPY3'] . '

'; + if ($newname == "") echo '

' . $lang['L_SQL_NAMEDEST_MISSING'] . '

'; + else + { + echo ''; + } + break; + case "rights": + break; + } + echo '

'; + } +} + +echo '
'; +echo '
'; +echo ''; +echo ''; + +echo ''; + +echo ''; +echo ''; +echo '
' . $lang['L_CREATE_DATABASE'] . '
Name:
' . $lang['L_DEFAULT_CHARSET'] . ':
' . $lang['L_COLLATION'] . '
'; + +echo '
'; +echo ''; +for ($i=0; $i < count($databases['Name']); $i++) +{ + $cl=( $i % 2 ) ? "dbrow" : "dbrow1"; + echo ( $i == $databases['db_selected_index'] ) ? '' : ''; + echo ''; + echo ''; +} + +echo '
' . $lang['L_DBS'] . '' . $lang['L_SQL_ACTIONS'] . '
' . $databases['Name'][$i] . ''; + echo '  '; + echo "\n\n" . '  '; + + echo '  
'; + diff --git a/inc/sqlbrowser/mysql_search.php b/inc/sqlbrowser/mysql_search.php new file mode 100644 index 0000000..a928145 --- /dev/null +++ b/inc/sqlbrowser/mysql_search.php @@ -0,0 +1,397 @@ +count($tables)-1) $table_selected=0; + +$offset=(isset($_POST['offset'])) ? intval($_POST['offset']) : 0; + +$tablename=isset($_GET['tablename']) ? urldecode($_GET['tablename']) : ''; + +// Delete +if (isset($_GET['mode'])&&$_GET['mode']=="kill"&&$rk>'') +{ + //echo "
RK ist: ".$rk."

"; + $sqlk="DELETE FROM `$tablename` WHERE ".$rk." LIMIT 1"; + //echo $sqlk; + $res=MSD_query($sqlk); + // echo "
".$res; + $aus.='

'.$lang['L_SQL_RECORDDELETED'].'

'; +} + +function mysql_search($db, $tabelle, $suchbegriffe, $suchart, $offset=0, $anzahl_ergebnisse=20, $auszuschliessende_tabellen='') +{ + global $tables,$config; + $ret=false; + $link=MSD_mysql_connect(); + if (sizeof($tables)>0) + { + $suchbegriffe=trim(str_replace('*','',$suchbegriffe)); + $suchworte=explode(' ',$suchbegriffe); + if (($suchbegriffe>'')&&(is_array($suchworte))) + { + // Leere Einträge (durch doppelte Leerzeichen) entfernen + $anzahl_suchworte=sizeof($suchworte); + for ($i=0; $i<$anzahl_suchworte; $i++) + { + if (trim($suchworte[$i])=='') unset($suchworte[$i]); + } + + $bedingung=''; + $where=''; + $felder=''; + + // Felder ermitteln + $sql='SHOW COLUMNS FROM `'.$db.'`.`'.$tables[$tabelle].'`'; + $res=mysql_query($sql,$link); + unset($felder); + if (!$res===false) + { + // Felder der Tabelle ermitteln + WHILE ($row=mysql_fetch_object($res)) + { + $felder[]=$row->Field; + } + } + + $feldbedingung=''; + if ($suchart=='CONCAT') + { + if (is_array($felder)) + { + //Concat-String bildem + $concat=implode('`),LOWER(`',$felder); + $concat='CONCAT_WS(\'\',LOWER(`'.$concat.'`))'; + $where=''; + foreach ($suchworte as $suchbegriff) + { + $where.=$concat.' LIKE \'%'.strtolower($suchbegriff).'%\' AND '; + } + $where=substr($where,0,-4); // letztes AND entfernen + $sql='SELECT * FROM `'.$db.'`.`'.$tables[$tabelle].'` WHERE '.$where.' LIMIT '.$offset.','.$anzahl_ergebnisse; + } + } + else + { + $pattern='`{FELD}` LIKE \'%{SUCHBEGRIFF}%\''; + if (is_array($felder)) + { + foreach ($felder as $feld) + { + unset($feldbedingung); + foreach ($suchworte as $suchbegriff) + { + $suchen=ARRAY( + + '{FELD}', + '{SUCHBEGRIFF}'); + $ersetzen=ARRAY( + + $feld, + $suchbegriff); + $feldbedingung[]=str_replace($suchen,$ersetzen,$pattern); + } + $bedingung[]='('.implode(' '.$suchart.' ',$feldbedingung).') '; + } + } + else + die('
Fehler bei Suche: ich konnte nicht ermitteln welche Felder die Tabelle "'.$tabelle.'" hat!'); + $where=implode(' OR ',$bedingung); + $sql='SELECT * FROM `'.$db.'`.`'.$tables[$tabelle].'` WHERE ('.$where.') LIMIT '.$offset.','.$anzahl_ergebnisse; + } + } + else + $sql='SELECT * FROM `'.$db.'`.`'.$tables[$tabelle].'` LIMIT '.$offset.','.$anzahl_ergebnisse; + + $res=@mysql_query($sql,$link); + if ($res) + { + WHILE ($row=mysql_fetch_array($res,MYSQL_ASSOC)) + { + //Treffer markieren + foreach ($row as $key=>$val) + { + foreach ($suchworte as $suchbegriff) + { + $row[$key]=markiere_suchtreffer($suchbegriff,$row[$key]); + } + $row[$key]=ersetze_suchtreffer($row[$key]); + } + $ret[]=$row; + } + } + } + return $ret; +} + +// Markiert den Suchbegriff mit einem Code (ASCII 01/02) +// - falls nicht gefunden : Rückgabe des Originalstrings +// +function markiere_suchtreffer($suchbegriff, $suchstring) +{ + $str=strtolower($suchstring); + $suchbegriff=strtolower($suchbegriff); + if ((strlen($str)>0)&&(strlen($suchbegriff)>0)) + { + // Treffer Position bestimmen + $offset=0; + $trefferpos=0; + while (($offset<=strlen($str))) + //Wenn nur der erste Treffer markiert werden soll, so muss die Zeile so lauten + // while ( ($offset<=strlen($str)) || ($in_html==false) ) + { + for ($offset=$trefferpos; $offset<=strlen($str); $offset++) + { + $start=strpos($str,$suchbegriff,$offset); + if ($start===false) $offset=strlen($str)+1; + else + { + if ($offset<=strlen($str)) + { + //Treffer überprüfen + $in_html=false; + // Steht die Fundstelle zwischen < und > (also im HTML-Tag) ? + for ($position=$start; $position>=0; $position--) + { + if (substr($str,$position,1)==">") + { + $in_html=false; + $position=-1; // Schleife verlassen + } + if (substr($str,$position,1)=="<") + { + $in_html=true; + $position=-1; // Schleife verlassen + } + } + if ($in_html) + { + for ($position2=$start; $position2") + { + $in_html=true; + $position2=strlen($str)+1; + $offset=strlen($str)+1; + } + } + } + if (!$in_html) + { + $ersetzen=substr($suchstring,$start,strlen($suchbegriff)); + $str=substr($suchstring,0,$start); + $str.=chr(1).$ersetzen.chr(2); + $str.=substr($suchstring,($start+strlen($ersetzen)),(strlen($suchstring)-strlen($ersetzen))); + $suchstring=$str; + } + if ($in_html) + { + $trefferpos=$start+1; + $offset=$trefferpos; + } + } + $offset=$start+1; + } + } + } + } + return $suchstring; +} + +// Ersetzt die Codes letztlich durch die Fontangabe +function ersetze_suchtreffer($text) +{ + $such=ARRAY( + + chr(1), + chr(2)); + $ersetzen=ARRAY( + + '', + ''); + return str_replace($such,$ersetzen,htmlspecialchars($text)); +} + +$suchbegriffe=trim($suchbegriffe); // Leerzeichen vorne und hinten wegschneiden +if (isset($_POST['reset'])) +{ + $suchbegriffe=''; + $_SESSION['mysql_search']['suchbegriffe']=''; + $suchart='AND'; + $_SESSION['mysql_search']['suchart']='AND'; + $table_selected=0; + $_SESSION['mysql_search']['table_selected']=0; +} +$showtables=0; // Anzeige der Tabellendaten im restlichen SQL-Browser ausschalten + + +// Fix bis zur kompletten Umstellung auf Templates +echo $aus; +$aus=''; + +$anzahl_tabellen=sizeof($tables); +$table_options=''; +if ($anzahl_tabellen>0) +{ + for ($i=0; $i<$anzahl_tabellen; $i++) + { + if (isset($tables[$i])) + { + $table_options.='