오늘 본 상품 상품명에서 addslashes 제거
This commit is contained in:
@ -25,7 +25,7 @@ $tv_div['img_length'] = 3; // 한번에 보여줄 이미지 수
|
|||||||
$rowx = sql_fetch(" select it_name from {$g5['g5_shop_item_table']} where it_id = '$tv_it_id' ");
|
$rowx = sql_fetch(" select it_name from {$g5['g5_shop_item_table']} where it_id = '$tv_it_id' ");
|
||||||
$j = $i - 1;
|
$j = $i - 1;
|
||||||
if ($j%$tv_div['img_length']==0) $k++;
|
if ($j%$tv_div['img_length']==0) $k++;
|
||||||
$it_name = get_text(addslashes($rowx['it_name']));
|
$it_name = get_text($rowx['it_name']);
|
||||||
$img = get_it_image($tv_it_id, $tv_div['img_width'], $tv_div['img_height'], $tv_it_id);
|
$img = get_it_image($tv_it_id, $tv_div['img_width'], $tv_div['img_height'], $tv_it_id);
|
||||||
if ($i==1) echo '<ul id="stv_ul">'.PHP_EOL;
|
if ($i==1) echo '<ul id="stv_ul">'.PHP_EOL;
|
||||||
echo '<li class="stv_item c'.$k.'">'.PHP_EOL;
|
echo '<li class="stv_item c'.$k.'">'.PHP_EOL;
|
||||||
|
|||||||
Reference in New Issue
Block a user