채택완료

가격나오는 곳 앞에 $라고 넣고 싶은데요...

2014-10-25 (토) 05:25:49 4,009

list.10.skin.php 에서

가격나오는 곳에 가격 앞에 혹은 다른 이미지를 넣고 싶은데 어느곳에 넣어야 할지 모르겠습니다.

if ($this->view_it_cust_price || $this->view_it_price) {

    }

        if ($this->view_it_cust_price && $row['it_cust_price']) {
            echo "<strike>".display_price($row['it_cust_price'])."</strike>\n";
        }

        if ($this->view_it_price) {
            echo display_price(get_price($row), $row['it_tel_inq'])."\n";
        }

        echo "</div>\n";

    }​

위의 부분인것 같은데요. . 좀 도와주시면 감사하겠습니다.

|

답변 1개

채택된 답변
+20 포인트
2014-10-25 (토) 11:30:58
Copy
if ($this->view_it_cust_price || $this->view_it_price) {    }        if ($this->view_it_cust_price && $row['it_cust_price']) {            echo "<strike>$ ".display_price($row['it_cust_price'])."</strike>\n";        }        if ($this->view_it_price) {            echo "$ ".display_price(get_price($row), $row['it_tel_inq'])."\n";        }        echo "</div>\n";    }​
 

답변을 작성하려면 로그인이 필요합니다.