| Server IP : 103.48.194.25 / Your IP : 216.73.217.33 Web Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.33 System : Linux VMHostDefault 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 User : sieuthimay ( 1016) PHP Version : 8.2.20 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/thegioimaycongnghiep.vn/public_html/site/components/sanpham/views/ |
Upload File : |
<?php //$this->load->view('info');?>
<?php foreach($list_cate as $rs):?>
<div class="row row-small" style="margin-top:12px;">
<div class="col small-12 large-12">
<div class="col-inner" >
<div class="clearfix vi-header">
<h3 class="vi-left-title pull-left"><a href="<?=site?>danh-muc/<?=$rs->cat_alias?>-<?=$rs->catid?>.html"><?=$rs->cat_name?></a></h3>
<!--<div class="vi-right-link pull-right"> <a href="#">Ricoh</a><a href="#">Toshiba</a><a href="#">Xerox</a><a class="vi-more" href="#">Xem tất cả</a> </div>-->
</div>
</div>
</div>
<!--<div class="col hide-for-small medium-2 small-12 large-2">
<div class="col-inner">
<div class="img has-hover x md-x lg-x y md-y lg-y" id="image_309147048">
<div class="img-inner dark" > <img width="300" height="600" src="<?=skin?>images/qc3352.png" class="attachment-large size-large" alt="" srcset="<?=skin?>images/qc3352.png 300w, <?=skin?>images/qc3352-150x300.png 150w" sizes="(max-width: 300px) 100vw, 300px" /> </div>
<style scope="scope">
</style>
</div>
</div>
</div>-->
<div class="col medium-12 small-12 large-12">
<div class="col-inner" >
<div class="row large-columns-5 medium-columns-3 small-columns-2 row-small">
<?php
$list_product = $this->sanpham->get_product_home(10,0,$rs->catid);
if($list_product)
{
foreach($list_product as $row):
$link = site."san-pham/".$row->pro_alias.'-'.$row->proid.'.html';
$lb_image = urlimg.'products/800/'.$row->proimg ;
?>
<div class="product-small col has-hover">
<div class="col-inner">
<div class="badge-container absolute left top z-1"> </div>
<div class="product-small box ">
<div class="box-image">
<div class="image-fade_in_back"> <a href="<?=$link?>" title="<?=$row->pro_name?>">
<img width="247" height="300" src="<?=$lb_image?>" class="attachment-shop_catalog size-shop_catalog wp-post-image" alt="<?=$row->pro_name?>" title="<?=$row->pro_name?>" />
<!--<img width="247" height="300" src="<?//=$lb_image?>" class="show-on-hover absolute fill hide-for-small back-image" alt="<?//=$row->pro_name?>" title="<?//=$row->pro_name?>" /> -->
</a> </div>
<!--<div class="image-tools is-small top right show-on-hover"> </div>
<div class="image-tools is-small hide-for-small bottom left show-on-hover"> </div>
<div class="image-tools grid-tools text-center hide-for-small bottom hover-slide-in show-on-hover"> </div>-->
</div>
<!-- box-image -->
<div class="box-text box-text-products">
<div class="title-wrapper">
<p class="name product-title"><a href="<?=$link?>"><?=$row->pro_name?></a></p>
</div>
<div class="price-wrapper">
<span class="price">
<? if($row->price_old){?><del><span class="amount"><?=$row->price_old?> <span class="woocommerce-Price-currencySymbol">₫</span></span></del> <? }?>
<ins><span class="amount"><?=$row->price?> <span class="woocommerce-Price-currencySymbol">₫</span></span></ins>
</span>
</div>
<div style="text-align:center"><a rel="nofollow" class="muangay" href="javascript:cart.add(<?=$row->proid?>);">Mua ngay</a></div>
</div>
<!-- box-text -->
</div>
<!-- box -->
</div>
</div>
<?php
endforeach;
}
?>
</div>
</div>
</div>
</div>
<?php endforeach;?>
<?php $this->load->view('html/partner');?>