이전 목록 다음
미채택 완료

몇일전 같은질문드렸는데요...일단 반은 성공했는데요..

메인에 있는 최신 추천등등 의 리스트들을 각각의 카테고리에 나오도록 설정했습니다

그런데..관리자 페이지에서 최신추천등등상품리스트를 안보이게 체크헤재하면...당연히 각 카테고리에서도 안나옵니다 그런데...제가 하고십은것은..

메인과 별게로 ...따로 관리자 페이지에 체크및설정란을 만들어서 관리하고십은데요

관리자페이지에 나오는것까진 성공...했습니다..그런데...이걸...체크하고 확인을누르면...저장이

되질안습니다...그래서 configformupdate.php 과 configform.php 과 shop/listtype.php 과shop/list.php 파일들을 손봤거든요...

여기까진 앞서 말씀드린것이고...

제가 현제 조취한것은....어찌어찌 간신히...MySQL건드려서 관리화면에서...노출 비노출까진....

성공..?? 했습니다..그런데.....ㅠㅠ 저렇게 하기전엔...상품들이...잘.나왔거든요...그런데...지금은...상품 노출이...되지않고있어요...어찌....하면..좋은까요..???

작은별님....혹시....아세요..?? 아님....다른 고수님들.....혹시..아시면...도움 좀 부탁드릴께요...ㅠㅠ 

configform.php 중 빨간부분 추가...했구요

Copy
<?php echo preg_replace('#</div>$#i', '<button type="button" class="get_shop_skin">테마 스킨설정 가져오기</button></div>', $frm_submit); ?> <section id="anc_scf_index">    <h2 class="h2_frm">쇼핑몰 초기화면</h2>    <?php echo $pg_anchor; ?>    <div class="local_desc02 local_desc">        <p>            상품관리에서 선택한 상품의 타입대로 쇼핑몰 초기화면에 출력합니다. (상품 타입 히트/추천/최신/인기/할인)<br>            각 타입별로 선택된 상품이 없으면 쇼핑몰 초기화면에 출력하지 않습니다.        </p>    </div>     <div class="tbl_frm01 tbl_wrap">        <table>        <caption>쇼핑몰 초기화면 설정</caption>        <colgroup>            <col class="grid_4">            <col>        </colgroup>        <tbody>        <tr>            <th scope="row">히트상품출력</th>            <td>                <label for="de_type1_list_use">출력</label>                <input type="checkbox" name="de_type1_list_use" value="1" id="de_type1_list_use" <?php echo $default['de_type1_list_use']?"checked":""; ?>>                <label for="de_type1_list_skin">스킨</label>                <select name="de_type1_list_skin" id="de_type1_list_skin">                    <?php echo get_list_skin_options("^main.[0-9]+\.skin\.php", G5_SHOP_SKIN_PATH, $default['de_type1_list_skin']); ?>                </select>                <label for="de_type1_list_mod">1줄당 이미지 수</label>                <input type="text" name="de_type1_list_mod" value="<?php echo $default['de_type1_list_mod']; ?>" id="de_type1_list_mod" class="frm_input" size="3">                <label for="de_type1_list_row">출력할 줄 수</label>                <input type="text" name="de_type1_list_row" value="<?php echo $default['de_type1_list_row']; ?>" id="de_type1_list_row" class="frm_input" size="3">                <label for="de_type1_img_width">이미지 폭</label>                <input type="text" name="de_type1_img_width" value="<?php echo $default['de_type1_img_width']; ?>" id="de_type1_img_width" class="frm_input" size="3">                <label for="de_type1_img_height">이미지 높이</label>                <input type="text" name="de_type1_img_height" value="<?php echo $default['de_type1_img_height']; ?>" id="de_type1_img_height" class="frm_input" size="3">            </td>        </tr>        <tr>            <th scope="row">추천상품출력</th>            <td>                <label for="de_type2_list_use">출력</label>                <input type="checkbox" name="de_type2_list_use" value="1" id="de_type2_list_use" <?php echo $default['de_type2_list_use']?"checked":""; ?>>                <label for="de_type2_list_skin">스킨</label>                <select name="de_type2_list_skin" id="de_type2_list_skin">                    <?php echo get_list_skin_options("^main.[0-9]+\.skin\.php", G5_SHOP_SKIN_PATH, $default['de_type2_list_skin']); ?>                </select>                <label for="de_type2_list_mod">1줄당 이미지 수</label>                <input type="text" name="de_type2_list_mod" value="<?php echo $default['de_type2_list_mod']; ?>" id="de_type2_list_mod" class="frm_input" size="3">                <label for="de_type2_list_row">출력할 줄 수</label>                <input type="text" name="de_type2_list_row" value="<?php echo $default['de_type2_list_row']; ?>" id="de_type2_list_row" class="frm_input" size="3">                <label for="de_type2_img_width">이미지 폭</label>                <input type="text" name="de_type2_img_width" value="<?php echo $default['de_type2_img_width']; ?>" id="de_type2_img_width" class="frm_input" size="3">                <label for="de_type2_img_height">이미지 높이</label>                <input type="text" name="de_type2_img_height" value="<?php echo $default['de_type2_img_height']; ?>" id="de_type2_img_height" class="frm_input" size="3">            </td>        </tr>        <tr>            <th scope="row">최신상품출력</th>            <td>                <label for="de_type3_list_use">출력</label>                <input type="checkbox" name="de_type3_list_use" value="1" id="de_type3_list_use" <?php echo $default['de_type3_list_use']?"checked":""; ?>>                <label for="de_type3_list_skin">스킨</label>                <select name="de_type3_list_skin" id="de_type3_list_skin">                    <?php echo get_list_skin_options("^main.[0-9]+\.skin\.php", G5_SHOP_SKIN_PATH, $default['de_type3_list_skin']); ?>                </select>                <label for="de_type3_list_mod">1줄당 이미지 수</label>                <input type="text" name="de_type3_list_mod" value="<?php echo $default['de_type3_list_mod']; ?>" id="de_type3_list_mod" class="frm_input" size="3">                <label for="de_type3_list_row">출력할 줄 수</label>                <input type="text" name="de_type3_list_row" value="<?php echo $default['de_type3_list_row']; ?>" id="de_type3_list_row" class="frm_input" size="3">                <label for="de_type3_img_width">이미지 폭</label>                <input type="text" name="de_type3_img_width" value="<?php echo $default['de_type3_img_width']; ?>" id="de_type3_img_width" class="frm_input" size="3">                <label for="de_type3_img_height">이미지 높이</label>                <input type="text" name="de_type3_img_height" value="<?php echo $default['de_type3_img_height']; ?>" id="de_type3_img_height" class="frm_input" size="3">            </td>        </tr>        <tr>            <th scope="row">인기상품출력</th>            <td>                <label for="de_type4_list_use">출력</label>                <input type="checkbox" name="de_type4_list_use" value="1" id="de_type4_list_use" <?php echo $default['de_type4_list_use']?"checked":""; ?>>                <label for="de_type4_list_skin">스킨</label>                <select name="de_type4_list_skin" id="de_type4_list_skin">                    <?php echo get_list_skin_options("^main.[0-9]+\.skin\.php", G5_SHOP_SKIN_PATH, $default['de_type4_list_skin']); ?>                </select>                <label for="de_type4_list_mod">1줄당 이미지 수</label>                <input type="text" name="de_type4_list_mod" value="<?php echo $default['de_type4_list_mod']; ?>" id="de_type4_list_mod" class="frm_input" size="3">                <label for="de_type4_list_row">출력할 줄 수</label>                <input type="text" name="de_type4_list_row" value="<?php echo $default['de_type4_list_row']; ?>" id="de_type4_list_row" class="frm_input" size="3">                <label for="de_type4_img_width">이미지 폭</label>                <input type="text" name="de_type4_img_width" value="<?php echo $default['de_type4_img_width']; ?>" id="de_type4_img_width" class="frm_input" size="3">                <label for="de_type4_img_height">이미지 높이</label>                <input type="text" name="de_type4_img_height" value="<?php echo $default['de_type4_img_height']; ?>" id="de_type4_img_height" class="frm_input" size="3">            </td>        </tr>        <tr>            <th scope="row">할인상품출력</th>            <td>                <label for="de_type5_list_use">출력</label>                <input type="checkbox" name="de_type5_list_use" value="1" id="de_type5_list_use" <?php echo $default['de_type5_list_use']?"checked":""; ?>>                <label for="de_type5_list_skin">스킨</label>                <select name="de_type5_list_skin" id="de_type5_list_skin">                    <?php echo get_list_skin_options("^main.[0-9]+\.skin\.php", G5_SHOP_SKIN_PATH, $default['de_type5_list_skin']); ?>                </select>                <label for="de_type5_list_mod">1줄당 이미지 수</label>                <input type="text" name="de_type5_list_mod" value="<?php echo $default['de_type5_list_mod']; ?>" id="de_type5_list_mod" class="frm_input" size="3">                <label for="de_type5_list_row">출력할 줄 수</label>                <input type="text" name="de_type5_list_row" value="<?php echo $default['de_type5_list_row']; ?>" id="de_type5_list_row" class="frm_input" size="3">                <label for="de_type5_img_width">이미지 폭</label>                <input type="text" name="de_type5_img_width" value="<?php echo $default['de_type5_img_width']; ?>" id="de_type5_img_width" class="frm_input" size="3">                <label for="de_type5_img_height">이미지 높이</label>                <input type="text" name="de_type5_img_height" value="<?php echo $default['de_type5_img_height']; ?>" id="de_type5_img_height" class="frm_input" size="3">            </td>        </tr>        </tbody>        </table>    </div></section> <?php echo preg_replace('#</div>$#i', '<button type="button" class="shop_mobile_index">테마설정 가져오기</button></div>', $frm_submit); ?> <section id="anc_cscf_caid">       <h2 class="h2_frm">쇼핑몰 카테고리별화면</h2>    <?php echo $pg_anchor; ?>    <div class="local_desc02 local_desc">        <p>            상품관리에서 선택한 상품의 타입대로 쇼핑몰 카테고리별화면에 출력합니다. (상품 타입 히트/추천/최신/인기/할인)<br>            각 타입별로 선택된 상품이 없으면 쇼핑몰 카테고리별화면에 출력하지 않습니다.        </p>    </div>	<div class="tbl_frm01 tbl_wrap">        <table>        <caption>쇼핑몰 카테고리별화면 설정</caption>        <colgroup>            <col class="grid_4">            <col>        </colgroup>        <tbody>        <tr>            <th scope="row">히트상품출력</th>            <td>                <label for="de_type6_list_use">출력</label>                <input type="checkbox" name="de_type6_list_use" value="1" id="de_type6_list_use" <?php echo $default['de_type6_list_use']?"checked":""; ?>>                <label for="de_type6_list_skin">스킨</label>                <select name="de_type6_list_skin" id="de_type6_list_skin">                    <?php echo get_list_skin_options("^main.[0-9]+\.skin\.php", G5_SHOP_SKIN_PATH, $default['de_type6_list_skin']); ?>                </select>                <label for="de_type6_list_mod">1줄당 이미지 수</label>                <input type="text" name="de_type6_list_mod" value="<?php echo $default['de_type6_list_mod']; ?>" id="de_type6_list_mod" class="frm_input" size="3">                <label for="de_type6_list_row">출력할 줄 수</label>                <input type="text" name="de_type6_list_row" value="<?php echo $default['de_type6_list_row']; ?>" id="de_type6_list_row" class="frm_input" size="3">                <label for="de_type6_img_width">이미지 폭</label>                <input type="text" name="de_type6_img_width" value="<?php echo $default['de_type6_img_width']; ?>" id="de_type6_img_width" class="frm_input" size="3">                <label for="de_type6_img_height">이미지 높이</label>                <input type="text" name="de_type6_img_height" value="<?php echo $default['de_type6_img_height']; ?>" id="de_type6_img_height" class="frm_input" size="3">            </td>        </tr>        <tr>            <th scope="row">추천상품출력</th>            <td>                <label for="de_type7_list_use">출력</label>                <input type="checkbox" name="de_type7_list_use" value="1" id="de_type7_list_use" <?php echo $default['de_type7_list_use']?"checked":""; ?>>                <label for="de_type7_list_skin">스킨</label>                <select name="de_type7_list_skin" id="de_type7_list_skin">                    <?php echo get_list_skin_options("^main.[0-9]+\.skin\.php", G5_SHOP_SKIN_PATH, $default['de_type7_list_skin']); ?>                </select>                <label for="de_type7_list_mod">1줄당 이미지 수</label>                <input type="text" name="de_type7_list_mod" value="<?php echo $default['de_type7_list_mod']; ?>" id="de_type7_list_mod" class="frm_input" size="3">                <label for="de_type7_list_row">출력할 줄 수</label>                <input type="text" name="de_type7_list_row" value="<?php echo $default['de_type7_list_row']; ?>" id="de_type7_list_row" class="frm_input" size="3">                <label for="de_type7_img_width">이미지 폭</label>                <input type="text" name="de_type7_img_width" value="<?php echo $default['de_type7_img_width']; ?>" id="de_type7_img_width" class="frm_input" size="3">                <label for="de_type7_img_height">이미지 높이</label>                <input type="text" name="de_type7_img_height" value="<?php echo $default['de_type7_img_height']; ?>" id="de_type7_img_height" class="frm_input" size="3">            </td>        </tr>        <tr>            <th scope="row">최신상품출력</th>            <td>                <label for="de_type8_list_use">출력</label>                <input type="checkbox" name="de_type8_list_use" value="1" id="de_type8_list_use" <?php echo $default['de_type8_list_use']?"checked":""; ?>>                <label for="de_type8_list_skin">스킨</label>                <select name="de_type8_list_skin" id="de_type8_list_skin">                    <?php echo get_list_skin_options("^main.[0-9]+\.skin\.php", G5_SHOP_SKIN_PATH, $default['de_type8_list_skin']); ?>                </select>                <label for="de_type8_list_mod">1줄당 이미지 수</label>                <input type="text" name="de_type8_list_mod" value="<?php echo $default['de_type8_list_mod']; ?>" id="de_type8_list_mod" class="frm_input" size="3">                <label for="de_type8_list_row">출력할 줄 수</label>                <input type="text" name="de_type8_list_row" value="<?php echo $default['de_type8_list_row']; ?>" id="de_type8_list_row" class="frm_input" size="3">                <label for="de_type8_img_width">이미지 폭</label>                <input type="text" name="de_type8_img_width" value="<?php echo $default['de_type8_img_width']; ?>" id="de_type8_img_width" class="frm_input" size="3">                <label for="de_type3_img_height">이미지 높이</label>                <input type="text" name="de_type8_img_height" value="<?php echo $default['de_type8_img_height']; ?>" id="de_type8_img_height" class="frm_input" size="3">            </td>        </tr>        <tr>            <th scope="row">인기상품출력</th>            <td>                <label for="de_type9_list_use">출력</label>                <input type="checkbox" name="de_type9_list_use" value="1" id="de_type9_list_use" <?php echo $default['de_type9_list_use']?"checked":""; ?>>                <label for="de_type9_list_skin">스킨</label>                <select name="de_type9_list_skin" id="de_type9_list_skin">                    <?php echo get_list_skin_options("^main.[0-9]+\.skin\.php", G5_SHOP_SKIN_PATH, $default['de_type9_list_skin']); ?>                </select>                <label for="de_type9_list_mod">1줄당 이미지 수</label>                <input type="text" name="de_type9_list_mod" value="<?php echo $default['de_type9_list_mod']; ?>" id="de_type9_list_mod" class="frm_input" size="3">                <label for="de_type9_list_row">출력할 줄 수</label>                <input type="text" name="de_type9_list_row" value="<?php echo $default['de_type9_list_row']; ?>" id="de_type9_list_row" class="frm_input" size="3">                <label for="de_type9_img_width">이미지 폭</label>                <input type="text" name="de_type9_img_width" value="<?php echo $default['de_type9_img_width']; ?>" id="de_type9_img_width" class="frm_input" size="3">                <label for="de_type9_img_height">이미지 높이</label>                <input type="text" name="de_type9_img_height" value="<?php echo $default['de_type9_img_height']; ?>" id="de_type9_img_height" class="frm_input" size="3">            </td>        </tr>        <tr>            <th scope="row">할인상품출력</th>            <td>                <label for="de_type10_list_use">출력</label>                <input type="checkbox" name="de_type10_list_use" value="1" id="de_type10_list_use" <?php echo $default['de_type10_list_use']?"checked":""; ?>>                <label for="de_type10_list_skin">스킨</label>                <select name="de_type10_list_skin" id="de_type10_list_skin">                    <?php echo get_list_skin_options("^main.[0-9]+\.skin\.php", G5_SHOP_SKIN_PATH, $default['de_type10_list_skin']); ?>                </select>                <label for="de_type10_list_mod">1줄당 이미지 수</label>                <input type="text" name="de_type10_list_mod" value="<?php echo $default['de_type10_list_mod']; ?>" id="de_type10_list_mod" class="frm_input" size="3">                <label for="de_type10_list_row">출력할 줄 수</label>                <input type="text" name="de_type10_list_row" value="<?php echo $default['de_type10_list_row']; ?>" id="de_type10_list_row" class="frm_input" size="3">                <label for="de_type10_img_width">이미지 폭</label>                <input type="text" name="de_type10_img_width" value="<?php echo $default['de_type10_img_width']; ?>" id="de_type10_img_width" class="frm_input" size="3">                <label for="de_type10_img_height">이미지 높이</label>                <input type="text" name="de_type10_img_height" value="<?php echo $default['de_type10_img_height']; ?>" id="de_type10_img_height" class="frm_input" size="3">            </td>        </tr>        </tbody>		   </table>    </div></section>
 

 

configformupdate.php 중

 

Copy
// 영카트 default//$sql = " update {$g5['g5_shop_default_table']}            set de_admin_company_owner        = '{$_POST['de_admin_company_owner']}',                de_admin_company_name         = '{$_POST['de_admin_company_name']}',                de_admin_company_saupja_no    = '{$_POST['de_admin_company_saupja_no']}',                de_admin_company_tel          = '{$_POST['de_admin_company_tel']}',                de_admin_company_fax          = '{$_POST['de_admin_company_fax']}',                de_admin_tongsin_no           = '{$_POST['de_admin_tongsin_no']}',                de_admin_company_zip          = '{$_POST['de_admin_company_zip']}',                de_admin_company_addr         = '{$_POST['de_admin_company_addr']}',                de_admin_info_name            = '{$_POST['de_admin_info_name']}',                de_admin_info_email           = '{$_POST['de_admin_info_email']}',                de_shop_skin                  = '{$_POST['de_shop_skin']}',                de_shop_mobile_skin           = '{$_POST['de_shop_mobile_skin']}',                de_type1_list_use             = '{$_POST['de_type1_list_use']}',                de_type1_list_skin            = '{$_POST['de_type1_list_skin']}',                de_type1_list_mod             = '{$_POST['de_type1_list_mod']}',                de_type1_list_row             = '{$_POST['de_type1_list_row']}',                de_type1_img_width            = '{$_POST['de_type1_img_width']}',                de_type1_img_height           = '{$_POST['de_type1_img_height']}',                de_type2_list_use             = '{$_POST['de_type2_list_use']}',                de_type2_list_skin            = '{$_POST['de_type2_list_skin']}',                de_type2_list_mod             = '{$_POST['de_type2_list_mod']}',                de_type2_list_row             = '{$_POST['de_type2_list_row']}',                de_type2_img_width            = '{$_POST['de_type2_img_width']}',                de_type2_img_height           = '{$_POST['de_type2_img_height']}',                de_type3_list_use             = '{$_POST['de_type3_list_use']}',                de_type3_list_skin            = '{$_POST['de_type3_list_skin']}',                de_type3_list_mod             = '{$_POST['de_type3_list_mod']}',                de_type3_list_row             = '{$_POST['de_type3_list_row']}',                de_type3_img_width            = '{$_POST['de_type3_img_width']}',                de_type3_img_height           = '{$_POST['de_type3_img_height']}',                de_type4_list_use             = '{$_POST['de_type4_list_use']}',                de_type4_list_skin            = '{$_POST['de_type4_list_skin']}',                de_type4_list_mod             = '{$_POST['de_type4_list_mod']}',                de_type4_list_row             = '{$_POST['de_type4_list_row']}',                de_type4_img_width            = '{$_POST['de_type4_img_width']}',                de_type4_img_height           = '{$_POST['de_type4_img_height']}',                de_type5_list_use             = '{$_POST['de_type5_list_use']}',                de_type5_list_skin            = '{$_POST['de_type5_list_skin']}',                de_type5_list_mod             = '{$_POST['de_type5_list_mod']}',                de_type5_list_row             = '{$_POST['de_type5_list_row']}',                de_type5_img_width            = '{$_POST['de_type5_img_width']}',                de_type5_img_height           = '{$_POST['de_type5_img_height']}',                de_type6_list_use             = '{$_POST['de_type6_list_use']}',                de_type6_list_skin            = '{$_POST['de_type6_list_skin']}',                de_type6_list_mod             = '{$_POST['de_type6_list_mod']}',                de_type6_list_row             = '{$_POST['de_type6_list_row']}',                de_type6_img_width            = '{$_POST['de_type6_img_width']}',                de_type6_img_height           = '{$_POST['de_type6_img_height']}',                de_type7_list_use             = '{$_POST['de_type7_list_use']}',                de_type7_list_skin            = '{$_POST['de_type7_list_skin']}',                de_type7_list_mod             = '{$_POST['de_type7_list_mod']}',                de_type7_list_row             = '{$_POST['de_type7_list_row']}',                de_type7_img_width            = '{$_POST['de_type7_img_width']}',                de_type7_img_height           = '{$_POST['de_type7_img_height']}',                de_type8_list_use             = '{$_POST['de_type8_list_use']}',                de_type8_list_skin            = '{$_POST['de_type8_list_skin']}',                de_type8_list_mod             = '{$_POST['de_type8_list_mod']}',                de_type8_list_row             = '{$_POST['de_type8_list_row']}',                de_type8_img_width            = '{$_POST['de_type8_img_width']}',                de_type8_img_height           = '{$_POST['de_type8_img_height']}',                de_type9_list_use             = '{$_POST['de_type9_list_use']}',                de_type9_list_skin            = '{$_POST['de_type9_list_skin']}',                de_type9_list_mod             = '{$_POST['de_type9_list_mod']}',                de_type9_list_row             = '{$_POST['de_type9_list_row']}',                de_type9_img_width            = '{$_POST['de_type9_img_width']}',                de_type9_img_height           = '{$_POST['de_type9_img_height']}',                de_type10_list_use             = '{$_POST['de_type10_list_use']}',                de_type10_list_skin            = '{$_POST['de_type10_list_skin']}',                de_type10_list_mod             = '{$_POST['de_type10_list_mod']}',                de_type10_list_row             = '{$_POST['de_type10_list_row']}',                de_type10_img_width            = '{$_POST['de_type10_img_width']}',                de_type10_img_height           = '{$_POST['de_type10_img_height']}',                de_mobile_type1_list_use      = '{$_POST['de_mobile_type1_list_use']}',                de_mobile_type1_list_skin     = '{$_POST['de_mobile_type1_list_skin']}',                de_mobile_type1_list_mod      = '{$_POST['de_mobile_type1_list_mod']}',                de_mobile_type1_list_row      = '{$_POST['de_mobile_type1_list_row']}',                de_mobile_type1_img_width     = '{$_POST['de_mobile_type1_img_width']}',                de_mobile_type1_img_height    = '{$_POST['de_mobile_type1_img_height']}',                de_mobile_type2_list_use      = '{$_POST['de_mobile_type2_list_use']}',                de_mobile_type2_list_skin     = '{$_POST['de_mobile_type2_list_skin']}',                de_mobile_type2_list_mod      = '{$_POST['de_mobile_type2_list_mod']}',                de_mobile_type2_list_row      = '{$_POST['de_mobile_type2_list_row']}',                de_mobile_type2_img_width     = '{$_POST['de_mobile_type2_img_width']}',                de_mobile_type2_img_height    = '{$_POST['de_mobile_type2_img_height']}',                de_mobile_type3_list_use      = '{$_POST['de_mobile_type3_list_use']}',                de_mobile_type3_list_skin     = '{$_POST['de_mobile_type3_list_skin']}',                de_mobile_type3_list_mod      = '{$_POST['de_mobile_type3_list_mod']}',                de_mobile_type3_list_row      = '{$_POST['de_mobile_type3_list_row']}',                de_mobile_type3_img_width     = '{$_POST['de_mobile_type3_img_width']}',                de_mobile_type3_img_height    = '{$_POST['de_mobile_type3_img_height']}',                de_mobile_type4_list_use      = '{$_POST['de_mobile_type4_list_use']}',                de_mobile_type4_list_skin     = '{$_POST['de_mobile_type4_list_skin']}',                de_mobile_type4_list_mod      = '{$_POST['de_mobile_type4_list_mod']}',                de_mobile_type4_list_row      = '{$_POST['de_mobile_type4_list_row']}',                de_mobile_type4_img_width     = '{$_POST['de_mobile_type4_img_width']}',                de_mobile_type4_img_height    = '{$_POST['de_mobile_type4_img_height']}',                de_mobile_type5_list_use      = '{$_POST['de_mobile_type5_list_use']}',                de_mobile_type5_list_skin     = '{$_POST['de_mobile_type5_list_skin']}',                de_mobile_type5_list_mod      = '{$_POST['de_mobile_type5_list_mod']}',                de_mobile_type5_list_row      = '{$_POST['de_mobile_type5_list_row']}',                de_mobile_type5_img_width     = '{$_POST['de_mobile_type5_img_width']}',                de_mobile_type5_img_height    = '{$_POST['de_mobile_type5_img_height']}'

 

shop/list.php 중아래부분 삽입 

 

Copy
<?php if($default['de_type6_list_use']) { ?><!-- 히트상품 시작 { --> <header> <a href="<?php echo G5_SHOP_URL; ?>/listtype.php?type=6"><font size="5" color="fuchsia"><b>히트상품</b></font></a></header> <table width="751" cellspacing="0" style="border-collapse:collapse;">         <tr>            <td width="740" height="200" style="border-top-width:4; border-right-width:1; border-bottom-width:8; border-left-width:8; border-top-color:fuchsia; border-right-color:black; border-bottom-color:fuchsia; border-left-color:fuchsia; border-top-style:solid; border-right-style:none; border-bottom-style:none; border-left-style:none;">                <p><section class="sct_wrap"> <?php      $list = new item_list(); 	$list->set_category($ca_id, $level=2);     $list->set_category($ca_id, $level=3);     $list->set_category($ca_id, $level=4);     $list->set_category($ca_id, $level=5);     $list->set_type(6);     $list->set_view('it_img', true);     $list->set_view('it_id', false);     $list->set_view('it_name', true);     $list->set_view('it_basic', true);     $list->set_view('it_cust_price', true);     $list->set_view('it_price', true);     $list->set_view('it_icon', true);     $list->set_view('sns', false);     echo $list->run();     ?></section> </p> </td>     </tr> </table> <!-- } 히트상품 끝 --> <?php } ?><?php if($default['de_type7_list_use']) { ?><!-- 추천상품 시작 { -->    <header><a href="<?php echo G5_SHOP_URL; ?>/listtype.php?type=7"><b><font size="5" color="#FFCC00">추천상품</font></b></a>    </header><table width="751" cellspacing="0" style="border-collapse:collapse;">        <tr>            <td width="740" height="200" style="border-top-width:4; border-right-width:1; border-bottom-width:8; border-left-width:8; border-top-color:rgb(255,204,0); border-right-color:black; border-bottom-color:rgb(255,204,0); border-left-color:rgb(255,204,0); border-top-style:solid; border-right-style:none; border-bottom-style:none; border-left-style:none;">            <p><section class="sct_wrap"><?php    $list = new item_list();	$list->set_category($ca_id, $level=2);     $list->set_category($ca_id, $level=3);     $list->set_category($ca_id, $level=4);     $list->set_category($ca_id, $level=5);     $list->set_type(7);    $list->set_view('it_id', false);    $list->set_view('it_name', true);    $list->set_view('it_basic', true);    $list->set_view('it_cust_price', true);    $list->set_view('it_price', true);    $list->set_view('it_icon', true);    $list->set_view('sns', false);    echo $list->run();    ?></section></p></td>    </tr></table><!-- } 추천상품 끝 --><?php } ?>

 

shop/listtype.php 중

 

Copy
if (G5_IS_MOBILE) {    include_once(G5_MSHOP_PATH.'/listtype.php');    return;} $type = preg_replace("/[\<\>\'\"\\\'\\\"\%\=\(\)\s]/", "", $_REQUEST['type']);if ($type == 1)      $g5['title'] = '히트상품';else if ($type == 2) $g5['title'] = '추천상품';else if ($type == 3) $g5['title'] = '최신상품';else if ($type == 4) $g5['title'] = '인기상품';else if ($type == 5) $g5['title'] = '할인상품';else if ($type == 6) $g5['title'] = '히트상품';else if ($type == 7) $g5['title'] = '추천상품';else if ($type == 8) $g5['title'] = '최신상품';else if ($type == 9) $g5['title'] = '인기상품';else if ($type == 10) $g5['title'] = '할인상품';else

이렇게 수정을했거든요 

SQL도 추가했구요..

9656ae884f6d74ee506fd270c5b9b00f_1451867447_2904.PNG
 


답변을 작성하려면 로그인이 필요합니다.

🐛 버그신고