ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • 영카트 카테메뉴
    그누보드 2020. 6. 1. 11:31

    <div id="aside">

                <?php

                $sql = " select *

                                from {$g5['g5_shop_category_table']}

                                where ca_use = '1'

                                  and length(ca_id) = '2'

                                  and substring(ca_id, 1, 2) = '".substr($ca_id, 0, 2)."'

                                order by ca_order, ca_id ";

                

                $menu1 = sql_fetch($sql);

                

                $sql2 = " select *

                                from {$g5['g5_shop_category_table']}

                                where ca_use = '1'

                                  and length(ca_id) = '4'

                                  and substring(ca_id, 1, 2) = '".substr($ca_id, 0, 2)."'

                                order by ca_order, ca_id ";

                

                $result2 = sql_query($sql2);

                

                ?>

                <link rel="stylesheet" href="<?php echo G5_URL ?>/skin/groupmenu/adffix/css/style.css">

            <section id="groupmenu" style="width:100%;padding:0px 0px;">

           

            <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">

                <tr height="60">

                      <td class="nanum-gb" valign="top" colspan='3'>

                            <!--  그룹 네임 시작 -->

                            <b><? echo $menu1['ca_name'] ?></b><br />

           

                            <!-- 그룹 네임 끝 -->

                      </td>

                </tr>

                <tr>

                    <td height="10"></td>

                </tr>

                <?php while ($caMenu = sql_fetch_array($result2)) {  ?>

                <tr>

                    <td>

                        <div id="nav1">

                            <ul>

                                <li ><a href="/shop/list.php?ca_id=<?php echo $caMenu['ca_id'] ?>" class="nanum-g" style="font-size:13px; line-height:34px; display:block;" ><?php echo $caMenu['ca_name'] ?></a></li>

                            </ul>

                        </div>

                    </td>

                </tr>

                <?php ?>

                <tr>

            </table>

            </section>

            <!-- } 메뉴 끝 -->

           

            <style>

            #nav1{text-indent:10px;}

            </style>

          </div>

     

    댓글

Designed by Tistory.