g4s 13-04-26일자 코드 반영
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$sub_menu = "200900";
|
||||
include_once('./_common.php');
|
||||
|
||||
@ -58,13 +58,13 @@ $colspan = 6;
|
||||
<fieldset>
|
||||
<legend>투표검색</legend>
|
||||
<span>
|
||||
<?=$listall?>
|
||||
투표수 : <?=number_format($total_count)?>개
|
||||
<?php echo $listall ?>
|
||||
투표수 : <?php echo number_format($total_count) ?>개
|
||||
</span>
|
||||
<select name="sfl" id="sfl" title="검색대상">
|
||||
<option value="po_subject"<?=get_selected($_GET['sfl'], "po_subject");?>>제목</option>
|
||||
<option value="po_subject"<?php echo get_selected($_GET['sfl'], "po_subject"); ?>>제목</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" class="btn_submit" value="검색">
|
||||
</fieldset>
|
||||
</form>
|
||||
@ -77,12 +77,12 @@ $colspan = 6;
|
||||
</div>
|
||||
|
||||
<form name="fpolllist" id="fpolllist" action="./poll_delete.php" 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>
|
||||
<thead>
|
||||
<tr>
|
||||
@ -96,7 +96,7 @@ $colspan = 6;
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?
|
||||
<?php
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
$sql2 = " select sum(po_cnt1+po_cnt2+po_cnt3+po_cnt4+po_cnt5+po_cnt6+po_cnt7+po_cnt8+po_cnt9) as sum_po_cnt from {$g4['poll_table']} where po_id = '{$row['po_id']}' ";
|
||||
$row2 = sql_fetch($sql2);
|
||||
@ -108,17 +108,17 @@ $colspan = 6;
|
||||
|
||||
<tr>
|
||||
<td class="td_chk">
|
||||
<input type="checkbox" name="chk[]" value="<?=$row['po_id']?>" id="chk_<?=$i?>" title="투표선택">
|
||||
<input type="checkbox" name="chk[]" value="<?php echo $row['po_id'] ?>" id="chk_<?php echo $i ?>" title="투표선택">
|
||||
</td>
|
||||
<td class="td_num"><?=$row['po_id']?></td>
|
||||
<td><?=cut_str(get_text($row['po_subject']),70)?></td>
|
||||
<td class="td_num"><?=$row['po_level']?></td>
|
||||
<td class="td_num"><?=$row2['sum_po_cnt']?></td>
|
||||
<td class="td_etc"><?=$po_etc?></td>
|
||||
<td class="td_mng"><?=$s_mod?></td>
|
||||
<td class="td_num"><?php echo $row['po_id'] ?></td>
|
||||
<td><?php echo cut_str(get_text($row['po_subject']),70) ?></td>
|
||||
<td class="td_num"><?php echo $row['po_level'] ?></td>
|
||||
<td class="td_num"><?php echo $row2['sum_po_cnt'] ?></td>
|
||||
<td class="td_etc"><?php echo $po_etc ?></td>
|
||||
<td class="td_mng"><?php echo $s_mod ?></td>
|
||||
</tr>
|
||||
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
|
||||
if ($i==0)
|
||||
@ -133,7 +133,7 @@ $colspan = 6;
|
||||
</form>
|
||||
</section>
|
||||
|
||||
<?=get_paging(G4_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page=");?>
|
||||
<?php echo get_paging(G4_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page="); ?>
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
@ -152,6 +152,6 @@ $(function() {
|
||||
});
|
||||
</script>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once ('./admin.tail.php');
|
||||
?>
|
||||
Reference in New Issue
Block a user