ã¡ã¢ã¡ã¢ <?php if (isset($_GET['viewmode'])) { $viewmode = $_GET['viewmode']; setcookie("viewmode", $viewmode, null, "/"); } else { $viewmode = $_COOKIE['viewmode']; } if ($viewmode != "pc") { $regex_ua_spn = "(iPhone|iPod|Android.*Mobile|BlackBerry)"; if (preg_match($regex_ua_spn, $_SERVER['HTTP_USER_AGENT']) != 0) { setcookie("viewmode", "sp", null, "/"); header("Location: /sp/"); } } ?> ã«ã¼ãç´ä¸ã«ãlibã
æè¿ãèªåã®ãµã¤ãã§åãã¦ã¹ãã¼ããã©ã³ãµã¤ããå°å ¥ããã®ã§ãããã»ã¼ãã®ãµã¤ãã¯ãããã®ãµã¼ãã©ã¤ããã©ã³ã«PHPãèªåã§ã¤ã³ã¹ãã¼ã«ãã¦ä½¿ã£ã¦ãããã³ãã³ç°å¢ãªããã.htaccessãjavascriptã使ã£ã表示åãæ¿ããä¸æãåä½ãã¾ããã§ããã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}