| Server IP : 103.48.194.25 / Your IP : 216.73.216.74 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 : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/hocthongminh.net-bk/public_html/site/components/news/views/ |
Upload File : |
<style type="text/css">
.aside-item {}
.aside-item .heading {}
.aside-item .heading .title-head {}
.aside-item h2 {}
.aside-item .list-blogs {}
.aside-item .list-blogs .blog-item {}
.aside-item .list-blogs .blog-item > a {
float: left;
min-height: 65px;
margin-right: 10px;
width: 65px;
border: 1px solid #e1d9d9;
margin-top: 6px;
}
.aside-item .list-blogs .blog-item > a img {
}
.aside-item .list-blogs .blog-item h3 {}
.aside-item .list-blogs .blog-item h3.blog-item-name {
position: relative;
font-size: 24px;
font-weight: 700;
line-height: 18px;
margin-top: 0;
margin-bottom: 0px;
}
.aside-item .list-blogs .blog-item h3 a {
color: #333;
font-size: 16px;
line-height: 13px;
}
.aside-item .list-blogs .blog-item .post-time {
float:right;
}
</style>
<?php
$list_news = $this->news->get_newsest();
$list_product = get_hot_product(10);
?>
<aside class="left left-content col-md-3">
<div class="aside-item">
<div class="heading">
<h2 class="title-head"><a href="tin-tuc" title="Mở hộp/Trên tay">Hướng dẫn sử dụng</a></h2>
</div>
<div class="list-blogs">
<?php
foreach ($list_news as $rs_news) :
$link_detail = site.'tin-chi-tiet/'.alias($rs_news->lb_title).'-'.$rs_news->news_id.'.html';
$link_img = urlimg.'news/'.$rs_news->lb_image;
?>
<article class="blog-item blog-item-list clearfix">
<a href="<?=$link_detail?>" class="panel-box-media" title="<?=$rs_news->lb_title?>"><img src="<?=$link_img?>" data-lazyload="<?=$link_img?>" width="70" height="70" alt="<?=$rs_news->lb_title?>" /></a>
<h3 class="blog-item-name"><a href="<?=$link_detail?>" title="<?=$rs_news->lb_title?>"><?=$rs_news->lb_title?></a></h3>
<div class="post-time">Ngày đăng: <?=datevn($rs_news->dt_modify)?></div>
</article>
<? endforeach ;?>
</div>
<!--<div class="blogs-mores text-center"><a href="tin-tuc" title="Xem thêm">Xem thêm</a></div>-->
</div>
<!--<div class="aside-item">
<div class="heading">
<h2 class="title-head"><a href="<?=site?>cua-hang.html" title="Sản phẩm nổi bật">Sản phẩm nổi bật</a></h2>
</div>
<div class="list-blogs">
<?php
foreach ($list_product as $pro) :
$link_detail = site.'san-pham/'.alias($pro->pro_name).'-'.$pro->proid.'.html';
$link_img = urlimg.'products/800/'.$pro->proimg;
?>
<article class="blog-item blog-item-list clearfix"> <a href="<?=$link_detail?>" class="panel-box-media" title="<?=$pro->pro_name?>"><img src="<?=$link_img?>" data-lazyload="<?=$link_img?>" width="70" height="70" alt="<?=$pro->pro_name?>" /></a>
<div class="blogs-rights">
<h3 class="blog-item-name"><a href="<?=$link_detail?>" title="<?=$pro->pro_name?>"><?=$pro->pro_name?></a></h3>
<div class="post-time">Ngày đăng: <?//=datevn($rs_news->lb_title)?></div>
</div>
</article>
<? endforeach ;?>
</div>
<div class="blogs-mores text-center"><a href="<?=site?>cua-hang.html" title="Đến cửa hàng">Đến cửa hàng</a></div>
</div>-->
</aside>