Your IP : 216.73.216.170


Current Path : /home/zqegovsj/www/us3web.haibo.com.cn/wesonfast/
Upload File :
Current File : /home/zqegovsj/www/us3web.haibo.com.cn/wesonfast/product.php

<?php 
include("function.php");

$page = !empty($_GET['st']) ? (int)$_GET['st'] : 1;
$limit = 12; // 每页显示的数量
$offset = ($page - 1) * $limit; // 计算偏移量

$num =$db->selectone( "select count(id) from ".$noe_version."_products where member_id=".$id."  and status = 1 ");

$pagecount=$num[0];
if(!isset($st))$st=1;
$number=($st-1)*$limit+1;
$number2=($st-1)*$limit+$limit;

$total_pages = ceil($pagecount / $limit);

$products=$db->selectarray("select id,name,sn,picture,name2,more,sizes from ".$noe_version."_products where member_id=".$id."  and status = 1  order by ep_range desc LIMIT ".($st-1)*$limit.','.$limit);

$aa='product.html';
$aaa=$lang['words'][72];
$urlsort='product';
$purl=$aa;
$pageh1=$aaa;
$feedbacktit='Online inquire from website';


$pagekeyword=$aaa.', '.$company['1']; 
$pagekeyword2=$pagekeyword; 
$pagekeyword3=$company['12'];
 
include("head.php");
?>
<div class="container custom-margin-1">
					<div class="row gy-5 gy-lg-0">
						<div class="col-lg-9 order-lg-1 mt-0" >
							<div class="row">
								<div class="col">									
									<h2 class="text-color-dark font-weight-bold text-7 line-height-1 mb-4"><?=$lang['words'][94]?>: <span class="en-3"><?=$lang['words'][93]?> <?=$pagecount?> | <?=$number?> - <?=$number2?></span></h2>
                                    
                                    

<? if($pagecount==0){?><div class="row">
<div class="col-md-12"><?=$lang['words'][134]?></div></div>
<? }else{?> 
<div class="products row row-gutter-sm mb-4">
<? $i=1; while(@$a=mysqli_fetch_row($products)){
?>	
<div class="col-sm-6 col-lg-4 mb-4 mb-3">
								<div class="product mb-0">
									<div class="product-thumb-info border-0 mb-3"><a href="/<?=$db->turn_name($a[4])?>_product<?=$a[0]?>.html" title="<?=$a[1]?>">
											<div class="product-thumb-info-image bg-light border-all">
												<img class="img-fluid" src="https://<?=$imgprod?>/upload/middle/<?=$a[3]?>" alt="<?=$a[1]?>" >
											</div>
										</a>
									</div>
									<div class="d-flex justify-content-center">
										<div>
											
											<h3 class="text-3-5 font-weight-medium font-alternative text-transform-none line-height-3 mb-0"><a href="/<?=$db->turn_name($a[4])?>_product<?=$a[0]?>.html" title="<?=$a[1]?>" class="text-color-dark text-color-hover-primary"><?=$a[1]?></a></h3>
										</div>
									</div>
									
									
								</div>
							</div>
                            
                            

<? $i++;?>
<? if(($i-1)%4==0){?><? }?>
<? }?>
</div>
  <? }?>	
               
<? if($pagecount>12){?>                    
<div class="page_num clearfix">
<? include("page_navigation.php");?>
</div>
<? }?>					

</div>
</div>							
                     </div>

						                    
<? include("a_right.php");?>
						
					</div>
				</div>
                
                    
<? include("foot.php");?>