php8.0 버전 호환 코드 적용 및 PHP 끝 태그 삭제 일괄적용
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
|
||||
$od_id = isset($od_id) ? preg_replace('/[^A-Za-z0-9\-_]/', '', strip_tags($od_id)) : 0;
|
||||
$od_id = isset($_REQUEST['od_id']) ? safe_replace_regex($_REQUEST['od_id'], 'od_id') : '';
|
||||
|
||||
if( isset($_GET['ini_noti']) && !isset($_GET['uid']) ){
|
||||
goto_url(G5_SHOP_URL.'/orderinquiry.php');
|
||||
@ -16,11 +16,14 @@ if (!$is_member) {
|
||||
alert("직접 링크로는 주문서 조회가 불가합니다.\\n\\n주문조회 화면을 통하여 조회하시기 바랍니다.", G5_SHOP_URL);
|
||||
}
|
||||
|
||||
$tot_point = 0;
|
||||
|
||||
$sql = "select * from {$g5['g5_shop_order_table']} where od_id = '$od_id' ";
|
||||
if($is_member && !$is_admin)
|
||||
$sql .= " and mb_id = '{$member['mb_id']}' ";
|
||||
$od = sql_fetch($sql);
|
||||
if (!$od['od_id'] || (!$is_member && md5($od['od_id'].$od['od_time'].$od['od_ip']) != get_session('ss_orderview_uid'))) {
|
||||
|
||||
if (! (isset($od['od_id']) && $od['od_id']) || (!$is_member && md5($od['od_id'].$od['od_time'].$od['od_ip']) != get_session('ss_orderview_uid'))) {
|
||||
alert("조회하실 주문서가 없습니다.", G5_SHOP_URL);
|
||||
}
|
||||
|
||||
@ -765,5 +768,4 @@ function fcancel_check(f)
|
||||
</script>
|
||||
|
||||
<?php
|
||||
include_once('./_tail.php');
|
||||
?>
|
||||
include_once('./_tail.php');
|
||||
Reference in New Issue
Block a user