%PDF-1.7 GIF89;
Server IP : 5.161.254.237 / Your IP : 216.73.216.200 Web Server : Apache System : Linux diamond.sialwebvps.com 4.18.0-553.8.1.el8_10.x86_64 #1 SMP Tue Jul 2 07:26:33 EDT 2024 x86_64 User : stellasp ( 1131) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/stellasp/public_html/application/themes/default/views/ |
Upload File : |
<?php ob_start();?> <script type="text/javascript"> var rotate; $(document).ready(function(){ $('.banner_container').each(function(item) { if(item != 0) { $(this).hide(); } }); if($('.banner_container').size() > 1) { rotate_banner(); } }); var cnt = 0; function rotate_banner() { //stop the animations from going nuts when returning from minimize $('.banner_container:eq('+cnt+')').fadeOut(); cnt++; if(cnt == $('.banner_container').size()) { cnt = 0; } $('.banner_container:eq('+cnt+')').fadeIn(function(){ setTimeout("rotate_banner()", 3000); }); } </script> <?php $ads_javascript = ob_get_contents(); ob_end_clean(); $additional_header_info = $ads_javascript; include('header.php'); ?> <script type="text/javascript"> $(window).load(function() { $("#flexiselDemo1").flexisel(); $("#flexiselDemo2").flexisel({ visibleItems: 4, itemsToScroll: 3, animationSpeed: 200, infinite: true, navigationTargetSelector: null, autoPlay: { enable: false, interval: 5000, pauseOnHover: true }, responsiveBreakpoints: { portrait: { changePoint:480, visibleItems: 1, itemsToScroll: 1 }, landscape: { changePoint:640, visibleItems: 2, itemsToScroll: 2 }, tablet: { changePoint:768, visibleItems: 3, itemsToScroll: 3 } } }); $("#flexiselDemo3").flexisel({ visibleItems: 3, itemsToScroll: 1, autoPlay: { enable: true, interval: 5000, pauseOnHover: true } }); $("#flexiselDemo4").flexisel({ infinite: false }); }); </script> <?php if ($this->session->flashdata('message')) { echo '<div class="gmessage">'.$this->session->flashdata('message').'</div>'; } if ($this->session->flashdata('error')) { echo '<div class="error">'.$this->session->flashdata('error').'</div>'; } if (!empty($error)) { echo '<div class="error">'.$error.'</div>'; } ?> <section class="banner-sec"> <div id="carousel-id" class="carousel slide" data-ride="carousel"> <div class="carousel-inner"> <?php $box_count = 1; foreach ($boxes as $box) { ?> <div class="item <?php if($box_count==1){ ?> active <?php } ?>"> <?php if($box->link != '') { $target = false; if($box->new_window) { $target = 'target="_blank"'; } echo '<a href="'.$box->link.'" '.$target.' >'; } echo '<img src="'.base_url('uploads/'.$box->image).'" />'; if($box->link != '') { echo '</a>'; } echo '</div>'; $box_count++; } ?> </div> <a class="left carousel-control" href="#carousel-id" data-slide="prev"><span class="glyphicon glyphicon-chevron-left"></span></a> <a class="right carousel-control" href="#carousel-id" data-slide="next"><span class="glyphicon glyphicon-chevron-right"></span></a> </div> </section> <div class="main-content-sec"> <div class="container"> <div class="caruesel-sec shopenow-sec clearfix"> <ul class="inner-cat" id="flexiselDemo3"> <?php function home_categories($cats, $layer, $first='') { foreach ($cats as $cat) { if($cat['category']->image!='') { ?> <li> <div class="inner-cat-list"> <a href="<?=site_url($cat['category']->slug)?>"> <div class="img-wraper"><img src="<?=base_url('uploads/images/medium/'.$cat['category']->image)?>" alt=""/> <div class="overlay"> <strong>Explore Now</strong> </div> </div> <h2><?=$cat['category']->name?></h2> <button type="submit" class="btn shop-now">Shop Now</button> </a> </div> </li> <?php } // if (sizeof($cat['children']) > 0) // { // if($layer == 1) // { // $next = $layer+1; // home_categories($cat['children'], $next, ' '); // } // else // { // $next = $layer+1; // home_categories($cat['children'], $next, ' '); // } // } } } home_categories($this->categories, 1); ?> </ul> </div> <div class="caruesel-sec clearfix"> <ul class="cricket-store" id="flexiselDemo2"> <?php $cat_counter = 1; foreach($homeproducts as $product): ?> <li> <a href="<?php echo site_url($product->slug); ?>"> <div class="crick-store-wraper"> <div class="crick-store-img"> <?php $photo = '<img src="'.base_url('images/nopicture.png').'" alt="'.lang('no_image_available').'" class="img-responsive"/>'; $product->images = array_values($product->images); if(!empty($product->images[0])) { $primary = $product->images[0]; foreach($product->images as $photo) { if(isset($photo->primary)) { $primary = $photo; } } $photo = '<img src="'.base_url('uploads/images/small/'.$primary->filename).'" alt="'.$product->seo_title.'"/>'; } ?> <?php echo $photo; ?> </div> <h3><?php echo $product->name;?></h3> <?php if($product->saleprice > 0):?> <span><?php echo format_currency($product->saleprice); ?></span> <del><?php echo format_currency($product->price); ?></del> <?php else: ?> <span class="price_reg"><?php echo lang('product_price');?> <?php echo format_currency($product->price); ?></span> <?php endif; ?> <?php if((bool)$product->track_stock && $product->quantity < 1) { ?> <div class="stock_msg"><?php echo lang('out_of_stock');?></div> <?php } ?> </div> </a> </li> <?php $cat_counter++; endforeach; ?> </ul> </div> </div><!-- container --> </div> <section class="promo-banner"> <?php $banner_count = 1; foreach ($banners as $banner) { //echo '<div class="banner_container">'; if($banner->link != '') { $target = false; if($banner->new_window) { $target = 'target="_blank"'; } echo '<a href="'.$banner->link.'" '.$target.' >'; } echo '<img class="imgwidth" src="'.base_url('uploads/'.$banner->image).'" />'; if($banner->link != '') { echo '</a>'; } //echo '</div>'; $banner_count++; } ?> <!-- <a href="#"> <img src="images/shoes-banner-bottom.jpg" alt="" class="imgwidth"> </a>--> </section> </div> <section class="shopeby-cat clearfix"> <div class="container"> <h3>New Arrivals</h3> <div class="caruesel-sec"> <ul class="new-arrival" id="flexiselDemo1"> <?php $cat_counter = 1; foreach($newproducts as $product): ?> <li> <a href="<?php echo site_url('new-arrivals'); ?>"> <div class="new-arrival-listwraper"> <div class="img-wraper"> <?php $photo = '<img src="'.base_url('images/nopicture.png').'" alt="'.lang('no_image_available').'" class="img-responsive"/>'; $product->images = array_values($product->images); if(!empty($product->images[0])) { $primary = $product->images[0]; foreach($product->images as $photo) { if(isset($photo->primary)) { $primary = $photo; } } $photo = '<img src="'.base_url('uploads/images/small/'.$primary->filename).'" alt="'.$product->seo_title.'"/>'; } ?> <?php echo $photo; ?> <div class="overlape"> <strong><?php echo $product->name;?></strong> </div> </div> </div> </a> </li> <?php $cat_counter++; endforeach; ?> </ul> </div> </div> </section> <?php include('footer.php'); ?>