Merge branch 'boan3'
This commit is contained in:
@ -4,6 +4,8 @@ include_once('./_common.php');
|
||||
|
||||
auth_check($auth[$sub_menu], "w");
|
||||
|
||||
$bn_id = preg_replace('/[^0-9]/', '', $bn_id);
|
||||
|
||||
$html_title = '배너';
|
||||
$g5['title'] = $html_title.'관리';
|
||||
|
||||
|
||||
@ -5,6 +5,8 @@ include_once(G5_EDITOR_LIB);
|
||||
|
||||
auth_check($auth[$sub_menu], "w");
|
||||
|
||||
$ev_id = preg_replace('/[^0-9]/', '', $ev_id);
|
||||
|
||||
$html_title = "이벤트";
|
||||
$g5['title'] = $html_title.' 관리';
|
||||
|
||||
|
||||
@ -4,6 +4,12 @@ include_once('./_common.php');
|
||||
|
||||
auth_check($auth[$sub_menu], "r");
|
||||
|
||||
$ev_id = preg_replace('/[^0-9]/', '', $ev_id);
|
||||
$sort1 = strip_tags($sort1);
|
||||
$sel_field = strip_tags($sel_field);
|
||||
$sel_ca_id = get_search_string($sel_ca_id);
|
||||
$search = get_search_string($search);
|
||||
|
||||
$g5['title'] = '이벤트일괄처리';
|
||||
include_once (G5_ADMIN_PATH.'/admin.head.php');
|
||||
|
||||
@ -42,7 +48,7 @@ if (!$sort1) {
|
||||
$sort1 = "b.ev_id";
|
||||
}
|
||||
|
||||
if (!$sort2) {
|
||||
if (!$sort2 || $sort2 != "asc") {
|
||||
$sort2 = "desc";
|
||||
}
|
||||
|
||||
|
||||
@ -11,7 +11,10 @@ include_once(G5_PLUGIN_PATH.'/jquery-ui/datepicker.php');
|
||||
if (!$to_date) $to_date = date("Ymd", time());
|
||||
|
||||
if ($sort1 == "") $sort1 = "ct_status_sum";
|
||||
if ($sort2 == "") $sort2 = "desc";
|
||||
if ($sort2 == "" || $sort2 != "asc") $sort2 = "desc";
|
||||
|
||||
$doc = strip_tags($doc);
|
||||
$sort1 = strip_tags($sort1);
|
||||
|
||||
$sql = " select a.it_id,
|
||||
b.*,
|
||||
|
||||
@ -4,6 +4,13 @@ include_once('./_common.php');
|
||||
|
||||
auth_check($auth[$sub_menu], "r");
|
||||
|
||||
$doc = strip_tags($doc);
|
||||
$sort1 = strip_tags($sort1);
|
||||
$sort2 = in_array($sort2, array('desc', 'asc')) ? $sort2 : 'desc';
|
||||
$sel_ca_id = get_search_string($sel_ca_id);
|
||||
$sel_field = get_search_string($sel_field);
|
||||
$search = get_search_string($search);
|
||||
|
||||
$g5['title'] = '상품재고관리';
|
||||
include_once (G5_ADMIN_PATH.'/admin.head.php');
|
||||
|
||||
|
||||
@ -33,7 +33,12 @@ if ($search != "") {
|
||||
|
||||
if ($sel_field == "") $sel_field = "it_it";
|
||||
if ($sort1 == "") $sort1 = "ss_send";
|
||||
if ($sort2 == "") $sort2 = "asc";
|
||||
if ($sort2 == "" || $sort2 != "desc") $sort2 = "asc";
|
||||
|
||||
$doc = strip_tags($doc);
|
||||
$sort1 = strip_tags($sort1);
|
||||
$sel_field = strip_tags($sel_field);
|
||||
$search = get_search_string($search);
|
||||
|
||||
$sql_common = " from {$g5['g5_shop_item_stocksms_table']} ";
|
||||
|
||||
|
||||
@ -4,6 +4,8 @@ include_once('./_common.php');
|
||||
|
||||
auth_check($auth[$sub_menu], "r");
|
||||
|
||||
$doc = strip_tags($doc);
|
||||
|
||||
$g5['title'] = '상품유형관리';
|
||||
include_once (G5_ADMIN_PATH.'/admin.head.php');
|
||||
|
||||
|
||||
@ -4,6 +4,13 @@ include_once('./_common.php');
|
||||
|
||||
auth_check($auth[$sub_menu], "r");
|
||||
|
||||
$doc = strip_tags($doc);
|
||||
$sort1 = strip_tags($sort1);
|
||||
$sort2 = in_array($sort2, array('desc', 'asc')) ? $sort2 : 'desc';
|
||||
$sel_ca_id = get_search_string($sel_ca_id);
|
||||
$sel_field = get_search_string($sel_field);
|
||||
$search = get_search_string($search);
|
||||
|
||||
$g5['title'] = '상품옵션재고관리';
|
||||
include_once (G5_ADMIN_PATH.'/admin.head.php');
|
||||
|
||||
|
||||
@ -10,6 +10,15 @@ include_once(G5_PLUGIN_PATH.'/jquery-ui/datepicker.php');
|
||||
|
||||
$where = array();
|
||||
|
||||
$doc = strip_tags($doc);
|
||||
$sort1 = strip_tags($sort1);
|
||||
$sort2 = in_array($sort2, array('desc', 'asc')) ? $sort2 : 'desc';
|
||||
$sel_field = get_search_string($sel_field);
|
||||
$od_status = get_search_string($od_status);
|
||||
$search = get_search_string($search);
|
||||
if(! preg_match("/^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$/", $fr_date) ) $fr_date = '';
|
||||
if(! preg_match("/^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$/", $to_date) ) $to_date = '';
|
||||
|
||||
$sql_search = "";
|
||||
if ($search != "") {
|
||||
if ($sel_field != "") {
|
||||
|
||||
@ -10,8 +10,15 @@ include_once(G5_PLUGIN_PATH.'/jquery-ui/datepicker.php');
|
||||
|
||||
if (!$to_date) $to_date = date("Ymd", time());
|
||||
|
||||
$doc = strip_tags($doc);
|
||||
$sort1 = strip_tags($sort1);
|
||||
$sel_ca_id = get_search_string($sel_ca_id);
|
||||
|
||||
if( preg_match("/[^0-9]/", $fr_date) ) $fr_date = '';
|
||||
if( preg_match("/[^0-9]/", $to_date) ) $to_date = '';
|
||||
|
||||
if ($sort1 == "") $sort1 = "it_id_cnt";
|
||||
if ($sort2 == "") $sort2 = "desc";
|
||||
if ($sort2 == "" || $sort2 != "asc") $sort2 = "desc";
|
||||
|
||||
$sql = " select a.it_id,
|
||||
b.it_name,
|
||||
|
||||
@ -13,8 +13,8 @@ if (!$is_member) {
|
||||
}
|
||||
|
||||
$w = trim($_REQUEST['w']);
|
||||
$it_id = trim($_REQUEST['it_id']);
|
||||
$iq_id = trim($_REQUEST['iq_id']);
|
||||
$it_id = get_search_string(trim($_REQUEST['it_id']));
|
||||
$iq_id = preg_replace('/[^0-9]/', '', trim($_REQUEST['iq_id']));
|
||||
|
||||
// 상품정보체크
|
||||
$sql = " select it_id from {$g5['g5_shop_item_table']} where it_id = '$it_id' ";
|
||||
|
||||
@ -12,7 +12,7 @@ $iq_answer = trim($_POST['iq_answer']);
|
||||
$hash = trim($_REQUEST['hash']);
|
||||
|
||||
if ($w == "" || $w == "u") {
|
||||
$iq_name = addslashes($member['mb_name']);
|
||||
$iq_name = addslashes(strip_tags($member['mb_name']));
|
||||
$iq_password = $member['mb_password'];
|
||||
|
||||
if (!$iq_subject) alert("제목을 입력하여 주십시오.");
|
||||
|
||||
@ -13,8 +13,8 @@ if (!$is_member) {
|
||||
}
|
||||
|
||||
$w = trim($_REQUEST['w']);
|
||||
$it_id = trim($_REQUEST['it_id']);
|
||||
$is_id = trim($_REQUEST['is_id']);
|
||||
$it_id = get_search_string(trim($_REQUEST['it_id']));
|
||||
$is_id = preg_replace('/[^0-9]/', '', trim($_REQUEST['is_id']));
|
||||
|
||||
// 상품정보체크
|
||||
$sql = " select it_id from {$g5['g5_shop_item_table']} where it_id = '$it_id' ";
|
||||
|
||||
@ -16,7 +16,7 @@ $is_score = (int)$_POST['is_score'] > 5 ? 0 : (int)$_POST['is_score'];
|
||||
check_itemuse_write($it_id, $member['mb_id']);
|
||||
|
||||
if ($w == "" || $w == "u") {
|
||||
$is_name = addslashes($member['mb_name']);
|
||||
$is_name = addslashes(strip_tags($member['mb_name']));
|
||||
$is_password = $member['mb_password'];
|
||||
|
||||
if (!$is_subject) alert("제목을 입력하여 주십시오.");
|
||||
|
||||
Reference in New Issue
Block a user