g4s 13-04-26일자 코드 반영

This commit is contained in:
chicpro
2013-04-26 10:54:44 +09:00
parent 091092b46a
commit 478605e149
286 changed files with 4409 additions and 3599 deletions

View File

@ -1,6 +1,7 @@
<?
<?php
$sub_menu = "300400";
include_once('./_common.php');
include_once(G4_PLUGIN_PATH.'/jquery-ui/datepicker.php');
auth_check($auth[$sub_menu], 'r');
@ -36,16 +37,22 @@ include_once('./admin.head.php');
$colspan = 3;
?>
<script>
$(function(){
$("#fr_date, #to_date").datepicker({ changeMonth: true, changeYear: true, dateFormat: "yy-mm-dd", showButtonPanel: true, yearRange: "c-99:c+99", maxDate: "+0d" });
});
</script>
<form name="fsearch" id="fsearch" method="get">
<fieldset>
<legend>인기검색어 검색</legend>
<span>
<?=$listall?>
건수 <?=number_format($total_count)?>개
<?php echo $listall ?>
건수 <?php echo number_format($total_count) ?>개
</span>
<label for="fr_date">기간설정</label>
<input type="text" name="fr_date" value="<?=$fr_date?>" id="fr_date" title="구간시작일" class="frm_input" maxlength="10"> 부터
<input type="text" name="to_date" value="<?=$to_date?>" id="to_date" title="구간종료일" class="frm_input" maxlength="10"> 까지
<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"> 까지
<input type="submit" class="btn_submit" value="검색">
</fieldset>
</form>
@ -53,12 +60,12 @@ $colspan = 3;
<section class="cbox">
<h2>인기검색어 순위 및 내역</h2>
<form name="fpopularrank" id="fpopularrank" method="post">
<input type="hidden" name="sst" value="<?=$sst?>">
<input type="hidden" name="sod" value="<?=$sod?>">
<input type="hidden" name="sfl" value="<?=$sfl?>">
<input type="hidden" name="stx" value="<?=$stx?>">
<input type="hidden" name="page" value="<?=$page?>">
<input type="hidden" name="token" value="<?=$token?>">
<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">
<thead>
<tr>
@ -68,7 +75,7 @@ $colspan = 3;
</tr>
</thead>
<tbody>
<?
<?php
for ($i=0; $row=sql_fetch_array($result); $i++) {
$word = get_text($row['pp_word']);
@ -77,12 +84,12 @@ $colspan = 3;
?>
<tr>
<td class="td_num"><?=$rank?></td>
<td><?=$word?></td>
<td class="td_bignum"><?=$row['cnt']?></td>
<td class="td_num"><?php echo $rank ?></td>
<td><?php echo $word ?></td>
<td class="td_bignum"><?php echo $row['cnt'] ?></td>
</tr>
<?
<?php
}
if ($i == 0)
@ -94,10 +101,10 @@ $colspan = 3;
</form>
</section>
<?
<?php
echo get_paging(G4_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&amp;page=");
?>
<?
<?php
include_once('./admin.tail.php');
?>