답변 2개
7년 전
|
listcategory.skin.php 소스입니다. 어느부분을 수정해줘야하는지요?
|
| 02 | if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가 |
| 03 | $str = ''; |
| 04 | $exists = false; |
| 05 | $ca_id_len = strlen($ca_id); |
| 06 | $len2 = $ca_id_len + 2; |
| 07 | $len4 = $ca_id_len + 4; |
| 08 | $sql = " select ca_id, ca_name from {$g5['g5_shop_category_table']} where ca_id like '$ca_id%' and length(ca_id) = $len2 and ca_use = '1' order by ca_order, ca_id "; |
| 09 | $result = sql_query($sql); |
| 10 | while ($row=sql_fetch_array($result)) { |
| 11 | $row2 = sql_fetch(" select count(*) as cnt from {$g5['g5_shop_item_table']} where (ca_id like '{$row['ca_id']}%' or ca_id2 like '{$row['ca_id']}%' or ca_id3 like '{$row['ca_id']}%') and it_use = '1' "); |
| 12 | $str .= ' |
| 13 | $exists = true; |
| 14 | } |
| 15 | if ($exists) { |
| 16 | // add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨 |
| 17 | add_stylesheet('', 0); |
| 18 | ?> |
| 19 |
| 20 |
| 21 | 현재 상품 분류와 관련된 분류 |
| 22 | |
| 23 |
| 24 |
| 25 |
| 26 |
| 27 |
로그인 후 평가할 수 있습니다
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인