모바일 상품명 필드 삭제

This commit is contained in:
chicpro
2014-04-14 10:40:44 +09:00
parent ed34e9a71f
commit 7ba24f83c0
7 changed files with 5 additions and 20 deletions

View File

@ -85,7 +85,6 @@ if($_FILES['excelfile']['tmp_name']) {
$ca_id2 = addslashes($data->sheets[0]['cells'][$i][$j++]);
$ca_id3 = addslashes($data->sheets[0]['cells'][$i][$j++]);
$it_name = addslashes($data->sheets[0]['cells'][$i][$j++]);
$it_mobile_name = addslashes($data->sheets[0]['cells'][$i][$j++]);
$it_maker = addslashes($data->sheets[0]['cells'][$i][$j++]);
$it_origin = addslashes($data->sheets[0]['cells'][$i][$j++]);
$it_brand = addslashes($data->sheets[0]['cells'][$i][$j++]);
@ -121,6 +120,7 @@ if($_FILES['excelfile']['tmp_name']) {
$it_img8 = addslashes($data->sheets[0]['cells'][$i][$j++]);
$it_img9 = addslashes($data->sheets[0]['cells'][$i][$j++]);
$it_img10 = addslashes($data->sheets[0]['cells'][$i][$j++]);
$it_explan2 = strip_tags(trim($it_explan));
if(!$it_id || !$ca_id || !$it_name) {
$fail_count++;
@ -153,7 +153,6 @@ if($_FILES['excelfile']['tmp_name']) {
ca_id2 = '$ca_id2',
ca_id3 = '$ca_id3',
it_name = '$it_name',
it_mobile_name = '$it_mobile_name',
it_maker = '$it_maker',
it_origin = '$it_origin',
it_brand = '$it_brand',
@ -165,6 +164,7 @@ if($_FILES['excelfile']['tmp_name']) {
it_type5 = '$it_type5',
it_basic = '$it_basic',
it_explan = '$it_explan',
it_explan2 = '$it_explan2',
it_mobile_explan = '$it_mobile_explan',
it_cust_price = '$it_cust_price',
it_price = '$it_price',

View File

@ -316,13 +316,6 @@ if(!sql_query(" select it_skin from {$g5['g5_shop_item_table']} limit 1", false)
<label for="chk_all_it_basic">전체적용</label>
</td>
</tr>
<tr>
<th scope="row"><label for="it_mobile_name">모바일 상품명</label></th>
<td colspan="2">
<?php echo help("모바일에서 보여지는 상품명이 다른 경우에 입력합니다. 입력이 없으면 기본 상품명이 출력됩니다."); ?>
<input type="text" name="it_mobile_name" value="<?php echo get_text(cut_str($it['it_mobile_name'], 250, "")); ?>" id="it_mobile_name" class="frm_input">
</td>
</tr>
<tr>
<th scope="row"><label for="it_order">출력순서</label></th>
<td>

View File

@ -269,7 +269,6 @@ $sql_common = " ca_id = '$ca_id',
it_skin = '$it_skin',
it_mobile_skin = '$it_mobile_skin',
it_name = '$it_name',
it_mobile_name = '$it_mobile_name',
it_maker = '$it_maker',
it_origin = '$it_origin',
it_brand = '$it_brand',

View File

@ -163,13 +163,12 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
</tr>
<tr>
<th scope="col" rowspan="2" id="th_img">이미지</th>
<th scope="col" id="th_pc_title"><?php echo subject_sort_link('it_name', 'sca='.$sca); ?>PC 상품명</a></th>
<th scope="col" rowspan="2" id="th_pc_title"><?php echo subject_sort_link('it_name', 'sca='.$sca); ?>상품명</a></th>
<th scope="col" id="th_amt"><?php echo subject_sort_link('it_price', 'sca='.$sca); ?>판매가격</a></th>
<th scope="col" id="th_camt"><?php echo subject_sort_link('it_cust_price', 'sca='.$sca); ?>시중가격</a></th>
<th scope="col" id="th_skin">PC스킨</th>
</tr>
<tr>
<th scope="col" id="th_mo_title">모바일 상품명</th>
<th scope="col" id="th_pt"><?php echo subject_sort_link('it_point', 'sca='.$sca); ?>포인트</a></th>
<th scope="col" id="th_qty"><?php echo subject_sort_link('it_stock_qty', 'sca='.$sca); ?>재고</a></th>
<th scope="col" id="th_mskin">모바일스킨</th>
@ -231,8 +230,8 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
</tr>
<tr class="<?php echo $bg; ?>">
<td rowspan="2" class="td_img"><a href="<?php echo $href; ?>"><?php echo get_it_image($row['it_id'], 50, 50); ?></a></td>
<td headers="th_pc_title" class="td_input">
<label for="name_<?php echo $i; ?>" class="sound_only">PC 상품명</label>
<td headers="th_pc_title" rowspan="2" class="td_input">
<label for="name_<?php echo $i; ?>" class="sound_only">상품명</label>
<input type="text" name="it_name[<?php echo $i; ?>]" value="<?php echo htmlspecialchars2(cut_str($row['it_name'],250, "")); ?>" id="name_<?php echo $i; ?>" required class="frm_input required" size="30">
</td>
<td headers="th_amt" class="td_numbig td_input">
@ -251,10 +250,6 @@ $listall = '<a href="'.$_SERVER['PHP_SELF'].'" class="ov_listall">전체목록</
</td>
</tr>
<tr class="<?php echo $bg; ?>">
<td headers="th_mo_title" class="td_input">
<label for="mobile_name_<?php echo $i; ?>" class="sound_only">모바일 상품명</label>
<input type="text" name="it_mobile_name[<?php echo $i; ?>]" value="<?php echo htmlspecialchars2(cut_str($row['it_mobile_name'],250, "")); ?>" id="mobile_name_<?php echo $i; ?>" class="frm_input" size="30">
</td>
<td headers="th_pt" class="td_numbig td_input"><?php echo $it_point; ?></td>
<td headers="th_qty" class="td_numbig td_input">
<label for="stock_qty_<?php echo $i; ?>" class="sound_only">재고</label>

View File

@ -22,7 +22,6 @@ if ($_POST['act_button'] == "선택수정") {
ca_id2 = '{$_POST['ca_id2'][$k]}',
ca_id3 = '{$_POST['ca_id3'][$k]}',
it_name = '{$_POST['it_name'][$k]}',
it_mobile_name = '{$_POST['it_mobile_name'][$k]}',
it_cust_price = '{$_POST['it_cust_price'][$k]}',
it_price = '{$_POST['it_price'][$k]}',
it_stock_qty = '{$_POST['it_stock_qty'][$k]}',

View File

@ -369,7 +369,6 @@ CREATE TABLE IF NOT EXISTS `g5_shop_item` (
`it_skin` varchar(255) NOT NULL DEFAULT '',
`it_mobile_skin` varchar(255) NOT NULL DEFAULT '',
`it_name` varchar(255) NOT NULL DEFAULT '',
`it_mobile_name` varchar(255) NOT NULL DEFAULT '',
`it_maker` varchar(255) NOT NULL DEFAULT '',
`it_origin` varchar(255) NOT NULL DEFAULT '',
`it_brand` varchar(255) NOT NULL DEFAULT '',

Binary file not shown.