<?php
session_start();
ob_start();
//include_once("alib/hooks/common_func.php");
require_once("../extended/commonextended.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Grouping</title>
 <?php include_once("../".$view->dPath("inc")."incl_src.php"); ?>
 <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css" integrity="sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N" crossorigin="anonymous">

<script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.min.js" integrity="sha384-+sLIOodYLS7CIrQpBjl+C7nPvqq+FbNUBDunl/OZv93DB7Ln/533i8e/mZXLi/P+" crossorigin="anonymous"></script>

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.0.3/css/font-awesome.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">



<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>

	<link href="https://fonts.googleapis.com/css?family=Krona One:300,300i,400,400i,600,600i,700,700i|Raleway:300,300i,400,400i,500,500i,600,600i,700,700i|Poppins:300,300i,400,400i,500,500i,600,600i,700,700i" rel="stylesheet">
	<link href="https://fonts.googleapis.com/css?family=Noto Sans Pau Cin Hau:300,300i,400,400i,600,600i,700,700i|Raleway:300,300i,400,400i,500,500i,600,600i,700,700i|Poppins:300,300i,400,400i,500,500i,600,600i,700,700i" rel="stylesheet">


</head>
<body style="background-color: #f8f7fa;">
 <?php include_once("../".$view->dPath("inc")."header.php"); ?>
 <br />
 
     <section id="breadcrumbs" class="breadcrumbs mt-4">
       <div class="container-fluid bg-white" style="border:1px solid #e7e7e7;">
           <div class="col-12 bg-none m-auto pt-2 pb-2">
           <div class="row">
     <div class="col-sm-5 mt-1">
        <h4 class="pt-4 pl-1 text-center"> <font face='Raleway'><b style="color: #884dff;">SEARCH YOUR FAVOURITE BRANDS</b></font></h4>
          <!-- <p class="col-10 m-auto pt-2 pl-1 text-left"> <font face='Raleway'><p style="color: #000;"> Don't forget to check out brands for our editors' pro shopping tips and the hottest deals.</p></font></p>--->
     </div>
     <div class="col-sm-7 bg-none" >
         <!-- <h4 class="pt-4 pl-1 text-center"> <font face='Raleway'><b style="color: #ff5757;">SEARCH YOUR FAVOURITE BRANDS</b></font></h4>--->
         <!--serchbar code-->
           <form class=" " style="align-items: top;">
      <div class="container p-0 m-3 bg-info" style="box-sizing: border-box;">
    
         <form class="navbar-form bg-white" autocomplete="off" action="<?php echo $basepath;?>search/" method="get"role="search">
      <div class="col-12 d-inline-block bg-white" style="position: none; background:none; align-items: top;">
          
          <input type="text" class="srfh col-10 ml-4 bg-white d-inline-block" style=" position: auto; display: none; padding: 7px; border-bottom:1px solid #e7e7e7; border-top:1px solid #fff; border-right:1px solid #fff; border-left:1px solid #fff;"  onKeyUp="getScriptPage('box','text_content')" name="sr_content"id="text_content" required="required" placeholder="Search Your Store">
          <!-- <div class="search_response row p-4 bg-warning " style="display:none; font-size: 16px; line-height: 23px; margin-top: 45px;" id="box" >	</div>-->
          <span class="col-1 input-group-btn p-0 d-inline-block m-0 p-0" style="position:none;">
              
          <button type="submit" class="btn btn-primary srfh d-inline-block mr-3" name="search_qindex" style="background-color: #fff; border: #fff;" >
            <i class="fa fa-search p-1" style="color:#010101;" ></i> 
            </button> 
           
           </span>
           <div id="box" class="col-4 bg-light" style="display:none; font-size: 16px; line-height: 23px; border: 1px solid  ; position: fixed; z-index:1;">	</div>
             <!--<div class="col-sm-10 bg-dark text-light text-left mt-5" id="box" style="position: absolute; margin-top:15px;"></div>-->
        </div>
       </form>

</div> 
</div>
   <!-- </nav>-->
    </form>
         
         <!---serch bar end-->
     </div>
     </div>
</div>
    </section><!-- End Breadcrumbs -->


 <div class="container-fluid"> 
 <div class="col-11 m-auto"> 

	
<?php
if(isset($_GET['view']) && $_GET['view'] != ''){
$cpn_ct_match = $view->deURL($_GET['view']);
//list($key, $name) = explode(":::", $cpn_ct_match);
?>



    
    <div class="col-12 mt-3" style="font-size:30px; font-weight:500;"><font face="Poppins">
	 
<?php echo ucwords($cpn_ct_match); ?>
	 </font> </div>

<?php echo $view->CategoryCouponKey($view->deUrl($_GET['view'])); ?>
  
	 
<?php	 
}else{
?>

        <h3 class="text-dark bg-warning">
       Categories <?php if(isset($cpn_ct_match)) { echo $cpn_ct_match; } ?>

        </h3>
          <hr />
      


<?php //echo $view->viewInlineCategory(); 
 
//echo $view->masterCategory();

?>
	
<?php
} // end get if
?>		

  <div class="col-sm-3">
 <?php include_once("../".$view->dPath("inc")."side_bar.php"); ?>
 </div>

</div>
</div>
<br />
<br />

<?php include_once("../".$view->dPath("inc")."footer.php"); ?>
</body>
</html>

