Merge branch 'master' of github.com:gnuboard/yc4s

This commit is contained in:
chicpro
2013-04-11 10:13:40 +09:00

View File

@ -74,7 +74,9 @@ $result = sql_query($sql);
//$qstr = "$qstr1&sort1=$sort1&sort2=$sort2&page=$page";
$qstr = "$qstr&sca=$sca&page=$page&save_stx=$stx";
?>
<style type="text/css">
.itemtypelist{text-align:center}
</style>
<form name="flist">
<fieldset>
@ -83,7 +85,7 @@ $qstr = "$qstr&sca=$sca&page=$page&save_stx=$stx";
<input type="hidden" name="sort1" value="<? echo $sort1 ?>">
<input type="hidden" name="sort2" value="<? echo $sort2 ?>">
<input type="hidden" name="page" value="<? echo $page ?>">
<p><a href='<?=$_SERVER['PHP_SELF']?>'>처음</a></p>
<p><a href="<?=$_SERVER['PHP_SELF']?>">처음</a></p>
<select name="sca" title="검색분류">
<option value="">전체분류</option>
<?
@ -109,38 +111,38 @@ $qstr = "$qstr&sca=$sca&page=$page&save_stx=$stx";
<p>건수 : <? echo $total_count ?></p>
</form>
<section class="cbox">
<section class="cbox">
<h2>상품유형관리</h2>
<p>*상품의 유형을 일괄처리합니다.</p>
<form name="fitemtypelist" method="post" action="./itemtypelistupdate.php">
<input type="hidden" name="sca" value="<?=$sca?>">
<input type="hidden" name="sst" value="<?=$sst?>">
<input type="hidden" name="sod" value="<?=$sod?>">
<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?>">
<table>
<table class="frm_basic">
<colgroup>
<col class="grid_2">
<col class="grid_10">
<col class="grid_9">
<col class="grid_1">
<col class="grid_1">
<col class="grid_1">
<col class="grid_1">
<col class="grid_1">
<col class="grid_1">
<col class="grid_2">
<col class="grid_2">
<col class="grid_2">
<col class="grid_1">
</colgroup>
<thead>
<tr>
<th scope="col"><?=subject_sort_link("it_id", $qstr, 1)?>상품코드</a></th>
<th scope="col"><?=subject_sort_link("it_id", $qstr, 1)?>상품<br>코드</a></th>
<th scope="col"><?=subject_sort_link("it_name")?>상품명</a></th>
<th scope="col"><?=subject_sort_link("it_type1", $qstr, 1)?>히트상품</a></th>
<th scope="col"><?=subject_sort_link("it_type2", $qstr, 1)?>추천상품</a></th>
<th scope="col"><?=subject_sort_link("it_type3", $qstr, 1)?>신규상품</a></th>
<th scope="col"><?=subject_sort_link("it_type4", $qstr, 1)?>인기상품</a></th>
<th scope="col"><?=subject_sort_link("it_type5", $qstr, 1)?>할인상품</a></th>
<th scope="col">수정</th>
<th scope="col"><?=subject_sort_link("it_type1", $qstr, 1)?>히트<br>상품</a></th>
<th scope="col"><?=subject_sort_link("it_type2", $qstr, 1)?>추천<br>상품</a></th>
<th scope="col"><?=subject_sort_link("it_type3", $qstr, 1)?>신규<br>상품</a></th>
<th scope="col"><?=subject_sort_link("it_type4", $qstr, 1)?>인기<br>상품</a></th>
<th scope="col"><?=subject_sort_link("it_type5", $qstr, 1)?>할인<br>상품</a></th>
<th scope="col">관리</th>
</tr>
</thead>
<tbody>
@ -155,20 +157,20 @@ $qstr = "$qstr&sca=$sca&page=$page&save_stx=$stx";
?>
<input type="hidden" name="it_id[$i]" value="<?=$row['it_id']?>">
<tr>
<td><?=$row['it_id']?></td>
<td><a href="<?=$href?>"><?=get_it_image($row['it_id'].'_s', 50, 50)?></a><?=cut_str(stripslashes($row['it_name']), 60, "&#133")?></a></td>
<td><input type="checkbox" name="it_type1[$i]" value="1" <?=($row['it_type1'] ? 'checked' : '')?> title="히트상품"></td>
<td><input type="checkbox" name="it_type2[$i]" value="1" <?=($row['it_type2'] ? 'checked' : '')?> title="추천상품"></td>
<td><input type="checkbox" name="it_type3[$i]" value="1" <?=($row['it_type3'] ? 'checked' : '')?> title="신규상품"></td>
<td><input type="checkbox" name="it_type4[$i]" value="1" <?=($row['it_type4'] ? 'checked' : '')?> title="인기상품"></td>
<td><input type="checkbox" name="it_type5[$i]" value="1" <?=($row['it_type5'] ? 'checked' : '')?> title="할인상품"></td>
<td><?=$s_mod?></td>
<td class="itemtypelist"><?=$row['it_id']?></td>
<td><a href="<?=$href?>"><?=get_it_image($row['it_id'].'_s', 50, 50)?><?=cut_str(stripslashes($row['it_name']), 60, "&#133")?></a></td>
<td class="itemtypelist"><input type="checkbox" name="it_type1[$i]" value="1" <?=($row['it_type1'] ? 'checked' : '')?> title="히트상품"></td>
<td class="itemtypelist"><input type="checkbox" name="it_type2[$i]" value="1" <?=($row['it_type2'] ? 'checked' : '')?> title="추천상품"></td>
<td class="itemtypelist"><input type="checkbox" name="it_type3[$i]" value="1" <?=($row['it_type3'] ? 'checked' : '')?> title="신규상품"></td>
<td class="itemtypelist"><input type="checkbox" name="it_type4[$i]" value="1" <?=($row['it_type4'] ? 'checked' : '')?> title="인기상품"></td>
<td class="itemtypelist"><input type="checkbox" name="it_type5[$i]" value="1" <?=($row['it_type5'] ? 'checked' : '')?> title="할인상품"></td>
<td class="itemtypelist"><a href="./itemform.php?w=u&it_id=<?=$row['it_id']?>&ca_id=<?=$row['ca_id']?>&<?=$qstr?>">수정</a></td>
</tr>
<?
}
if (!$i)
echo '<tr><td colspan="9"><span>자료가 한건도 없습니다.</span></td></tr>';
echo '<tr><td colspan="9" class="itemtypelist empty_table"><span>자료가 한건도 없습니다.</span></td></tr>';
?>
</tbody>
<tfoot>
@ -176,10 +178,10 @@ $qstr = "$qstr&sca=$sca&page=$page&save_stx=$stx";
</tfoot>
</table>
</form>
<input type="submit" value="일괄수정" accesskey="s">
<div class="btn_list">
<input type="submit" value="일괄수정">
</div>
<?=get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page=");?>
</section>