From b303dd00d6ca23fa4618e0ec716863e6856c39e6 Mon Sep 17 00:00:00 2001 From: Gregor Schulte Date: Tue, 15 Jun 2021 11:08:34 +0200 Subject: [PATCH] Init Repo --- Pi Control.iml | 8 + README.md | 7 + api/v1/detailed_overview.php | 104 + api/v1/discover_plugins.php | 19 + api/v1/feedback.php | 68 + api/v1/login.php | 111 + api/v1/logs.php | 19 + api/v1/logs_download.php | 36 + api/v1/main.php | 22 + api/v1/network.php | 73 + api/v1/network_configuration_interface.php | 26 + api/v1/network_connect_wlan.php | 121 + api/v1/overview.php | 67 + api/v1/ping.php | 5 + api/v1/plugins.php | 44 + api/v1/processes.php | 17 + api/v1/shutdown.php | 43 + api/v1/ssh.php | 114 + api/v1/statistic.php | 89 + api/v1/statistic_download.php | 55 + api/v1/users_groups.php | 16 + api/versions.php | 10 + index.php | 94 + install/api/v1/feedback.php | 60 + install/api/versions.php | 10 + install/index.php | 59 + install/public_html/css/style.css.php | 1722 ++++++ install/public_html/img/arrow-icon.svg | 1 + install/public_html/img/cross-icon.svg | 1 + .../img/favicon/android-chrome-144x144.png | Bin 0 -> 2560 bytes .../img/favicon/android-chrome-192x192.png | Bin 0 -> 3075 bytes .../img/favicon/android-chrome-36x36.png | Bin 0 -> 883 bytes .../img/favicon/android-chrome-48x48.png | Bin 0 -> 993 bytes .../img/favicon/android-chrome-72x72.png | Bin 0 -> 1392 bytes .../img/favicon/android-chrome-96x96.png | Bin 0 -> 1687 bytes .../img/favicon/apple-touch-icon-120x120.png | Bin 0 -> 1770 bytes .../img/favicon/apple-touch-icon-152x152.png | Bin 0 -> 2196 bytes .../img/favicon/apple-touch-icon-180x180.png | Bin 0 -> 2809 bytes .../img/favicon/apple-touch-icon-57x57.png | Bin 0 -> 911 bytes .../public_html/img/favicon/favicon-96x96.png | Bin 0 -> 1687 bytes install/public_html/img/favicon/favicon.ico | Bin 0 -> 15086 bytes install/public_html/img/favicon/manifest.json | 41 + .../img/favicon/safari-pinned-tab.svg | 20 + install/public_html/img/help-icon.svg | 1 + install/public_html/img/info-icon.svg | 1 + install/public_html/img/loader.svg | 1 + install/public_html/img/logo.svg | 1 + install/public_html/img/update-loader.svg | 1 + install/public_html/js/feedback.js | 82 + install/public_html/js/install.language.js | 39 + install/public_html/js/jquery.min.js | 4 + install/public_html/js/main.js | 6 + install/public_html/js/translation.js | 12 + install/public_html/templates/error.tpl.php | 14 + .../public_html/templates/html_footer.tpl.php | 31 + .../public_html/templates/html_header.tpl.php | 81 + install/public_html/templates/install.tpl.php | 27 + .../templates/install_cron.tpl.php | 103 + .../templates/install_cron_info.tpl.php | 27 + .../templates/install_finish.tpl.php | 47 + .../templates/install_language.tpl.php | 52 + .../templates/install_requirement.tpl.php | 111 + .../templates/install_troubleshooting.tpl.php | 33 + .../templates/install_user.tpl.php | 60 + .../templates/install_user_info.tpl.php | 27 + install/public_html/templates/msg.tpl.php | 16 + .../public_html/templates/single_box.tpl.php | 47 + install/resources/cache/language.cache.php | 1 + install/resources/content/html_footer.php | 14 + install/resources/content/html_header.php | 32 + install/resources/content/install.php | 9 + install/resources/content/install_cron.php | 63 + install/resources/content/install_finish.php | 42 + .../resources/content/install_language.php | 44 + .../resources/content/install_requirement.php | 93 + .../content/install_troubleshooting.php | 24 + install/resources/content/install_user.php | 47 + install/resources/init.php | 80 + install/resources/languages/en.php | 110 + install/resources/library/curl/curl.class.php | 138 + .../library/install/install.function.php | 287 + .../resources/library/main/main.function.php | 617 +++ .../library/main/password.function.php | 320 ++ .../resources/library/main/rpi.function.php | 28 + install/resources/library/main/sites.php | 13 + install/resources/library/main/tpl.class.php | 946 ++++ .../resources/library/main/tpl.function.php | 3 + .../resources/library/terminal/Crypt/AES.php | 197 + .../resources/library/terminal/Crypt/Base.php | 2611 +++++++++ .../library/terminal/Crypt/Blowfish.php | 671 +++ .../resources/library/terminal/Crypt/DES.php | 1516 +++++ .../resources/library/terminal/Crypt/Hash.php | 861 +++ .../resources/library/terminal/Crypt/RC2.php | 761 +++ .../resources/library/terminal/Crypt/RC4.php | 350 ++ .../resources/library/terminal/Crypt/RSA.php | 3133 +++++++++++ .../library/terminal/Crypt/Random.php | 334 ++ .../library/terminal/Crypt/Rijndael.php | 1050 ++++ .../library/terminal/Crypt/TripleDES.php | 517 ++ .../library/terminal/Crypt/Twofish.php | 881 +++ .../resources/library/terminal/File/ANSI.php | 601 ++ .../resources/library/terminal/File/ASN1.php | 1407 +++++ .../resources/library/terminal/File/X509.php | 4887 +++++++++++++++++ .../library/terminal/Math/BigInteger.php | 3804 +++++++++++++ .../resources/library/terminal/Net/SCP.php | 373 ++ .../resources/library/terminal/Net/SFTP.php | 3113 +++++++++++ .../library/terminal/Net/SFTP/Stream.php | 815 +++ .../resources/library/terminal/Net/SSH1.php | 1691 ++++++ .../resources/library/terminal/Net/SSH2.php | 4505 +++++++++++++++ .../library/terminal/System/SSH/Agent.php | 486 ++ .../library/terminal/System/SSH_Agent.php | 39 + license.txt | 339 ++ public_html/css/style.css.php | 1999 +++++++ public_html/img/arrow-icon.svg | 1 + public_html/img/control-icons.svg | 1 + public_html/img/cross-icon.svg | 1 + .../img/favicon/android-chrome-144x144.png | Bin 0 -> 2560 bytes .../img/favicon/android-chrome-192x192.png | Bin 0 -> 3075 bytes .../img/favicon/android-chrome-36x36.png | Bin 0 -> 883 bytes .../img/favicon/android-chrome-48x48.png | Bin 0 -> 993 bytes .../img/favicon/android-chrome-72x72.png | Bin 0 -> 1392 bytes .../img/favicon/android-chrome-96x96.png | Bin 0 -> 1687 bytes .../img/favicon/apple-touch-icon-120x120.png | Bin 0 -> 1770 bytes .../img/favicon/apple-touch-icon-152x152.png | Bin 0 -> 2196 bytes .../img/favicon/apple-touch-icon-180x180.png | Bin 0 -> 2809 bytes .../img/favicon/apple-touch-icon-57x57.png | Bin 0 -> 911 bytes public_html/img/favicon/favicon-96x96.png | Bin 0 -> 1687 bytes public_html/img/favicon/favicon.ico | Bin 0 -> 15086 bytes public_html/img/favicon/manifest.json | 41 + public_html/img/favicon/safari-pinned-tab.svg | 20 + public_html/img/gear-icon.svg | 1 + public_html/img/help-icon.svg | 1 + public_html/img/info-icon.svg | 1 + public_html/img/loader.svg | 1 + public_html/img/logo.svg | 1 + public_html/img/network-signal-icons.svg | 1 + public_html/img/refresh-icon.svg | 1 + public_html/img/update-loader.svg | 1 + public_html/img/weather/01d.svg | 1 + public_html/img/weather/01n.svg | 1 + public_html/img/weather/02d.svg | 1 + public_html/img/weather/02n.svg | 1 + public_html/img/weather/03.svg | 1 + public_html/img/weather/04.svg | 1 + public_html/img/weather/09.svg | 1 + public_html/img/weather/10d.svg | 1 + public_html/img/weather/10n.svg | 1 + public_html/img/weather/11.svg | 1 + public_html/img/weather/13.svg | 1 + public_html/img/weather/50.svg | 1 + public_html/img/weather/darksky.png | Bin 0 -> 2452 bytes public_html/img/weather/wunderground.png | Bin 0 -> 4160 bytes public_html/img/weather/yahoo.png | Bin 0 -> 3551 bytes public_html/js/feedback.js | 82 + public_html/js/jquery.min.js | 4 + public_html/js/main.js | 6 + ...network_configuration.interface_refresh.js | 43 + .../js/network_configuration.method_select.js | 7 + public_html/js/network_connect.wlan.js | 97 + public_html/js/overview.status_refresh.js | 138 + public_html/js/settings.overview.weather.js | 70 + public_html/js/settings.pi-control.theme.js | 73 + ...settings.troubleshooting.cron_selection.js | 15 + public_html/js/shutdown.restart.js | 34 + public_html/js/statistic_builder.js | 116 + public_html/js/terminal.websocket.js | 122 + public_html/js/translation.js | 12 + .../templates/detailed_overview.tpl.php | 195 + .../templates/discover_plugins.tpl.php | 56 + .../templates/discover_plugins_info.tpl.php | 104 + public_html/templates/error.tpl.php | 14 + public_html/templates/html_footer.tpl.php | 32 + public_html/templates/html_header.tpl.php | 122 + .../templates/installed_packages.tpl.php | 28 + public_html/templates/login.tpl.php | 53 + public_html/templates/logs.tpl.php | 31 + public_html/templates/logs_view.tpl.php | 59 + public_html/templates/msg.tpl.php | 16 + public_html/templates/network.tpl.php | 125 + .../templates/network_configuration.tpl.php | 46 + .../network_configuration_add.tpl.php | 55 + .../network_configuration_delete.tpl.php | 18 + .../network_configuration_edit.tpl.php | 55 + public_html/templates/network_connect.tpl.php | 54 + .../templates/network_hostname.tpl.php | 26 + public_html/templates/overview.tpl.php | 101 + public_html/templates/plugins.tpl.php | 28 + public_html/templates/processes.tpl.php | 53 + public_html/templates/restart.tpl.php | 13 + public_html/templates/settings.tpl.php | 19 + public_html/templates/settings/cache.tpl.php | 44 + .../templates/settings/notification.tpl.php | 95 + .../templates/settings/overview.tpl.php | 86 + .../templates/settings/pi-control.tpl.php | 126 + .../templates/settings/plugin_delete.tpl.php | 17 + .../templates/settings/plugins.tpl.php | 26 + .../templates/settings/statistic.tpl.php | 38 + .../settings/statistic_reset.tpl.php | 17 + .../settings/troubleshooting.tpl.php | 93 + public_html/templates/settings/update.tpl.php | 72 + public_html/templates/settings/user.tpl.php | 60 + .../templates/settings/user_add.tpl.php | 30 + .../templates/settings/user_delete.tpl.php | 29 + .../templates/settings/user_edit.tpl.php | 34 + public_html/templates/shutdown.tpl.php | 11 + public_html/templates/single_box.tpl.php | 50 + public_html/templates/ssh_login.tpl.php | 88 + public_html/templates/statistic.tpl.php | 77 + public_html/templates/terminal.tpl.php | 55 + public_html/templates/users_groups.tpl.php | 30 + resources/config/cache.config.ini.php | 3 + resources/config/cron.config.ini.php | 3 + resources/config/init.config.ini.php | 6 + resources/config/login.config.ini.php | 3 + resources/config/main.config.ini.php | 3 + resources/config/ssh.config.ini.php | 3 + resources/config/terminal.config.ini.php | 3 + resources/config/user.config.ini.php | 3 + resources/content/detailed_overview.php | 37 + resources/content/discover_plugins.php | 45 + resources/content/discover_plugins_info.php | 31 + resources/content/html_footer.php | 14 + resources/content/html_header.php | 67 + resources/content/installed_packages.php | 13 + resources/content/login.php | 126 + resources/content/logs.php | 53 + resources/content/msg.php | 11 + resources/content/network.php | 60 + resources/content/network_configuration.php | 44 + .../content/network_configuration_add.php | 60 + .../content/network_configuration_delete.php | 29 + .../content/network_configuration_edit.php | 69 + resources/content/network_connect.php | 21 + resources/content/overview.php | 34 + resources/content/plugins.php | 62 + resources/content/processes.php | 49 + resources/content/settings.php | 41 + resources/content/settings/cache.php | 45 + resources/content/settings/notification.php | 142 + resources/content/settings/overview.php | 107 + resources/content/settings/pi-control.php | 251 + resources/content/settings/plugins.php | 24 + resources/content/settings/plugins_delete.php | 23 + resources/content/settings/plugins_status.php | 20 + resources/content/settings/statistic.php | 73 + .../content/settings/troubleshooting.php | 55 + resources/content/settings/update.php | 52 + resources/content/settings/user.php | 163 + resources/content/shutdown.php | 36 + resources/content/ssh_login.php | 80 + resources/content/statistic.php | 27 + resources/content/terminal.php | 70 + resources/content/users_groups.php | 16 + resources/cron/30-user.php | 20 + resources/cron/5-coretemp.php | 16 + resources/cron/5-cpufrequency.php | 17 + resources/cron/5-cpuload.php | 16 + resources/cron/5-memory.php | 19 + resources/cron/5-network.php | 59 + resources/cron/5-ram.php | 18 + resources/cron/init.php | 36 + resources/init.php | 84 + resources/languages/en.php | 620 +++ resources/library/api/api.class.php | 150 + resources/library/cache/cache.class.php | 149 + resources/library/cache/cache.function.php | 38 + resources/library/cron/cron.class.php | 121 + resources/library/curl/curl.class.php | 196 + resources/library/log/log.class.php | 389 ++ resources/library/log/log.function.php | 116 + resources/library/main/authentification.php | 62 + resources/library/main/main.function.php | 1620 ++++++ resources/library/main/password.function.php | 320 ++ resources/library/main/rpi.function.php | 448 ++ resources/library/main/sites.php | 30 + resources/library/main/tpl.class.php | 965 ++++ resources/library/main/tpl.function.php | 3 + resources/library/network/network.class.php | 223 + .../library/network/network.function.php | 170 + .../pi-control/pi-control.function.php | 129 + resources/library/plugin/plugin.function.php | 290 + resources/library/process/process.class.php | 253 + .../library/process/process.function.php | 32 + .../library/statistic/statistic.class.php | 363 ++ .../library/statistic/statistic.config.php | 241 + .../library/statistic/statistic.function.php | 150 + resources/library/terminal/Crypt/AES.php | 197 + resources/library/terminal/Crypt/Base.php | 2611 +++++++++ resources/library/terminal/Crypt/Blowfish.php | 671 +++ resources/library/terminal/Crypt/DES.php | 1516 +++++ resources/library/terminal/Crypt/Hash.php | 861 +++ resources/library/terminal/Crypt/RC2.php | 761 +++ resources/library/terminal/Crypt/RC4.php | 350 ++ resources/library/terminal/Crypt/RSA.php | 3133 +++++++++++ resources/library/terminal/Crypt/Random.php | 334 ++ resources/library/terminal/Crypt/Rijndael.php | 1050 ++++ .../library/terminal/Crypt/TripleDES.php | 517 ++ resources/library/terminal/Crypt/Twofish.php | 881 +++ resources/library/terminal/File/ANSI.php | 601 ++ resources/library/terminal/File/ASN1.php | 1407 +++++ resources/library/terminal/File/X509.php | 4887 +++++++++++++++++ .../library/terminal/Math/BigInteger.php | 3804 +++++++++++++ resources/library/terminal/Net/SCP.php | 373 ++ resources/library/terminal/Net/SFTP.php | 3113 +++++++++++ .../library/terminal/Net/SFTP/Stream.php | 815 +++ resources/library/terminal/Net/SSH1.php | 1691 ++++++ resources/library/terminal/Net/SSH2.php | 4505 +++++++++++++++ .../library/terminal/System/SSH/Agent.php | 486 ++ .../library/terminal/System/SSH_Agent.php | 39 + resources/library/terminal/terminal.php | 228 + .../troubleshooting.function.php | 139 + resources/library/update/update.class.php | 443 ++ resources/library/user/user.function.php | 10 + resources/plugins/download_plugin.php | 78 + resources/plugins/fritzbox/api/v1/status.php | 75 + resources/plugins/fritzbox/plugin.config.php | 16 + .../fritzbox/plugin.statistic.config.php | 105 + .../fritzbox/public_html/css/style.css | 55 + .../fritzbox/public_html/js/status_refresh.js | 131 + .../public_html/templates/index.tpl.php | 103 + .../templates/settings/settings.tpl.php | 68 + .../settings/statistic_reset.tpl.php | 17 + .../fritzbox/resources/content/index.php | 58 + .../resources/content/settings/settings.php | 107 + .../fritzbox/resources/languages/en.php | 63 + .../resources/library/main/main.function.php | 176 + .../templates/traffic_monitoring.tmp.php | 34 + resources/plugins/update_plugin.php | 73 + .../templates/coretemp_monitoring.tmp.php | 50 + resources/templates/notification.tmp.php | 110 + resources/update/update_picontrol.php | 44 + 330 files changed, 93268 insertions(+) create mode 100644 Pi Control.iml create mode 100644 README.md create mode 100644 api/v1/detailed_overview.php create mode 100644 api/v1/discover_plugins.php create mode 100644 api/v1/feedback.php create mode 100644 api/v1/login.php create mode 100644 api/v1/logs.php create mode 100644 api/v1/logs_download.php create mode 100644 api/v1/main.php create mode 100644 api/v1/network.php create mode 100644 api/v1/network_configuration_interface.php create mode 100644 api/v1/network_connect_wlan.php create mode 100644 api/v1/overview.php create mode 100644 api/v1/ping.php create mode 100644 api/v1/plugins.php create mode 100644 api/v1/processes.php create mode 100644 api/v1/shutdown.php create mode 100644 api/v1/ssh.php create mode 100644 api/v1/statistic.php create mode 100644 api/v1/statistic_download.php create mode 100644 api/v1/users_groups.php create mode 100644 api/versions.php create mode 100644 index.php create mode 100644 install/api/v1/feedback.php create mode 100644 install/api/versions.php create mode 100644 install/index.php create mode 100644 install/public_html/css/style.css.php create mode 100644 install/public_html/img/arrow-icon.svg create mode 100644 install/public_html/img/cross-icon.svg create mode 100644 install/public_html/img/favicon/android-chrome-144x144.png create mode 100644 install/public_html/img/favicon/android-chrome-192x192.png create mode 100644 install/public_html/img/favicon/android-chrome-36x36.png create mode 100644 install/public_html/img/favicon/android-chrome-48x48.png create mode 100644 install/public_html/img/favicon/android-chrome-72x72.png create mode 100644 install/public_html/img/favicon/android-chrome-96x96.png create mode 100644 install/public_html/img/favicon/apple-touch-icon-120x120.png create mode 100644 install/public_html/img/favicon/apple-touch-icon-152x152.png create mode 100644 install/public_html/img/favicon/apple-touch-icon-180x180.png create mode 100644 install/public_html/img/favicon/apple-touch-icon-57x57.png create mode 100644 install/public_html/img/favicon/favicon-96x96.png create mode 100644 install/public_html/img/favicon/favicon.ico create mode 100644 install/public_html/img/favicon/manifest.json create mode 100644 install/public_html/img/favicon/safari-pinned-tab.svg create mode 100644 install/public_html/img/help-icon.svg create mode 100644 install/public_html/img/info-icon.svg create mode 100644 install/public_html/img/loader.svg create mode 100644 install/public_html/img/logo.svg create mode 100644 install/public_html/img/update-loader.svg create mode 100644 install/public_html/js/feedback.js create mode 100644 install/public_html/js/install.language.js create mode 100644 install/public_html/js/jquery.min.js create mode 100644 install/public_html/js/main.js create mode 100644 install/public_html/js/translation.js create mode 100644 install/public_html/templates/error.tpl.php create mode 100644 install/public_html/templates/html_footer.tpl.php create mode 100644 install/public_html/templates/html_header.tpl.php create mode 100644 install/public_html/templates/install.tpl.php create mode 100644 install/public_html/templates/install_cron.tpl.php create mode 100644 install/public_html/templates/install_cron_info.tpl.php create mode 100644 install/public_html/templates/install_finish.tpl.php create mode 100644 install/public_html/templates/install_language.tpl.php create mode 100644 install/public_html/templates/install_requirement.tpl.php create mode 100644 install/public_html/templates/install_troubleshooting.tpl.php create mode 100644 install/public_html/templates/install_user.tpl.php create mode 100644 install/public_html/templates/install_user_info.tpl.php create mode 100644 install/public_html/templates/msg.tpl.php create mode 100644 install/public_html/templates/single_box.tpl.php create mode 100644 install/resources/cache/language.cache.php create mode 100644 install/resources/content/html_footer.php create mode 100644 install/resources/content/html_header.php create mode 100644 install/resources/content/install.php create mode 100644 install/resources/content/install_cron.php create mode 100644 install/resources/content/install_finish.php create mode 100644 install/resources/content/install_language.php create mode 100644 install/resources/content/install_requirement.php create mode 100644 install/resources/content/install_troubleshooting.php create mode 100644 install/resources/content/install_user.php create mode 100644 install/resources/init.php create mode 100644 install/resources/languages/en.php create mode 100644 install/resources/library/curl/curl.class.php create mode 100644 install/resources/library/install/install.function.php create mode 100644 install/resources/library/main/main.function.php create mode 100644 install/resources/library/main/password.function.php create mode 100644 install/resources/library/main/rpi.function.php create mode 100644 install/resources/library/main/sites.php create mode 100644 install/resources/library/main/tpl.class.php create mode 100644 install/resources/library/main/tpl.function.php create mode 100644 install/resources/library/terminal/Crypt/AES.php create mode 100644 install/resources/library/terminal/Crypt/Base.php create mode 100644 install/resources/library/terminal/Crypt/Blowfish.php create mode 100644 install/resources/library/terminal/Crypt/DES.php create mode 100644 install/resources/library/terminal/Crypt/Hash.php create mode 100644 install/resources/library/terminal/Crypt/RC2.php create mode 100644 install/resources/library/terminal/Crypt/RC4.php create mode 100644 install/resources/library/terminal/Crypt/RSA.php create mode 100644 install/resources/library/terminal/Crypt/Random.php create mode 100644 install/resources/library/terminal/Crypt/Rijndael.php create mode 100644 install/resources/library/terminal/Crypt/TripleDES.php create mode 100644 install/resources/library/terminal/Crypt/Twofish.php create mode 100644 install/resources/library/terminal/File/ANSI.php create mode 100644 install/resources/library/terminal/File/ASN1.php create mode 100644 install/resources/library/terminal/File/X509.php create mode 100644 install/resources/library/terminal/Math/BigInteger.php create mode 100644 install/resources/library/terminal/Net/SCP.php create mode 100644 install/resources/library/terminal/Net/SFTP.php create mode 100644 install/resources/library/terminal/Net/SFTP/Stream.php create mode 100644 install/resources/library/terminal/Net/SSH1.php create mode 100644 install/resources/library/terminal/Net/SSH2.php create mode 100644 install/resources/library/terminal/System/SSH/Agent.php create mode 100644 install/resources/library/terminal/System/SSH_Agent.php create mode 100644 license.txt create mode 100644 public_html/css/style.css.php create mode 100644 public_html/img/arrow-icon.svg create mode 100644 public_html/img/control-icons.svg create mode 100644 public_html/img/cross-icon.svg create mode 100644 public_html/img/favicon/android-chrome-144x144.png create mode 100644 public_html/img/favicon/android-chrome-192x192.png create mode 100644 public_html/img/favicon/android-chrome-36x36.png create mode 100644 public_html/img/favicon/android-chrome-48x48.png create mode 100644 public_html/img/favicon/android-chrome-72x72.png create mode 100644 public_html/img/favicon/android-chrome-96x96.png create mode 100644 public_html/img/favicon/apple-touch-icon-120x120.png create mode 100644 public_html/img/favicon/apple-touch-icon-152x152.png create mode 100644 public_html/img/favicon/apple-touch-icon-180x180.png create mode 100644 public_html/img/favicon/apple-touch-icon-57x57.png create mode 100644 public_html/img/favicon/favicon-96x96.png create mode 100644 public_html/img/favicon/favicon.ico create mode 100644 public_html/img/favicon/manifest.json create mode 100644 public_html/img/favicon/safari-pinned-tab.svg create mode 100644 public_html/img/gear-icon.svg create mode 100644 public_html/img/help-icon.svg create mode 100644 public_html/img/info-icon.svg create mode 100644 public_html/img/loader.svg create mode 100644 public_html/img/logo.svg create mode 100644 public_html/img/network-signal-icons.svg create mode 100644 public_html/img/refresh-icon.svg create mode 100644 public_html/img/update-loader.svg create mode 100644 public_html/img/weather/01d.svg create mode 100644 public_html/img/weather/01n.svg create mode 100644 public_html/img/weather/02d.svg create mode 100644 public_html/img/weather/02n.svg create mode 100644 public_html/img/weather/03.svg create mode 100644 public_html/img/weather/04.svg create mode 100644 public_html/img/weather/09.svg create mode 100644 public_html/img/weather/10d.svg create mode 100644 public_html/img/weather/10n.svg create mode 100644 public_html/img/weather/11.svg create mode 100644 public_html/img/weather/13.svg create mode 100644 public_html/img/weather/50.svg create mode 100644 public_html/img/weather/darksky.png create mode 100644 public_html/img/weather/wunderground.png create mode 100644 public_html/img/weather/yahoo.png create mode 100644 public_html/js/feedback.js create mode 100644 public_html/js/jquery.min.js create mode 100644 public_html/js/main.js create mode 100644 public_html/js/network_configuration.interface_refresh.js create mode 100644 public_html/js/network_configuration.method_select.js create mode 100644 public_html/js/network_connect.wlan.js create mode 100644 public_html/js/overview.status_refresh.js create mode 100644 public_html/js/settings.overview.weather.js create mode 100644 public_html/js/settings.pi-control.theme.js create mode 100644 public_html/js/settings.troubleshooting.cron_selection.js create mode 100644 public_html/js/shutdown.restart.js create mode 100644 public_html/js/statistic_builder.js create mode 100644 public_html/js/terminal.websocket.js create mode 100644 public_html/js/translation.js create mode 100644 public_html/templates/detailed_overview.tpl.php create mode 100644 public_html/templates/discover_plugins.tpl.php create mode 100644 public_html/templates/discover_plugins_info.tpl.php create mode 100644 public_html/templates/error.tpl.php create mode 100644 public_html/templates/html_footer.tpl.php create mode 100644 public_html/templates/html_header.tpl.php create mode 100644 public_html/templates/installed_packages.tpl.php create mode 100644 public_html/templates/login.tpl.php create mode 100644 public_html/templates/logs.tpl.php create mode 100644 public_html/templates/logs_view.tpl.php create mode 100644 public_html/templates/msg.tpl.php create mode 100644 public_html/templates/network.tpl.php create mode 100644 public_html/templates/network_configuration.tpl.php create mode 100644 public_html/templates/network_configuration_add.tpl.php create mode 100644 public_html/templates/network_configuration_delete.tpl.php create mode 100644 public_html/templates/network_configuration_edit.tpl.php create mode 100644 public_html/templates/network_connect.tpl.php create mode 100644 public_html/templates/network_hostname.tpl.php create mode 100644 public_html/templates/overview.tpl.php create mode 100644 public_html/templates/plugins.tpl.php create mode 100644 public_html/templates/processes.tpl.php create mode 100644 public_html/templates/restart.tpl.php create mode 100644 public_html/templates/settings.tpl.php create mode 100644 public_html/templates/settings/cache.tpl.php create mode 100644 public_html/templates/settings/notification.tpl.php create mode 100644 public_html/templates/settings/overview.tpl.php create mode 100644 public_html/templates/settings/pi-control.tpl.php create mode 100644 public_html/templates/settings/plugin_delete.tpl.php create mode 100644 public_html/templates/settings/plugins.tpl.php create mode 100644 public_html/templates/settings/statistic.tpl.php create mode 100644 public_html/templates/settings/statistic_reset.tpl.php create mode 100644 public_html/templates/settings/troubleshooting.tpl.php create mode 100644 public_html/templates/settings/update.tpl.php create mode 100644 public_html/templates/settings/user.tpl.php create mode 100644 public_html/templates/settings/user_add.tpl.php create mode 100644 public_html/templates/settings/user_delete.tpl.php create mode 100644 public_html/templates/settings/user_edit.tpl.php create mode 100644 public_html/templates/shutdown.tpl.php create mode 100644 public_html/templates/single_box.tpl.php create mode 100644 public_html/templates/ssh_login.tpl.php create mode 100644 public_html/templates/statistic.tpl.php create mode 100644 public_html/templates/terminal.tpl.php create mode 100644 public_html/templates/users_groups.tpl.php create mode 100644 resources/config/cache.config.ini.php create mode 100644 resources/config/cron.config.ini.php create mode 100644 resources/config/init.config.ini.php create mode 100644 resources/config/login.config.ini.php create mode 100644 resources/config/main.config.ini.php create mode 100644 resources/config/ssh.config.ini.php create mode 100644 resources/config/terminal.config.ini.php create mode 100644 resources/config/user.config.ini.php create mode 100644 resources/content/detailed_overview.php create mode 100644 resources/content/discover_plugins.php create mode 100644 resources/content/discover_plugins_info.php create mode 100644 resources/content/html_footer.php create mode 100644 resources/content/html_header.php create mode 100644 resources/content/installed_packages.php create mode 100644 resources/content/login.php create mode 100644 resources/content/logs.php create mode 100644 resources/content/msg.php create mode 100644 resources/content/network.php create mode 100644 resources/content/network_configuration.php create mode 100644 resources/content/network_configuration_add.php create mode 100644 resources/content/network_configuration_delete.php create mode 100644 resources/content/network_configuration_edit.php create mode 100644 resources/content/network_connect.php create mode 100644 resources/content/overview.php create mode 100644 resources/content/plugins.php create mode 100644 resources/content/processes.php create mode 100644 resources/content/settings.php create mode 100644 resources/content/settings/cache.php create mode 100644 resources/content/settings/notification.php create mode 100644 resources/content/settings/overview.php create mode 100644 resources/content/settings/pi-control.php create mode 100644 resources/content/settings/plugins.php create mode 100644 resources/content/settings/plugins_delete.php create mode 100644 resources/content/settings/plugins_status.php create mode 100644 resources/content/settings/statistic.php create mode 100644 resources/content/settings/troubleshooting.php create mode 100644 resources/content/settings/update.php create mode 100644 resources/content/settings/user.php create mode 100644 resources/content/shutdown.php create mode 100644 resources/content/ssh_login.php create mode 100644 resources/content/statistic.php create mode 100644 resources/content/terminal.php create mode 100644 resources/content/users_groups.php create mode 100644 resources/cron/30-user.php create mode 100644 resources/cron/5-coretemp.php create mode 100644 resources/cron/5-cpufrequency.php create mode 100644 resources/cron/5-cpuload.php create mode 100644 resources/cron/5-memory.php create mode 100644 resources/cron/5-network.php create mode 100644 resources/cron/5-ram.php create mode 100644 resources/cron/init.php create mode 100644 resources/init.php create mode 100644 resources/languages/en.php create mode 100644 resources/library/api/api.class.php create mode 100644 resources/library/cache/cache.class.php create mode 100644 resources/library/cache/cache.function.php create mode 100644 resources/library/cron/cron.class.php create mode 100644 resources/library/curl/curl.class.php create mode 100644 resources/library/log/log.class.php create mode 100644 resources/library/log/log.function.php create mode 100644 resources/library/main/authentification.php create mode 100644 resources/library/main/main.function.php create mode 100644 resources/library/main/password.function.php create mode 100644 resources/library/main/rpi.function.php create mode 100644 resources/library/main/sites.php create mode 100644 resources/library/main/tpl.class.php create mode 100644 resources/library/main/tpl.function.php create mode 100644 resources/library/network/network.class.php create mode 100644 resources/library/network/network.function.php create mode 100644 resources/library/pi-control/pi-control.function.php create mode 100644 resources/library/plugin/plugin.function.php create mode 100644 resources/library/process/process.class.php create mode 100644 resources/library/process/process.function.php create mode 100644 resources/library/statistic/statistic.class.php create mode 100644 resources/library/statistic/statistic.config.php create mode 100644 resources/library/statistic/statistic.function.php create mode 100644 resources/library/terminal/Crypt/AES.php create mode 100644 resources/library/terminal/Crypt/Base.php create mode 100644 resources/library/terminal/Crypt/Blowfish.php create mode 100644 resources/library/terminal/Crypt/DES.php create mode 100644 resources/library/terminal/Crypt/Hash.php create mode 100644 resources/library/terminal/Crypt/RC2.php create mode 100644 resources/library/terminal/Crypt/RC4.php create mode 100644 resources/library/terminal/Crypt/RSA.php create mode 100644 resources/library/terminal/Crypt/Random.php create mode 100644 resources/library/terminal/Crypt/Rijndael.php create mode 100644 resources/library/terminal/Crypt/TripleDES.php create mode 100644 resources/library/terminal/Crypt/Twofish.php create mode 100644 resources/library/terminal/File/ANSI.php create mode 100644 resources/library/terminal/File/ASN1.php create mode 100644 resources/library/terminal/File/X509.php create mode 100644 resources/library/terminal/Math/BigInteger.php create mode 100644 resources/library/terminal/Net/SCP.php create mode 100644 resources/library/terminal/Net/SFTP.php create mode 100644 resources/library/terminal/Net/SFTP/Stream.php create mode 100644 resources/library/terminal/Net/SSH1.php create mode 100644 resources/library/terminal/Net/SSH2.php create mode 100644 resources/library/terminal/System/SSH/Agent.php create mode 100644 resources/library/terminal/System/SSH_Agent.php create mode 100644 resources/library/terminal/terminal.php create mode 100644 resources/library/troubleshooting/troubleshooting.function.php create mode 100644 resources/library/update/update.class.php create mode 100644 resources/library/user/user.function.php create mode 100644 resources/plugins/download_plugin.php create mode 100644 resources/plugins/fritzbox/api/v1/status.php create mode 100644 resources/plugins/fritzbox/plugin.config.php create mode 100644 resources/plugins/fritzbox/plugin.statistic.config.php create mode 100644 resources/plugins/fritzbox/public_html/css/style.css create mode 100644 resources/plugins/fritzbox/public_html/js/status_refresh.js create mode 100644 resources/plugins/fritzbox/public_html/templates/index.tpl.php create mode 100644 resources/plugins/fritzbox/public_html/templates/settings/settings.tpl.php create mode 100644 resources/plugins/fritzbox/public_html/templates/settings/statistic_reset.tpl.php create mode 100644 resources/plugins/fritzbox/resources/content/index.php create mode 100644 resources/plugins/fritzbox/resources/content/settings/settings.php create mode 100644 resources/plugins/fritzbox/resources/languages/en.php create mode 100644 resources/plugins/fritzbox/resources/library/main/main.function.php create mode 100644 resources/plugins/fritzbox/resources/templates/traffic_monitoring.tmp.php create mode 100644 resources/plugins/update_plugin.php create mode 100644 resources/templates/coretemp_monitoring.tmp.php create mode 100644 resources/templates/notification.tmp.php create mode 100644 resources/update/update_picontrol.php diff --git a/Pi Control.iml b/Pi Control.iml new file mode 100644 index 0000000..80cc739 --- /dev/null +++ b/Pi Control.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..db14736 --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +# Pi Control + +## Installation +[Pi Control Installation](https://pi-control.de/install/) + +## Bei Fragen oder Problemen +Schreibe mir eine E-Mail an [support@pi-control.de](mailto:support@pi-control.de) oder nutze das Feedback in Pi Control. \ No newline at end of file diff --git a/api/v1/detailed_overview.php b/api/v1/detailed_overview.php new file mode 100644 index 0000000..1fa8834 --- /dev/null +++ b/api/v1/detailed_overview.php @@ -0,0 +1,104 @@ +addData('time', date('d.m.Y H:i:s', time())); + break; + case 'timezone': + $api->addData('timezone', date('e (P)', time())); + break; + case 'runtime': + $api->addData('runtime', getDateFormat(rpi_getRuntime())); + break; + case 'startTime': + $api->addData('startTime', formatTime(time() - rpi_getRuntime())); + break; + case 'serial': + $api->addData('serial', rpi_getRpiSerial()); + break; + case 'revision': + $api->addData('revision', rpi_getRpiRevision()); + break; + case 'distribution': + $api->addData('distribution', rpi_getDistribution()); + break; + case 'kernel': + $api->addData('kernel', rpi_getKernelVersion()); + break; + case 'webserver': + $api->addData('webserver', $_SERVER['SERVER_SOFTWARE']); + break; + case 'php': + $api->addData('php', PHP_VERSION); + break; + case 'whoami': + $api->addData('whoami', exec('whoami')); + break; + case 'cpuClock': + $api->addData('cpuClock', rpi_getCpuClock()); + break; + case 'cpuClockMax': + $api->addData('cpuClockMax', rpi_getCpuMaxClock()); + break; + case 'cpuLoad': + $cpu = rpi_getCPULoad(true); + $api->addData('cpuLoad', $cpu); + break; + case 'cpuLoads': + $cpu = rpi_getCPULoad(true, true); + $api->addData('cpuLoads', (count($cpu) == 1) ? array() : array_slice($cpu, 1)); + break; + case 'cpuType': + $api->addData('cpuType', rpi_getCPUType()); + break; + case 'cpuModel': + $api->addData('cpuModel', rpi_getCpuModel()); + break; + case 'cpuTemp': + $api->addData('cpuTemp', numberFormat(rpi_getCoreTemprature())); + break; + case 'ramPercentage': + $ram = rpi_getMemoryUsage(); + $api->addData('ramPercentage', $ram['percent']); + break; + case 'memory': + $memory = rpi_getMemoryInfo(); + $api->addData('memory', $memory); + break; + case 'memoryCount': + $memory = rpi_getMemoryInfo(); + $api->addData('memoryCount', count($memory)); + break; + case 'runningTasksCount': + $api->addData('runningTasksCount', rpi_getCountRunningTasks()); + break; + case 'installedPackagesCount': + $api->addData('installedPackagesCount', rpi_getCountInstalledPackages()); + break; + default: + $api->setError('error', 'Data for "'.$data.'" is not available.'); + break 2; + } + } +} +else + $api->setError('error', 'No data set.'); + +$api->display(); +?> \ No newline at end of file diff --git a/api/v1/discover_plugins.php b/api/v1/discover_plugins.php new file mode 100644 index 0000000..71a4b50 --- /dev/null +++ b/api/v1/discover_plugins.php @@ -0,0 +1,19 @@ +addData('onlinePlugins', $onlinePlugins); +$api->addData('availableUpdates', $availableUpdates); + +$api->display(); +?> \ No newline at end of file diff --git a/api/v1/feedback.php b/api/v1/feedback.php new file mode 100644 index 0000000..f2092fc --- /dev/null +++ b/api/v1/feedback.php @@ -0,0 +1,68 @@ +/dev/null 2>&1 # By Pi Control'; + +exec('cat /etc/crontab', $crontab); +$cronMatch = preg_match('/^\*\s\*\s\*\s\*\s\*\s'.preg_quote(exec('whoami')).'\sphp \-f "'.preg_quote(CRON_PATH, '/').'init\.php"( )?(# By Pi Control)?/im', implode(PHP_EOL, $crontab)); + +// Dateien und Ordner +$filesFoldersExist = array('count' => 0, 'status' => true); +$filesFoldersPermission = array('count' => 0, 'status' => true); +$filesFolders = fileFolderPermission(); + +foreach ($filesFolders as $file => $info) +{ + if ($info['error'] === true) + { + if ($info['existsBool'] === false || $info['filesizeBool'] === false) + { + $filesFoldersExist['count'] += 1; + $filesFoldersExist['status'] = false; + } + + if ($info['permissionBool'] === false || $info['userGroupBool'] === false) + { + $filesFoldersPermission['count'] += 1; + $filesFoldersPermission['status'] = false; + } + } +} + +$stats['version'] = $config['version']['versioncode']; +$stats['language'] = $globalLanguage; +$stats['url'] = urldecode($_POST['url']); +$stats['path'] = PICONTROL_PATH; +$stats['php'] = PHP_VERSION; +$stats['webserver'] = $_SERVER['SERVER_SOFTWARE']; +$stats['filesFoldersExist'] = $filesFoldersExist; +$stats['filesFoldersPermission'] = $filesFoldersPermission; +$stats['piControlCron'] = array('match' => $cronMatch, 'paketStatus' => trim(exec('dpkg -s php5-cli | grep Status: '))); +$stats['whoami'] = exec('whoami'); +$stats['lastStart'] = time() - rpi_getRuntime(); +$stats['serverAddr'] = $_SERVER['SERVER_ADDR']; +$stats['serverPort'] = $_SERVER['SERVER_PORT']; +$stats['distribution'] = rpi_getDistribution(); +$stats['userAgent'] = $_SERVER['HTTP_USER_AGENT']; +$stats['config'] = array('accessExternal' => getConfig('main:access.external', 'null'), + 'language' => getConfig('init:language', 'null'), + 'executionCron' => getConfig('cron:execution.cron', 'null'), + 'updateCheckPlugins' => getConfig('cron:updateCheck.plugins', 'null'), + 'updateCheckPicontrol' => getConfig('cron:updateCheck.picontrol', 'null'), + 'cache' => getConfig('cache:activation.cache', 'null'), + 'cacheUsbDevices' => getConfig('cache:activation.usb_devices', 'null'), + 'cacheUsers' => getConfig('cache:activation.users', 'null'), + 'cacheWeather' => getConfig('cache:activation.weather', 'null') + ); + +echo urlencode(base64_encode(json_encode($stats))); +?> \ No newline at end of file diff --git a/api/v1/login.php b/api/v1/login.php new file mode 100644 index 0000000..b5337a7 --- /dev/null +++ b/api/v1/login.php @@ -0,0 +1,111 @@ +addData('error', 'Local network.'); +elseif ($nextTry > time()) + $api->addData('error', array('msg' => 'Login disabled.', 'seconds' => $nextTry-time())); + +if (isset($_POST['username'], $_POST['password']) && $externalAccess === true) +{ + if (trim($_POST['username']) != '' && $_POST['password'] != '') + { + $pUsername = strtolower(trim($_POST['username'])); + $pPassword = $_POST['password']; + + $try = getConfig('login:login.try'); + + do + { + if ($nextTry > time()) + break; + + if (($userinfo = getConfig('user:user_'.$pUsername, 0)) === 0) + break; + + if (!is_array($userinfo)) + break; + + if (strtolower($userinfo['username']) != $pUsername || password_verify($pPassword, $userinfo['password']) !== true) + break; + + setConfig('login:login.try', 0); + setConfig('login:login.nextTry', 0); + $uniqid = generateUniqId(32, false); + + if (setConfig('login:token_'.$uniqid.'.created', time()) !== true) break; + if (setConfig('login:token_'.$uniqid.'.username', $pUsername) !== true) break; + if (setConfig('login:token_'.$uniqid.'.address', $_SERVER['REMOTE_ADDR']) !== true) break; + if (setConfig('user:user_'.$pUsername.'.last_login', time()) !== true) break; + + if (isset($_POST['rememberMe']) && $_POST['rememberMe'] == 'checked') + setConfig('login:token_'.$uniqid.'.remember_me', 'true'); + + $api->addData('token', $uniqid); + + $api->display(); + exit(); + } + while (false); + + if ($nextTry > time()) + { + $api->addData('error', array('msg' => 'Login disabled.', 'seconds' => $nextTry-time())); + } + elseif ($try == 5) + { + $api->addData('error', array('msg' => 'Login failed.', 'seconds' => 30)); + setConfig('login:login.nextTry', time() + 30); + } + elseif ($try == 6) + { + $api->addData('error', array('msg' => 'Login failed.', 'seconds' => 60)); + setConfig('login:login.nextTry', time() + 60); + } + elseif ($try == 7) + { + $api->addData('error', array('msg' => 'Login failed.', 'seconds' => 120)); + setConfig('login:login.nextTry', time() + 120); + } + elseif ($try >= 8) + { + $api->addData('error', array('msg' => 'Login failed.', 'seconds' => 300)); + setConfig('login:login.nextTry', time() + 300); + } + else + { + $api->addData('error', array('msg' => 'Login failed.')); + } + + setConfig('login:login.try', $try + 1); + } +} + +if (isset($_POST['logout'])) +{ + if (isset($_POST['token'])) + { + $uniqid = $_POST['token']; + removeConfig('login:token_'.$uniqid); + + $api->addData('success', 'logout'); + } + else + $api->setError('error', 'No token set.'); + + $api->display(); + exit(); +} + +$api->display(); +?> \ No newline at end of file diff --git a/api/v1/logs.php b/api/v1/logs.php new file mode 100644 index 0000000..6ebb0b5 --- /dev/null +++ b/api/v1/logs.php @@ -0,0 +1,19 @@ +setTpl($tpl); + +$api = new API; + +$logController = new LogController('/var/log/'); +$api->addData('logs', $logController->getAllArray()); + +$api->display(); +?> \ No newline at end of file diff --git a/api/v1/logs_download.php b/api/v1/logs_download.php new file mode 100644 index 0000000..c1d6c69 --- /dev/null +++ b/api/v1/logs_download.php @@ -0,0 +1,36 @@ +setTpl($tpl); + +$logController = new LogController('/var/log'); +$log = $logController->getLogFromRelativePath($logName); + +if (!$log instanceof LogEntry) + exit(); + +if ($log->getReadable() === false) + exit(); + +$readLog = $logController->readLog($log->getPath()); +$filename = ((substr($log->getFilename(), -3) == '.gz') ? substr($log->getFilename(), 0, -3) : $log->getFilename()).'.txt'; + +header("Content-type: text/plain"); +header("Content-Disposition: attachment; filename=".$filename); +header("Pragma: no-cache"); +header("Expires: 0"); + +$output = fopen('php://output', 'w'); +fwrite($output, $readLog['output']); +fclose($output); +?> \ No newline at end of file diff --git a/api/v1/main.php b/api/v1/main.php new file mode 100644 index 0000000..648c9c7 --- /dev/null +++ b/api/v1/main.php @@ -0,0 +1,22 @@ +addData('version', [ + 'name' => $config['version']['version'], + 'code' => $config['version']['versioncode'], + 'androidCompLevel' => $config['version']['android_comp_level'] +]); +$api->addData('installed', (file_exists(INSTALL_PATH) && is_dir(INSTALL_PATH)) ? false : true); +$api->addData('language', $globalLanguage); +$api->addData('theme', getConfig('main:theme.color', 'blue')); +$api->addData('label', getConfig('main:main.label', 'Raspberry Pi')); + +$api->display(); +?> \ No newline at end of file diff --git a/api/v1/network.php b/api/v1/network.php new file mode 100644 index 0000000..84ac76c --- /dev/null +++ b/api/v1/network.php @@ -0,0 +1,73 @@ +setTpl($tpl); + +$api = new API; + +if (isset($_POST['execute'])) +{ + do + { + if ($tpl->getSSHResource() === false) + { + $tpl->setError('error', 'logged out'); + break; + } + + switch ($_POST['execute']) + { + case 'wlan': + $networkConnections = getAllNetworkConnections(); + scanAccessPoints($networkConnections, true); + $SSHReturn = $SSHError = ''; + break; + default: + $api->setError('error', 'Unknown execute.'); + break 2; + } + + $api->addData('return', $SSHReturn); + $api->addData('error', $SSHError); + } + while (false); +} +else +{ + $networkConnections = getAllNetworkConnections(); + + $networkCountsJson = htmlspecialchars_decode(getConfig('main:network.overflowCount', '{}')); + $networkCounts = json_decode($networkCountsJson, true); + $counter = 0; + + foreach ($networkConnections as $network) + { + $countSent = 0; + $countReceive = 0; + + if (isset($networkCounts[$network['interface']]['sent'])) + $countSent = $networkCounts[$network['interface']]['sent']; + + if (isset($networkCounts[$network['interface']]['receive'])) + $countReceive = $networkCounts[$network['interface']]['receive']; + + $networkConnections[$counter]['sent'] = (4294967295 * $countSent) + $network['sent']; + $networkConnections[$counter]['receive'] = (4294967295 * $countReceive) + $network['receive']; + + $counter += 1; + } + + $api->addData('networkConnections', $networkConnections); + $api->addData('hostname', rpi_getHostname()); + $api->addData('wlan', scanAccessPoints($networkConnections, false)); +} + +$api->display(); +?> \ No newline at end of file diff --git a/api/v1/network_configuration_interface.php b/api/v1/network_configuration_interface.php new file mode 100644 index 0000000..20b0375 --- /dev/null +++ b/api/v1/network_configuration_interface.php @@ -0,0 +1,26 @@ +setTpl($tpl); + +$api = new API; + +if (isset($_POST['interface']) && ($pInterface = trim($_POST['interface'])) != '') +{ + list ($status, $error, $exitStatus) = $tpl->executeSSH('sudo ifdown '.escapeshellarg($pInterface).' && sudo ifup '.escapeshellarg($pInterface), 60); + + $api->addData('success', 'true'); + $api->addData('status', $status); + $api->addData('error', $error); + $api->addData('exitStatus', $exitStatus); +} +else + $api->setError('error', 'No interface set.'); + +$api->display(); +?> \ No newline at end of file diff --git a/api/v1/network_connect_wlan.php b/api/v1/network_connect_wlan.php new file mode 100644 index 0000000..16bd886 --- /dev/null +++ b/api/v1/network_connect_wlan.php @@ -0,0 +1,121 @@ +setTpl($tpl); + +$api = new API; + +if (!isset($_POST['type'])) + $api->setError('error', 'No type set.'); + +switch (isset($_POST['type']) ? $_POST['type'] : '') +{ + case 'set': + if (isset($_POST['interface'], $_POST['ssid'], $_POST['psk']) && ($pInterface = trim($_POST['interface'])) != '' && ($pSsid = trim($_POST['ssid'])) != '') + { + if ($tpl->getSSHResource() !== false) + { + $networkInterface = new NetworkInterface($tpl); + $pPsk = $_POST['psk']; + + list ($passphrase, $error, $exitStatus) = $tpl->executeSSH('sudo wpa_passphrase ' . escapeshellarg($pSsid) . ' ' . escapeshellarg($pPsk) . ' | grep "psk=[[:alnum:]]"', true); + $passphrase = trim(str_replace('psk=', '', $passphrase)); + + $network = array('ssid' => '"' . $pSsid . '"', 'psk' => $passphrase); + + if (($status = addNetworkWPASupplicant($network)) === true) + { + $newInterface = array('auto' => true, 'protocol' => 'inet', 'method' => 'dhcp', 'iface' => array('wpa-conf' => '/etc/wpa_supplicant/wpa_supplicant.conf')); + $networkInterface->deleteInterface($pInterface, false); + + if (($status2 = $networkInterface->addInterface($pInterface, $newInterface)) === true) + { + $api->addData('success', 'true'); + $api->addData('status', $status); + $api->addData('error', $error); + $api->addData('exitStatus', $exitStatus); + } + else + $api->setError('error', 'Errorcode: ' . $status2); + } + else + $api->setError('error', 'Errorcode: ' . $status); + } + else + $api->setError('error', 'No ssh-login.'); + } + else + $api->setError('error', 'No interface, ssid or psk set.'); + break; + + case 'down': + if (isset($_POST['interface']) && ($pInterface = trim($_POST['interface'])) != '') + { + if ($tpl->getSSHResource() !== false) + { + set_time_limit(60); + + list ($status, $error, $exitStatus) = $tpl->executeSSH('sudo ifdown '.escapeshellarg($pInterface)); + + $api->addData('success', 'true'); + $api->addData('status', $status); + $api->addData('error', $error); + $api->addData('exitStatus', $exitStatus); + } + else + $api->setError('error', 'No ssh-login.'); + } + else + $api->setError('error', 'No interface set.'); + break; + + case 'up': + if (isset($_POST['interface']) && ($pInterface = trim($_POST['interface'])) != '') + { + if ($tpl->getSSHResource() !== false) + { + set_time_limit(60); + + list ($status, $error, $exitStatus) = $tpl->executeSSH('sudo ifup '.escapeshellarg($pInterface), 60); + + $api->addData('success', 'true'); + $api->addData('status', $status); + $api->addData('error', $error); + $api->addData('exitStatus', $exitStatus); + } + else + $api->setError('error', 'No ssh-login.'); + } + else + $api->setError('error', 'No interface set.'); + break; + + case 'get': + if (isset($_POST['interface']) && ($pInterface = trim($_POST['interface'])) != '') + { + list ($status, $error, $exitStatus) = $tpl->executeSSH('sudo /sbin/ifconfig '.escapeshellarg($pInterface).' | sed -n \'2s/[^:]*:\([^ ]*\).*/\1/p\''); + + $api->addData('success', 'true'); + $api->addData('ip', (filter_var(trim($status), FILTER_VALIDATE_IP) !== false) ? trim($status) : 'no ip'); + $api->addData('errorMsg', _t('Konnte IP-Adresse nicht abrufen!')); + $api->addData('status', $status); + $api->addData('error', $error); + $api->addData('exitStatus', $exitStatus); + } + else + $api->setError('error', 'No interface set.'); + break; + + default: + $api->setError('error', 'Unknown type.'); +} + +$api->display(); +?> \ No newline at end of file diff --git a/api/v1/overview.php b/api/v1/overview.php new file mode 100644 index 0000000..aa6c703 --- /dev/null +++ b/api/v1/overview.php @@ -0,0 +1,67 @@ +addData('startTime', formatTime(time() - rpi_getRuntime())); + break; + case 'runtime': + $api->addData('runtime', getDateFormat(rpi_getRuntime())); + break; + case 'cpuClock': + $api->addData('cpuClock', rpi_getCpuClock()); + break; + case 'cpuLoad': + $api->addData('cpuLoad', rpi_getCpuLoad(true)); + break; + case 'cpuTemp': + $api->addData('cpuTemp', numberFormat(rpi_getCoreTemprature())); + break; + case 'ramPercentage': + $ram = rpi_getMemoryUsage(); + $api->addData('ramPercentage', $ram['percent']); + break; + case 'memoryUsed': + $memory = rpi_getMemoryInfo(); + $api->addData('memoryUsed', sizeUnit($memory[count($memory)-1]['used'])); + break; + case 'memoryFree': + $memory = rpi_getMemoryInfo(); + $api->addData('memoryFree', sizeUnit($memory[count($memory)-1]['free'])); + break; + case 'memoryTotal': + $memory = rpi_getMemoryInfo(); + $api->addData('memoryTotal', sizeUnit($memory[count($memory)-1]['total'])); + break; + case 'memoryPercent': + $memory = rpi_getMemoryInfo(); + $api->addData('memoryPercent', $memory[count($memory)-1]['percent']); + break; + case 'devices': + $api->addData('devices', rpi_getUsbDevices()); + break; + default: + $api->setError('error', 'Data for "'.$data.'" are not available.'); + break 2; + } + } +} +else + $api->setError('error', 'No data set.'); + +$api->display(); +?> \ No newline at end of file diff --git a/api/v1/ping.php b/api/v1/ping.php new file mode 100644 index 0000000..881f0c4 --- /dev/null +++ b/api/v1/ping.php @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/api/v1/plugins.php b/api/v1/plugins.php new file mode 100644 index 0000000..9f07ade --- /dev/null +++ b/api/v1/plugins.php @@ -0,0 +1,44 @@ +setError('error', 'Action not available.'); + } + else + $api->setError('error', 'Wrong syntax for action.'); + } + else + $api->addData('plugin', $plugins[$id]); +} +else + $api->addData('plugins', $plugins); + +$api->display(); +?> \ No newline at end of file diff --git a/api/v1/processes.php b/api/v1/processes.php new file mode 100644 index 0000000..6fdf084 --- /dev/null +++ b/api/v1/processes.php @@ -0,0 +1,17 @@ +addData('count', $processController->getCount()); +$api->addData('countRunning', $processController->getCountRunning()); +$api->addData('processes', $processController->getProcessesArray()); + +$api->display(); +?> \ No newline at end of file diff --git a/api/v1/shutdown.php b/api/v1/shutdown.php new file mode 100644 index 0000000..81cf9bb --- /dev/null +++ b/api/v1/shutdown.php @@ -0,0 +1,43 @@ +setTpl($tpl); + +$api = new API; + +if (isset($_POST['execute'])) +{ + do + { + if ($tpl->getSSHResource() === false) + { + $tpl->setError('error', 'logged out'); + break; + } + + switch ($_POST['execute']) + { + case 'shutdown': + list ($SSHReturn, $SSHError, $SSHExitStatus) = $tpl->executeSSH('sudo /sbin/shutdown -h now', true, 0); + break; + case 'restart': + list ($SSHReturn, $SSHError, $SSHExitStatus) = $tpl->executeSSH('sudo /sbin/shutdown -r now', true, 0); + break; + default: + $api->setError('error', 'Unknown execute.'); + break 2; + } + + $api->addData('return', $SSHReturn); + $api->addData('error', $SSHError); + } + while (false); +} + +$api->display(); +?> \ No newline at end of file diff --git a/api/v1/ssh.php b/api/v1/ssh.php new file mode 100644 index 0000000..9d0216b --- /dev/null +++ b/api/v1/ssh.php @@ -0,0 +1,114 @@ +setTpl($tpl); + +$api = new API; + +if (isset($_POST['login'])) +{ + $pType = isset($_POST['type']) ? $_POST['type'] : ''; + + if ($pType == 'password') + { + if (isset($_POST['port'], $_POST['username'], $_POST['password']) && ($pPort = intval(trim($_POST['port']))) != '' && ($pUsername = trim($_POST['username'])) != '' && ($pPassword = $_POST['password']) != '') + { + $pRememberMe = (isset($_POST['remember-me']) && $_POST['remember-me'] == 'checked') ? true : false; + + if (is_numeric($pPort) && $pPort >= 0 && $pPort <= 65535) + { + if ($tpl->setSSHInfo($pType, $pPort, $pUsername, $pPassword, NULL, $pRememberMe) === true) + { + if ($tpl->getSSHResource() !== false) + $api->addData('success', 'login'); + else + $api->setError('error', 'login'); + } + } + else + $api->setError('error', 'Invalid port.'); + } + else + $api->setError('error', 'Missing parameters.'); + } + elseif ($pType == 'publickey') + { + if (isset($_POST['port'], $_POST['username'], $_POST['privatekey']) && ($pPort = intval(trim($_POST['port']))) != '' && ($pUsername = trim($_POST['username'])) != '' && ($pPrivateKey = urldecode($_POST['privatekey'])) != '') + { + $pPassword = isset($_POST['password']) ? $_POST['password'] : ''; + $pRememberMe = (isset($_POST['remember-me']) && $_POST['remember-me'] == 'checked') ? true : false; + + if (is_numeric($pPort) && $pPort >= 0 && $pPort <= 65535) + { + if ($tpl->setSSHInfo($pType, $pPort, $pUsername, $pPassword, $pPrivateKey, $pRememberMe) === true) + { + if ($tpl->getSSHResource() !== false) + $api->addData('success', 'login'); + else + $api->setError('error', 'login'); + } + } + else + $api->setError('error', 'Invalid port.'); + } + else + $api->setError('error', 'Missing parameters.'); + } + else + $api->setError('error', 'Unknown type.'); +} + +if (isset($_POST['status'])) +{ + if ($tpl->getSSHResource() !== false) + $api->addData('status', 'logged in'); + else + { + $api->addData('status', 'logged out'); + $api->addData('ssh', $tpl->getSSHInfo()); + } +} + +if (isset($_POST['execute'])) +{ + do + { + if ($tpl->getSSHResource() === false) + { + $tpl->setError('error', 'logged out'); + break; + } + + switch ($_POST['execute']) + { + case 'shutdown': + list ($SSHReturn, $SSHError, $SSHExitStatus) = $tpl->executeSSH('sudo shutdown -h now', true, 0); + break; + case 'restart': + list ($SSHReturn, $SSHError, $SSHExitStatus) = $tpl->executeSSH('sudo shutdown -r now', true, 0); + break; + default: + $api->setError('error', 'Unknown execute.'); + break 2; + } + + $api->addData('return', $SSHReturn); + $api->addData('error', $SSHError); + $api->addData('exitStatus', $SSHExitStatus); + } + while (false); +} + +if (isset($_POST['logout'])) +{ + $tpl->logoutSSH(); +} + +$api->display(); +?> \ No newline at end of file diff --git a/api/v1/statistic.php b/api/v1/statistic.php new file mode 100644 index 0000000..8de3923 --- /dev/null +++ b/api/v1/statistic.php @@ -0,0 +1,89 @@ +loadStatistics(); + + if (($name = $controller->getStatisticName($_POST['id'])) !== false) + { + if (isset($_POST['plugin']) && trim($_POST['plugin']) != '') + pluginLanguage(trim($_POST['plugin'])); + + $builder = new StatisticBuilder(); + $builder->loadFromFile($name, (isset($_POST['plugin']) && trim($_POST['plugin']) != '') ? $_POST['plugin'] : NULL); + $statistic = $builder->getArray(); + + $log = new LogStatistic(); + $log->setFile(LOG_PATH.$statistic['raw'].'.csv'); + + $arr = $info = array(); + + foreach ($statistic['columns'] as $column) + $arr['cols'][] = array('id' => '', 'label' => _t($column['label']), 'type' => $column['type']); + + getRowsFromLog($arr, $info, $log->getAll(), $statistic['columns'], $statistic['cycle']); + + if (isset($arr['rows'])) + { + if (isset($_POST['type']) && $_POST['type'] == 'googleChart') + $arr['rows'] = convertForGoogleChart($arr['rows']); + + $arr['rows'] = array_slice($arr['rows'], -2016); + $arr['periods'] = $info['periods']; + + foreach (array('min', 'max') as $type) + { + if ($statistic['limits'][$type]['use'] == 'multiply') + $arr[$type] = round($info[$type] * $statistic['limits'][$type]['value']); + elseif ($statistic['limits'][$type]['use'] == 'fix') + { + if ($statistic['limits'][$type]['fix'] == true) + $arr[$type] = $statistic['limits'][$type]['value']; + else + $arr[$type] = round($info[$type]); + } + } + + $api->addData('statistic', $arr); + } + else + $api->setError('error', 'Empty data.'); + } + else + $api->setError('error', 'Data not found.'); +} +else +{ + $statistics = array(); + $hiddenStatistics = unserialize(htmlspecialchars_decode(getConfig('main:statistic.hidden', 'a:0:{}'))); + + $controller = new StatisticController(); + $controller->loadStatistics(); + + foreach ($controller->getStatistics() as $statistic) + { + $builder = new StatisticBuilder(); + $builder->loadFromFile($statistic); + + $array = $builder->getArray(); + if (!in_array($builder->getId(), $hiddenStatistics)) + $statistics[] = array('array' => $array); + } + + $api->addData('statistics', $statistics); + $api->addData('hidden', $hiddenStatistics); +} + +$api->display(); +?> \ No newline at end of file diff --git a/api/v1/statistic_download.php b/api/v1/statistic_download.php new file mode 100644 index 0000000..ce6b7d6 --- /dev/null +++ b/api/v1/statistic_download.php @@ -0,0 +1,55 @@ +loadStatistics(); + +if (($name = $controller->getStatisticName($_GET['id'])) === false) + exit(); + +if (isset($_GET['plugin']) && trim($_GET['plugin']) != '') + pluginLanguage(trim($_GET['plugin'])); + +$builder = new StatisticBuilder(); +$builder->loadFromFile($name, (isset($_GET['plugin']) && trim($_GET['plugin']) != '') ? $_GET['plugin'] : NULL); +$statistic = $builder->getArray(); + +header("Content-type: text/csv"); +header("Content-Disposition: attachment; filename=".$statistic['title'].".csv"); +header("Pragma: no-cache"); +header("Expires: 0"); + +$log = new LogStatistic(); +$log->setFile(LOG_PATH.$statistic['raw'].'.csv'); + +function convertTimestampToISO(&$value, $key) +{ + $value[0] = date('c', trim($value[0])); +} + +$header = array(); +foreach ($statistic['columns'] as $column) + $header[] = _t($column['downloadTitle']); + +$output = fopen('php://output', 'w'); + +$data = $log->getAll(); +array_walk($data, 'convertTimestampToISO'); + +fputcsv($output, $header); + +foreach ($data as $entry) + fputcsv($output, $entry); + +fclose($output); +?> \ No newline at end of file diff --git a/api/v1/users_groups.php b/api/v1/users_groups.php new file mode 100644 index 0000000..9f4eedc --- /dev/null +++ b/api/v1/users_groups.php @@ -0,0 +1,16 @@ +load(); +$api->addData('users', $users->getContent()); +$api->addData('hint', $users->displayHint(true)); + +$api->display(); +?> \ No newline at end of file diff --git a/api/versions.php b/api/versions.php new file mode 100644 index 0000000..41f6c35 --- /dev/null +++ b/api/versions.php @@ -0,0 +1,10 @@ + 1); + +$apiVersions = array(); + +$apiVersions[0] = array('versioncode' => 1, + 'date' => 1443909600); + +echo json_encode(array('versions' => $apiVersions, 'latest' => $apiLatest)); +?> \ No newline at end of file diff --git a/index.php b/index.php new file mode 100644 index 0000000..a900e75 --- /dev/null +++ b/index.php @@ -0,0 +1,94 @@ + + + + + + + Pi Control + + + +
+
'._t('Zugriffsfehler').'
+
'._t('Der Zugang steht nur im lokalem Netzwerk (LAN) zur Verfügung!').'
+
+ +'; + exit(); +} + +$tpl = new PiTpl; +$tpl->setTpl($tpl); +$tpl->setTplFolder(TEMPLATES_PATH); +$tpl->setDrawHeader(true); +$tpl->setDrawFooter(true, $config); + +try +{ + // Lade Content + if (isset($_GET['s']) && !isset($_GET['i']) && isset($site[$_GET['s']]) && file_exists(CONTENT_PATH.$site[$_GET['s']])) + include_once CONTENT_PATH.$site[$_GET['s']]; + else + { + if (isset($_GET['s']) && (!isset($site[$_GET['s']]) || file_exists(CONTENT_PATH.$site[$_GET['s']]) === false)) + { + $tpl->setHeaderTitle(_t('Fehler')); + $tpl->error(_t('Fehler'), _t('Leider existiert die angeforderte Seite nicht.')); + } + else + include_once CONTENT_PATH.'overview.php'; + } + + if ($tpl->tplDraw === false) + $tpl->draw(); +} +catch(Exception $e) +{ + $errorHandler[] = 'Fehler [TPL]: '.$e->getFile().':'.$e->getLine().' => '.$e->getMessage(); + + echo ' + + + + + + Pi Control + + + +
+
'._t('Fehler').'
+
'._t('Leider ist beim Aufbau der Seite ein Fehler aufgetreten!

%s', implode("
\n", $errorHandler)).'
+
'._t('Bitte melde das Problem hier.', 'https://pi-control.de/?service=feedback').'
+
+ +'; +} +?> \ No newline at end of file diff --git a/install/api/v1/feedback.php b/install/api/v1/feedback.php new file mode 100644 index 0000000..424b6c9 --- /dev/null +++ b/install/api/v1/feedback.php @@ -0,0 +1,60 @@ +/dev/null 2>&1 # By Pi Control'; + +exec('cat /etc/crontab', $crontab); +$cronMatch = preg_match('/^\*\s\*\s\*\s\*\s\*\s'.preg_quote(exec('whoami')).'\sphp \-f "'.preg_quote(CRON_PATH, '/').'init\.php"( )?(# By Pi Control)?/im', implode(PHP_EOL, $crontab)); + +// Dateien und Ordner +$filesFoldersExist = array('count' => 0, 'status' => true); +$filesFoldersPermission = array('count' => 0, 'status' => true); +$filesFolders = fileFolderPermission(); + +foreach ($filesFolders as $file => $info) +{ + if ($info['error'] === true) + { + if ($info['existsBool'] === false || $info['filesizeBool'] === false) + { + $filesFoldersExist['count'] += 1; + $filesFoldersExist['status'] = false; + } + + if ($info['permissionBool'] === false || $info['userGroupBool'] === false) + { + $filesFoldersPermission['count'] += 1; + $filesFoldersPermission['status'] = false; + } + } +} + +$stats['version'] = $config['version']['versioncode']; +$stats['language'] = $globalLanguage; +$stats['url'] = urldecode($_POST['url']); +$stats['path'] = PICONTROL_PATH; +$stats['php'] = PHP_VERSION; +$stats['webserver'] = $_SERVER['SERVER_SOFTWARE']; +$stats['filesFoldersExist'] = $filesFoldersExist; +$stats['filesFoldersPermission'] = $filesFoldersPermission; +$stats['piControlCron'] = array('match' => $cronMatch, 'paketStatus' => trim(exec('dpkg -s php5-cli | grep Status: '))); +$stats['whoami'] = exec('whoami'); +$stats['lastStart'] = time() - rpi_getRuntime(); +$stats['serverAddr'] = $_SERVER['SERVER_ADDR']; +$stats['serverPort'] = $_SERVER['SERVER_PORT']; +$stats['distribution'] = rpi_getDistribution(); +$stats['userAgent'] = $_SERVER['HTTP_USER_AGENT']; +$stats['config'] = array('installed' => 'false'); + +echo urlencode(base64_encode(json_encode($stats))); +?> \ No newline at end of file diff --git a/install/api/versions.php b/install/api/versions.php new file mode 100644 index 0000000..41f6c35 --- /dev/null +++ b/install/api/versions.php @@ -0,0 +1,10 @@ + 1); + +$apiVersions = array(); + +$apiVersions[0] = array('versioncode' => 1, + 'date' => 1443909600); + +echo json_encode(array('versions' => $apiVersions, 'latest' => $apiLatest)); +?> \ No newline at end of file diff --git a/install/index.php b/install/index.php new file mode 100644 index 0000000..20a5390 --- /dev/null +++ b/install/index.php @@ -0,0 +1,59 @@ +setTpl($tpl); +$tpl->setTplFolder(TEMPLATES_PATH); +$tpl->setDrawHeader(true); +$tpl->setDrawFooter(true, $config); + +try +{ + // Lade Content + if (isset($_GET['s']) && isset($site[$_GET['s']]) && file_exists(CONTENT_PATH.$site[$_GET['s']])) + include_once CONTENT_PATH.$site[$_GET['s']]; + else + { + if (isset($_GET['s']) && (!isset($site[$_GET['s']]) || file_exists(CONTENT_PATH.$site[$_GET['s']]) === false)) + { + $tpl->setHeaderTitle(_t('Fehler')); + $tpl->error(_t('Fehler'), _t('Leider existiert die angeforderte Seite nicht.')); + } + else + include_once CONTENT_PATH.'install.php'; + } + + if ($tpl->tplDraw === false) + $tpl->draw(); +} +catch(Exception $e) +{ + $errorHandler[] = 'Fehler [TPL]: '.$e->getFile().':'.$e->getLine().' => '.$e->getMessage(); + + echo ' + + + + Pi Control + + + +
+
Fehler
+
Leider ist beim Aufbau der Seite ein Fehler aufgetreten!

'.implode("
\n", $errorHandler).'
+
Bitte melde das Problem.
+
+ +'; +} +?> \ No newline at end of file diff --git a/install/public_html/css/style.css.php b/install/public_html/css/style.css.php new file mode 100644 index 0000000..91a2c31 --- /dev/null +++ b/install/public_html/css/style.css.php @@ -0,0 +1,1722 @@ + $fileChanged) ? $colorChanged : $fileChanged); + +$colors['red'] = array('#FFEBEE', '#FFCDD2', '#EF9A9A', '#E57373', '#EF5350', '#F44336', '#E53935', '#D32F2F', '#C62828', '#B71C1C'); +$colors['pink'] = array('#FCE4EC', '#F8BBD0', '#F48FB1', '#F06292', '#EC407A', '#E91E63', '#D81B60', '#C2185B', '#AD1457', '#880E4F'); +$colors['purple'] = array('#F3E5F5', '#E1BEE7', '#CE93D8', '#BA68C8', '#AB47BC', '#9C27B0', '#8E24AA', '#7B1FA2', '#6A1B9A', '#4A148C'); +$colors['deepPurple'] = array('#EDE7F6', '#D1C4E9', '#B39DDB', '#9575CD', '#7E57C2', '#673AB7', '#5E35B1', '#512DA8', '#4527A0', '#311B92'); +$colors['indigo'] = array('#E8EAF6', '#C5CAE9', '#9FA8DA', '#7986CB', '#5C6BC0', '#3F51B5', '#3949AB', '#303F9F', '#283593', '#1A237E'); +$colors['blue'] = array('#E3F2FD', '#BBDEFB', '#90CAF9', '#64B5F6', '#42A5F5', '#2196F3', '#1E88E5', '#1976D2', '#1565C0', '#0D47A1'); +$colors['lightBlue'] = array('#E1F5FE', '#B3E5FC', '#81D4FA', '#4FC3F7', '#29B6F6', '#03A9F4', '#039BE5', '#0288D1', '#0277BD', '#01579B'); +$colors['cyan'] = array('#E0F7FA', '#B2EBF2', '#80DEEA', '#4DD0E1', '#26C6DA', '#00BCD4', '#00ACC1', '#0097A7', '#00838F', '#006064'); +$colors['teal'] = array('#E0F2F1', '#B2DFDB', '#80CBC4', '#4DB6AC', '#26A69A', '#009688', '#00897B', '#00796B', '#00695C', '#004D40'); +$colors['green'] = array('#E8F5E9', '#C8E6C9', '#A5D6A7', '#81C784', '#66BB6A', '#4CAF50', '#43A047', '#388E3C', '#2E7D32', '#1B5E20'); +$colors['lightGreen'] = array('#F1F8E9', '#DCEDC8', '#C5E1A5', '#AED581', '#9CCC65', '#8BC34A', '#7CB342', '#689F38', '#558B2F', '#33691E'); +$colors['lime'] = array('#F9FBE7', '#F0F4C3', '#E6EE9C', '#DCE775', '#D4E157', '#CDDC39', '#C0CA33', '#AFB42B', '#9E9D24', '#827717'); +$colors['yellow'] = array('#FFFDE7', '#FFF9C4', '#FFF59D', '#FFF176', '#FFEE58', '#FFEB3B', '#FDD835', '#FBC02D', '#F9A825', '#F57F17'); +$colors['amber'] = array('#FFF8E1', '#FFECB3', '#FFE082', '#FFD54F', '#FFCA28', '#FFC107', '#FFB300', '#FFA000', '#FF8F00', '#FF6F00'); +$colors['orange'] = array('#FFF3E0', '#FFE0B2', '#FFCC80', '#FFB74D', '#FFA726', '#FF9800', '#FB8C00', '#F57C00', '#EF6C00', '#E65100'); +$colors['deepOrange'] = array('#FBE9E7', '#FFCCBC', '#FFAB91', '#FF8A65', '#FF7043', '#FF5722', '#F4511E', '#E64A19', '#D84315', '#BF360C'); +$colors['brown'] = array('#EFEBE9', '#D7CCC8', '#BCAAA4', '#A1887F', '#8D6E63', '#795548', '#6D4C41', '#5D4037', '#4E342E', '#3E2723'); +$colors['grey'] = array('#FAFAFA', '#F5F5F5', '#EEEEEE', '#E0E0E0', '#BDBDBD', '#9E9E9E', '#757575', '#616161', '#424242', '#212121'); +$colors['blueGrey'] = array('#ECEFF1', '#CFD8DC', '#B0BEC5', '#90A4AE', '#78909C', '#607D8B', '#546E7A', '#455A64', '#37474F', '#263238'); + +$colorPallet = $colors[getConfig('main:theme.color', 'blue')]; +//" +?> +@charset "utf-8"; +/* CSS Document */ + +a { + color: ; + text-decoration: none; +} + +a:hover { + text-decoration: underline; +} + +body { + color: #333333; + background: #EEEEEE; + font-family: Arial, Helvetica, Verdana, sans-serif; + font-size: 13px; + margin: 0px; + overflow: scroll; + overflow-x: auto; + padding: 0px; +} + +#header { + background: ; + box-shadow: 0px 0px 10px #666666; + z-index: 50000; +} + +#header-top { + background: ; +} + +#header-top-inner { + color: #DDDDDD; + display: table; + font-size: 12px; + margin: 0px auto 0px; + max-width: 900px; +} + +#header-top-inner-row { + display: table-row; +} + +.header-top-inner-cell { + display: table-cell; +} + +.header-top-inner-cell a { + color: #DDDDDD; + padding: 5px; + transition: all 100ms linear; +} + +.header-top-inner-cell a:hover { + color: #FFFFFF; + background: ; + text-decoration: none; +} + +.header-top-inner-username { + text-align: right; + padding: 5px; + padding-right: 15px; +} + +.header-top-inner-logout { + width: 1%; +} + +#inner-header { + margin: 0 auto; + max-width: 900px; + text-align: right; + display: table; + width: 100%; +} + +#header-logo { + display: table-cell; + width: 1%; + vertical-align: middle; + padding: 9px 15px; +} + +#header-logo:hover { + background: ; +} + +#header-logo img { + height: 100%; + width: auto; + margin-bottom: -4px; +} + +#header-navi { + display: table-cell; +} + +#header-navi > a, #header-navi > div > a { + color: #FFFFFF; + display: inline-block; + font-weight: bold; + text-decoration: none; + padding: 15px 15px 11px 15px; + border-bottom: 4px solid transparent; + transition: all 100ms linear; +} + +#header-navi > a:hover, #header-navi > div:hover > a { + background: ; + border-bottom: 4px solid ; +} + +#header-navi .navi-dropdown { + display: inline-block; + text-align: left; + position: relative; +} + +#header-navi .navi-dropdown-container { + background: ; + opacity: 0; + visibility: hidden; + min-width: 100px; + position: absolute; + transition: 100ms linear; + transform: translateY(-5px); + right: 0px; +} + +#header-navi .navi-dropdown:hover .navi-dropdown-container { + opacity: 1; + visibility: visible; + transform: translateY(0px); +} + +#header-navi .navi-dropdown-container a { + color: #FFFFFF; + display: block; + font-weight: bold; + padding: 15px; + text-decoration: none; + transition: all 100ms linear; +} + +#header-navi .navi-dropdown-container a:hover { + background: ; +} + +#header-mobile ~ #inner-header > label::before { + content: '\2630'; + display: none; +} + +#header-mobile ~ #inner-header > label { + display: none; +} + +#content { + margin: 0 auto; + padding-top: 20px; + max-width: 900px; + min-height: 500px; +} + +#footer { + background: #FFFFFF; + border-top: 1px solid #DDDDDD; + min-height: 100px; + font-size: 12px; +} + +#footer-inner { + margin: 0 auto; + max-width: 900px; +} + +#footer-table { + margin: 20px auto; + border-spacing: 0px; + font-size: 12px; +} + +#footer-table tr td, #footer-table tr th { + padding: 4px; +} + +#footer-table tr th { + text-align: left; + padding-bottom: 10px; +} + +#footer-table tr td { + vertical-align: top; + padding: 0px; +} + +#footer-table tr:nth-child(2) td:first-child { + padding-right: 70px; +} + +#footer-table tr th:nth-child(2) { + padding-right: 74px; +} + +#footer-table tr:nth-child(2) td a { + display: inline-block; + text-decoration: none; + padding: 4px; + transition: all 100ms linear; +} + +#footer-table tr:nth-child(2) td a:hover { + text-decoration: none; + background: ; + color: #FFFFFF; + border-radius: 2px; +} + +#footer-table tr:nth-child(2) td:last-child { + padding: 4px; +} + +#footer-table tr:last-child td { + vertical-align: bottom; +} + +#footer-table tr:last-child td strong { + display: block; + padding: 4px; + padding-bottom: 10px; +} + +#footer-table tr:last-child td span { + display: block; + padding: 4px; +} + +#footer-copyright { + border-top: 1px solid #EEEEEE; + margin: 0px auto; + padding: 20px; + text-align: center; + width: 60%; +} + +.box { + background: #FFFFFF; + border-radius: 2px; + margin-bottom: 20px; +} + +.box .inner-header { + display: table; + width: 100%; + padding-right: 15px; + box-sizing: border-box; +} + +.box .inner-header > span:first-child { + color: ; + display: inline-block; + font-size: 18px; + font-weight: bold; + padding: 15px 15px 15px 15px; + display: table-cell; +} + +.box .inner-header div { + display: table-cell; + vertical-align: middle; + text-align: right; +} + +.box .inner, .box .inner-end { + padding: 0px 15px 15px 15px; +} + +.box .inner-single { + padding: 15px; + display: table-cell; + width: 100%; +} + +.box .inner-single2 { + padding: 15px; +} + +.box .inner-margin-vertical { + margin-top: 15px; + margin-bottom: 15px; +} + +.box .inner-info { + background: ; + margin-bottom: 15px; + display: table; + width: 100%; + display: inline-block; + vertical-align: top; +} + +.box .inner-info::before { + background: url('../img/info-icon.svg') no-repeat center center ; + background-size: 40% auto; + content: " "; + display: table-cell; + height: 100%; + width: 60px; +} + +.box .inner-info > div { + display: table-cell; + padding: 15px; + color: ; +} + +.box .inner-end { + text-align: right; +} + +.box .inner-table { + padding: 0px 0px 15px 0px; +} + +.box .inner-table > div, .box .inner-table > span, .box .inner-table > strong { + margin: 0px 15px 0px 15px; +} + +.box .inner-navi { + text-align: center; +} + +.box .inner-navi a { + font-weight: bold; + padding: 10px; + display: block; + transition: all 100ms linear; +} + +.box .inner-navi a:hover { + background: ; + text-decoration: none; + color: #FFFFFF; +} + +.container-600 { + max-width: 600px; +} + +.sidebar { + float: right; + width: 280px; +} + +.table { + border-spacing: 0px; + width: 100%; + font-size: inherit; +} + +.table th { + background: ; + color: #FFFFFF; + padding: 7px; + text-align: left; +} + +.table td { + padding: 7px; + text-align: left; +} + +.table-2-column td { + width: 50%; +} + +.table-form td:first-child, .table-form-header td:first-child { + font-weight: bold; + width: 25%; +} + +.table tr:nth-child(odd) { + background: ; +} + +.table-form tr:nth-child(odd), .table-reverse tr:nth-child(odd) { + background: #FFFFFF; +} + +.table-form tr:nth-child(even), .table-reverse tr:nth-child(even) { + background: ; +} + +.table-overview-system { + border: 0px; + border-spacing: 0px; + width: 100%; +} + +.table-overview-system td { + padding: 0px; + width: 49%; +} + +.table-overview-system td:nth-child(2) { + width: 2%; +} + +.table-overview-system td button { + width: 100%; +} + +.table-borderless td:first-child, .table-borderless th:first-child { + padding-left: 15px; +} + +.table-borderless td:last-child, .table-borderless th:last-child { + padding-right: 15px; +} + +td.table-center, th.table-center { + text-align: center; +} + +td.table-left, th.table-left { + text-align: left; +} + +td.table-right, th.table-right { + text-align: right; +} + +.progressbar { + background: #DDDDDD; + border-radius: 2px; + font-size: 0px; + text-align: left; +} + +.progressbar > div { + background: ; + border-radius: 2px; + color: #FFFFFF; + text-shadow: 0 0 1px #333333; + font-size: 11px; + line-height: 17px; + text-align: center; + font-weight: normal; + display: inline-block; +} + +.show-more { + display: inline; + font-weight: bold; + padding: 6px; + transition: all 100ms linear; +} + +.show-more:hover { + background: ; + border-radius: 2px; + color: #FFFFFF; + text-decoration: none; +} + +.text-align-center { + text-align: center; +} + +.error, .success, .info { + display: table; + width: 100%; + border: 0px; + border-radius: 2px; +} + +.error > div span.cancel, .success > div span.cancel, .info > div span.cancel { + width: 16px; + height: 16px; + background: url('../img/cross-icon.svg') no-repeat center center; + background-size: 16px; + display: inline-block; + cursor: pointer; + vertical-align: middle; +} + +.error::before, .success::before, .info::before { + display: table-cell; + width: 60px; + text-align: center; + vertical-align: middle; + font-size: 35px; + font-weight: bold; + padding-top: 2px; + border-top-left-radius: 2px; + border-bottom-left-radius: 2px; + line-height: 35px; +} + +.success::before { + font-weight: normal; +} + +.error::before { + content: "!"; + background: #F44336; + color: #D32F2F; +} + +.success::before { + content: "\2714"; + background: #009688; + color: #00796B; +} + +.info::before { + content: "!?"; + background: #FFC107; + color: #FFA000; +} + +.info-update::before { + content: ""; + background: url('../img/update-loader.svg') no-repeat center center #FFC107; + background-size: 70% auto; + color: #FFA000; +} + +.error > div, .success > div, .info > div { + display: table-cell; + vertical-align: middle; +} + +.error .inner-header span:first-child { + color: #F44336; +} + +.success .inner-header span:first-child { + color: #009688; +} + +.info .inner-header span:first-child { + color: #FFC107; +} + +.inner-single ~ div { + display: table-cell; + padding-right: 15px; +} + +.small-info { + color: #999999; + font-size: 11px; +} + +.google-controls .google-visualization-controls-rangefilter-thumblabel { + font-size: 14px; + font-weight: normal; + color: #666666; + line-height: 27px; + height: 27px; +} + +.google-controls .google-visualization-controls-slider-horizontal { + background-color: ; + border: 0; + outline: 0; + border-radius: 3px; + position: relative; + height: 5px; + top: -0.2em; + margin: 0 0.3em; +} + +.google-controls .google-visualization-controls-slider-horizontal .google-visualization-controls-slider-thumb { + background-color: ; + border: 1px solid ; + width: 16px; + height: 16px; + border-radius: 50%; + top: -6px; +} + +.google-controls .google-visualization-controls-slider-horizontal:hover .google-visualization-controls-slider-thumb, +.google-controls .google-visualization-controls-slider-horizontal:active .google-visualization-controls-slider-thumb { + background-color: #FFFFFF; + cursor: pointer; + cursor: col-resize; +} + +.google-controls .google-visualization-controls-slider-horizontal .google-visualization-controls-slider-handle { + background-color: ; + opacity: 1; + height: 5px; +} + +.google-controls .google-visualization-controls-slider-horizontal:hover .google-visualization-controls-slider-handle, +.google-controls .google-visualization-controls-slider-horizontal:focus .google-visualization-controls-slider-handle { + cursor: pointer; +} + +.settings-overview-flex-container { + padding: 0; + margin: 0; + display: -webkit-box; + display: -moz-box; + display: -ms-flexbox; + display: -webkit-flex; + display: flex; + -webkit-flex-flow: row wrap; + flex-flow: row wrap; + justify-content: space-around; +} + +.settings-overview-flex-container > .settings-overview-flex-box { + min-width: 120px; + width: 27%; + border: 1px solid ; + border-radius: 2px; + display: block; + font-weight: bold; + padding: 20px; + text-align: center; + text-decoration: none; + transition: all 100ms linear; + margin: 5px; +} + +.settings-overview-flex-container > .settings-overview-flex-box:hover { + background: ; + border: 1px solid ; + color: #FFFFFF; +} + +.cached { + background: ; + color: #FFFFFF; + border-radius: 2px; + font-size: 11px; + transition: 100ms linear; + display: inline-block; + vertical-align: middle; +} + +.cached span { + padding: 2px 4px; + display: block; +} + +.cached a { + display: none; + padding: 2px 4px; +} + +.cached:hover { + background: ; +} + +.cached:hover span { + display: none; +} + +.cached:hover a { + display: block; + color: #FFFFFF; + text-decoration: none; +} + +.plugins-table-list a { + text-decoration: none; + color: inherit; +} + +.plugins-table-list:hover tr { + background: ; +} + +.plugins-table-list table td:first-child, .settings-plugins-table-list table td:first-child { + vertical-align: top; + width: 30%; +} + +.plugins-table-list table td:nth-child(2), .settings-plugins-table-list table td:nth-child(3) { + text-align: justify; +} + +.plugins-table-list table td:first-child strong, .settings-plugins-table-list table td:first-child strong { + display: block; + font-size: 15px; +} + +.plugins-table-list table td:first-child span, .settings-plugins-table-list table td:first-child span:nth-child(2) { + color: #BBBBBB; + font-size: 12px; +} + +.settings-plugins-table-list table td:first-child { + width: 21%; +} + +.settings-plugins-table-list table td:nth-child(2) { + width: 14%; +} + +.settings-plugins-table-list table td:nth-child(2) a { + display: block; +} + +.settings-plugins-table-list table td:nth-child(2) span { + display: inline-block; +} + +.settings-plugins-table-list table td:nth-child(2) a:nth-child(2) { + margin: 2px auto; +} + +.overflow-auto { + overflow: auto; +} + +.clear-both { + clear: both; +} + +.text-center { + text-align: center; +} + +.text-justify { + text-align: justify; +} + +.padding-0, .box .padding-0 { + padding: 0px; +} + +img { + /*display: block;*/ +} + +.feedback { + background: rgba(0, 0, 0, 0.7); + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + width: 100%; + height: 100%; + display: table; + padding: 5px; + box-sizing: border-box; + z-index: 1000; +} + +.feedback > a { + display: table-row; + color: #FFFFFF; + text-decoration: none; + height: 1%; + text-align: right; + font-weight: bold; +} + +.feedback .feedback-inner { + display: table-cell; + vertical-align: middle; + text-align: center; +} + +.feedback div.box { + text-align: left; + max-width: 500px; + margin: 0 auto; +} + +.feedback div.box img, .feedback div.box strong { + display: block; + margin: 0 auto; + text-align: center; + font-size: 30px; +} + +.flex-container { + padding: 0; + margin: 0; + display: -webkit-box; + display: -moz-box; + display: -ms-flexbox; + display: -webkit-flex; + display: flex; + -webkit-flex-flow: row wrap; + flex-flow: row wrap; + justify-content: space-around; +} + +.flex-container > .flex-box-refresh { + width: 100%; + display: table; +} + +.flex-container > .flex-box-refresh a { + text-decoration: none; + display: table-cell; + font-size: 0px; +} + +.flex-container > .flex-box-refresh img { + width: 16px; + height: 16px; +} + +.flex-container > .flex-box-refresh > div { + display: table-cell; + width: 100%; + vertical-align: middle; + padding-right: 15px; +} + +.flex-container > .flex-box-refresh > div .refresh-bar { + height: 2px; + background: ; + width: 0%; +} + +.flex-container > .flex-box { + min-width: 120px; + width: 25%; + font-weight: bold; + font-size: 15px; + text-align: center; + margin: 10px 10px; + padding: 10px 10px; + border-radius: 2px; +} + +.flex-container > .flex-box strong { + font-size: 13px; + padding-bottom: 7px; + font-weight: normal; + display: block; + color: #999999; +} + +.settings-shortcut-icon { + text-decoration: none; + display: inline-block; + vertical-align: middle; +} + +.settings-shortcut-icon img { + width: 16px; + height: 16px; + display: block; +} + +.go-back-icon { + text-decoration: none; + display: inline-block; + vertical-align: middle; +} + +.go-back-icon img { + width: 16px; + height: 16px; + display: block; +} + +.svg-small { + width: 16px; + height: 16px; +} + +.svg-middle { + vertical-align: middle; +} + +.svg-negative-margin { + margin: -3px; +} + +.svg-negative-margin-vertical { + margin: -3px auto; +} + +.red { + color: #F44336; +} + +.green { + color: #009688; +} + +.text-decoration-none, .text-decoration-none:hover { + text-decoration: none; +} + +.order-1 { + order: 1; +} + +.order-2 { + order: 2; +} + +.order-3 { + order: 3; +} + +.order-4 { + order: 4; +} + +.order-5 { + order: 5; +} + +.order-6 { + order: 6; +} + +a img { + border: 0px; +} + +.subtitle { + font-weight: bold; + color: ; + display: inline-block; + font-size: 16px; +} + +.svg-control-pen, .svg-control-cross, .svg-control-plus { + background: url('../img/control-icons.svg') no-repeat; + background-size: auto 100%; + display: block; + height: 16px; + width: 16px; +} + +.svg-control-pen { + background-position: 0px; +} + +.svg-control-cross { + background-position: -16px; +} + +.svg-control-plus { + background-position: -32px; +} + +/* *********************************************** */ + +input[type="text"], input[type="password"], textarea { + border: 1px solid #DDDDDD; + border-radius: 2px; + padding: 5px; + margin: 2px 0px; + transition: all 100ms linear; +} + +input[type="text"]:hover, input[type="password"]:hover, textarea:hover { + border: 1px solid #CCCCCC; +} + +input[type="text"]:focus, input[type="password"]:focus, textarea:focus { + border: 1px solid ; + outline: none; +} + +input[type="button"], button, input[type="submit"], .button { + background: none; + border: 1px solid ; + border-radius: 2px; + color: ; + cursor: pointer; + padding: 5px 10px 5px 10px; + font-size: 13px; + display: inline-block; + transition: all 100ms linear; +} + +input[type="button"]:hover, button:hover, input[type="submit"]:hover, .button:hover { + background: ; + border: 1px solid ; + color: #FFFFFF; + text-decoration: none; +} + +input[type="button"]:focus, button:focus, input[type="submit"]:focus, .button:focus { + background: ; + border: 1px solid ; + color: #FFFFFF; + outline: none; +} + +input[type="button"]:disabled, button:disabled, input[type="submit"]:disabled, .button-disabled { + cursor: default; + opacity: 0.5; +} + +input[type="button"]:disabled:hover, button:disabled:hover, input[type="submit"]:disabled:hover, .button-disabled:hover { + background: none; + color: ; +} + +select { + border: 1px solid #DDDDDD; + border-radius: 2px; + padding: 5px; + margin: 2px 0px; + transition: all 100ms linear; +} + +select:hover { + border: 1px solid #CCCCCC; +} + +select:focus { + border: 1px solid ; + outline: none; +} + +label.checkbox, label.radio { + display: inline-block; + cursor: pointer; + position: relative; + padding-left: 25px; + margin: 3px 15px 3px 0px; + font-size: 13px; + transition: all 100ms linear; +} + +label.only-checkbox, label.only-radio { + padding-left: 0px; +} + +label.checkbox::before, label.radio::before { + content: ""; + display: inline-block; + width: 14px; + height: 14px; + margin-right: 10px; + position: absolute; + left: 0; + bottom: 1px; + border: 1px solid #DDDDDD; + background: #FFFFFF; + transition: all 100ms linear; +} + +label.checkbox::before { + margin: 3px 3px -1px 0px; + border-radius: 2px; +} + +label.radio::before { + margin: 3px 3px -1px 0px; + border-radius: 50%; +} + +input[type=checkbox]:checked + label.checkbox::before { + border: 1px solid ; + background: ; + content: "\2713"; + font-size: 13px; + color: #FFFFFF; + text-align: center; + line-height: 15px; +} + +input[type=radio]:checked + label.radio::before { + border: 5px solid ; + background: #FFFFFF; + color: #FFFFFF; + text-align: center; + width: 6px; + height: 6px; +} + +input[type=checkbox], input[type=radio] { + display: none; +} + +label.settings-pi-control-theme-color-red::before { + border-color: ; + background: ; +} + +input[type=radio]:checked + label.settings-pi-control-theme-color-red::before { + border-color: ; +} + +label.settings-pi-control-theme-color-pink::before { + border-color: ; + background: ; +} + +input[type=radio]:checked + label.settings-pi-control-theme-color-pink::before { + border-color: ; +} + +label.settings-pi-control-theme-color-purple::before { + border-color: ; + background: ; +} + +input[type=radio]:checked + label.settings-pi-control-theme-color-purple::before { + border-color: ; +} + +label.settings-pi-control-theme-color-deepPurple::before { + border-color: ; + background: ; +} + +input[type=radio]:checked + label.settings-pi-control-theme-color-deepPurple::before { + border-color: ; +} + +label.settings-pi-control-theme-color-indigo::before { + border-color: ; + background: ; +} + +input[type=radio]:checked + label.settings-pi-control-theme-color-indigo::before { + border-color: ; +} + +label.settings-pi-control-theme-color-blue::before { + border-color: ; + background: ; +} + +input[type=radio]:checked + label.settings-pi-control-theme-color-blue::before { + border-color: ; +} + +label.settings-pi-control-theme-color-lightBlue::before { + border-color: ; + background: ; +} + +input[type=radio]:checked + label.settings-pi-control-theme-color-lightBlue::before { + border-color: ; +} + +label.settings-pi-control-theme-color-cyan::before { + border-color: ; + background: ; +} + +input[type=radio]:checked + label.settings-pi-control-theme-color-cyan::before { + border-color: ; +} + +label.settings-pi-control-theme-color-teal::before { + border-color: ; + background: ; +} + +input[type=radio]:checked + label.settings-pi-control-theme-color-teal::before { + border-color: ; +} + +label.settings-pi-control-theme-color-green::before { + border-color: ; + background: ; +} + +input[type=radio]:checked + label.settings-pi-control-theme-color-green::before { + border-color: ; +} + +label.settings-pi-control-theme-color-lightGreen::before { + border-color: ; + background: ; +} + +input[type=radio]:checked + label.settings-pi-control-theme-color-lightGreen::before { + border-color: ; +} + +label.settings-pi-control-theme-color-lime::before { + border-color: ; + background: ; +} + +input[type=radio]:checked + label.settings-pi-control-theme-color-lime::before { + border-color: ; +} + +label.settings-pi-control-theme-color-yellow::before { + border-color: ; + background: ; +} + +input[type=radio]:checked + label.settings-pi-control-theme-color-yellow::before { + border-color: ; +} + +label.settings-pi-control-theme-color-amber::before { + border-color: ; + background: ; +} + +input[type=radio]:checked + label.settings-pi-control-theme-color-amber::before { + border-color: ; +} + +label.settings-pi-control-theme-color-orange::before { + border-color: ; + background: ; +} + +input[type=radio]:checked + label.settings-pi-control-theme-color-orange::before { + border-color: ; +} + +label.settings-pi-control-theme-color-deepOrange::before { + border-color: ; + background: ; +} + +input[type=radio]:checked + label.settings-pi-control-theme-color-deepOrange::before { + border-color: ; +} + +label.settings-pi-control-theme-color-brown::before { + border-color: ; + background: ; +} + +input[type=radio]:checked + label.settings-pi-control-theme-color-brown::before { + border-color: ; +} + +label.settings-pi-control-theme-color-grey::before { + border-color: ; + background: ; +} + +input[type=radio]:checked + label.settings-pi-control-theme-color-grey::before { + border-color: ; +} + +label.settings-pi-control-theme-color-blueGrey::before { + border-color: ; + background: ; +} + +input[type=radio]:checked + label.settings-pi-control-theme-color-blueGrey::before { + border-color: ; +} + +.button-small, input.button-small { + padding: 2px 5px; +} + +.install-language-flex-container { + display: flex; + flex-wrap: wrap; + justify-content: space-around; + text-align: center; +} + +.install-language-flex-container label { + border: 2px solid #CCCCCC; + border-radius: 2px; + width: 30%; + min-width: 120px; + padding: 20px 10px; + font-weight: bold; + transition: all 100ms linear; + cursor: pointer; +} + +.install-language-flex-container input[type=radio]:checked + label { + border-color: ; + background: ; + color: #FFFFFF; +} + +@keyframes rotate { + 0% { transform: scale(1) rotate(0deg); } + 100% { transform: scale(1) rotate(-360deg); } +} + +@-webkit-keyframes rotate { + 0% { -webkit-transform: scale(1) rotate(0deg); } + 100% { -webkit-transform: scale(1) rotate(-360deg); } +} + +@-moz-keyframes rotate { + 0% { -moz-transform: scale(1) rotate(0deg); } + 100% { -moz-transform: scale(1) rotate(-360deg); } +} + +.rotate-icon { + animation: rotate 1.4s linear infinite; + -moz-animation: rotate 1.4s linear infinite; + -webkit-animation: rotate 1.4s linear infinite; +} + +@keyframes pulse-border { + 0% { box-shadow: 0 0 0 #FFFFFF; } + 100% { box-shadow: 0 0 15px #CCCCCC; } +} + +@-webkit-keyframes pulse-border { + 0% { box-shadow: 0 0 0 #FFFFFF; } + 100% { box-shadow: 0 0 15px #CCCCCC; } +} + +@-moz-keyframes pulse-border { + 0% { box-shadow: 0 0 0 #FFFFFF; } + 100% { box-shadow: 0 0 15px #CCCCCC; } +} + +.pulse-update { + animation: pulse-border 2s alternate infinite; + -moz-animation: pulse-border 2s alternate infinite; + -webkit-animation: pulse-border 2s alternate infinite; +} + +@media screen and (max-width: 899px) { + + #content { + display: flex; + flex-direction: column; + } + + .container-600 { + max-width: inherit; + } + + .sidebar { + float: inherit; + width: auto !important; + } + +} + +@media screen and (max-width: 600px) { + + .header-top-inner-cell a { + padding: 10px; + } + + .header-top-inner-username { + padding: 10px; + } + + #header-mobile ~ #inner-header { + background: url('../img/logo.svg') right 15px center no-repeat; + min-height: 55px; + text-align: left; + } + + #header-logo, #header-navi { + display: none; + } + + #header-navi .navi-dropdown-container { + right: auto; + } + + #header-mobile ~ #inner-header > label { + display: inline-block; + line-height: 55px; + font-size: 25px; + color: #FFFFFF; + margin: 0px; + vertical-align: top; + padding: 0px 20px; + } + + #header-mobile ~ #inner-header > label::before { + display: block; + } + + #header-mobile:checked ~ #inner-header > label::before { + content: '\2715'; + } + + #header-mobile:checked ~ #inner-header { + background-position: right 15px top 15px; + background-size: 30% auto; + } + + #header-mobile:checked ~ #inner-header > #header-navi { + display: inline-block; + } + + #header-mobile:checked ~ #inner-header > #header-navi a { + display: block; + font-size: 15px; + } + + #header-mobile:checked ~ #inner-header > #header-navi .navi_dropdown { + display: block; + } + + #footer-table { + margin: 20px 10px; + } + + input[type=text], input[type=password] { + width: auto !important; + } + +} + +@media screen and (max-width: 450px) { + + #footer-table tr:nth-child(2) td:first-child { + padding-right: 30px; + } + + #footer-table tr th:nth-child(2) { + padding-right: 34px; + } + + #footer-table tr td:last-child { + width: 20%; + } + + #footer-table tr:nth-child(2) td a { + padding: 10px 4px; + } + + .responsive-detailed-overview-table td:first-child { + width: 40%; + } +} + +/* Netzwerk */ +.svg-network-signal-0, .svg-network-signal-25, .svg-network-signal-50, .svg-network-signal-75, .svg-network-signal-100, .svg-network-signal-disabled, .svg-network-signal-wire { + background: url('../img/network-signal-icons.svg') no-repeat; + background-size: cover; + display: block; + height: 16px; + width: 16px; +} + +.svg-network-signal-0 { + background-position: 0%; +} + +.svg-network-signal-25 { + background-position: 16.66px; +} + +.svg-network-signal-50 { + background-position: 33.33%; +} + +.svg-network-signal-75 { + background-position: 50%; +} + +.svg-network-signal-100 { + background-position: 66.66%; +} + +.svg-network-signal-disabled { + background-position: 83.33%; +} + +.svg-network-signal-wire { + background-position: 100%; +} + +@media screen and (max-width: 410px) { + + .responsive-network-wlan-table tr th:nth-child(5), .responsive-network-wlan-table tr td:nth-child(5) { + display: none; + } + +} + +/* SSH-Login */ +input[name=ssh-login] { + display: none; +} + +input[name=ssh-login] + label .inner-table { + position: relative; +} + +input[name=ssh-login] + label .inner-table table th span { + font-weight: normal; +} + +input[name=ssh-login] + label .inner-table table td { + opacity: 0.3; +} + +input[name=ssh-login]:checked + label .inner-table table td { + opacity: 1; +} + +input[name=ssh-login]:checked + label .inner-table strong + span { + display: none; +} + +input[name=ssh-login]:checked + label .inner-table .ssh-login-table-clickable-area { + display: none; +} + +.ssh-login-table-clickable-area { + position: absolute; + top: 0px; + right: 0px; + bottom: 0px; + left: 0px; + z-index: 10; +} + +.divider { + position: relative; + width: 70%; + height: 16px; + margin: 0px auto 0px; +} + +.divider > div:first-child { + position: absolute; + background: #E1E1E1; + height: 2px; + top: 50%; + margin-top: -1px; + width: 100%; + z-index: 5; +} + +.divider > div:last-child { + background: #FFFFFF; + z-index: 10; + position: absolute; + height: 16px; + top: 50%; + margin-top: -8px; + left: 50%; + margin-left: -30px; + width: 60px; + text-align: center; +} + +/* LOGIN */ + +.login-body { + background: ; /* 7 */ + height: 100%; +} + +.login-wrapper { + height: 100%; + width: 400px; + left: 50%; + position: relative; + margin-left: -200px; + min-height: 300px; + display: table; +} + +.login-container { + height: 90%; + display: table-row; +} + +.login-container-inner { + display: table-cell; + vertical-align: middle; +} + +.login-logo { + background: url('../img/logo.svg') center bottom no-repeat; + background-size: 60% auto; + height: 60px; + margin: 0px auto 0px; + margin-bottom: 20px; + width: 300px; +} + +.login-table { + width: 300px; + margin: 0px auto 0px; + border-spacing: 5px; +} + +input.login-input-text { + width: 100% !important; + box-sizing: border-box; + padding: 15px; + background: ; + border: 1px solid ; + color: #FFFFFF; + margin: 0px; +} + +input.login-input-text:hover { + border: 1px solid ; +} + +input.login-input-text:focus { + border: 1px solid ; +} + +label.login-input-checkbox::before { + background: none; + border: 1px solid ; +} + +label.login-input-checkbox { + color: ; +} + +input.login-input-button { + background: none; + color: ; + border: 1px solid ; + padding: 10px 20px 10px 20px; +} + +.login-footer { + height: 10%; + display: table-row; +} + +.login-footer-inner { + display: table-cell; + vertical-align: bottom; + text-align: center; + padding: 5px; + font-size: 11px; + color: ; +} + +.login-error { + background: rgba(255, 255, 255, 0.5); + border-radius: 2px; + color: #B71C1C; + font-weight: bold; + margin: 0px auto 0px; + margin-bottom: 11px; + padding: 20px; + text-align: center; + width: 248px; +} + +::-webkit-input-placeholder { /* WebKit, Blink, Edge */ + color: ; +} +:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ + color: ; +} +::-moz-placeholder { /* Mozilla Firefox 19+ */ + color: ; +} +:-ms-input-placeholder { /* Internet Explorer 10-11 */ + color: ; +} \ No newline at end of file diff --git a/install/public_html/img/arrow-icon.svg b/install/public_html/img/arrow-icon.svg new file mode 100644 index 0000000..22d19e2 --- /dev/null +++ b/install/public_html/img/arrow-icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/install/public_html/img/cross-icon.svg b/install/public_html/img/cross-icon.svg new file mode 100644 index 0000000..b4dbfd6 --- /dev/null +++ b/install/public_html/img/cross-icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/install/public_html/img/favicon/android-chrome-144x144.png b/install/public_html/img/favicon/android-chrome-144x144.png new file mode 100644 index 0000000000000000000000000000000000000000..a5b685221e0e3a630ac76b41db37a72e938a7d7e GIT binary patch literal 2560 zcmV+b3jg(qP)Px#dr(YNMNDaN4s5{)P?8O2xDRyC2uX$!bj}iX(hOp+ z6nNASa?1rfZ4Yn7219!hbj}N1rwUo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pD&%=5WX9TYDH>1k>;bk*Fb41{*{bOJK*lA8c%q||Yp7h6= z#Ls|9zSm%5Nt>=a{SZ?OrywA`(q3JV#Rl1I--poKksKz0s(VJFtGk=JTR>6 zZ1u;P1O0-aAdU$1+Mf}B?&4AKFrr0fgEDhaKf8D?BK(Xk$+0zo-ui=1{jZS9+k)B> zXwKjLEpqv2P;a&;N0T+X*hv486kE5?mqi|me3LL@`ugK6_oGGVxi$W9Yv1ICC#Idh znCv6e!xM_3Kiv|d|CBGL89!8X{=GaT8Zx2q^^=*!s`}%y^9*`=#x;LTtGC_L*d4*Y zLsv%qXx8(i-owZzx@#^>>H0fV4j>=(te+RCJ6|^ySeJhIJBHwgzNcULRev;#e9gHU z>uCRX@boUfEGv?wA^tGI^XUaB@xTp< z@*W-btv@cSo`?sJH>CWkxbTA6wjeaaSZRc2pZ71oCw!#DFZ=zW<-Z~ch0)IUIfEVn zq%FqO_jgek43xS}BOC9NwtJsXdB79x`|d<-%EdFNH%Sp~Ma4gw{I?rCZ?V`GzE3E0 zOoD=A)So|AK8y@Lc(~;dH-52Q%)$}d{vSW^Sn_7OXwNAquB_JfuP^bK-$%Qd7b0&W z^8ef*s=e)Y6%~Hr^F!K_lvPIgKjEvz7VLHB%VgAlc!F0;i_&Jr+jiBL7U-2a&g?%- z8wL|hBs*dN0038dR9JLUVRs;Ka&Km7Y-J#Hd2nSQX>fF7004NLl@|a2 literal 0 HcmV?d00001 diff --git a/install/public_html/img/favicon/android-chrome-36x36.png b/install/public_html/img/favicon/android-chrome-36x36.png new file mode 100644 index 0000000000000000000000000000000000000000..d4c78fe149ec7321136c787a0795d49ca70f40c0 GIT binary patch literal 883 zcmV-(1C0EMP)Px#oKQ?uMNDaN4r#m%WU~=&!xDDU5p>QGb+ucF_@X%MfqJ|Ns9H zamf*J$QF3g0&C6@bod2#Q+<@CwBZSC$&!*{m;e9(7IachQvkRX{ru*?1OEJ~Vv|qS zH$%;P@h6hGrV~a000HnxL_t(I%WahDwyH1;h06?r9>M+z)(j~-m zxgr$S?ddM`eqZZaQ6VfvS-vzn98bL9QpKxL6qePcTdEFrP@W4c&-rgttAsE|NL4MN z;#pPCS6<}2Iv#ZGcwgSwsc0^!77c$NAd8}#Es6DgN$7fW9Ov@nMc$kh1u;ofwh>fb zDlDrxmmu@ah;KTHbk`5ZbZMG`$hRP#3H^KD@70H6;kQy!A@!yZS1tHpHiY(_SNbQ! z`Rgi~eFlF(*r%#GwP(#_tV{P*_^nggGmK&3(-xc`B`Q@6LJ_mRnkn*(7#3w~VsDIV z=^@Q9=4>YyoNK6OBCsY;rQix0e4>5#RP>{xbppYj5Q4Bsvk};nMFUs0kJL6V-7>j=rbO3LUv3q3{d@vAl;eU2hX@- za`jMP8Je*DVm{qt_|M#m#G^h?#xlp6e=RY&{I;>R@EpfmSn+ne4*vshtY9jkMjBH9 z0038dR9JLUVRs;Ka&Km7Y-J#Hd2nSQX>fF7004NLUwr literal 0 HcmV?d00001 diff --git a/install/public_html/img/favicon/android-chrome-48x48.png b/install/public_html/img/favicon/android-chrome-48x48.png new file mode 100644 index 0000000000000000000000000000000000000000..e97451abdfe4f1de28e128a0a9086903958de551 GIT binary patch literal 993 zcmV<710MW|P)Px#fly3TMNDaN2v3j-S)dMV!3o*O(GP6E z5p~cJbk7iP#SLh=5OBy2Y{Cp;un}|25_ZuMamf&G#}RVM|Ns9HbIkqy{`vd-0&LC} zc+wJg(++IGpvLS6YQ+I$zm~x0L5j~KddhvS-)5rS(c|;r?Dp>T`Za^iQI*%Y)9r6J zTZI4s018FFDhML}_p2BvE01peE0RvorSiZEH~&Rbdc{OI0nmTs@4wnbUH?um8ZnoF z61rZ#@*>|f_7{{@1xd*O5h?(Ha#K;{EsEi%k(#&j4k(rwWl@%SkBExO={=y1PC(vv zUDvilUKC|MaJ>o(w`c)gjZz0hk>Bg<2E?l5bPwDcasxHrxy-2%TTZSG8JU2a0y+tF z4Oz4D#S!;t2au+n0mj#y60HOsXvipmcTLzr_*HD3D>FbI??H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dlgE0@h{+sWO}4GaJ{1V_<|+#k8#n{kT>F_?wy#wpE0)Xoji7n?3^3zx$JJ=Ey`=I z2I}xTTcXlXCQkph>J0~+s{BK6_vNELGi^As!IphaW-!Q1NCA& zxX!siCwm((OfQahspWf?$+hkG3n0C_)H0slTGOj~+PwJ&>oo|5pI7Uvf!9VY_SG8= zC+F2#^38q_%3@u5Fi*Y5ls4Z<2=KAyqXw8q>bw}z-XngX`+`0h4X>MlUb*`cU1Fbx$0DjvVU(9=YOTKUc`ZM}kkt=Jg2IcXtyTI&0XI zgF|#=6Cgx@G{a;ABePT>%h=S&#LUDT#0SfONT5nC0O}VJbn-$ql>h($ M07*qoM6N<$g8kfIQ~&?~ literal 0 HcmV?d00001 diff --git a/install/public_html/img/favicon/apple-touch-icon-152x152.png b/install/public_html/img/favicon/apple-touch-icon-152x152.png new file mode 100644 index 0000000000000000000000000000000000000000..579beaeeb3744d2a99a9589379776f0d591a06ff GIT binary patch literal 2196 zcmV;F2y6F=P)0{{R3FC5Sl00004XF*Lt006O% z3;baP00001b5ch_0Itp)=>Px#OHfQyMG|(=`~3Y4Y{C|K(-CpW5pv29bIkw${}FG; z{r>(0Wxm+w^^&^cMUU0+_4~os?0vA}EP>Bno!Ya@Xxt<$=aTLOW6Or zyRFIq)rdbjYS2_ax;1U(=};1Y#eA?{Y^*h^eFMz=!d>Gh z*2blaLoWwYQIfSR5bLR0)8WamV3GFX8LTH7-k$_3S5*YW)*g*j32qD!EEgfCv7Vyo zgnJQ~N}~1xxn5|67VQ!+rOK9Egtdr9n_NVlEu~W z0C0dM-{#V@)A0Zxu7v+(Pnx0W?Mn3vT$)UDN6sX!f`WYCn(}~*962&~a*0EGuguZT z^Z^4MSsYr^umu|__>nV7(1>K&QD{Vc-)C9Z)h&~Pop2_xb9KOX%aZ88-ruC}3V}dl zqD6!0b!`KKDZ9N1_4w%;jA+!FX6;}(6d=c7Yr>>2Bnymx5+oP~%%CY%3)q>`CK(A5 zYypd&A1<^c2fb;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GkQ>1%_n?HVhSKJg&d6}HHx(iR?gks;i|-WJcW>#QBfKtDM2 zeI)z6jKHhUd=@h@Qkl%PdAwiP5Pzf;e>@a^K*W!U=<~xO+J5-45$$yN9T6=;!#~Tk zk2n{8cNBhk6#h1fcDr+dEikUM3yj0xPQ^C-YN*fHw9|~o!rx()wal&Yna=rRTcW4W pdxK{oAICP}PVJGMvRi%#E{T3A{M66=CO-y-=-03?^LOU={{bC*Y#RUo literal 0 HcmV?d00001 diff --git a/install/public_html/img/favicon/manifest.json b/install/public_html/img/favicon/manifest.json new file mode 100644 index 0000000..fbd6d9c --- /dev/null +++ b/install/public_html/img/favicon/manifest.json @@ -0,0 +1,41 @@ +{ + "name": "Pi Control", + "icons": [ + { + "src": "public_html\/img\/favicon\/android-chrome-36x36.png", + "sizes": "36x36", + "type": "image\/png", + "density": 0.75 + }, + { + "src": "public_html\/img\/favicon\/android-chrome-48x48.png", + "sizes": "48x48", + "type": "image\/png", + "density": 1 + }, + { + "src": "public_html\/img\/favicon\/android-chrome-72x72.png", + "sizes": "72x72", + "type": "image\/png", + "density": 1.5 + }, + { + "src": "public_html\/img\/favicon\/android-chrome-96x96.png", + "sizes": "96x96", + "type": "image\/png", + "density": 2 + }, + { + "src": "public_html\/img\/favicon\/android-chrome-144x144.png", + "sizes": "144x144", + "type": "image\/png", + "density": 3 + }, + { + "src": "public_html\/img\/favicon\/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image\/png", + "density": 4 + } + ] +} diff --git a/install/public_html/img/favicon/safari-pinned-tab.svg b/install/public_html/img/favicon/safari-pinned-tab.svg new file mode 100644 index 0000000..7aff7c8 --- /dev/null +++ b/install/public_html/img/favicon/safari-pinned-tab.svg @@ -0,0 +1,20 @@ + + + + +Created by potrace 1.11, written by Peter Selinger 2001-2013 + + + + + + diff --git a/install/public_html/img/help-icon.svg b/install/public_html/img/help-icon.svg new file mode 100644 index 0000000..5c0af52 --- /dev/null +++ b/install/public_html/img/help-icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/install/public_html/img/info-icon.svg b/install/public_html/img/info-icon.svg new file mode 100644 index 0000000..d07abdd --- /dev/null +++ b/install/public_html/img/info-icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/install/public_html/img/loader.svg b/install/public_html/img/loader.svg new file mode 100644 index 0000000..9a68118 --- /dev/null +++ b/install/public_html/img/loader.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/install/public_html/img/logo.svg b/install/public_html/img/logo.svg new file mode 100644 index 0000000..a822624 --- /dev/null +++ b/install/public_html/img/logo.svg @@ -0,0 +1 @@ +Pi Control \ No newline at end of file diff --git a/install/public_html/img/update-loader.svg b/install/public_html/img/update-loader.svg new file mode 100644 index 0000000..6df8969 --- /dev/null +++ b/install/public_html/img/update-loader.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/install/public_html/js/feedback.js b/install/public_html/js/feedback.js new file mode 100644 index 0000000..9142b2b --- /dev/null +++ b/install/public_html/js/feedback.js @@ -0,0 +1,82 @@ +var ajaxFeedback; +var formFeedback; +var feedbackError = false; + +function showFeedbackError() +{ + feedbackError = true; + + jQuery('.feedback div.box .inner:eq(0)').html(_t('Leider ist ein unerwarteter Fehler aufgetreten. Bitte schließe das Feedback-Fenster und versuche es erneut. Andernfalls, schreibe mir unter Kontakt.', 'https://willy-tech.de/kontakt/')); + jQuery('.feedback div.box img').remove(); + jQuery('.feedback div.box .inner:eq(1)').html(':('); + + return false; +} + +jQuery(document).on('mousedown', 'a[href="https://willy-tech.de/kontakt/"]', function(e) +{ + if (e.which == 3) + return false; + + window.scrollTo(0, 0); + + var _this = this; + + if (feedbackError == true) + { + feedbackError = false; + jQuery('.feedback').remove(); + } + + if (jQuery('.feedback').length == 0 ) + { + jQuery('body').append(''); + + ajaxFeedback = jQuery.ajax({ + url: 'api/v1/feedback.php', + method: 'POST', + data: { url: window.location.href }, + dataType: 'text', + async: true + }).done(function(data) + { + if (data == '') + return showFeedbackError(); + + var langParam = ''; + if (jQuery(_this).data('lang') != 'de') + langParam = '&lang=' + jQuery(_this).data('lang'); + + formFeedback = jQuery('
'); + + jQuery('.feedback div.box .inner:eq(0)').html(_t('Diagnosedaten wurden gesammelt. Beim Klick auf den folgenden Button wird ein neues Fenster geöffnet.')); + jQuery('.feedback div.box img').remove(); + jQuery('.feedback div.box .inner:eq(1)').addClass('text-align-center').html('' + _t('Feedback öffnen') + ''); + }).fail(function() + { + return showFeedbackError(); + }); + } + + jQuery('.feedback').fadeIn('fast'); + + return false; +}); + +jQuery(document).on('click', 'a[href="#close"], .feedback', function(e) +{ + if (jQuery(e.target).has('.box').length || jQuery(e.target).is('a[href="#close"]')) + { + ajaxFeedback.abort(); + jQuery('.feedback').fadeOut('fast'); + } + + return false; +}); + +jQuery(document).on('click', 'a[href="#open"]', function(e) +{ + formFeedback.appendTo('body').submit(); + + return false; +}); \ No newline at end of file diff --git a/install/public_html/js/install.language.js b/install/public_html/js/install.language.js new file mode 100644 index 0000000..484e351 --- /dev/null +++ b/install/public_html/js/install.language.js @@ -0,0 +1,39 @@ +function htmlEscape(str) +{ + return String(str) + .replace(/ä/g, 'ä') + .replace(/ö/g, 'ö') + .replace(/ü/g, 'ü') + .replace(/Ä/g, 'Ä') + .replace(/Ö/g, 'Ö') + .replace(/Ü/g, 'Ü') + .replace(/&/g, '&'); +} + +jQuery(document).on('change', 'input[name=language]', function(e) +{ + var lang = jQuery(this).attr('value'); + + jQuery('title').html(languageArray[3][lang] + jQuery('title').html().substr(-13)); + + jQuery('.container-600 > .box:eq(0) > .inner-header > span').html(languageArray[0][lang]); + jQuery('.sidebar > .box > .inner-header > span').html(languageArray[1][lang]); + jQuery('.container-600 > .box:eq(0) > .inner').html(languageArray[2][lang]); + jQuery('.container-600 > .box:eq(1) > .inner-header > span').html(languageArray[3][lang]); + jQuery('.container-600 > .box:eq(1) > form > .inner-end > input').val(htmlEscape(languageArray[4][lang])); + jQuery('.box.error > div > .inner-single').html(languageArray[5][lang]); + + jQuery('#footer > #footer-inner > #footer-table tr:eq(0) > th:eq(1)').html(languageArray[6][lang]); + jQuery('#footer > #footer-inner > #footer-table tr:eq(0) > th:eq(2)').html(languageArray[7][lang]); + jQuery('#footer > #footer-inner > #footer-table tr:eq(2) > td strong').html(languageArray[8][lang]); + + jQuery('#footer > #footer-inner > #footer-table tr:eq(1) > td:eq(0) a:eq(0)').html(languageArray[9][lang]); + jQuery('#footer > #footer-inner > #footer-table tr:eq(1) > td:eq(0) a:eq(1)').html(languageArray[10][lang]); + jQuery('#footer > #footer-inner > #footer-table tr:eq(1) > td:eq(0) a:eq(2)').html(languageArray[11][lang]); + + jQuery('#footer > #footer-inner > #footer-table tr:eq(1) > td:eq(1) a:eq(0)').html(languageArray[12][lang]); + jQuery('#footer > #footer-inner > #footer-table tr:eq(1) > td:eq(1) a:eq(3)').html(languageArray[13][lang]); + + jQuery('#footer > #footer-inner > #footer-table tr:eq(2) > td span').html(languageArray[14][lang].replace(/%s/, jQuery('#footer > #footer-inner > #footer-table tr:eq(2) > td span a')[0].outerHTML)); + jQuery('#footer > #footer-inner > #footer-copyright').html(languageArray[15][lang].replace(/%s/, jQuery('#footer > #footer-inner > #footer-copyright span')[0].outerHTML).replace(/%s/, jQuery('#footer > #footer-inner > #footer-copyright a')[0].outerHTML) + jQuery('#footer > #footer-inner > #footer-copyright').html().substr(-10)); +}); \ No newline at end of file diff --git a/install/public_html/js/jquery.min.js b/install/public_html/js/jquery.min.js new file mode 100644 index 0000000..fc356ee --- /dev/null +++ b/install/public_html/js/jquery.min.js @@ -0,0 +1,4 @@ +/*! jQuery v2.1.4 | (c) 2005, 2015 jQuery Foundation, Inc. | jquery.org/license */ +!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l=a.document,m="2.1.4",n=function(a,b){return new n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,b){return b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return n.each(this,a,b)},map:function(a){return this.pushStack(n.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},n.extend=n.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||n.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(a=arguments[h]))for(b in a)c=g[b],d=a[b],g!==d&&(j&&d&&(n.isPlainObject(d)||(e=n.isArray(d)))?(e?(e=!1,f=c&&n.isArray(c)?c:[]):f=c&&n.isPlainObject(c)?c:{},g[b]=n.extend(j,f,d)):void 0!==d&&(g[b]=d));return g},n.extend({expando:"jQuery"+(m+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===n.type(a)},isArray:Array.isArray,isWindow:function(a){return null!=a&&a===a.window},isNumeric:function(a){return!n.isArray(a)&&a-parseFloat(a)+1>=0},isPlainObject:function(a){return"object"!==n.type(a)||a.nodeType||n.isWindow(a)?!1:a.constructor&&!j.call(a.constructor.prototype,"isPrototypeOf")?!1:!0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a},globalEval:function(a){var b,c=eval;a=n.trim(a),a&&(1===a.indexOf("use strict")?(b=l.createElement("script"),b.text=a,l.head.appendChild(b).parentNode.removeChild(b)):c(a))},camelCase:function(a){return a.replace(p,"ms-").replace(q,r)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=s(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else for(e in a)if(d=b.apply(a[e],c),d===!1)break}else if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(o,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(s(Object(a))?n.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){return null==b?-1:g.call(b,a,c)},merge:function(a,b){for(var c=+b.length,d=0,e=a.length;c>d;d++)a[e++]=b[d];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,f=0,g=a.length,h=s(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);return e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof b&&(c=a[b],b=a,a=c),n.isFunction(a)?(e=d.call(arguments,2),f=function(){return a.apply(b||this,e.concat(d.call(arguments)))},f.guid=a.guid=a.guid||n.guid++,f):void 0},now:Date.now,support:k}),n.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){h["[object "+b+"]"]=b.toLowerCase()});function s(a){var b="length"in a&&a.length,c=n.type(a);return"function"===c||n.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var t=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*new Date,v=a.document,w=0,x=0,y=ha(),z=ha(),A=ha(),B=function(a,b){return a===b&&(l=!0),0},C=1<<31,D={}.hasOwnProperty,E=[],F=E.pop,G=E.push,H=E.push,I=E.slice,J=function(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1},K="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",L="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",N=M.replace("w","w#"),O="\\["+L+"*("+M+")(?:"+L+"*([*^$|!~]?=)"+L+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+N+"))|)"+L+"*\\]",P=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+O+")*)|.*)\\)|)",Q=new RegExp(L+"+","g"),R=new RegExp("^"+L+"+|((?:^|[^\\\\])(?:\\\\.)*)"+L+"+$","g"),S=new RegExp("^"+L+"*,"+L+"*"),T=new RegExp("^"+L+"*([>+~]|"+L+")"+L+"*"),U=new RegExp("="+L+"*([^\\]'\"]*?)"+L+"*\\]","g"),V=new RegExp(P),W=new RegExp("^"+N+"$"),X={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M.replace("w","w*")+")"),ATTR:new RegExp("^"+O),PSEUDO:new RegExp("^"+P),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+K+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,$=/^[^{]+\{\s*\[native \w/,_=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,aa=/[+~]/,ba=/'|\\/g,ca=new RegExp("\\\\([\\da-f]{1,6}"+L+"?|("+L+")|.)","ig"),da=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},ea=function(){m()};try{H.apply(E=I.call(v.childNodes),v.childNodes),E[v.childNodes.length].nodeType}catch(fa){H={apply:E.length?function(a,b){G.apply(a,I.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function ga(a,b,d,e){var f,h,j,k,l,o,r,s,w,x;if((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,d=d||[],k=b.nodeType,"string"!=typeof a||!a||1!==k&&9!==k&&11!==k)return d;if(!e&&p){if(11!==k&&(f=_.exec(a)))if(j=f[1]){if(9===k){if(h=b.getElementById(j),!h||!h.parentNode)return d;if(h.id===j)return d.push(h),d}else if(b.ownerDocument&&(h=b.ownerDocument.getElementById(j))&&t(b,h)&&h.id===j)return d.push(h),d}else{if(f[2])return H.apply(d,b.getElementsByTagName(a)),d;if((j=f[3])&&c.getElementsByClassName)return H.apply(d,b.getElementsByClassName(j)),d}if(c.qsa&&(!q||!q.test(a))){if(s=r=u,w=b,x=1!==k&&a,1===k&&"object"!==b.nodeName.toLowerCase()){o=g(a),(r=b.getAttribute("id"))?s=r.replace(ba,"\\$&"):b.setAttribute("id",s),s="[id='"+s+"'] ",l=o.length;while(l--)o[l]=s+ra(o[l]);w=aa.test(a)&&pa(b.parentNode)||b,x=o.join(",")}if(x)try{return H.apply(d,w.querySelectorAll(x)),d}catch(y){}finally{r||b.removeAttribute("id")}}}return i(a.replace(R,"$1"),b,d,e)}function ha(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ia(a){return a[u]=!0,a}function ja(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ka(a,b){var c=a.split("|"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function la(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||C)-(~a.sourceIndex||C);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function ma(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function na(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function oa(a){return ia(function(b){return b=+b,ia(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function pa(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=ga.support={},f=ga.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=ga.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=g.documentElement,e=g.defaultView,e&&e!==e.top&&(e.addEventListener?e.addEventListener("unload",ea,!1):e.attachEvent&&e.attachEvent("onunload",ea)),p=!f(g),c.attributes=ja(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ja(function(a){return a.appendChild(g.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=$.test(g.getElementsByClassName),c.getById=ja(function(a){return o.appendChild(a).id=u,!g.getElementsByName||!g.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=a.replace(ca,da);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(ca,da);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=$.test(g.querySelectorAll))&&(ja(function(a){o.appendChild(a).innerHTML="",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+L+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+L+"*(?:value|"+K+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),ja(function(a){var b=g.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+L+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=$.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ja(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",P)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=$.test(o.compareDocumentPosition),t=b||$.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===g||a.ownerDocument===v&&t(v,a)?-1:b===g||b.ownerDocument===v&&t(v,b)?1:k?J(k,a)-J(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,h=[a],i=[b];if(!e||!f)return a===g?-1:b===g?1:e?-1:f?1:k?J(k,a)-J(k,b):0;if(e===f)return la(a,b);c=a;while(c=c.parentNode)h.unshift(c);c=b;while(c=c.parentNode)i.unshift(c);while(h[d]===i[d])d++;return d?la(h[d],i[d]):h[d]===v?-1:i[d]===v?1:0},g):n},ga.matches=function(a,b){return ga(a,null,null,b)},ga.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(U,"='$1']"),!(!c.matchesSelector||!p||r&&r.test(b)||q&&q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return ga(b,n,null,[a]).length>0},ga.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},ga.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&D.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},ga.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},ga.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=ga.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=ga.selectors={cacheLength:50,createPseudo:ia,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(ca,da),a[3]=(a[3]||a[4]||a[5]||"").replace(ca,da),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||ga.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&ga.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return X.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&V.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(ca,da).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+L+")"+a+"("+L+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=ga.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(Q," ")+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h;if(q){if(f){while(p){l=b;while(l=l[p])if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){k=q[u]||(q[u]={}),j=k[a]||[],n=j[0]===w&&j[1],m=j[0]===w&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(1===l.nodeType&&++m&&l===b){k[a]=[w,n,m];break}}else if(s&&(j=(b[u]||(b[u]={}))[a])&&j[0]===w)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:1===l.nodeType)&&++m&&(s&&((l[u]||(l[u]={}))[a]=[w,m]),l===b))break;return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||ga.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ia(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=J(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ia(function(a){var b=[],c=[],d=h(a.replace(R,"$1"));return d[u]?ia(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ia(function(a){return function(b){return ga(a,b).length>0}}),contains:ia(function(a){return a=a.replace(ca,da),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ia(function(a){return W.test(a||"")||ga.error("unsupported lang: "+a),a=a.replace(ca,da).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Z.test(a.nodeName)},input:function(a){return Y.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:oa(function(){return[0]}),last:oa(function(a,b){return[b-1]}),eq:oa(function(a,b,c){return[0>c?c+b:c]}),even:oa(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:oa(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:oa(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:oa(function(a,b,c){for(var d=0>c?c+b:c;++db;b++)d+=a[b].value;return d}function sa(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(i=b[u]||(b[u]={}),(h=i[d])&&h[0]===w&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}function ta(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function ua(a,b,c){for(var d=0,e=b.length;e>d;d++)ga(a,b[d],c);return c}function va(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function wa(a,b,c,d,e,f){return d&&!d[u]&&(d=wa(d)),e&&!e[u]&&(e=wa(e,f)),ia(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||ua(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:va(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=va(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?J(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=va(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):H.apply(g,r)})}function xa(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=sa(function(a){return a===b},h,!0),l=sa(function(a){return J(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];f>i;i++)if(c=d.relative[a[i].type])m=[sa(ta(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return wa(i>1&&ta(m),i>1&&ra(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(R,"$1"),c,e>i&&xa(a.slice(i,e)),f>e&&xa(a=a.slice(e)),f>e&&ra(a))}m.push(c)}return ta(m)}function ya(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,m,o,p=0,q="0",r=f&&[],s=[],t=j,u=f||e&&d.find.TAG("*",k),v=w+=null==t?1:Math.random()||.1,x=u.length;for(k&&(j=g!==n&&g);q!==x&&null!=(l=u[q]);q++){if(e&&l){m=0;while(o=a[m++])if(o(l,g,h)){i.push(l);break}k&&(w=v)}c&&((l=!o&&l)&&p--,f&&r.push(l))}if(p+=q,c&&q!==p){m=0;while(o=b[m++])o(r,s,g,h);if(f){if(p>0)while(q--)r[q]||s[q]||(s[q]=F.call(i));s=va(s)}H.apply(i,s),k&&!f&&s.length>0&&p+b.length>1&&ga.uniqueSort(i)}return k&&(w=v,j=t),r};return c?ia(f):f}return h=ga.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=xa(b[c]),f[u]?d.push(f):e.push(f);f=A(a,ya(e,d)),f.selector=a}return f},i=ga.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(ca,da),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=X.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(ca,da),aa.test(j[0].type)&&pa(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&ra(j),!a)return H.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,aa.test(a)&&pa(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ja(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ja(function(a){return a.innerHTML="","#"===a.firstChild.getAttribute("href")})||ka("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ja(function(a){return a.innerHTML="",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ka("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ja(function(a){return null==a.getAttribute("disabled")})||ka(K,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),ga}(a);n.find=t,n.expr=t.selectors,n.expr[":"]=n.expr.pseudos,n.unique=t.uniqueSort,n.text=t.getText,n.isXMLDoc=t.isXML,n.contains=t.contains;var u=n.expr.match.needsContext,v=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,w=/^.[^:#\[\.,]*$/;function x(a,b,c){if(n.isFunction(b))return n.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return n.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(w.test(b))return n.filter(b,a,c);b=n.filter(b,a)}return n.grep(a,function(a){return g.call(b,a)>=0!==c})}n.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?n.find.matchesSelector(d,a)?[d]:[]:n.find.matches(a,n.grep(b,function(a){return 1===a.nodeType}))},n.fn.extend({find:function(a){var b,c=this.length,d=[],e=this;if("string"!=typeof a)return this.pushStack(n(a).filter(function(){for(b=0;c>b;b++)if(n.contains(e[b],this))return!0}));for(b=0;c>b;b++)n.find(a,e[b],d);return d=this.pushStack(c>1?n.unique(d):d),d.selector=this.selector?this.selector+" "+a:a,d},filter:function(a){return this.pushStack(x(this,a||[],!1))},not:function(a){return this.pushStack(x(this,a||[],!0))},is:function(a){return!!x(this,"string"==typeof a&&u.test(a)?n(a):a||[],!1).length}});var y,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,A=n.fn.init=function(a,b){var c,d;if(!a)return this;if("string"==typeof a){if(c="<"===a[0]&&">"===a[a.length-1]&&a.length>=3?[null,a,null]:z.exec(a),!c||!c[1]&&b)return!b||b.jquery?(b||y).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof n?b[0]:b,n.merge(this,n.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:l,!0)),v.test(c[1])&&n.isPlainObject(b))for(c in b)n.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}return d=l.getElementById(c[2]),d&&d.parentNode&&(this.length=1,this[0]=d),this.context=l,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):n.isFunction(a)?"undefined"!=typeof y.ready?y.ready(a):a(n):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),n.makeArray(a,this))};A.prototype=n.fn,y=n(l);var B=/^(?:parents|prev(?:Until|All))/,C={children:!0,contents:!0,next:!0,prev:!0};n.extend({dir:function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&n(a).is(c))break;d.push(a)}return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),n.fn.extend({has:function(a){var b=n(a,this),c=b.length;return this.filter(function(){for(var a=0;c>a;a++)if(n.contains(this,b[a]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=u.test(a)||"string"!=typeof a?n(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&n.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?n.unique(f):f)},index:function(a){return a?"string"==typeof a?g.call(n(a),this[0]):g.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(n.unique(n.merge(this.get(),n(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function D(a,b){while((a=a[b])&&1!==a.nodeType);return a}n.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return n.dir(a,"parentNode")},parentsUntil:function(a,b,c){return n.dir(a,"parentNode",c)},next:function(a){return D(a,"nextSibling")},prev:function(a){return D(a,"previousSibling")},nextAll:function(a){return n.dir(a,"nextSibling")},prevAll:function(a){return n.dir(a,"previousSibling")},nextUntil:function(a,b,c){return n.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return n.dir(a,"previousSibling",c)},siblings:function(a){return n.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return n.sibling(a.firstChild)},contents:function(a){return a.contentDocument||n.merge([],a.childNodes)}},function(a,b){n.fn[a]=function(c,d){var e=n.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=n.filter(d,e)),this.length>1&&(C[a]||n.unique(e),B.test(a)&&e.reverse()),this.pushStack(e)}});var E=/\S+/g,F={};function G(a){var b=F[a]={};return n.each(a.match(E)||[],function(a,c){b[c]=!0}),b}n.Callbacks=function(a){a="string"==typeof a?F[a]||G(a):n.extend({},a);var b,c,d,e,f,g,h=[],i=!a.once&&[],j=function(l){for(b=a.memory&&l,c=!0,g=e||0,e=0,f=h.length,d=!0;h&&f>g;g++)if(h[g].apply(l[0],l[1])===!1&&a.stopOnFalse){b=!1;break}d=!1,h&&(i?i.length&&j(i.shift()):b?h=[]:k.disable())},k={add:function(){if(h){var c=h.length;!function g(b){n.each(b,function(b,c){var d=n.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&g(c)})}(arguments),d?f=h.length:b&&(e=c,j(b))}return this},remove:function(){return h&&n.each(arguments,function(a,b){var c;while((c=n.inArray(b,h,c))>-1)h.splice(c,1),d&&(f>=c&&f--,g>=c&&g--)}),this},has:function(a){return a?n.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h=[],f=0,this},disable:function(){return h=i=b=void 0,this},disabled:function(){return!h},lock:function(){return i=void 0,b||k.disable(),this},locked:function(){return!i},fireWith:function(a,b){return!h||c&&!i||(b=b||[],b=[a,b.slice?b.slice():b],d?i.push(b):j(b)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!c}};return k},n.extend({Deferred:function(a){var b=[["resolve","done",n.Callbacks("once memory"),"resolved"],["reject","fail",n.Callbacks("once memory"),"rejected"],["notify","progress",n.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return n.Deferred(function(c){n.each(b,function(b,f){var g=n.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&n.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?n.extend(a,d):d}},e={};return d.pipe=d.then,n.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=d.call(arguments),e=c.length,f=1!==e||a&&n.isFunction(a.promise)?e:0,g=1===f?a:n.Deferred(),h=function(a,b,c){return function(e){b[a]=this,c[a]=arguments.length>1?d.call(arguments):e,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(e>1)for(i=new Array(e),j=new Array(e),k=new Array(e);e>b;b++)c[b]&&n.isFunction(c[b].promise)?c[b].promise().done(h(b,k,c)).fail(g.reject).progress(h(b,j,i)):--f;return f||g.resolveWith(k,c),g.promise()}});var H;n.fn.ready=function(a){return n.ready.promise().done(a),this},n.extend({isReady:!1,readyWait:1,holdReady:function(a){a?n.readyWait++:n.ready(!0)},ready:function(a){(a===!0?--n.readyWait:n.isReady)||(n.isReady=!0,a!==!0&&--n.readyWait>0||(H.resolveWith(l,[n]),n.fn.triggerHandler&&(n(l).triggerHandler("ready"),n(l).off("ready"))))}});function I(){l.removeEventListener("DOMContentLoaded",I,!1),a.removeEventListener("load",I,!1),n.ready()}n.ready.promise=function(b){return H||(H=n.Deferred(),"complete"===l.readyState?setTimeout(n.ready):(l.addEventListener("DOMContentLoaded",I,!1),a.addEventListener("load",I,!1))),H.promise(b)},n.ready.promise();var J=n.access=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===n.type(c)){e=!0;for(h in c)n.access(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,n.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(n(a),c)})),b))for(;i>h;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f};n.acceptData=function(a){return 1===a.nodeType||9===a.nodeType||!+a.nodeType};function K(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=n.expando+K.uid++}K.uid=1,K.accepts=n.acceptData,K.prototype={key:function(a){if(!K.accepts(a))return 0;var b={},c=a[this.expando];if(!c){c=K.uid++;try{b[this.expando]={value:c},Object.defineProperties(a,b)}catch(d){b[this.expando]=c,n.extend(a,b)}}return this.cache[c]||(this.cache[c]={}),c},set:function(a,b,c){var d,e=this.key(a),f=this.cache[e];if("string"==typeof b)f[b]=c;else if(n.isEmptyObject(f))n.extend(this.cache[e],b);else for(d in b)f[d]=b[d];return f},get:function(a,b){var c=this.cache[this.key(a)];return void 0===b?c:c[b]},access:function(a,b,c){var d;return void 0===b||b&&"string"==typeof b&&void 0===c?(d=this.get(a,b),void 0!==d?d:this.get(a,n.camelCase(b))):(this.set(a,b,c),void 0!==c?c:b)},remove:function(a,b){var c,d,e,f=this.key(a),g=this.cache[f];if(void 0===b)this.cache[f]={};else{n.isArray(b)?d=b.concat(b.map(n.camelCase)):(e=n.camelCase(b),b in g?d=[b,e]:(d=e,d=d in g?[d]:d.match(E)||[])),c=d.length;while(c--)delete g[d[c]]}},hasData:function(a){return!n.isEmptyObject(this.cache[a[this.expando]]||{})},discard:function(a){a[this.expando]&&delete this.cache[a[this.expando]]}};var L=new K,M=new K,N=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,O=/([A-Z])/g;function P(a,b,c){var d;if(void 0===c&&1===a.nodeType)if(d="data-"+b.replace(O,"-$1").toLowerCase(),c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:N.test(c)?n.parseJSON(c):c}catch(e){}M.set(a,b,c)}else c=void 0;return c}n.extend({hasData:function(a){return M.hasData(a)||L.hasData(a)},data:function(a,b,c){ +return M.access(a,b,c)},removeData:function(a,b){M.remove(a,b)},_data:function(a,b,c){return L.access(a,b,c)},_removeData:function(a,b){L.remove(a,b)}}),n.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=M.get(f),1===f.nodeType&&!L.get(f,"hasDataAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=n.camelCase(d.slice(5)),P(f,d,e[d])));L.set(f,"hasDataAttrs",!0)}return e}return"object"==typeof a?this.each(function(){M.set(this,a)}):J(this,function(b){var c,d=n.camelCase(a);if(f&&void 0===b){if(c=M.get(f,a),void 0!==c)return c;if(c=M.get(f,d),void 0!==c)return c;if(c=P(f,d,void 0),void 0!==c)return c}else this.each(function(){var c=M.get(this,d);M.set(this,d,b),-1!==a.indexOf("-")&&void 0!==c&&M.set(this,a,b)})},null,b,arguments.length>1,null,!0)},removeData:function(a){return this.each(function(){M.remove(this,a)})}}),n.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=L.get(a,b),c&&(!d||n.isArray(c)?d=L.access(a,b,n.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=n.queue(a,b),d=c.length,e=c.shift(),f=n._queueHooks(a,b),g=function(){n.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return L.get(a,c)||L.access(a,c,{empty:n.Callbacks("once memory").add(function(){L.remove(a,[b+"queue",c])})})}}),n.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.lengthx",k.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var U="undefined";k.focusinBubbles="onfocusin"in a;var V=/^key/,W=/^(?:mouse|pointer|contextmenu)|click/,X=/^(?:focusinfocus|focusoutblur)$/,Y=/^([^.]*)(?:\.(.+)|)$/;function Z(){return!0}function $(){return!1}function _(){try{return l.activeElement}catch(a){}}n.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=L.get(a);if(r){c.handler&&(f=c,c=f.handler,e=f.selector),c.guid||(c.guid=n.guid++),(i=r.events)||(i=r.events={}),(g=r.handle)||(g=r.handle=function(b){return typeof n!==U&&n.event.triggered!==b.type?n.event.dispatch.apply(a,arguments):void 0}),b=(b||"").match(E)||[""],j=b.length;while(j--)h=Y.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o&&(l=n.event.special[o]||{},o=(e?l.delegateType:l.bindType)||o,l=n.event.special[o]||{},k=n.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&n.expr.match.needsContext.test(e),namespace:p.join(".")},f),(m=i[o])||(m=i[o]=[],m.delegateCount=0,l.setup&&l.setup.call(a,d,p,g)!==!1||a.addEventListener&&a.addEventListener(o,g,!1)),l.add&&(l.add.call(a,k),k.handler.guid||(k.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),n.event.global[o]=!0)}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=L.hasData(a)&&L.get(a);if(r&&(i=r.events)){b=(b||"").match(E)||[""],j=b.length;while(j--)if(h=Y.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=n.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,m=i[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=f=m.length;while(f--)k=m[f],!e&&q!==k.origType||c&&c.guid!==k.guid||h&&!h.test(k.namespace)||d&&d!==k.selector&&("**"!==d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||n.removeEvent(a,o,r.handle),delete i[o])}else for(o in i)n.event.remove(a,o+b[j],c,d,!0);n.isEmptyObject(i)&&(delete r.handle,L.remove(a,"events"))}},trigger:function(b,c,d,e){var f,g,h,i,k,m,o,p=[d||l],q=j.call(b,"type")?b.type:b,r=j.call(b,"namespace")?b.namespace.split("."):[];if(g=h=d=d||l,3!==d.nodeType&&8!==d.nodeType&&!X.test(q+n.event.triggered)&&(q.indexOf(".")>=0&&(r=q.split("."),q=r.shift(),r.sort()),k=q.indexOf(":")<0&&"on"+q,b=b[n.expando]?b:new n.Event(q,"object"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=r.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+r.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:n.makeArray(c,[b]),o=n.event.special[q]||{},e||!o.trigger||o.trigger.apply(d,c)!==!1)){if(!e&&!o.noBubble&&!n.isWindow(d)){for(i=o.delegateType||q,X.test(i+q)||(g=g.parentNode);g;g=g.parentNode)p.push(g),h=g;h===(d.ownerDocument||l)&&p.push(h.defaultView||h.parentWindow||a)}f=0;while((g=p[f++])&&!b.isPropagationStopped())b.type=f>1?i:o.bindType||q,m=(L.get(g,"events")||{})[b.type]&&L.get(g,"handle"),m&&m.apply(g,c),m=k&&g[k],m&&m.apply&&n.acceptData(g)&&(b.result=m.apply(g,c),b.result===!1&&b.preventDefault());return b.type=q,e||b.isDefaultPrevented()||o._default&&o._default.apply(p.pop(),c)!==!1||!n.acceptData(d)||k&&n.isFunction(d[q])&&!n.isWindow(d)&&(h=d[k],h&&(d[k]=null),n.event.triggered=q,d[q](),n.event.triggered=void 0,h&&(d[k]=h)),b.result}},dispatch:function(a){a=n.event.fix(a);var b,c,e,f,g,h=[],i=d.call(arguments),j=(L.get(this,"events")||{})[a.type]||[],k=n.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=n.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,c=0;while((g=f.handlers[c++])&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(g.namespace))&&(a.handleObj=g,a.data=g.data,e=((n.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i),void 0!==e&&(a.result=e)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(!a.button||"click"!==a.type))for(;i!==this;i=i.parentNode||this)if(i.disabled!==!0||"click"!==a.type){for(d=[],c=0;h>c;c++)f=b[c],e=f.selector+" ",void 0===d[e]&&(d[e]=f.needsContext?n(e,this).index(i)>=0:n.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h]*)\/>/gi,ba=/<([\w:]+)/,ca=/<|&#?\w+;/,da=/<(?:script|style|link)/i,ea=/checked\s*(?:[^=]|=\s*.checked.)/i,fa=/^$|\/(?:java|ecma)script/i,ga=/^true\/(.*)/,ha=/^\s*\s*$/g,ia={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};ia.optgroup=ia.option,ia.tbody=ia.tfoot=ia.colgroup=ia.caption=ia.thead,ia.th=ia.td;function ja(a,b){return n.nodeName(a,"table")&&n.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function ka(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function la(a){var b=ga.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function ma(a,b){for(var c=0,d=a.length;d>c;c++)L.set(a[c],"globalEval",!b||L.get(b[c],"globalEval"))}function na(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(L.hasData(a)&&(f=L.access(a),g=L.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;d>c;c++)n.event.add(b,e,j[e][c])}M.hasData(a)&&(h=M.access(a),i=n.extend({},h),M.set(b,i))}}function oa(a,b){var c=a.getElementsByTagName?a.getElementsByTagName(b||"*"):a.querySelectorAll?a.querySelectorAll(b||"*"):[];return void 0===b||b&&n.nodeName(a,b)?n.merge([a],c):c}function pa(a,b){var c=b.nodeName.toLowerCase();"input"===c&&T.test(a.type)?b.checked=a.checked:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}n.extend({clone:function(a,b,c){var d,e,f,g,h=a.cloneNode(!0),i=n.contains(a.ownerDocument,a);if(!(k.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||n.isXMLDoc(a)))for(g=oa(h),f=oa(a),d=0,e=f.length;e>d;d++)pa(f[d],g[d]);if(b)if(c)for(f=f||oa(a),g=g||oa(h),d=0,e=f.length;e>d;d++)na(f[d],g[d]);else na(a,h);return g=oa(h,"script"),g.length>0&&ma(g,!i&&oa(a,"script")),h},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,k=b.createDocumentFragment(),l=[],m=0,o=a.length;o>m;m++)if(e=a[m],e||0===e)if("object"===n.type(e))n.merge(l,e.nodeType?[e]:e);else if(ca.test(e)){f=f||k.appendChild(b.createElement("div")),g=(ba.exec(e)||["",""])[1].toLowerCase(),h=ia[g]||ia._default,f.innerHTML=h[1]+e.replace(aa,"<$1>")+h[2],j=h[0];while(j--)f=f.lastChild;n.merge(l,f.childNodes),f=k.firstChild,f.textContent=""}else l.push(b.createTextNode(e));k.textContent="",m=0;while(e=l[m++])if((!d||-1===n.inArray(e,d))&&(i=n.contains(e.ownerDocument,e),f=oa(k.appendChild(e),"script"),i&&ma(f),c)){j=0;while(e=f[j++])fa.test(e.type||"")&&c.push(e)}return k},cleanData:function(a){for(var b,c,d,e,f=n.event.special,g=0;void 0!==(c=a[g]);g++){if(n.acceptData(c)&&(e=c[L.expando],e&&(b=L.cache[e]))){if(b.events)for(d in b.events)f[d]?n.event.remove(c,d):n.removeEvent(c,d,b.handle);L.cache[e]&&delete L.cache[e]}delete M.cache[c[M.expando]]}}}),n.fn.extend({text:function(a){return J(this,function(a){return void 0===a?n.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=a)})},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=ja(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=ja(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,d=a?n.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||n.cleanData(oa(c)),c.parentNode&&(b&&n.contains(c.ownerDocument,c)&&ma(oa(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(n.cleanData(oa(a,!1)),a.textContent="");return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return n.clone(this,a,b)})},html:function(a){return J(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a&&1===b.nodeType)return b.innerHTML;if("string"==typeof a&&!da.test(a)&&!ia[(ba.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(aa,"<$1>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(n.cleanData(oa(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode,n.cleanData(oa(this)),a&&a.replaceChild(b,this)}),a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=e.apply([],a);var c,d,f,g,h,i,j=0,l=this.length,m=this,o=l-1,p=a[0],q=n.isFunction(p);if(q||l>1&&"string"==typeof p&&!k.checkClone&&ea.test(p))return this.each(function(c){var d=m.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(l&&(c=n.buildFragment(a,this[0].ownerDocument,!1,this),d=c.firstChild,1===c.childNodes.length&&(c=d),d)){for(f=n.map(oa(c,"script"),ka),g=f.length;l>j;j++)h=c,j!==o&&(h=n.clone(h,!0,!0),g&&n.merge(f,oa(h,"script"))),b.call(this[j],h,j);if(g)for(i=f[f.length-1].ownerDocument,n.map(f,la),j=0;g>j;j++)h=f[j],fa.test(h.type||"")&&!L.access(h,"globalEval")&&n.contains(i,h)&&(h.src?n._evalUrl&&n._evalUrl(h.src):n.globalEval(h.textContent.replace(ha,"")))}return this}}),n.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){n.fn[a]=function(a){for(var c,d=[],e=n(a),g=e.length-1,h=0;g>=h;h++)c=h===g?this:this.clone(!0),n(e[h])[b](c),f.apply(d,c.get());return this.pushStack(d)}});var qa,ra={};function sa(b,c){var d,e=n(c.createElement(b)).appendTo(c.body),f=a.getDefaultComputedStyle&&(d=a.getDefaultComputedStyle(e[0]))?d.display:n.css(e[0],"display");return e.detach(),f}function ta(a){var b=l,c=ra[a];return c||(c=sa(a,b),"none"!==c&&c||(qa=(qa||n("