require_once ("liang_admin/initial/mysql_vars.ini"); require_once ("liang_admin/initial/mysql_tables.ini"); require_once ("liang_admin/initial/acl_functions.ini"); require_once ("liang_admin/initial/acl_menu.ini"); require_once ("liang_admin/initial/mail.ini"); require_once ("liang_admin/initial/msg_log.ini"); require_once ("liang_admin/initial/html.ini"); require_once ("liang_admin/initial/replaces.ini"); require_once ("liang_admin/initial/system.ini"); require_once ("liang_admin/initial/list_fields_uploaded.ini"); require_once ('liang_admin/library/auth.inc'); //require_once ('liang_admin/library/groups.inc'); require_once ('liang_admin/library/system.inc'); //require_once ('liang_admin/library/users.inc'); require_once ("liang_admin/library/access_DB.inc"); require_once ("liang_admin/library/page_class.php"); require_once ("liang_admin/library/utf8_substr.inc"); require_once ("liang_admin/library/mail.php"); $dblink = system_DBConnect ($MYSQL_VARS); $folder_id=$_GET['folder_id']; $product_info=array(); $where_clause="1 order by rank desc"; $tbl_name=$MYSQL_TABS['product']; getall_data($tbl_name, $where_clause, $product_info); //show_array($product_info); $info=array(); if($folder_id == "") $where_clause="1 order by rank desc"; else $where_clause="product_id='$folder_id' order by rank desc"; $tbl_name=$MYSQL_TABS['product_cnt']; getall_data($tbl_name, $where_clause, $info); //show_array($info); $jump_to_page=$_GET['jump_to_page']; $page=$_GET['page']; if ($page == "") $page = 1; if ($all_page == "") $all_page="no"; if ($jump_to_page != "") $page = $jump_to_page; $sel_page = new forum2cntPage(); //echo ""; //分頁設定 $sel_page->getPageInfo($info, SEL_PAGE_TYPE_2, $page, 12, 0, $all_page, "no"); $sel_page->isUseNumberPage = "yes"; // 是否使用(1 2 3 4 5 ... n) $sel_page->isUsePages = "yes"; // 是否使用(上n頁,下n頁) $sel_page->isUsePage = "yes"; // 是否使用(第一頁,上一頁,下一頁,最後頁) $sel_page->isUsePageInfo = "no"; // 是否使用(顯示第n頁/共n頁字串) $sel_page->isUseJumpToPage = "yes"; // 是否使用(跳至第n頁) $sel_page->isUseShowAllPages = "yes"; // 是否使用(顯示所有分頁資料/依分頁顯示) $sel_page->showPage("ana_product.php?folder_id=$folder_id", ""); // 最後再寫該行程式即可秀出指定樣式 $recordinfo = array(); $info = array(); $recordinfo=$sel_page->pageData; $info=$recordinfo; //show_array($info); //print $sel_page->printPage; ?>
for($i=0;$i
if($folder_id == $product_info[$i]['Fmain_id']) { ?>
} else { ?>
} ?> } ?>
if($sel_page->totalPages > 1) print $sel_page->printPage; ?>
for($i=0;$i
} ?> //if($sel_page->totalPages > 1) // print $sel_page->printPage; ?>
聯絡我們:
https://www.facebook.com/profile.php?id=100057357943795
服務時間:星期一至星期五 10:00-17:00
COPYRIGHT © 2010 BY
鉅英國際企業有限公司
ANA INTERNATIONAL CO.,LTD
ALL RIGHTS RESERVED