Merge branch 'master' of github.com:gnuboard/g4s
This commit is contained in:
@ -132,7 +132,7 @@ $colspan = 5;
|
||||
</div>
|
||||
|
||||
<?
|
||||
$pagelist = get_paging($config['cf_write_pages'], $page, $total_page, $_SERVER['PHP_SELF'].'?'.$qstr.'&page=');
|
||||
$pagelist = get_paging(G4_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, $_SERVER['PHP_SELF'].'?'.$qstr.'&page=');
|
||||
echo $pagelist;
|
||||
?>
|
||||
|
||||
|
||||
@ -175,7 +175,7 @@ $colspan = 8;
|
||||
</form>
|
||||
</section>
|
||||
|
||||
<?=get_paging($config['cf_write_pages'], $page, $total_page, $_SERVER['PHP_SELF'].'?'.$qstr.'&page=');?>
|
||||
<?=get_paging(G4_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, $_SERVER['PHP_SELF'].'?'.$qstr.'&page=');?>
|
||||
|
||||
<script>
|
||||
function fboardlist_submit(f)
|
||||
|
||||
@ -178,7 +178,7 @@ $colspan = 8;
|
||||
</section>
|
||||
|
||||
<?
|
||||
$pagelist = get_paging($config['cf_write_pages'], $page, $total_page, $_SERVER['PHP_SELF'].'?'.$qstr.'&page=');
|
||||
$pagelist = get_paging(G4_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, $_SERVER['PHP_SELF'].'?'.$qstr.'&page=');
|
||||
echo $pagelist;
|
||||
?>
|
||||
|
||||
|
||||
@ -132,7 +132,7 @@ $colspan = 7;
|
||||
</form>
|
||||
</section>
|
||||
|
||||
<?=get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&gr_id=$gr_id&page=");?>
|
||||
<?=get_paging(G4_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&gr_id=$gr_id&page=");?>
|
||||
|
||||
<script>
|
||||
function fboardgroupmember_submit(f)
|
||||
|
||||
@ -217,7 +217,7 @@ $colspan = 15;
|
||||
</form>
|
||||
</section>
|
||||
|
||||
<?=get_paging($config['cf_write_pages'], $page, $total_page, '?'.$qstr.'&page=');?>
|
||||
<?=get_paging(G4_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, '?'.$qstr.'&page=');?>
|
||||
|
||||
<script>
|
||||
function fmemberlist_submit(f)
|
||||
|
||||
@ -173,7 +173,7 @@ function point_clear()
|
||||
</form>
|
||||
</section>
|
||||
|
||||
<?=get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page=");?>
|
||||
<?=get_paging(G4_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page=");?>
|
||||
|
||||
<section id="point_mng" class="cbox">
|
||||
<h2>개별회원 포인트 증감 설정</h2>
|
||||
|
||||
@ -133,7 +133,7 @@ $colspan = 6;
|
||||
</form>
|
||||
</section>
|
||||
|
||||
<?=get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page=");?>
|
||||
<?=get_paging(G4_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page=");?>
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
|
||||
@ -141,7 +141,7 @@ var list_delete_php = 'popular_list.php';
|
||||
</form>
|
||||
</section>
|
||||
|
||||
<?=get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page=");?>
|
||||
<?=get_paging(G4_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page=");?>
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
|
||||
@ -27,7 +27,7 @@ $sql = " select pp_word, count(*) as cnt {$sql_common} {$sql_search} {$sql_group
|
||||
$result = sql_query($sql);
|
||||
|
||||
$listall = '';
|
||||
if (!empty($_GET['fr_date']) || !empty($_GET['to_date']))
|
||||
if (!empty($_GET['fr_date']) || !empty($_GET['to_date']))
|
||||
$listall = '<a href="'.$_SERVER['PHP_SELF'].'">전체목록</a>';
|
||||
|
||||
$g4['title'] = '인기검색어순위';
|
||||
@ -95,7 +95,7 @@ $colspan = 3;
|
||||
</section>
|
||||
|
||||
<?
|
||||
echo get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page=");
|
||||
echo get_paging(G4_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page=");
|
||||
?>
|
||||
|
||||
<?
|
||||
|
||||
@ -160,9 +160,9 @@ if (G4_HTTPS_DOMAIN) {
|
||||
// G4_MOBILE_AGENT : config.php 에서 선언
|
||||
//------------------------------------------------------------------------------
|
||||
$is_mobile = false;
|
||||
if (isset($_REQUEST['pc']))
|
||||
if ($_REQUEST['device']=='pc')
|
||||
$is_mobile = false;
|
||||
else if (isset($_REQUEST['mobile']))
|
||||
else if ($_REQUEST['device']=='mobile')
|
||||
$is_mobile = true;
|
||||
else if (isset($_SESSION['ss_is_mobile']))
|
||||
$is_mobile = $_SESSION['ss_is_mobile'];
|
||||
|
||||
@ -16,6 +16,8 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<a href="?device=pc">PC버전</a>
|
||||
|
||||
<?
|
||||
include_once(G4_PATH."/tail.sub.php");
|
||||
?>
|
||||
Reference in New Issue
Block a user