mobile ٷΰ

Ҵ   
   ȸ 16080   õ 0     õ 0    

<!-- 모바일 브라우저 인식 -->
<script type="text/javascript">
    <? if (get_cookie("ck_mobile") == "") { ?>
    var mobilewords = new Array("Windows CE","Mobile");
    for (var word in mobilewords) {
        if (navigator.userAgent.match(mobilewords[word]) != null && confirm("모바일 브라우저 입니다. 모바일 페이지로 이동하시겠습니까?")) {
            set_cookie("<?=md5('ck_mobile')?>","<?=base64_encode('buspang-mobile')?>", 1, "<?=$g4['cookie_domain']?>");
            ///m 모바일 페이지로 이동
            location.href = "http://" + location.host + "/m" + location.pathname;
            break;
        } else {
            set_cookie("<?=md5('ck_mobile')?>","<?=base64_encode('buspang-pc')?>", 1, "<?=$g4['cookie_domain']?>");
        }
    }
    <? } else if (get_cookie("ck_mobile") == "buspang-mobile") { ?>
        location.href = "http://" + location.host + "/m" + location.pathname;
    <? } ?>
</script>
<!-- 모바일 브라우저 인식 -->
- opencode.co.kr -


Page 5/28
2013-01   16428   Ҵ
2013-01   13948   Ҵ
2012-12   13759   Ҵ
2012-12   18503   Ҵ
2012-12   14547   Ҵ
2012-12   14290   Ҵ
2013-01   11889   Ҵ
2012-12   14359   Ҵ
2012-12   15036   Ҵ
2012-11   13242   Ҵ
2012-11   16081   Ҵ
2012-11   18586   Ҵ
2012-11   14515   Ҵ
2012-10   18356   Ҵ
2012-10   16274   Ҵ
2012-09   14958   Ҵ
2012-09   17142   Ҵ
2012-09   14978   Ҵ
2012-07   21338   Ҵ
2012-07   17000   Ҵ