📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
e-ticaretv9.demodesign.com.tr
/
themes
/
default
📝
discounts.php
← Geri Dön
<?php m_header(); $products = $db->table('products')->where('status','=',1)->order('undiscounted_price','desc')->pagination(40)->get(); ?> <main class="main"> <div class="page-header breadcrumb-wrap mb-50"> <div class="container"> <div class="breadcrumb"> <a href="<?php echo m_permalink('home'); ?>" title="<?php echo LG_HOME; ?>"><i class="fi-rs-home mr-5"></i><?php echo LG_HOME; ?></a> <span></span> <?php echo LG_OPPORTUNITIES; ?> </div> </div> </div> <div class="container mb-30"> <div class="row flex-row-reverse"> <div class="col-lg-12"> <div class="shop-product-fillter"> <div class="totall-product"> <h1 class="category_title"><?php echo LG_OPPORTUNITIES; ?></h1> </div> </div> <div class="row product-grid"> <?php foreach($products['data'] as $product) { $product_image = m_image_url($product['image']); $product_title = $product['title']; $product_link = m_permalink('product',$product['sef'],$product['id']); $undiscounted_price = m_currency($product['undiscounted_price']); $product_sale_price = m_currency($product['sale_price']); $product_currency_type = currency_types($product['currency_type'],'value'); $undiscounted_html = ''; if($undiscounted_price>0) { $undiscounted_html = '<span class="old-price">'.$undiscounted_price.' '.$product_currency_type.'</span>'; } $cart_control = cart_control($product['id']); ?> <div class="col-lg-1-5 col-md-4 col-12 col-sm-6"> <div class="product-cart-wrap mb-30"> <div class="product-img-action-wrap"> <div class="product-img product-img-zoom"> <a href="<?php echo $product_link; ?>"> <img class="lazyload default-img product_list_image" data-src="<?php echo $product_image; ?>" alt="<?php echo $product_title; ?>" width="234" height="146"> </a> </div> </div> <div class="product-content-wrap"> <div class="product_list_title"> <h2><a href="<?php echo $product_link; ?>" title="<?php echo $product_title; ?>"><?php echo $product_title; ?></a></h2> </div> <div class="product-card-bottom"> <div class="product-price"> <span><?php echo $product_sale_price; ?> <?php echo $product_currency_type; ?></span> <?php echo $undiscounted_html; ?> </div> <div class="add-cart"> <?php echo $cart_control; ?> </div> </div> </div> </div> </div> <?php } ?> </div> <?php echo m_pagination($products['total_page'],$products['current_page'],m_permalink('discounts')); ?> </div> </div> </div> </main> <?php m_footer(); ?>
💾 Kaydet
İptal
📝 Yeniden Adlandır
İptal
Kaydet
🔐 Dosya İzinleri (chmod)
İzin Değeri:
Hızlı Seçim:
777
755
644
600
777
= Herkes okur/yazar/çalıştırır
755
= Sahip tam, diğerleri okur/çalıştırır
644
= Sahip okur/yazar, diğerleri okur
600
= Sadece sahip okur/yazar
İptal
Uygula