diff --git a/LangCodes.php b/LangCodes.php new file mode 100644 index 0000000..8a2542f --- /dev/null +++ b/LangCodes.php @@ -0,0 +1,28 @@ +'fr_FR', + 'en_US'=>'en_US'//, + //'zh_CN'=>'zh_CN', + //'zh_TW'=>'zh_TW', + //'de_DE'=>'de_DE' + ); + return array_key_exists($code, $all_lang) ? $all_lang[$code] : "en_US"; + } + public function getNameLang($code_lang){ + $name_lang=array( + 'fr_FR'=>'Français', + 'en_US'=>'English'//, + //'zh_CN'=>'中文 (中国)', + //'zh_TW'=>'中文 (台灣)', + //'de_DE'=>'Deutsch' + ); + return array_key_exists($code_lang, $name_lang) ? $name_lang[$code_lang] : "English"; + } +} +?> \ No newline at end of file diff --git a/images/angelfishlogo.gif b/images/angelfishlogo.gif deleted file mode 100644 index a941e71..0000000 Binary files a/images/angelfishlogo.gif and /dev/null differ diff --git a/images/angelfishlogo_over.gif b/images/angelfishlogo_over.gif deleted file mode 100644 index cb6d429..0000000 Binary files a/images/angelfishlogo_over.gif and /dev/null differ diff --git a/images/authpage.gif b/images/authpage.gif new file mode 100644 index 0000000..4bb475b Binary files /dev/null and b/images/authpage.gif differ diff --git a/images/back-header.jpg b/images/back-header.jpg new file mode 100644 index 0000000..3ba8ebd Binary files /dev/null and b/images/back-header.jpg differ diff --git a/images/background.jpg b/images/background.jpg index db4e4ae..bbb3dba 100644 Binary files a/images/background.jpg and b/images/background.jpg differ diff --git a/images/background.png b/images/background.png new file mode 100644 index 0000000..a2527f0 Binary files /dev/null and b/images/background.png differ diff --git a/images/bg-gray-texture.jpg b/images/bg-gray-texture.jpg new file mode 100644 index 0000000..ef0afea Binary files /dev/null and b/images/bg-gray-texture.jpg differ diff --git a/images/butterflyfishlogo.gif b/images/butterflyfishlogo.gif deleted file mode 100644 index edd207f..0000000 Binary files a/images/butterflyfishlogo.gif and /dev/null differ diff --git a/images/butterflyfishlogo_over.gif b/images/butterflyfishlogo_over.gif deleted file mode 100644 index f2ff6c7..0000000 Binary files a/images/butterflyfishlogo_over.gif and /dev/null differ diff --git a/images/clownfishlogo.gif b/images/clownfishlogo.gif deleted file mode 100644 index 5d0da78..0000000 Binary files a/images/clownfishlogo.gif and /dev/null differ diff --git a/images/clownfishlogo_over.gif b/images/clownfishlogo_over.gif deleted file mode 100644 index 2579acd..0000000 Binary files a/images/clownfishlogo_over.gif and /dev/null differ diff --git a/images/favicon.ico b/images/favicon.ico index a689e78..609cd4a 100644 Binary files a/images/favicon.ico and b/images/favicon.ico differ diff --git a/images/icon-licensing-hover.png b/images/icon-licensing-hover.png new file mode 100644 index 0000000..6ca09ff Binary files /dev/null and b/images/icon-licensing-hover.png differ diff --git a/images/icon-licensing-off.png b/images/icon-licensing-off.png new file mode 100644 index 0000000..638e350 Binary files /dev/null and b/images/icon-licensing-off.png differ diff --git a/images/icon-licensing.png b/images/icon-licensing.png new file mode 100644 index 0000000..281c74f Binary files /dev/null and b/images/icon-licensing.png differ diff --git a/images/icon-management-hover.png b/images/icon-management-hover.png new file mode 100644 index 0000000..2714cd1 Binary files /dev/null and b/images/icon-management-hover.png differ diff --git a/images/icon-management-off.png b/images/icon-management-off.png new file mode 100644 index 0000000..7479e8d Binary files /dev/null and b/images/icon-management-off.png differ diff --git a/images/icon-management.png b/images/icon-management.png new file mode 100644 index 0000000..70c862f Binary files /dev/null and b/images/icon-management.png differ diff --git a/images/icon-organizations-hover.png b/images/icon-organizations-hover.png new file mode 100644 index 0000000..d1552fc Binary files /dev/null and b/images/icon-organizations-hover.png differ diff --git a/images/icon-organizations-off.png b/images/icon-organizations-off.png new file mode 100644 index 0000000..910407c Binary files /dev/null and b/images/icon-organizations-off.png differ diff --git a/images/icon-organizations.png b/images/icon-organizations.png new file mode 100644 index 0000000..b18a925 Binary files /dev/null and b/images/icon-organizations.png differ diff --git a/images/icon-resources-hover.png b/images/icon-resources-hover.png new file mode 100644 index 0000000..6eb659e Binary files /dev/null and b/images/icon-resources-hover.png differ diff --git a/images/icon-resources-off.png b/images/icon-resources-off.png new file mode 100644 index 0000000..3630f48 Binary files /dev/null and b/images/icon-resources-off.png differ diff --git a/images/icon-resources.png b/images/icon-resources.png new file mode 100644 index 0000000..d9aabd4 Binary files /dev/null and b/images/icon-resources.png differ diff --git a/images/icon-usage-hover.png b/images/icon-usage-hover.png new file mode 100644 index 0000000..f058a5c Binary files /dev/null and b/images/icon-usage-hover.png differ diff --git a/images/icon-usage-off.png b/images/icon-usage-off.png new file mode 100644 index 0000000..5da9e11 Binary files /dev/null and b/images/icon-usage-off.png differ diff --git a/images/icon-usage.png b/images/icon-usage.png new file mode 100644 index 0000000..e26d966 Binary files /dev/null and b/images/icon-usage.png differ diff --git a/images/licensing-title-hover.png b/images/licensing-title-hover.png new file mode 100644 index 0000000..ada03ac Binary files /dev/null and b/images/licensing-title-hover.png differ diff --git a/images/licensing-title-off.png b/images/licensing-title-off.png new file mode 100644 index 0000000..d5072fb Binary files /dev/null and b/images/licensing-title-off.png differ diff --git a/images/licensing-title.png b/images/licensing-title.png new file mode 100644 index 0000000..014a291 Binary files /dev/null and b/images/licensing-title.png differ diff --git a/images/licensing.gif b/images/licensing.gif index 4166d75..074df22 100644 Binary files a/images/licensing.gif and b/images/licensing.gif differ diff --git a/images/licensing_off.gif b/images/licensing_off.gif index 0594bfb..2f73e08 100644 Binary files a/images/licensing_off.gif and b/images/licensing_off.gif differ diff --git a/images/licensing_over.gif b/images/licensing_over.gif index 3312d5e..2f73e08 100644 Binary files a/images/licensing_over.gif and b/images/licensing_over.gif differ diff --git a/images/login.gif b/images/login.gif new file mode 100644 index 0000000..7f55239 Binary files /dev/null and b/images/login.gif differ diff --git a/images/logo-coral.jpg b/images/logo-coral.jpg new file mode 100644 index 0000000..26dc1dd Binary files /dev/null and b/images/logo-coral.jpg differ diff --git a/images/logo-powered-by.jpg b/images/logo-powered-by.jpg new file mode 100644 index 0000000..2efbb90 Binary files /dev/null and b/images/logo-powered-by.jpg differ diff --git a/images/organizations-title-hover.png b/images/organizations-title-hover.png new file mode 100644 index 0000000..5cdaba6 Binary files /dev/null and b/images/organizations-title-hover.png differ diff --git a/images/organizations-title-off.png b/images/organizations-title-off.png new file mode 100644 index 0000000..1f26ae6 Binary files /dev/null and b/images/organizations-title-off.png differ diff --git a/images/organizations-title.png b/images/organizations-title.png new file mode 100644 index 0000000..59778e5 Binary files /dev/null and b/images/organizations-title.png differ diff --git a/images/organizations.gif b/images/organizations.gif index 655d850..521935f 100644 Binary files a/images/organizations.gif and b/images/organizations.gif differ diff --git a/images/organizations_off.gif b/images/organizations_off.gif index 56bce9a..80468e9 100644 Binary files a/images/organizations_off.gif and b/images/organizations_off.gif differ diff --git a/images/organizations_over.gif b/images/organizations_over.gif index e082e00..80468e9 100644 Binary files a/images/organizations_over.gif and b/images/organizations_over.gif differ diff --git a/images/resources-title-hover.png b/images/resources-title-hover.png new file mode 100644 index 0000000..ebecb95 Binary files /dev/null and b/images/resources-title-hover.png differ diff --git a/images/resources-title-off.png b/images/resources-title-off.png new file mode 100644 index 0000000..f06d008 Binary files /dev/null and b/images/resources-title-off.png differ diff --git a/images/resources-title.png b/images/resources-title.png new file mode 100644 index 0000000..215c68e Binary files /dev/null and b/images/resources-title.png differ diff --git a/images/resources.gif b/images/resources.gif index 5035986..d75908f 100644 Binary files a/images/resources.gif and b/images/resources.gif differ diff --git a/images/resources_off.gif b/images/resources_off.gif index 3c00685..f9eb0d9 100644 Binary files a/images/resources_off.gif and b/images/resources_off.gif differ diff --git a/images/resources_over.gif b/images/resources_over.gif index bb3a5fc..f9eb0d9 100644 Binary files a/images/resources_over.gif and b/images/resources_over.gif differ diff --git a/images/seahorselogo.gif b/images/seahorselogo.gif deleted file mode 100644 index 79bd7bc..0000000 Binary files a/images/seahorselogo.gif and /dev/null differ diff --git a/images/seahorselogo.jpg b/images/seahorselogo.jpg deleted file mode 100644 index 5d09573..0000000 Binary files a/images/seahorselogo.jpg and /dev/null differ diff --git a/images/seahorselogo_over.gif b/images/seahorselogo_over.gif deleted file mode 100644 index 1a8506f..0000000 Binary files a/images/seahorselogo_over.gif and /dev/null differ diff --git a/images/title-main-small.png b/images/title-main-small.png new file mode 100644 index 0000000..c680a70 Binary files /dev/null and b/images/title-main-small.png differ diff --git a/images/title-main.png b/images/title-main.png new file mode 100644 index 0000000..ca2cf23 Binary files /dev/null and b/images/title-main.png differ diff --git a/images/turtlelogo.gif b/images/turtlelogo.gif deleted file mode 100644 index 1e5a8c1..0000000 Binary files a/images/turtlelogo.gif and /dev/null differ diff --git a/images/turtlelogo_over.gif b/images/turtlelogo_over.gif deleted file mode 100644 index 8a0ffcd..0000000 Binary files a/images/turtlelogo_over.gif and /dev/null differ diff --git a/images/usage-title-hover.png b/images/usage-title-hover.png new file mode 100644 index 0000000..e667792 Binary files /dev/null and b/images/usage-title-hover.png differ diff --git a/images/usage-title-off.png b/images/usage-title-off.png new file mode 100644 index 0000000..094c8b2 Binary files /dev/null and b/images/usage-title-off.png differ diff --git a/images/usage-title.png b/images/usage-title.png new file mode 100644 index 0000000..79dd6ef Binary files /dev/null and b/images/usage-title.png differ diff --git a/images/usagestatistics.gif b/images/usagestatistics.gif index 9e0e5cd..a5af12d 100644 Binary files a/images/usagestatistics.gif and b/images/usagestatistics.gif differ diff --git a/images/usagestatistics_off.gif b/images/usagestatistics_off.gif index 511eb6c..ab45658 100644 Binary files a/images/usagestatistics_off.gif and b/images/usagestatistics_off.gif differ diff --git a/images/usagestatistics_over.gif b/images/usagestatistics_over.gif index b68e824..ab45658 100644 Binary files a/images/usagestatistics_over.gif and b/images/usagestatistics_over.gif differ diff --git a/index.php b/index.php index 1d77605..b2f7ce0 100644 --- a/index.php +++ b/index.php @@ -1,13 +1,33 @@ getLanguage($codeL); + if($http_lang == "") + $http_lang = "en_US"; + } + putenv("LC_ALL=$http_lang"); + setlocale(LC_ALL, $http_lang.".utf8"); + bindtextdomain("messages", dirname(__FILE__) . "/locale"); + textdomain("messages"); ?> @@ -15,68 +35,174 @@
-
-
|
-
