상품 정렬 다음페이지 넘어가기

상품 정렬 다음페이지 넘어가기

QA

상품 정렬 다음페이지 넘어가기

본문


<?php
include_once('./_common.php');
 
$g5['title'] = '';
 
// 한페이지에 출력하는 이미지수 = $list_mod * $list_row
$list_mod = 4; // 1줄당 이미지 수
$list_row = 6; // 출력할 줄 수
$img_width = 180; // 이미지 폭
$img_height = 270; // 이미지 높이
?>
 
<?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
 
$q = isset($_GET['q']) ? clean_xss_tags($_GET['q'], 1, 1) : '';

 
include_once(G5_THEME_PATH.'/head.sub2.php');
include_once(G5_LIB_PATH.'/outlogin.lib.php');
include_once(G5_LIB_PATH.'/poll.lib.php');
include_once(G5_LIB_PATH.'/visit.lib.php');
include_once(G5_LIB_PATH.'/connect.lib.php');
include_once(G5_LIB_PATH.'/popular.lib.php');
include_once(G5_LIB_PATH.'/latest.lib.php');
 
add_javascript('<script src="'.G5_JS_URL.'/owlcarousel/owl.carousel.min.js"></script>', 10);
add_stylesheet('<link rel="stylesheet" href="'.G5_JS_URL.'/owlcarousel/owl.carousel.css">', 0);
?>
 
<!-- .shop-content 시작 { -->
<div class="<?php echo implode(' ', $content_class); ?>">
<?php if ((!$bo_table || $w == 's' ) && !defined('_INDEX_')) { ?><div id="wrapper_title"><?php echo $g5['title'] ?></div><?php } ?>
 
<?php if($default['de_type1_list_use']) { ?>
<?php } ?>
 
<section class="sct_wrap">
<?php
$list = new item_list();
$list->set_category('40', 1);
$list->set_list_mod(3);
$list->set_list_row(6);
$list->set_img_size(300, 450);
$list->set_list_skin(G5_SHOP_SKIN_PATH.'/main.40.skin.php');
$list->set_view('it_id', false);
$list->set_view('it_name', true);
$list->set_view('it_basic', true);
$list->set_view('it_cust_price', false);
$list->set_view('it_price', true);
$list->set_view('it_icon', false);
$list->set_view('sns', false);
echo $list->run();
?>
 

 

코드는 위와 같습니다. 

문제는 상품이 세로로 6줄째 이상은 보이지 않습니다. 일정 분량 업로드 후에 다음 페이지로 넘어가는 버튼을 추가해야할 것 같습니다. 어디에 어떤 코드를 추가해야하나요??

이 질문에 댓글 쓰기 :

답변을 작성하시기 전에 로그인 해주세요.
전체 123,643 | RSS
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT