PCMOBILE 화면전환 예비
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@ config.php
|
||||
test
|
||||
sirgle
|
||||
sr_*
|
||||
google*
|
||||
|
||||
@ -117,6 +117,9 @@ a:active {color:#000;text-decoration:underline}
|
||||
#ft_copy p {margin:0 auto;width:980px;color:#4a9ab8}
|
||||
#ft_copy b {color:#fff}
|
||||
|
||||
/* Mobile화면으로 */
|
||||
#g4s_cng {}
|
||||
|
||||
/* 콘텐츠별 스타일 */
|
||||
/* 버튼 */
|
||||
.btn01 {display:inline-block;padding:0 10px;height:23px;border:1px solid #ccc !important;background:#fafafa !important;color:#000 !important;text-decoration:none !important;line-height:2.15em;vertical-align:middle}
|
||||
|
||||
@ -94,6 +94,9 @@ pre {overflow-x:scroll;font-size:1.1em}
|
||||
#ft_copy p {padding:0.5em;color:#4a9ab8}
|
||||
#ft_copy b {color:#fff}
|
||||
|
||||
/* PC화면으로 */
|
||||
#g4s_cng {}
|
||||
|
||||
/* 버튼 */
|
||||
.btn01 {display:inline-block;padding:0 0.5em;height:2em;border:1px solid #ccc !important;background:#fafafa !important;color:#000 !important;font-size:1em;text-decoration:none !important;line-height:2em;vertical-align:middle}
|
||||
.btn01:focus,
|
||||
|
||||
@ -37,7 +37,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<a href="<?=$_SERVER['PHP_SELF'].($_SERVER['QUERY_STRING']?'?'.$_SERVER['QUERY_STRING'].'&':'?').'device=pc';?>">PC 버전으로 보기</a>
|
||||
<a href="<?=$_SERVER['PHP_SELF'].($_SERVER['QUERY_STRING']?'?'.$_SERVER['QUERY_STRING'].'&':'?').'device=pc';?>" id="g4s_cng">PC 버전으로 보기</a>
|
||||
|
||||
<?
|
||||
include_once(G4_PATH."/tail.sub.php");
|
||||
|
||||
2
tail.php
2
tail.php
@ -30,7 +30,7 @@ if ($config['cf_include_tail']) {
|
||||
</footer>
|
||||
|
||||
<?if(is_mobile()){?>
|
||||
<a href="<?=$_SERVER['PHP_SELF'].($_SERVER['QUERY_STRING']?'?'.$_SERVER['QUERY_STRING'].'&':'?').'device=mobile';?>">모바일 버전으로 보기</a>
|
||||
<a href="<?=$_SERVER['PHP_SELF'].($_SERVER['QUERY_STRING']?'?'.$_SERVER['QUERY_STRING'].'&':'?').'device=mobile';?>" id="g4s_cng">모바일 버전으로 보기</a>
|
||||
<?}?>
|
||||
|
||||
<?
|
||||
|
||||
Reference in New Issue
Block a user