Вход Регистрация
Файл: newstats.ru/newstats.ru/style/tpl/head.tpl
Строк: 24
<? if(isset($user)){ if($user['t']==0){ include_once
'style/tpl/web/head.php'; }elseif($user['t']==1){ include_once
'style/tpl/wap/head.php'; }elseif($user['t']==2){ include_once
'style/tpl/pda/head.php'; } }else{ if(isset($_COOKIE['wap_t']) ||
isset($_COOKIE['web_t']) ||
isset($_COOKIE['pda_t'])){ if(isset($_COOKIE['wap_t'])){ include_once
'style/tpl/wap/head.php'; }elseif(isset($_COOKIE['web_t'])){ include_once
'style/tpl/web/head.php'; }elseif(isset($_COOKIE['pda_t'])){ include_once
'style/tpl/pda/head.php'; } }else{ if
(isset($_SERVER["HTTP_USER_AGENT"]) &&
preg_match('#up-browser|blackberry|windows ce|symbian|palm|nokia#i',
$_SERVER["HTTP_USER_AGENT"])) $webbrowser=false; elseif
(isset($_SERVER["HTTP_USER_AGENT"]) &&
(preg_match('#windows#i', $_SERVER["HTTP_USER_AGENT"])
||preg_match('#linux#i', $_SERVER["HTTP_USER_AGENT"])
||preg_match('#bsd#i', $_SERVER["HTTP_USER_AGENT"])
||preg_match('#x11#i', $_SERVER["HTTP_USER_AGENT"])
||preg_match('#unix#i', $_SERVER["HTTP_USER_AGENT"])
||preg_match('#macos#i', $_SERVER["HTTP_USER_AGENT"])
||preg_match('#macintosh#i',
$_SERVER["HTTP_USER_AGENT"]))) $webbrowser=true;else
$webbrowser=false; if($webbrowser){ include_once
'style/tpl/web/head.php'; }else{ include_once
'style/tpl/wap/head.php'; } } } $q=1; ?>
Онлайн: 2
Реклама