/include/language.php
PHP | 25 lines | 15 code | 2 blank | 8 comment | 2 complexity | aaa64a23bd2a6739e7c55148f5248d4b MD5 | raw file
- <?php
- if( strcmp($lang, 'fr') == 0 ){
- include($_SERVER['DOCUMENT_ROOT'].'/include/message/'.$lang.'_global.php');
- //if( strcmp($section, 'cv') == 0 ){
- include($_SERVER['DOCUMENT_ROOT'].'/include/message/'.$lang.'_resume.php');
- include($_SERVER['DOCUMENT_ROOT'].'/include/message/fr_publication.php');
- //}else if( strcmp($section, 'blog') == 0 ){
- include($_SERVER['DOCUMENT_ROOT'].'/include/message/'.$lang.'_article.php');
- //}else if( strcmp($section, 'blog') == 0 ){
- include($_SERVER['DOCUMENT_ROOT'].'/include/message/'.$lang.'_tag.php');
- //}
- }else{
- include($_SERVER['DOCUMENT_ROOT']."/include/message/en_global.php");
- //if( strcmp($section, 'cv') == 0 ){
- include($_SERVER['DOCUMENT_ROOT'].'/include/message/en_resume.php');
- include($_SERVER['DOCUMENT_ROOT'].'/include/message/en_publication.php');
- //}else if( strcmp($section, 'blog') == 0 ){
- include($_SERVER['DOCUMENT_ROOT'].'/include/message/en_article.php');
- //}else if( strcmp($section, 'blog') == 0 ){
- include($_SERVER['DOCUMENT_ROOT'].'/include/message/en_tag.php');
- //}
- }
-
- ?>