[YC4] 카테고리 중분류 이미지 적용하기 > 기술자료 | 해피정닷컴

[YC4] 카테고리 중분류 이미지 적용하기 > 기술자료

본문 바로가기

사이트 내 전체검색

[YC4] 카테고리 중분류 이미지 적용하기 > 기술자료

영카트 [YC4] 카테고리 중분류 이미지 적용하기

페이지 정보


본문



shop/listcategory3.inc.php  수정


$str .= "<tr><td width=11 background='$g4[shop_img_path]/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))
        $span = "<span style='font-weight:bold; color:red'>";
    else
        $span = "<span>";
    $str .= "<a href='./list.php?ca_id=$row[ca_id]'>{$span}$row[ca_name]</span></a> &nbsp; ";
    $exists = true;
}
$str .= "</td></tr></table></td><td width=11 background='$g4[shop_img_path]/ca_bg03.gif'></td>";

if ($exists) {
    echo "
    <br>
    <table width=98% cellpadding=0 cellspacing=0 align=center border=0>
    <colgroup width=11>
    <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>
    </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>
    </tr>
    </table><br>";
}

를 아래와 같이 수정


$str .= "<tr><td><table width=100% border=0><tr><td bgcolor=#ffffff style='padding:10px;'>";
while ($row=sql_fetch_array($result)) {
    if (preg_match("/^$row[ca_id]/", $ca_id))
        $span = "<span style='font-weight:bold; color:red'>";
    else
        $span = "<span style='font-weight:bold;'>";
    $str .= "<a href='./list.php?ca_id=$row[ca_id]'>{$span}$row[ca_name]</span></a> &nbsp; ";
    $exists = true;
}
$str .= "</td></tr></table></td>";

if ($exists) {
    echo "
    <br>
    <table width=98% cellpadding=0 cellspacing=5 align=center border=0 bgcolor=#c4e8b5>
    <tr>
        <td><img src='$g4[shop_img_path]/ca_title.gif'></td>
    </tr>
    $str
    </table><br>";
}

 

댓글목록

등록된 댓글이 없습니다.


Total 2,644건 90 페이지
  • RSS
기술자료 목록
열람
영카트   10935  2010-02-27 22:24  
863
영카트   11721  2010-02-23 18:47  
862
영카트   12963  2010-02-18 23:41  
861
영카트   11044  2010-02-11 11:29  
860
영카트   10270  2010-02-10 23:57  
859
영카트   10775  2010-02-10 22:38  
858
Linux   17251  2010-01-31 10:17  
857
WindowsServer   18152  2010-01-15 11:58  
856
Linux   15529  2010-01-15 11:55  
855
MSSQL   14571  2010-01-15 11:47  
854
ClassicASP   16562  2010-01-07 22:55 ~ 2010-03-15 00:00  
853
ClassicASP   25924  2010-01-04 03:34 ~ 2018-03-24 04:08  
852
WindowsServer   24977  2010-01-03 14:54 ~ 2016-02-22 00:00  
851
etc쇼핑몰   13447  2009-12-23 21:17 ~ 2021-05-28 15:29  
850
WindowsServer   21513  2009-12-20 08:59  
849
호스팅   13997  2009-12-15 19:04  
848
WindowsServer   15589  2009-12-12 12:41  
847
WindowsServer   15854  2009-12-12 12:33 ~ 2009-12-19 00:00  
846
MySQL   16535  2009-12-09 22:47  
845
MySQL   13523  2009-12-09 22:32  

검색

해피정닷컴 정보

회사소개 회사연혁 협력사 오시는길 서비스 이용약관 개인정보 처리방침

회사명: 해피정닷컴   대표: 정창용   전화: 070-7600-3500   팩스: 042-670-8272
주소: (34368) 대전시 대덕구 대화로 160 대전산업용재유통단지 1동 222호
개인정보보호책임자: 정창용   사업자번호: 119-05-36414
통신판매업신고: 제2024-대전대덕-0405호 [사업자등록확인]  
Copyright 2001~2025 해피정닷컴. All Rights Reserved.