Merge branch 'master' of github.com:gnuboard/yc4s
This commit is contained in:
@ -61,7 +61,13 @@ $qstr = 'page='.$page.'&sort1='.$sort1.'&sort2='.$sort2;
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">확인</th>
|
||||
<td><input type="submit" name="btn_confirm" value="확인하였습니다" class="btn_frmline"></td>
|
||||
<td>
|
||||
<? if($is['is_confirm']) { ?>
|
||||
<input type="submit" name="btn_no_display" value="사용후기를 고객님들에게 노출하지 않습니다." class="btn_frmline">
|
||||
<? } else { ?>
|
||||
<input type="submit" name="btn_confirm" value="사용후기를 확인했으며 고객님들에게 노출합니다." class="btn_frmline">
|
||||
<? } ?>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
@ -17,7 +17,9 @@ $qstr = "page=$page&sort1=$sort1&sort2=$sort2";
|
||||
|
||||
if ($w == "u")
|
||||
{
|
||||
if($btn_confirm)
|
||||
if($_POST['btn_no_display'])
|
||||
$is_confirm = 0;
|
||||
else
|
||||
$is_confirm = 1;
|
||||
|
||||
$sql = "update {$g4['shop_item_ps_table']}
|
||||
|
||||
@ -777,7 +777,7 @@ $pg_anchor = '<ul class="anchor">
|
||||
</div>
|
||||
|
||||
<div class="btn_confirm">
|
||||
<button type="button" onclick="del('./orderdelete.php?od_id=<?=$od['od_id']?>&uq_id=<?=$od['uq_id']?>&amo;mb_id=<?=$od['mb_id']?>&<?=$qstr?>');">주문서 삭제</button>
|
||||
<a href="./orderdelete.php?od_id=<?=$od['od_id']?>&uq_id=<?=$od['uq_id']?>&amo;mb_id=<?=$od['mb_id']?>&<?=$qstr?>" onclick="return del_confirm();">주문서 삭제</a>
|
||||
<a href="./orderlist.php?<?=$qstr?>">목록</a>
|
||||
</div>
|
||||
|
||||
@ -825,6 +825,15 @@ function form_submit(f)
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
function del_confirm()
|
||||
{
|
||||
if(confirm("주문서를 삭제하시겠습니까?")) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<?
|
||||
|
||||
@ -119,6 +119,7 @@ $sql = " insert into `{$table_prefix}config`
|
||||
cf_mobile_search_skin = 'basic',
|
||||
cf_mobile_connect_skin = 'basic',
|
||||
cf_mobile_member_skin = 'basic',
|
||||
cf_gcaptcha_mp3 = 'basic',
|
||||
cf_register_level = '2',
|
||||
cf_register_point = '1000',
|
||||
cf_icon_level = '2',
|
||||
|
||||
Reference in New Issue
Block a user