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>";
이런식으로 수정하시면 됩니다.
게시글 목록
| 번호 | 제목 |
|---|---|
| 380 | |
| 360 | |
| 349 | |
| 331 | |
| 323 | |
| 318 | |
| 317 | |
| 316 | |
| 310 | |
| 301 | |
| 296 | |
| 287 | |
| 282 | |
| 275 | |
| 272 | |
| 252 | |
| 243 | |
| 240 | |
| 199 | |
| 161 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기