#319 it_explan_strip_tags 추가 및 it_explan_html 삭제
This commit is contained in:
@ -73,7 +73,7 @@ if($_FILES['excelfile']['tmp_name']) {
|
||||
$comma = '';
|
||||
|
||||
$sql = " INSERT INTO {$g5['g5_shop_item_table']}
|
||||
( it_id, ca_id, ca_id2, ca_id3, it_name, it_maker, it_origin, it_brand, it_model, it_type1, it_type2, it_type3, it_type4, it_type5, it_basic, it_explan, it_mobile_explan, it_explan_html, it_cust_price, it_price, it_point, it_sell_email, it_use, it_stock_qty, it_time, it_ip, it_order, it_tel_inq, it_img1, it_img2, it_img3, it_img4, it_img5, it_img6, it_img7, it_img8, it_img9, it_img10 )
|
||||
( it_id, ca_id, ca_id2, ca_id3, it_name, it_maker, it_origin, it_brand, it_model, it_type1, it_type2, it_type3, it_type4, it_type5, it_basic, it_explan, it_mobile_explan, it_cust_price, it_price, it_point, it_sell_email, it_use, it_stock_qty, it_time, it_ip, it_order, it_tel_inq, it_img1, it_img2, it_img3, it_img4, it_img5, it_img6, it_img7, it_img8, it_img9, it_img10 )
|
||||
VALUES ";
|
||||
|
||||
for ($i = 3; $i <= $data->sheets[0]['numRows']; $i++) {
|
||||
|
||||
@ -59,13 +59,6 @@ else
|
||||
alert();
|
||||
}
|
||||
|
||||
if (!$it['it_explan_html'])
|
||||
{
|
||||
$it['it_explan'] = get_text($it['it_explan'], 1);
|
||||
}
|
||||
|
||||
//$qstr1 = 'sel_ca_id='.$sel_ca_id.'&sel_field='.$sel_field.'&search='.$search;
|
||||
//$qstr = $qstr1.'&sort1='.$sort1.'&sort2='.$sort2.'&page='.$page;
|
||||
$qstr = $qstr.'&sca='.$sca.'&page='.$page;
|
||||
|
||||
$g5['title'] = $html_title;
|
||||
@ -114,18 +107,12 @@ $pg_anchor ='<ul class="anchor">
|
||||
|
||||
<input type="hidden" name="codedup" value="<?php echo $default['de_code_dup_use']; ?>">
|
||||
<input type="hidden" name="w" value="<?php echo $w; ?>">
|
||||
<!-- <input type="hidden" name="sel_ca_id" value="<?php echo $sel_ca_id; ?>">
|
||||
<input type="hidden" name="sel_field" value="<?php echo $sel_field; ?>">
|
||||
<input type="hidden" name="search" value="<?php echo $search; ?>">
|
||||
<input type="hidden" name="sort1" value="<?php echo $sort1; ?>">
|
||||
<input type="hidden" name="sort2" value="<?php echo $sort2; ?>"> -->
|
||||
<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; ?>">
|
||||
<input type="hidden" name="it_explan_html" value="1"><!---->
|
||||
|
||||
<section id="anc_sitfrm_cate">
|
||||
<h2 class="h2_frm">상품분류</h2>
|
||||
@ -1613,7 +1600,6 @@ function categorychange(f)
|
||||
if (f.w.value == "" && idx)
|
||||
{
|
||||
f.it_use.checked = ca_use[idx] ? true : false;
|
||||
//f.it_explan_html[ca_explan_html[idx]].checked = true;
|
||||
f.it_stock_qty.value = ca_stock_qty[idx];
|
||||
f.it_sell_email.value = ca_sell_email[idx];
|
||||
}
|
||||
|
||||
@ -260,6 +260,8 @@ $it_name = strip_tags(trim($_POST['it_name']));
|
||||
if ($it_name == "")
|
||||
alert("상품명을 입력해 주십시오.");
|
||||
|
||||
$it_explan_strip_tags = strip_tags(trim($_POST['it_explan']));
|
||||
|
||||
$sql_common = " ca_id = '$ca_id',
|
||||
ca_id2 = '$ca_id2',
|
||||
ca_id3 = '$ca_id3',
|
||||
@ -278,7 +280,7 @@ $sql_common = " ca_id = '$ca_id',
|
||||
it_type5 = '$it_type5',
|
||||
it_basic = '$it_basic',
|
||||
it_explan = '$it_explan',
|
||||
it_explan_html = '$it_explan_html',
|
||||
it_explan_strip_tags= '$it_explan_strip_tags',
|
||||
it_mobile_explan = '$it_mobile_explan',
|
||||
it_cust_price = '$it_cust_price',
|
||||
it_price = '$it_price',
|
||||
|
||||
@ -426,8 +426,8 @@ CREATE TABLE IF NOT EXISTS `g5_shop_item` (
|
||||
`it_type5` tinyint(4) NOT NULL DEFAULT '0',
|
||||
`it_basic` text NOT NULL,
|
||||
`it_explan` mediumtext NOT NULL,
|
||||
`it_explan_strip_tags` mediumtext NOT NULL,
|
||||
`it_mobile_explan` mediumtext NOT NULL,
|
||||
`it_explan_html` tinyint(4) NOT NULL DEFAULT '0',
|
||||
`it_cust_price` int(11) NOT NULL DEFAULT '0',
|
||||
`it_price` int(11) NOT NULL DEFAULT '0',
|
||||
`it_point` int(11) NOT NULL DEFAULT '0',
|
||||
|
||||
Reference in New Issue
Block a user