공통관리자: 너비 가변 변경 작업 중

This commit is contained in:
whitedot
2013-10-11 16:43:18 +09:00
parent 7ec7f0b46c
commit fe15f022cb
100 changed files with 7539 additions and 7495 deletions

View File

@ -52,86 +52,68 @@ $result = sql_query($sql);
//$qstr = 'page='.$page.'&sst='.$sst.'&sod='.$sod.'&stx='.$stx;
$qstr = $qstr.'&sca='.$sca.'&save_stx='.$stx;
$listall = '';
if ($sfl || $stx) // 검색렬일 때만 처음 버튼을 보여줌
$listall = '<a href="'.$_SERVER['PHP_SELF'].'">전체목록</a>';
$listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</a>';
?>
<form name="flist">
<div class="local_ov01 local_ov">
<?php echo $listall; ?>
전체 후기내역 <?php echo $total_count; ?>건
</div>
<form name="flist" class="local_sch01 local_sch">
<input type="hidden" name="page" value="<?php echo $page; ?>">
<input type="hidden" name="save_stx" value="<?php echo $stx; ?>">
<fieldset>
<legend>사용후기 검색</legend>
<label for="sca" class="sound_only">분류선택</label>
<select name="sca" id="sca">
<option value=''>전체분류</option>
<?php
$sql1 = " select ca_id, ca_name from {$g5['g5_shop_category_table']} order by ca_id ";
$result1 = sql_query($sql1);
for ($i=0; $row1=mysql_fetch_array($result1); $i++) {
$len = strlen($row1['ca_id']) / 2 - 1;
$nbsp = "";
for ($i=0; $i<$len; $i++) $nbsp .= "&nbsp;&nbsp;&nbsp;";
echo "<option value='{$row1['ca_id']}'>$nbsp{$row1['ca_name']}\n";
}
?>
</select>
<span>
<?php echo $listall; ?>
전체 후기내역 <?php echo $total_count; ?>건
</span>
<label for="sfl" class="sound_only">검색대상</label>
<select name="sfl" id="sfl">
<option value="it_name" <?php echo get_selected($sfl, 'it_name'); ?>>상품명</option>
<option value="a.it_id" <?php echo get_selected($sfl, 'a.it_id'); ?>>상품코드</option>
<option value="is_name" <?php echo get_selected($sfl, 'is_name'); ?>>이름</option>
</select>
<label for="sca" class="sound_only">분류선택</label>
<?php // ##### // 웹 접근성 취약 지점 시작 - 지운아빠 2013-04-12 ?>
<select name="sca" id="sca">
<option value=''>전체분류</option>
<?php
$sql1 = " select ca_id, ca_name from {$g5['g5_shop_category_table']} order by ca_id ";
$result1 = sql_query($sql1);
for ($i=0; $row1=mysql_fetch_array($result1); $i++) {
$len = strlen($row1['ca_id']) / 2 - 1;
$nbsp = "";
for ($i=0; $i<$len; $i++) $nbsp .= "&nbsp;&nbsp;&nbsp;";
echo "<option value='{$row1['ca_id']}'>$nbsp{$row1['ca_name']}\n";
}
?>
</select>
<?php // ##### // 웹 접근성 취약 지점 끝 ?>
<label for="sfl" class="sound_only">검색대상</label>
<select name="sfl" id="sfl">
<option value="it_name" <?php echo get_selected($sfl, 'it_name'); ?>>상품명</option>
<option value="a.it_id" <?php echo get_selected($sfl, 'a.it_id'); ?>>상품코드</option>
<option value="is_name" <?php echo get_selected($sfl, 'is_name'); ?>>이름</option>
</select>
<label for="stx" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
<input type="text" name="stx" value="<?php echo $stx; ?>" required class="frm_input required">
<input type="submit" value="검색" class="btn_submit">
</fieldset>
<label for="stx" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
<input type="text" name="stx" value="<?php echo $stx; ?>" required class="frm_input required">
<input type="submit" value="검색" class="btn_submit">
</form>
<section class="cbox">
<h2>사용후기 목록</h2>
<form name="fitemuselist" method="post" action="./itemuselistupdate.php" onsubmit="return fitemuselist_submit(this);" autocomplete="off">
<input type="hidden" name="sca" value="<?php echo $sca; ?>">
<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; ?>">
<ul class="sort_odr">
<li><?php echo subject_sort_link("it_name"); ?>상품명</a></li>
<li><?php echo subject_sort_link("mb_name"); ?>이름</a></li>
<li><?php echo subject_sort_link("is_subject"); ?>제목</a></li>
<li><?php echo subject_sort_link("is_score"); ?>점수</a></li>
<li><?php echo subject_sort_link("is_confirm"); ?>확인</a></li>
</ul>
<form name="fitemuselist" method="post" action="./itemuselistupdate.php" onsubmit="return fitemuselist_submit(this);" autocomplete="off">
<input type="hidden" name="sca" value="<?php echo $sca; ?>">
<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; ?>">
<table class="frm_basic">
<div class="tbl_head01 tbl_wrap">
<table>
<caption><?php echo $g5['title']; ?> 목록</caption>
<thead>
<tr>
<th scope="col">
<label for="chkall" class="sound_only">사용후기 전체</label>
<input type="checkbox" name="chkall" value="1" id="chkall" onclick="check_all(this.form)">
</th>
<th scope="col">상품명</th>
<th scope="col">이름</th>
<th scope="col">제목</th>
<th scope="col">점수</th>
<th scope="col">확인</th>
<th scope="col"><?php echo subject_sort_link("it_name"); ?>상품명</a></th>
<th scope="col"><?php echo subject_sort_link("mb_name"); ?>이름</a></th>
<th scope="col"><?php echo subject_sort_link("is_subject"); ?>제목</a></th>
<th scope="col"><?php echo subject_sort_link("is_score"); ?>점수</a></th>
<th scope="col"><?php echo subject_sort_link("is_confirm"); ?>확인</a></th>
<th scope="col">관리</th>
</tr>
</thead>
@ -142,10 +124,12 @@ if ($sfl || $stx) // 검색렬일 때만 처음 버튼을 보여줌
$href = G5_SHOP_URL.'/item.php?it_id='.$row['it_id'];
$name = get_sideview($row['mb_id'], get_text($row['is_name']), $row['mb_email'], $row['mb_homepage']);
$is_content = get_view_thumbnail($row['is_content'], 300);
$tr_bg = $i%2 ? 'class="tr_bg1"' : 'class="tr_bg0"';
?>
<tr>
<td>
<tr<?php echo ' '.$tr_bg; ?>>
<td class="td_chk">
<label for="chk_<?php echo $i; ?>" class="sound_only"><?php echo get_text($row['is_subject']) ?> 사용후기</label>
<input type="checkbox" name="chk[]" value="<?php echo $i ?>" id="chk_<?php echo $i; ?>">
<input type="hidden" name="is_id[<?php echo $i; ?>]" value="<?php echo $row['is_id']; ?>">
@ -159,8 +143,8 @@ if ($sfl || $stx) // 검색렬일 때만 처음 버튼을 보여줌
</div>
</td>
<td class="td_num"><?php echo $row['is_score']; ?></td>
<td class="sit_use_confirm"><input type="checkbox" name="is_confirm[<?php echo $i; ?>]" <?php echo ($row['is_confirm'] ? 'checked' : ''); ?> value="1"></td>
<td class="td_smallmng">
<td class="td_chk"><input type="checkbox" name="is_confirm[<?php echo $i; ?>]" <?php echo ($row['is_confirm'] ? 'checked' : ''); ?> value="1"></td>
<td class="td_mngsmall">
<a href="./itemuseform.php?w=u&amp;is_id=<?php echo $row['is_id']; ?>&amp;<?php echo $qstr; ?>"><span class="sound_only"><?php echo $row['is_subject']; ?> </span>수정</a>
</td>
</tr>
@ -174,14 +158,13 @@ if ($sfl || $stx) // 검색렬일 때만 처음 버튼을 보여줌
?>
</tbody>
</table>
</div>
<div class="btn_list">
<input type="submit" name="act_button" value="선택수정" onclick="document.pressed=this.value">
<input type="submit" name="act_button" value="선택삭제" onclick="document.pressed=this.value">
</div>
</form>
</section>
<div class="btn_list">
<input type="submit" name="act_button" value="선택수정" onclick="document.pressed=this.value">
<input type="submit" name="act_button" value="선택삭제" onclick="document.pressed=this.value">
</div>
</form>
<?php echo get_paging(G5_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&amp;page="); ?>