<?php
//上级类页面生ls_syscode 825 {ls_behalf}  catedetail.html , 本类全部产品 Click for details

$mid_pic = "<div class=\"row pro_list\" id=\"itemContainer\">";
				while($midcate_pic_rows=mysql_fetch_assoc($midcate_pic_query)){
					$catedetail_sql="SELECT * FROM `ls_products` WHERE `productID`=".$midcate_pic_rows['ID']." order by Num ";
					$catedetail_query=$opendb->query($catedetail_sql);
					while($catedetail_rows=mysql_fetch_assoc($catedetail_query)){
						$mid_pic .= "<div class=\"col-xs-6\">
						<div class=\"prodt\">
						<div class=\"proimg\">
						<a class=\"prog\" href=\"".$midcate_pic_rows['midcateFolders']."/".pathProName($catedetail_rows['productName'])."-".$catedetail_rows['ID'].".html\">
						<img src=\"".$midcate_pic_rows['midcateFolders']."/".$SmallFoldersProducts."/".$catedetail_rows['productPic']."\" name=\"imgs\" alt=\"<translate>".$catedetail_rows['productName']."</translate>\" title=\"<translate>".$catedetail_rows['productName']."</translate>\" /></a>
						</div>
			<div class=\" prowenzi\" >
			  <span class=\"ns\">
						<div class=\"mingzi\"><a href=\"".$midcate_pic_rows['midcateFolders']."/".pathProName($catedetail_rows['productName'])."-".$catedetail_rows['ID'].".html\"><translate>".$catedetail_rows['productName']."</translate></a>
						</div>
						</span></div>
			 
			 </div></div>
						";
					}
				}
				$mid_pic .= "</div>";//echo $mid_pic;
?>
