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,4 +1,4 @@
<?
<?php
$sub_menu = "300300";
include_once('./_common.php');
@ -75,14 +75,14 @@ var list_delete_php = 'popular_list.php';
<fieldset>
<legend>인기검색어 검색</legend>
<span>
<?=$listall?>
건수 : <?=number_format($total_count)?>개
<?php echo $listall ?>
건수 : <?php echo number_format($total_count) ?>개
</span>
<select name="sfl" title="검색대상">
<option value="pp_word"<?=get_selected($_GET['sfl'], "pp_word");?>>검색어</option>
<option value="pp_date"<?=get_selected($_GET['sfl'], "pp_date");?>>등록일</option>
<option value="pp_word"<?php echo get_selected($_GET['sfl'], "pp_word"); ?>>검색어</option>
<option value="pp_date"<?php echo get_selected($_GET['sfl'], "pp_date"); ?>>등록일</option>
</select>
<input type="text" name="stx" value="<?=$stx?>" title="검색어(필수)" required class="required frm_input">
<input type="text" name="stx" value="<?php echo $stx ?>" title="검색어(필수)" required class="required frm_input">
<input type="submit" value="검색" class="btn_submit">
</fieldset>
</form>
@ -91,24 +91,24 @@ var list_delete_php = 'popular_list.php';
<h2>인기검색어 목록</h2>
<form name="fpopularlist" id="fpopularlist" 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>
<th scope="col"><input type="checkbox" name="chkall" value="1" id="chkall" title="현재 페이지 인기검색어 전체선택" onclick="check_all(this.form)"></th>
<th scope="col"><?=subject_sort_link('pp_word')?>검색어</a></th>
<th scope="col"><?php echo subject_sort_link('pp_word') ?>검색어</a></th>
<th scope="col">등록일</th>
<th scope="col">등록IP</th>
</tr>
</thead>
<tbody>
<?
<?php
for ($i=0; $row=sql_fetch_array($result); $i++) {
$word = get_text($row['pp_word']);
@ -116,14 +116,14 @@ var list_delete_php = 'popular_list.php';
<tr>
<td class="td_chk">
<input type="checkbox" name="chk[]" value="<?=$row['pp_id']?>" id="chk_<?=$i?>" title="<?=$word?> 선택">
<input type="checkbox" name="chk[]" value="<?php echo $row['pp_id'] ?>" id="chk_<?php echo $i ?>" title="<?php echo $word ?> 선택">
</td>
<td>&nbsp; <a href="<?=$_SERVER['PHP_SELF']?>?sfl=pp_word&amp;stx=<?=$word?>"><?=$word?></a></td>
<td><?=$row['pp_date']?></td>
<td><?=$row['pp_ip']?></td>
<td>&nbsp; <a href="<?php echo $_SERVER['PHP_SELF'] ?>?sfl=pp_word&amp;stx=<?php echo $word ?>"><?php echo $word ?></a></td>
<td><?php echo $row['pp_date'] ?></td>
<td><?php echo $row['pp_ip'] ?></td>
</tr>
<?
<?php
}
if ($i == 0)
@ -132,16 +132,16 @@ var list_delete_php = 'popular_list.php';
</tbody>
</table>
<?if ($is_admin == 'super'){ ?>
<?php if ($is_admin == 'super'){ ?>
<div class="btn_list">
<button type="submit">선택삭제</button>
</div>
<?}?>
<?php } ?>
</form>
</section>
<?=get_paging(G4_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&amp;page=");?>
<?php echo get_paging(G4_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&amp;page="); ?>
<script>
$(function() {
@ -160,6 +160,6 @@ $(function() {
});
</script>
<?
<?php
include_once('./admin.tail.php');
?>