Чтение RSS каналов

Форум

Открыть Ответить

choose language to change site Template

0

0
1
07.04.2013 10:33:29
How I choose language to change site Template

For example:
x language = Template 1
y language = Template 2


Версия системы: Open SLAED 1.*
Версия PHP: PHP 5
Сервер: Сервер в интернете
4

4
2
08.04.2013 22:05:35
up post


Версия системы: Open SLAED 1.*
Версия PHP: PHP 5
Сервер: Сервер в интернете
4

4
3
09.04.2013 16:25:19
file function/security.php


# Format theme
function get_theme() {
	global $user, $conf;
	if (!defined("ADMIN_FILE") && is_user()) {
		$utheme = $user[5];
	$theme = ($utheme != "" && is_dir("templates/".$utheme)) ? $utheme : $conf['theme'];
	} elseif (!defined("ADMIN_FILE")) {$theme = $conf['theme'];
	} elseif (defined("ADMIN_FILE")) {$theme = "admin";}
	
//start edit	
if(isset($_COOKIE['lang']) && !defined("ADMIN_FILE")){
	if($_COOKIE['lang']=='russian'){$theme = "celestial_RUSSIAN";}
	elseif($_COOKIE['lang']=='english'){$theme = "celestial_ENGLAND";}
	elseif($_COOKIE['lang']=='german'){$theme = "celestial_GERMANY";}
	}
//end edit	
		
	
	
	
	return $theme;
}
3.76

3.76
4
09.04.2013 20:17:18
no code
4

4
5
26.04.2013 19:07:47
support very badddddddddddddd
4

4
6
28.04.2013 04:04:03
Sorry.

code in function/function.php for openslaed1*
3.76

3.76
7
29.04.2013 19:49:01
ra55551, да не напрягайся ты :)
saeid, check it - bingo
3.91

3.91
Открыть Ответить
Хотите опробовать SLAED CMS в действии?

Технологии

PHP MySQL HTML 5 CSS 3 jQuery jQuery UI

Контакты

  • D-49179, Deutschland
    Ostercappeln, Im Siek 6
  • +49 176 61966679

  • https://slaed.net
Идеи и предложения
Обратная связь