"會員價","price_n2"=>"售價","price_n3"=>"市價","price_n3_value"=>"0","price_n3_display"=>""); $pd_class_name=""; if(($p_class1==0 || $p_class1=="") && $search_txt==""){ $pd_class_name="商品總覽"; $pd_cimg=''; }elseif ($search_txt!="") { $pd_class_name="商品搜尋-->".$search_txt; }else{ $SQL_str="select * from ebox_products_menu where sid=".$p_class1; $pdcl_rs=mysql_query($SQL_str,$conn) or die("DB:Error(pd01)"); $this_get_class=mysql_fetch_array($pdcl_rs); $pd_class_name=$this_get_class['item_name']; if($this_get_class["c_img"]!=""){ $pd_cimg='
'; //echo $this_get_class["c_img"]; } if($this_get_class["content"]!=""){$pd_c_content=$this_get_class["content"];} } function get_class_path($node,$db_table) { $SQL_str="select * from ".$db_table." where sid=$node"; $result = mysql_query($SQL_str,$GLOBALS['conn']) or die("DB:Error(pd02)"); $row = mysql_fetch_array($result); $path = array(); if ($row['item_name']!="") { $temp_item_name=$row['item_name']; if (is_numeric($temp_item_name)) $temp_item_name=" ".$temp_item_name; $path = array($temp_item_name=>$row['sid']); $path2=get_class_path($row['parent_id'],$db_table); $path = array_merge($path2, $path); } return $path; } //============================================================================================= //load class //============================================================================================= $pd_class_item=""; $this_class_title=""; ?> 三草二木
產品介紹 PRODUCT

 

n_page=$page; $sel_page->page_count=$page_count; $sel_page->displaypg=$this_ListValue; $sel_page->page_link=$this_page; //$sel_page->css_style="pagination"; $sel_page->page_chgtext=array("first","prew","next","last"); $sel_page->gostr='&pdcl='.$p_class1.$get_str; $firstcount=$sel_page->first_count(); $i=0; //固定欄位 $pd_col_num=3; //顯示欄位數 $pd_col_className="col-md-4 pd-row"; //顯示欄位class $SQL_str.=" limit ".$firstcount.",".$this_ListValue; $pd_rs=mysql_query($SQL_str,$conn) or die("DB:Error(02)"); while($data_list=mysql_fetch_array($pd_rs)){ $i++; if($i==1) { echo '"; } ?>
out_page_link();?>