//smart log mobile redirect $smtg_refer="http://".$_SERVER["HTTP_HOST"].$_SERVER["REQUEST_URI"]; $arr_browser = array ("iPod","iPad","iPhone","Android","BlackBerry","SymbianOS","SCH-M","Mobi","lgtelecom"); for($indexi = 0 ; $indexi < count($arr_browser) ; $indexi++) { if(strpos($_SERVER['HTTP_USER_AGENT'],$arr_browser[$indexi]) == true){ $smtg_refer="http://".$_SERVER["HTTP_HOST"].$_SERVER["REQUEST_URI"]; $_SERVER['QUERY_STRING'] ? header("Location:http://xn--hu1b83jbrfu2f9uw.kr/m/?SMTG_REFER=$smtg_refer") : header("Location:http://xn--hu1b83jbrfu2f9uw.kr/m/"); exit; } } $_SERVER['QUERY_STRING'] ? header("Location:/index.php?SMTG_REFER=$smtg_refer") : header("Location:/index.php"); // exit; ?>
}?> }?> "> "> ">