관리자: 가변형으로 변경
This commit is contained in:
@ -27,9 +27,7 @@ $from_record = ($page - 1) * $rows; // 시작 열을 구함
|
||||
$sql = " select pp_word, count(*) as cnt {$sql_common} {$sql_search} {$sql_group} {$sql_order} limit {$from_record}, {$rows} ";
|
||||
$result = sql_query($sql);
|
||||
|
||||
$listall = '';
|
||||
if (!empty($_GET['fr_date']) || !empty($_GET['to_date']))
|
||||
$listall = '<a href="'.$_SERVER['PHP_SELF'].'">전체목록</a>';
|
||||
$listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</a>';
|
||||
|
||||
$g5['title'] = '인기검색어순위';
|
||||
include_once('./admin.head.php');
|
||||
@ -43,30 +41,34 @@ $(function(){
|
||||
});
|
||||
</script>
|
||||
|
||||
<form name="fsearch" id="fsearch" method="get">
|
||||
<fieldset>
|
||||
<legend>인기검색어 검색</legend>
|
||||
<span>
|
||||
<?php echo $listall ?>
|
||||
건수 <?php echo number_format($total_count) ?>개
|
||||
</span>
|
||||
<label for="fr_date">기간설정</label>
|
||||
<input type="text" name="fr_date" value="<?php echo $fr_date ?>" id="fr_date" title="구간시작일" class="frm_input" size="11" maxlength="10"> 부터
|
||||
<input type="text" name="to_date" value="<?php echo $to_date ?>" id="to_date" title="구간종료일" class="frm_input" size="11" maxlength="10"> 까지
|
||||
<div class="local_ov01 local_ov">
|
||||
<?php echo $listall ?>
|
||||
건수 <?php echo number_format($total_count) ?>개
|
||||
</div>
|
||||
|
||||
<form name="fsearch" id="fsearch" class="local_sch02 local_sch" method="get">
|
||||
<div class="sch_last">
|
||||
<strong>기간별검색</strong>
|
||||
<input type="text" name="fr_date" value="<?php echo $fr_date ?>" id="fr_date" class="frm_input" size="11" maxlength="10">
|
||||
<label for="fr_date" class="sound_only">시작일</label>
|
||||
~
|
||||
<input type="text" name="to_date" value="<?php echo $to_date ?>" id="to_date" class="frm_input" size="11" maxlength="10">
|
||||
<label for="to_date" class="sound_only">종료일</label>
|
||||
<input type="submit" class="btn_submit" value="검색">
|
||||
</fieldset>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<section class="cbox">
|
||||
<h2>인기검색어 순위 및 내역</h2>
|
||||
<form name="fpopularrank" id="fpopularrank" method="post">
|
||||
<input type="hidden" name="sst" value="<?php echo $sst ?>">
|
||||
<input type="hidden" name="sod" value="<?php echo $sod ?>">
|
||||
<input type="hidden" name="sfl" value="<?php echo $sfl ?>">
|
||||
<input type="hidden" name="stx" value="<?php echo $stx ?>">
|
||||
<input type="hidden" name="page" value="<?php echo $page ?>">
|
||||
<input type="hidden" name="token" value="<?php echo $token ?>">
|
||||
<table class="tbl_pop_list">
|
||||
<form name="fpopularrank" id="fpopularrank" method="post">
|
||||
<input type="hidden" name="sst" value="<?php echo $sst ?>">
|
||||
<input type="hidden" name="sod" value="<?php echo $sod ?>">
|
||||
<input type="hidden" name="sfl" value="<?php echo $sfl ?>">
|
||||
<input type="hidden" name="stx" value="<?php echo $stx ?>">
|
||||
<input type="hidden" name="page" value="<?php echo $page ?>">
|
||||
<input type="hidden" name="token" value="<?php echo $token ?>">
|
||||
|
||||
<div class="tbl_head01 tbl_wrap">
|
||||
<table>
|
||||
<caption><?php echo $g5['title']; ?> 목록</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">순위</th>
|
||||
@ -97,9 +99,9 @@ $(function(){
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</section>
|
||||
</form>
|
||||
|
||||
<?php
|
||||
echo get_paging(G5_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page=");
|
||||
|
||||
Reference in New Issue
Block a user