From 56906ed6b1333bc62e46cb086e78c5e8194c744e Mon Sep 17 00:00:00 2001 From: chicpro Date: Thu, 8 Aug 2013 15:58:37 +0900 Subject: [PATCH] =?UTF-8?q?device=20=EA=B4=80=EB=A0=A8=20=EB=82=B4?= =?UTF-8?q?=EC=9A=A9=EC=9D=84=20=EA=B3=84=EC=86=8D=ED=95=B4=EC=84=9C=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80=EB=90=98=EB=8A=94=20=EB=AC=B8=EC=A0=9C=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mobile/tail.php | 22 +++++++++++++++++++++- tail.php | 27 ++++++++++++++++++++++++--- 2 files changed, 45 insertions(+), 4 deletions(-) diff --git a/mobile/tail.php b/mobile/tail.php index 1ef67d14b..a61813865 100644 --- a/mobile/tail.php +++ b/mobile/tail.php @@ -40,7 +40,27 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 -" id="device_change">PC 버전으로 보기 +$val) { + if($key == 'device') + continue; + + $href .= $sep.$key.'='.$val; + $sep = '&'; + $seq++; + } +} +if($seq) + $href .= '&device=pc'; +else + $href .= '?device=pc'; +?> + +PC 버전으로 보기 - -" id="device_change">모바일 버전으로 보기 - +$val) { + if($key == 'device') + continue; + + $href .= $sep.$key.'='.$val; + $sep = '&'; + $seq++; + } + } + if($seq) + $href .= '&device=mobile'; + else + $href .= '?device=mobile'; +?> +모바일 버전으로 보기 +