Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Commit

Permalink
잘못된 스킨 코드 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
thisgun committed Apr 3, 2019
1 parent 85a106c commit 45d949a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions skin/shop/basic/boxtodayview.skin.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@

$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, '', $it_name);
$it_price = get_price($rowx);
$print_price = is_int($it_price) ? number_format($it_price) : $it_price;

if ($tv_tot_count == 0) echo '<ul id="stv_ul">'.PHP_EOL;
echo '<li class="stv_item c'.$k.'">'.PHP_EOL;
Expand All @@ -44,9 +46,9 @@
echo cut_str($it_name, 10, '').PHP_EOL;
echo '</div>';
echo '<div class="prd_cost">';
echo number_format(get_price($rowx)).PHP_EOL;
echo $print_price.PHP_EOL;
echo '</div>'.PHP_EOL;
echo '</li>'.PHP_EOL;
echo '</li>'.PHP_EOL;

$tv_tot_count++;
$i++;
Expand Down
6 changes: 4 additions & 2 deletions theme/basic/skin/shop/basic/boxtodayview.skin.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@

$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, '', $it_name);
$it_price = get_price($rowx);
$print_price = is_int($it_price) ? number_format($it_price) : $it_price;

if ($tv_tot_count == 0) echo '<ul id="stv_ul">'.PHP_EOL;
echo '<li class="stv_item c'.$k.'">'.PHP_EOL;
Expand All @@ -44,9 +46,9 @@
echo cut_str($it_name, 10, '').PHP_EOL;
echo '</div>';
echo '<div class="prd_cost">';
echo number_format(get_price($rowx)).PHP_EOL;
echo $print_price.PHP_EOL;
echo '</div>'.PHP_EOL;
echo '</li>'.PHP_EOL;
echo '</li>'.PHP_EOL;

$tv_tot_count++;
$i++;
Expand Down

0 comments on commit 45d949a

Please sign in to comment.