관리자 상품문의 상품후기 검색 관련 오류 수정
This commit is contained in:
@ -17,15 +17,17 @@ $name = get_sideview($iq['mb_id'], get_text($iq['iq_name']), $iq['mb_email'], $i
|
||||
$g5['title'] = '상품문의';
|
||||
include_once (G5_ADMIN_PATH.'/admin.head.php');
|
||||
|
||||
$qstr = 'page='.$page.'&sort1='.$sort1.'&sort2='.$sort2;
|
||||
$qstr .= ($qstr ? '&' : '').'sca='.$sca;
|
||||
?>
|
||||
|
||||
<form name="fitemqaform" method="post" action="./itemqaformupdate.php" onsubmit="return fitemqaform_submit(this);">
|
||||
<input type="hidden" name="w" value="<?php echo $w; ?>">
|
||||
<input type="hidden" name="iq_id" value="<?php echo $iq_id; ?>">
|
||||
<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="sort1" value="<?php echo $sort1; ?>">
|
||||
<input type="hidden" name="sort2" value="<?php echo $sort2; ?>">
|
||||
|
||||
<div class="local_desc01 local_desc">
|
||||
<p>상품에 대한 문의에 답변하실 수 있습니다. 상품 문의 내용의 수정도 가능합니다.</p>
|
||||
|
||||
@ -53,7 +53,7 @@ if ($w == "u")
|
||||
}
|
||||
}
|
||||
|
||||
goto_url("./itemqaform.php?w=$w&iq_id=$iq_id&$qstr");
|
||||
goto_url("./itemqaform.php?w=$w&iq_id=$iq_id&sca=$sca&$qstr");
|
||||
}
|
||||
else {
|
||||
alert();
|
||||
|
||||
@ -50,7 +50,7 @@ $sql = " select *
|
||||
$result = sql_query($sql);
|
||||
|
||||
//$qstr = 'page='.$page.'&sst='.$sst.'&sod='.$sod.'&stx='.$stx;
|
||||
$qstr = $qstr.'&sca='.$sca.'&save_stx='.$stx;
|
||||
$qstr .= ($qstr ? '&' : '').'sca='.$sca.'&save_stx='.$stx;
|
||||
|
||||
$listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</a>';
|
||||
?>
|
||||
@ -74,7 +74,8 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
|
||||
$len = strlen($row1['ca_id']) / 2 - 1;
|
||||
$nbsp = "";
|
||||
for ($i=0; $i<$len; $i++) $nbsp .= " ";
|
||||
echo '<option value="'.$row1['ca_id'].'" '.get_selected($sca, $row1['ca_id']).'>'.$nbsp.$row1['ca_name'].'</option>'.PHP_EOL;
|
||||
$selected = ($row1['ca_id'] == $sca) ? ' selected="selected"' : '';
|
||||
echo '<option value="'.$row1['ca_id'].'"'.$selected.'>'.$nbsp.$row1['ca_name'].'</option>'.PHP_EOL;
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
|
||||
@ -23,16 +23,18 @@ $is_confirm_no = !$is['is_confirm'] ? 'checked="checked"' : '';
|
||||
$g5['title'] = '사용후기';
|
||||
include_once (G5_ADMIN_PATH.'/admin.head.php');
|
||||
|
||||
$qstr = 'page='.$page.'&sort1='.$sort1.'&sort2='.$sort2;
|
||||
$qstr .= ($qstr ? '&' : '').'sca='.$sca;
|
||||
?>
|
||||
|
||||
<form name="fitemuseform" method="post" action="./itemuseformupdate.php" onsubmit="return fitemuseform_submit(this);">
|
||||
<input type="hidden" name="w" value="<?php echo $w; ?>">
|
||||
<input type="hidden" name="is_id" value="<?php echo $is_id; ?>">
|
||||
<input type="hidden" name="it_id" value="<?php echo $is['is_id']; ?>">
|
||||
<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="sort1" value="<?php echo $sort1; ?>">
|
||||
<input type="hidden" name="sort2" value="<?php echo $sort2; ?>">
|
||||
|
||||
|
||||
<div class="tbl_frm01 tbl_wrap">
|
||||
|
||||
@ -22,7 +22,7 @@ if ($w == "u")
|
||||
|
||||
update_use_cnt($_POST['it_id']);
|
||||
|
||||
goto_url("./itemuseform.php?w=$w&is_id=$is_id&$qstr");
|
||||
goto_url("./itemuseform.php?w=$w&is_id=$is_id&sca=$sca&$qstr");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@ -50,7 +50,7 @@ $sql = " select *
|
||||
$result = sql_query($sql);
|
||||
|
||||
//$qstr = 'page='.$page.'&sst='.$sst.'&sod='.$sod.'&stx='.$stx;
|
||||
$qstr = $qstr.'&sca='.$sca.'&save_stx='.$stx;
|
||||
$qstr .= ($qstr ? '&' : '').'sca='.$sca.'&save_stx='.$stx;
|
||||
|
||||
$listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</a>';
|
||||
?>
|
||||
@ -74,7 +74,8 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
|
||||
$len = strlen($row1['ca_id']) / 2 - 1;
|
||||
$nbsp = "";
|
||||
for ($i=0; $i<$len; $i++) $nbsp .= " ";
|
||||
echo "<option value='{$row1['ca_id']}'>$nbsp{$row1['ca_name']}\n";
|
||||
$selected = ($row1['ca_id'] == $sca) ? ' selected="selected"' : '';
|
||||
echo '<option value="'.$row1['ca_id'].'"'.$selected.'>'.$nbsp.$row1['ca_name'].'</option>'.PHP_EOL;
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user