쇼핑몰: #111 인덱스 유효성 오류 관련 추가 작업
This commit is contained in:
@ -43,7 +43,6 @@ function get_image($img, $width=0, $height=0, $type='')
|
|||||||
$str .= ' id="'.$img_id.'">';
|
$str .= ' id="'.$img_id.'">';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return $str;
|
return $str;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -52,7 +51,7 @@ function get_it_image($img, $width=0, $height=0, $id="", $type='')
|
|||||||
{
|
{
|
||||||
$str = get_image($img, $width, $height, $type);
|
$str = get_image($img, $width, $height, $type);
|
||||||
if ($id) {
|
if ($id) {
|
||||||
$str = '<a href="'.G4_SHOP_URL.'/item.php?it_id='.$id.'" alt="">'.$str.'</a>';
|
$str = '<a href="'.G4_SHOP_URL.'/item.php?it_id='.$id.'">'.$str.'</a>';
|
||||||
}
|
}
|
||||||
return $str;
|
return $str;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -12,7 +12,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
|
|||||||
?>
|
?>
|
||||||
<li class="sidx_it_li <?php echo $sidx_it_last; ?>">
|
<li class="sidx_it_li <?php echo $sidx_it_last; ?>">
|
||||||
<a href="<?php echo $href; ?>" class="sidx_it_a">
|
<a href="<?php echo $href; ?>" class="sidx_it_a">
|
||||||
<span><?php echo get_it_image($row['it_id']."_s", $img_width, $img_height, $row['it_id'], $type); ?></span>
|
<span><?php echo get_it_image($row['it_id']."_s", $img_width, $img_height, '', $type); ?></span>
|
||||||
<b><?php echo stripslashes($row['it_name']); ?></b>
|
<b><?php echo stripslashes($row['it_name']); ?></b>
|
||||||
<?php echo display_amount(get_amount($row), $row['it_tel_inq']); ?>
|
<?php echo display_amount(get_amount($row), $row['it_tel_inq']); ?>
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
Reference in New Issue
Block a user