G4 경로 수정
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
<?
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<br>
|
||||
@ -21,7 +21,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan="2" background='<? echo "$g4[shop_img_path]/line_h.gif" ?>' height=1></td></tr>
|
||||
<tr><td colspan="2" background='<? echo G4_SHOP_IMG_URL."/line_h.gif" ?>' height=1></td></tr>
|
||||
</table>
|
||||
|
||||
<script language='JavaScript'>
|
||||
|
||||
@ -22,8 +22,8 @@ if (!$exists) {
|
||||
and length(ca_id) = $len4 ";
|
||||
$row = sql_fetch($sql);
|
||||
$cnt = $row['cnt'];
|
||||
if (!$cnt)
|
||||
$str .= "<tr><td width=11 background='$g4[shop_img_path]/ca_bg02.gif'></td><td>";
|
||||
if (!$cnt)
|
||||
$str .= "<tr><td width=11 background='".G4_SHOP_IMG_URL."/ca_bg02.gif'></td><td>";
|
||||
|
||||
$sql = " select ca_id, ca_name from $g4[yc4_category_table]
|
||||
where ca_id like '$tmp_ca_id%'
|
||||
@ -36,7 +36,7 @@ if (!$exists) {
|
||||
$style = " class='accent' ";
|
||||
|
||||
if ($cnt) {
|
||||
$str .= "<tr><td width=11 background='$g4[shop_img_path]/ca_bg02.gif'></td>";
|
||||
$str .= "<tr><td width=11 background='".G4_SHOP_IMG_URL."/ca_bg02.gif'></td>";
|
||||
$str .= "<td><table width=100% border=0><tr><td width=120><b>· <a href='./list.php?ca_id=$row[ca_id]'><span $style>$row[ca_name]</span></a></b></td>";
|
||||
$sql2 = " select ca_id, ca_name from $g4[yc4_category_table]
|
||||
where ca_id like '$row[ca_id]%'
|
||||
@ -51,15 +51,15 @@ if (!$exists) {
|
||||
$k++;
|
||||
}
|
||||
//if (!$k) $str .= "<td></td><td>";
|
||||
$str .= "</td></tr></table></td><td width=11 background='$g4[shop_img_path]/ca_bg03.gif'></td>";
|
||||
$str .= "</td></tr></table></td><td width=11 background='".G4_SHOP_IMG_URL."/ca_bg03.gif'></td>";
|
||||
} else {
|
||||
$str .= "<a href='./list.php?ca_id=$row[ca_id]'><span $style>$row[ca_name]</span></a> ";
|
||||
}
|
||||
$exists = true;
|
||||
}
|
||||
|
||||
if (!$cnt)
|
||||
$str .= "</td><td width=11 background='$g4[shop_img_path]/ca_bg03.gif'></td></tr>";
|
||||
if (!$cnt)
|
||||
$str .= "</td><td width=11 background='".G4_SHOP_IMG_URL."/ca_bg03.gif'></td></tr>";
|
||||
}
|
||||
|
||||
|
||||
@ -71,15 +71,15 @@ if ($exists) {
|
||||
<colgroup width=''>
|
||||
<colgroup width=11>
|
||||
<tr>
|
||||
<td width=11><img src='$g4[shop_img_path]/ca_box01.gif'></td>
|
||||
<td background='$g4[shop_img_path]/ca_bg01.gif'></td>
|
||||
<td width=11><img src='$g4[shop_img_path]/ca_box02.gif'></td>
|
||||
<td width=11><img src='".G4_SHOP_IMG_URL."/ca_box01.gif'></td>
|
||||
<td background='".G4_SHOP_IMG_URL."/ca_bg01.gif'></td>
|
||||
<td width=11><img src='".G4_SHOP_IMG_URL."/ca_box02.gif'></td>
|
||||
</tr>
|
||||
$str
|
||||
<tr>
|
||||
<td width=11><img src='$g4[shop_img_path]/ca_box03.gif'></td>
|
||||
<td background='$g4[shop_img_path]/ca_bg04.gif'></td>
|
||||
<td width=11><img src='$g4[shop_img_path]/ca_box04.gif'></td>
|
||||
<td width=11><img src='".G4_SHOP_IMG_URL."/ca_box03.gif'></td>
|
||||
<td background='".G4_SHOP_IMG_URL."/ca_bg04.gif'></td>
|
||||
<td width=11><img src='".G4_SHOP_IMG_URL."/ca_box04.gif'></td>
|
||||
</tr>
|
||||
</table><br>";
|
||||
}
|
||||
|
||||
@ -10,7 +10,7 @@ $sql = " select ca_id, ca_name from $g4[yc4_category_table]
|
||||
and ca_use = '1'
|
||||
order by ca_id ";
|
||||
$result = sql_query($sql);
|
||||
$str .= "<tr><td width=11 background='$g4[shop_img_path]/ca_bg02.gif'></td>";
|
||||
$str .= "<tr><td width=11 background='".G4_SHOP_IMG_URL."/ca_bg02.gif'></td>";
|
||||
$str .= "<td><table width=100% border=0><tr><td>";
|
||||
while ($row=sql_fetch_array($result)) {
|
||||
if (preg_match("/^$row[ca_id]/", $ca_id))
|
||||
@ -20,7 +20,7 @@ while ($row=sql_fetch_array($result)) {
|
||||
$str .= "<a href='./list.php?ca_id=$row[ca_id]'>{$span}$row[ca_name]</span></a> ";
|
||||
$exists = true;
|
||||
}
|
||||
$str .= "</td></tr></table></td><td width=11 background='$g4[shop_img_path]/ca_bg03.gif'></td>";
|
||||
$str .= "</td></tr></table></td><td width=11 background='".G4_SHOP_IMG_URL."/ca_bg03.gif'></td>";
|
||||
|
||||
if ($exists) {
|
||||
echo "
|
||||
@ -30,15 +30,15 @@ if ($exists) {
|
||||
<colgroup width=''>
|
||||
<colgroup width=11>
|
||||
<tr>
|
||||
<td width=11><img src='$g4[shop_img_path]/ca_box01.gif'></td>
|
||||
<td background='$g4[shop_img_path]/ca_bg01.gif'></td>
|
||||
<td width=11><img src='$g4[shop_img_path]/ca_box02.gif'></td>
|
||||
<td width=11><img src='".G4_SHOP_IMG_URL."/ca_box01.gif'></td>
|
||||
<td background='".G4_SHOP_IMG_URL."/ca_bg01.gif'></td>
|
||||
<td width=11><img src='".G4_SHOP_IMG_URL."/ca_box02.gif'></td>
|
||||
</tr>
|
||||
$str
|
||||
<tr>
|
||||
<td width=11><img src='$g4[shop_img_path]/ca_box03.gif'></td>
|
||||
<td background='$g4[shop_img_path]/ca_bg04.gif'></td>
|
||||
<td width=11><img src='$g4[shop_img_path]/ca_box04.gif'></td>
|
||||
<td width=11><img src='".G4_SHOP_IMG_URL."/ca_box03.gif'></td>
|
||||
<td background='".G4_SHOP_IMG_URL."/ca_bg04.gif'></td>
|
||||
<td width=11><img src='".G4_SHOP_IMG_URL."/ca_box04.gif'></td>
|
||||
</tr>
|
||||
</table><br>";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user