ok
Direktori : /proc/self/root/home2/selectio/www/bharath/application/views/product/ |
Current File : //proc/self/root/home2/selectio/www/bharath/application/views/product/_product_item1.php |
<?php defined('BASEPATH') or exit('No direct script access allowed'); ?> <style> @media (min-width: 1260px){ .product-item .img-product { border-radius: 50%; height: 176px; width: 176px; border: 4px solid black; } } @media (max-width: 410px){ .product-item .img-product { border-radius: 50%; height: 92px; width: 92px; border: 4px solid black; } } @media (min-width: 1260px){ #top_slider_title { margin-top: -30%; padding: 0; padding-top: 10px; display: block; width: 100%; float: left; position: relative; overflow: hidden; } .venki{ margin-top: -28%; } } @media (max-width: 410px){ #slider-img-title{ margin-top: 15%; } } </style> <div class="product-item"> <div class="row-custom<?php echo (!empty($product->image_second)) ? ' product-multiple-image' : ''; ?>"> <a class="item-wishlist-button item-wishlist-enable <?php echo (is_product_in_wishlist($product) == 1) ? 'item-wishlist' : ''; ?>" data-product-id="<?php echo $product->id; ?>"></a> <div class="img-product-container"> <?php if (!empty($is_slider)): ?> <a href="<?php echo generate_product_url($product); ?>"> <img src="<?php echo base_url() . IMG_BG_PRODUCT_SMALL; ?>" data-lazy="<?php echo get_product_item_image($product); ?>" alt="<?php echo get_product_title($product); ?>" class="img-fluid img-product imagestyle11"> <?php if (!empty($product->image_second)): ?> <img src="<?php echo base_url() . IMG_BG_PRODUCT_SMALL; ?>" data-lazy="<?php echo get_product_item_image($product, true); ?>" alt="<?php echo get_product_title($product); ?>" class="img-fluid img-product img-second"> <?php endif; ?> </a> <?php else: ?> <a href="<?php echo generate_product_url($product); ?>"> <img src="<?php echo base_url() . IMG_BG_PRODUCT_SMALL; ?>" data-src="<?php echo get_product_item_image($product); ?>" alt="<?php echo get_product_title($product); ?>" class="img-fluid img-product imagestyle11" id="imagestyle11" style="border-radius:50% !important;"> <?php if (!empty($product->image_second)): ?> <img src="<?php echo base_url() . IMG_BG_PRODUCT_SMALL; ?>" data-src="<?php echo get_product_item_image($product, true); ?>" alt="<?php echo get_product_title($product); ?>" class="img-fluid img-product img-second imagestyle11" id="imagestyle11" style="border-radius:50% !important;"> <?php endif; ?> </a> <?php endif; ?> <?php if (!empty($product->discount_rate) && !empty($discount_label)): ?> <span class="badge badge-discount">-<?= $product->discount_rate; ?>%</span> <?php endif; ?> </div> <div class="row-custom item-details venki"> <h3 class="product-title item" style="text-align: center;"> <a href="<?php echo generate_product_url($product); ?>" id="slider-img-title"><?= get_product_title($product); ?></a> </h3> </div> <?php if ($product->is_promoted && $this->general_settings->promoted_products == 1 && isset($promoted_badge) && $promoted_badge == true): ?> <span class="badge badge-dark badge-promoted"><?php echo trans("featured"); ?></span> <?php endif; ?> </div> </div>