📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
e-ticaretv9.demodesign.com.tr
/
themes
/
default
📝
brand.php
← Geri Dön
<?php m_header(); $informations = $db->table('brands')->where('sef','=',m_u_g('sef'))->where('id','=',m_u_g('id'))->where('status','=',1)->get(); if($informations['total_count']=='0') { m_redirect(SITE_DOMAIN); } $info = $informations['data'][0]; $brand_products = $db->table('products')->where('b_id','=',$info['id'])->where('status','=',1)->order('id','desc')->pagination(40)->get(); ?> <input type="hidden" class="scroll_active" value="0"> <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 $info['title']; ?> </div> </div> </div> <div class="container mb-30"> <div class="row flex-row-reverse"> <div class="col-lg-12 order-lg-1 order-2"> <div class="shop-product-fillter"> <div class="totall-product"> <h1 class="category_title"><?php echo LG_BRAND; ?> - <?php echo $info['title']; ?></h1> </div> </div> <div class="row product-grid product_list"> <?php foreach($brand_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($brand_products['total_page'],$brand_products['current_page'],m_permalink('brand',$info['sef'],$info['id'])); ?> </div> </div> <?php if($info['seo_content']!='') { ?> <div class="seo_content bg-white rounded shadow-sm p-3"> <?php echo $info['seo_content']; ?> </div> <?php } ?> </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