모바일 페이지 수 적용

This commit is contained in:
chicpro
2013-03-05 15:06:48 +09:00
parent 994978420d
commit bb4da22168
9 changed files with 10 additions and 10 deletions

View File

@ -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&amp;page=");
echo get_paging(G4_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&amp;page=");
?>
<?