shop/listcategory.inc.php 를
<?
$str = "";
$exists = false;
$ca_id_len = strlen($ca_id);
$len2 = $ca_id_len + 2;
$len4 = $ca_id_len + 4;
$str .= "<tr><td width=11 background='$g4[shop_img_path]/ca_bg02.gif'></td><td>";
$sql = " select ca_id, ca_name from $g4[yc4_category_table]
where ca_id like '$ca_id%'
and length(ca_id) = $len2
and ca_use = '1'
order by ca_id ";
$result = sql_query($sql);
while ($row=sql_fetch_array($result)) {
$str .= "<a href='./list.php?ca_id=$row[ca_id]'>$row[ca_name]</a> ";
$exists = true;
}
$str .= "</td><td width=11 background='$g4[shop_img_path]/ca_bg03.gif'></td></tr>";
이런식으로 수정하시면 됩니다.
<?
$str = "";
$exists = false;
$ca_id_len = strlen($ca_id);
$len2 = $ca_id_len + 2;
$len4 = $ca_id_len + 4;
$str .= "<tr><td width=11 background='$g4[shop_img_path]/ca_bg02.gif'></td><td>";
$sql = " select ca_id, ca_name from $g4[yc4_category_table]
where ca_id like '$ca_id%'
and length(ca_id) = $len2
and ca_use = '1'
order by ca_id ";
$result = sql_query($sql);
while ($row=sql_fetch_array($result)) {
$str .= "<a href='./list.php?ca_id=$row[ca_id]'>$row[ca_name]</a> ";
$exists = true;
}
$str .= "</td><td width=11 background='$g4[shop_img_path]/ca_bg03.gif'></td></tr>";
이런식으로 수정하시면 됩니다.
게시글 목록
| 번호 | 제목 |
|---|---|
| 116 | |
| 115 | |
| 109 | |
| 107 | |
| 106 | |
| 105 | |
| 104 | |
| 103 | |
| 90 | |
| 100 | |
| 88 | |
| 85 | |
| 84 | |
| 83 | |
| 82 | |
| 72 | |
| 60 | |
| 55 | |
| 50 | |
| 45 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기