echo $a['news_id']; ?> "><img src="uploads/<?php echo $a['images']; ?> " width="240" height="180"/></a> <div style="width:440px; float:right" class="noidung"> <span style="font-size:2em;color:#0F0;"><a href="index.php?view=news-detail&n_id=<?php echo $a['news_id']; ?> "><?php echo $a['title']; ?> </a></span> <p style=" margin-top:20px; margin-bottom:10px;"><?php echo cattext($a['tomtat'], 200); ?> </p> <p1 style="float:right; color:#F00"><a href="index.php?view=news-detail&n_id=<?php echo $a['news_id']; ?> "> >>Xem thêm</a></p1> </div> </div> <?php } ?> </div> <?php $paging = new PhanTrang($config);
" data-magnify-src="uploads/<?php echo $kien['image']; ?> " width="370" height="300"> <div class="center-tren1"> <ul> <li><h1 style="font-size:2.4em; color:#090; font-family:'Times New Roman', Times, serif;"><?php echo $kien['pro_name']; ?> </h1></li></br></br> <li style="font-size:1.6em"> Giá : <span style="font-size:1.5em; color:#090; font-family:'Times New Roman', Times, serif;" class="style2"><?php echo number_format($kien['price_sale'], '0', '.', '.'); ?> </span> đ</li></br> <li><?php echo cattext($kien['tomtat'], 150); ?> </li> </ul> </div> <div class="center-tren2"> <div class="center-tren2-1"> <ul> <li> <div class="dathang"> <a style="font-size:1.3em; font-weight:bold;" href="index.php?view=cart"><img style="margin-bottom:-5px;" id="img2" src="images/giohang.png" width="30"/> <b><?php echo isset($_SESSION['tong_so_sp']) ? $_SESSION['tong_so_sp'] : "0"; ?> </b>sản phẩm được thêm </a> </div>
foreach ($_SESSION['cart'] as $key => $val) { ?> <tr id="item-<?php echo $key; ?> "> <td class="remove"><input type="button" class="remove" data-id="<?php echo $key; ?> " value="×"></td> <td class="product"><img src="<?php echo $val['image']; ?> " width="150" alt=""></td> <td style="font-size:1.3em; font-weight:bold" class="desc"><?php echo cattext($val['name'], 25); ?> </td> <td class="unit-price addcomma" data-a-sign=" đ" data-p-sign="s" data-a-dec="," data-a-pad="false" data-a-sep="."><?php echo $val['price']; ?> </td> <td> <div class="quantity buttons_added"> <input class="minus" data-id="<?php echo $key; ?> " value="-" type="button"> <input style="text-align:center; background-color:#090" maxlength="12" data-id="<?php echo $key; ?>
$a = $pro_obj->getProductByKhuyenmai(); foreach ($a as $value) { ?> <div class="spkm-details"> <a href="index.php?view=tintucsp-detail&n_id=<?php echo $value['pro_id']; ?> "><img src="uploads/<?php echo $value['image']; ?> " width="56" height="60"/></a> <a href="index.php?view=tintucsp-detail&n_id=<?php echo $value['pro_id']; ?> "><?php echo cattext($value['tomtat'], 50); ?> </a> <p style="margin-top:3px;"><?php $date_int = strtotime($value['ngaydangbai']); $time_vietnam = date('d-m-Y', $date_int); echo $time_vietnam; ?> </p> </div> <?php } ?> </div> <div class="them"> <a href="index.php?view=danhmuc-product-detail">Xem thêm</a>