OverLord Shell

Path : G:/PleskVhosts/jaincensus.com/macciaweb.ultraliant.com/businessforum/
File Upload :
Current File : G:/PleskVhosts/jaincensus.com/macciaweb.ultraliant.com/businessforum/index1.php

<?php 
session_start();
include("db/conn.php");
include_once("header.inc.php");
//include_once("banner.inc.php");

?>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link rel="stylesheet" href="http://cdn.bootcss.com/animate.css/3.5.1/animate.min.css">

<div id="first-slider">
    <div id="carousel-example-generic" class="carousel slide carousel-fade">
        <!-- Indicators -->
        <ol class="carousel-indicators">
            <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
            <li data-target="#carousel-example-generic" data-slide-to="1"></li>
            <li data-target="#carousel-example-generic" data-slide-to="2"></li>
            <li data-target="#carousel-example-generic" data-slide-to="3"></li>
        </ol>
        <!-- Wrapper for slides -->
        <div class="carousel-inner" role="listbox">
            <!-- Item 1 -->
            <div class="item active slide1">
                <div class="row"><div class="container">
                   <div class="col-md-3 text-right">
                        
                    </div>
                    <div class="col-md-9 text-left">
                        <h3 data-animation="animated bounceInDown"></h3>
                        <h4 data-animation="animated bounceInUp"></h4>             
                     </div>
                </div></div>
             </div> 
            <!-- Item 2 -->
            <div class="item slide2">
                <div class="row"><div class="container">
                    <div class="col-md-7 text-left">
                        <h3 data-animation="animated bounceInDown"> </h3>
                        <h4 data-animation="animated bounceInUp"></h4>
                     </div>
                   <div class="col-md-5 text-right">
                       
                    </div>
                </div></div>
            </div>
            <!-- Item 3 -->
            <div class="item slide3">
                <div class="row"><div class="container">
                    <div class="col-md-7 text-left">
                       <h3 data-animation="animated bounceInDown"></h3>
                        <h4 data-animation="animated bounceInUp"></h4>
                     </div>
                    <div class="col-md-5 text-right">
                        
                    </div>   
                </div></div>
            </div>
            <!-- Item 4 -->
            <div class="item slide4">
                <div class="row"><div class="container">
                    <div class="col-md-7 text-left">
                        <h3 data-animation="animated bounceInDown"></h3>
                        <h4 data-animation="animated bounceInUp"></h4>
                     </div>
                    <div class="col-md-5 text-right">
                       
                    </div>  
                </div></div>
            </div>
            <!-- End Item 4 -->
    
        </div>
        <!-- End Wrapper for slides-->
        <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
            <i class="fa fa-angle-left"></i><span class="sr-only">Previous</span>
        </a>
        <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
            <i class="fa fa-angle-right"></i><span class="sr-only">Next</span>
        </a>
    </div>
</div>
<style>
#first-slider .main-container {
  padding: 0;
}


#first-slider .slide1 h3, #first-slider .slide2 h3, #first-slider .slide3 h3, #first-slider .slide4 h3{
    color: #fff;
    font-size: 30px;
      text-transform: uppercase;
      font-weight:700;
}

#first-slider .slide1 h4,#first-slider .slide2 h4,#first-slider .slide3 h4,#first-slider .slide4 h4{
    color: #fff;
    font-size: 30px;
      text-transform: uppercase;
      font-weight:700;
}
#first-slider .slide1 .text-left ,#first-slider .slide3 .text-left{
    padding-left: 40px;
}


#first-slider .carousel-indicators {
  bottom: 0;
}
#first-slider .carousel-control.right,
#first-slider .carousel-control.left {
  background-image: none;
}
#first-slider .carousel .item {
  min-height: 525px; 
  height: 100%;
  width:100%;
}

.carousel-inner .item .container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
}


#first-slider h3{
  animation-delay: 1s;
}
#first-slider h4 {
  animation-delay: 2s;
}
#first-slider h2 {
  animation-delay: 3s;
}


#first-slider .carousel-control {
    width: 6%;
        text-shadow: none;
}


#first-slider h1 {
  text-align: center;  
  margin-bottom: 30px;
  font-size: 30px;
  font-weight: bold;
}

#first-slider .p {
  padding-top: 125px;
  text-align: center;
}

#first-slider .p a {
  text-decoration: underline;
}
#first-slider .carousel-indicators li {
    width: 14px;
    height: 14px;
    background-color: rgba(255,255,255,.4);
  border:none;
}
#first-slider .carousel-indicators .active{
    width: 16px;
    height: 16px;
    background-color: #fff;
  border:none;
}


.carousel-fade .carousel-inner .item {
  -webkit-transition-property: opacity;
  transition-property: opacity;
}
.carousel-fade .carousel-inner .item,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  opacity: 0;
}
.carousel-fade .carousel-inner .active,
.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
  opacity: 1;
}
.carousel-fade .carousel-inner .next,
.carousel-fade .carousel-inner .prev,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  left: 0;
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
}
.carousel-fade .carousel-control {
  z-index: 2;
}

.carousel-control .fa-angle-right, .carousel-control .fa-angle-left {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: inline-block;
}
.carousel-control .fa-angle-left{
    left: 50%;
    width: 38px;
    height: 38px;
    margin-top: -15px;
    font-size: 30px;
    color: #fff;
    border: 3px solid #ffffff;
    -webkit-border-radius: 23px;
    -moz-border-radius: 23px;
    border-radius: 53px;
}
.carousel-control .fa-angle-right{
    right: 50%;
    width: 38px;
    height: 38px;
    margin-top: -15px;
    font-size: 30px;
    color: #fff;
    border: 3px solid #ffffff;
    -webkit-border-radius: 23px;
    -moz-border-radius: 23px;
    border-radius: 53px;
}
.carousel-control {
    opacity: 1;
    filter: alpha(opacity=100);
}


/********************************/
/*       Slides backgrounds     */
/********************************/
#first-slider .slide1 {
    background-image: url(images/slider/coupons.jpg);
      background-size: cover;
    background-repeat: no-repeat;
}
#first-slider .slide2 {
  background-image:  url(images/slider/coupons2.jpg);
      background-size: cover;
    background-repeat: no-repeat;
}
#first-slider .slide3 {
  background-image:  url(images/slider/coupons3.jpg);
      background-size: cover;
    background-repeat: no-repeat;
}
#first-slider .slide4 {
  background-image:  url(images/slider/coupons4.jpg);
      background-size: cover;
    background-repeat: no-repeat;
}




/********************************/
/*          Media Queries       */
/********************************/
@media screen and (min-width: 980px){
      
}
@media screen and (max-width: 640px){
      
}

</style>
<script>
(function( $ ) {

    //Function to animate slider captions 
	function doAnimations( elems ) {
		//Cache the animationend event in a variable
		var animEndEv = 'webkitAnimationEnd animationend';
		
		elems.each(function () {
			var $this = $(this),
				$animationType = $this.data('animation');
			$this.addClass($animationType).one(animEndEv, function () {
				$this.removeClass($animationType);
			});
		});
	}
	
	//Variables on page load 
	var $myCarousel = $('#carousel-example-generic'),
		$firstAnimatingElems = $myCarousel.find('.item:first').find("[data-animation ^= 'animated']");
		
	//Initialize carousel 
	$myCarousel.carousel();
	
	//Animate captions in first slide on page load 
	doAnimations($firstAnimatingElems);
	
	//Pause carousel  
	$myCarousel.carousel('pause');
	
	
	//Other slides to be animated on carousel slide event 
	$myCarousel.on('slide.bs.carousel', function (e) {
		var $animatingElems = $(e.relatedTarget).find("[data-animation ^= 'animated']");
		doAnimations($animatingElems);
	});  
    $('#carousel-example-generic').carousel({
        interval:3000,
        pause: "false"
    });
	
})(jQuery);	
</script>
<!--<div class="coupons">
	<div class="container">
     
     
		<div class="coupons-grids text-center">
			<div class="col-md-4 coupons-gd">
				<h3>Sell your product in a simple way</h3>
			</div>
			<div class="col-md-4 coupons-gd" style="width: 27.333333%; padding-top: 5%;">
				<a href="login.php"><span class="glyphicon glyphicon-user" aria-hidden="true"></span>
				<h4>LOGIN TO YOUR ACCOUNT</h4></a>
				<p style="color: #FFEB3B;">Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur.</p>
			</div>
			<div class="col-md-4 coupons-gd" style="width: 27.333333%; padding-top: 5%;">
				<a href="register.php"><span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
				<h4>ADD YOUR ACCOUNT</h4></a>
				<p style="color: #FFEB3B;">Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur.</p>
			</div>
			<div class="col-md-3 coupons-gd">
				<span class="glyphicon glyphicon-thumbs-up" aria-hidden="true"></span>
				<h4>START SELLING</h4>
				<p>Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur.</p>
			</div>
			<div class="clearfix"> </div>
		</div>
	</div>
</div>-->
<!--<section id="content">
	<div class="container">
    	<div class="row">
        	<div class="col-md-12">
            	<h2 class="page-header">Top Products</h2>
            </div>
        </div>
    </div>
    <div class="darkbg">
        <div class="container">
            <div class="row">
                <div class="col-md-12">
                	<style type="text/css"></style>
                    <div id="product-slider" class="owl-carousel">
                        <?php
						$listrow2=getDataMulti("busdir_product a,busdir_product_photo b", "a.product_id", "b.product_id", "a.*,b.photo_path", "b.featured='y' AND a.active='y' LIMIT 8");
						foreach($listrow2 as $listrow){
                        ?>
                        <div class="productbox">
                            <a href="product.php?id=<?php echo base64_encode($listrow['product_id'])?>"><img src="uploads/products/<?php echo $listrow['photo_path']?>" class="img-responsive prodimg" alt="<?php echo $listrow['product_name']?>"></a>
                            <h5 class="productname"><a href="product.php?id=<?php echo base64_encode($listrow['product_id'])?>"><?php echo $listrow['product_name']?></a></h5>
                        </div>
                        <?php
                        }
                        ?>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>-->

<section id="content" class="greybg">
	<div class="container">
    	<div class="row">
        	<div class="col-md-12">
            	<h2 class="page-header">Categories</h2>
            </div>
        </div>
    	<div class="row">
			<?php
            $sqlcat=$connection->query("SELECT * FROM busdir_mst_category WHERE active='y' AND catid IN (SELECT catid FROM busdir_product) ORDER BY categoryname");
            while($catdata=$sqlcat->fetch_assoc()){
            ?>     
             <div class="col-md-4 col-sm-6">
            
            
                <div class="category_box shadow_box">
                    <h4><a href="category.php?id=<?php echo base64_encode($catdata['catid'])?>" class="black"><?php echo $catdata['categoryname']?></a></h4>
                    <div class="media">
                                  
                        <div class="col-sm-6">
                            <a href="category.php?id=<?php echo base64_encode($catdata['catid'])?>"><img class="media-object" src="uploads/category/<?php echo $catdata['category_image']?>" style="height: 128px;
    width: 146px;"></a>
                        </div>
                         <div class="col-sm-6">
                            <ul class="fa-ul">
                                <?php
                                $sqlsubcat=$connection->query("SELECT * FROM busdir_mst_subcategory WHERE active='y' AND catid = ".$catdata['catid']." AND subcatid IN (SELECT subcatid FROM busdir_product) ORDER BY subcategoryname LIMIT 4");
                                $x=1;
                                while($subcatdata=$sqlsubcat->fetch_assoc()){
                                ?>
                                <li><i class="fa-li fa fa-angle-right"></i><a href="subcategory.php?id=<?php echo base64_encode($subcatdata['subcatid'])?>" title="<?php echo $subcatdata['subcategoryname']?>"><?php echo substr($subcatdata['subcategoryname'],0,32);if(strlen($subcatdata['subcategoryname'])>30)echo "...";?></a></li>
                                <?php
                                    $x++;
                                }
								//if category has less than 4 subcategories, adding empty 'li' tags to match height
                                if($x<5){
                                    while($x<5){
                                    ?>
                                <li>&nbsp;</li>
                                    <?php
                                        $x++;
                                    }
                                }
                                ?>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
            <?php
            }
            ?>
        </div>
    </div>
</section>

<section style=" margin-top: -4%; margin-bottom: 4%;">
<div class="col-md-12" style="background-color:whitesmoke ;font-size:20px" >
	<div class="container">
		<a href="allcat.php" style="float:right ">More category...</a>
	</div>
</div>
</section>

<section style="margin-bottom:2%">
<div class="container">
    <div class="row">
        <div class="row">
            <div class="col-md-9">
                <h3>
                   Most Popular</h3>
            </div>
            <div class="col-md-3">
                <!-- Controls -->
                <div class="controls pull-right hidden-xs">
                    <a class="left fa fa-chevron-left btn btn-success" href="#carousel-example"
                        data-slide="prev"></a><a class="right fa fa-chevron-right btn btn-success" href="#carousel-example"
                            data-slide="next"></a>
                </div>
            </div>
        </div>
        <div id="carousel-example" class="carousel slide hidden-xs" data-ride="carousel">
            <!-- Wrapper for slides -->
            <div class="carousel-inner">
                <div class="item active">
                    <div class="row">
                    <?php
			$catdata2=getDataMulti("busdir_mst_company", "", "", "", "active='y' limit 0,4");
			foreach($catdata2 as $catdata){
            ?>
                        <div class="col-sm-3" style=" width: 23%; ">
                            <div class="col-item">
                                <div class="photo" style="height:200px;">
                                <a href="company.php?id=<?php echo base64_encode($catdata['company_id'])?>" data-toggle="tooltip" data-placement="top" title="<?php echo $catdata['company_name']?>">
                                <?php if($catdata['company_logo_path']!=''){?>
                                    <img src="<?php echo $catdata['company_logo_path'];?>" style="height:230px;" class="img-responsive" alt="<?php echo $catdata['company_name'];?>"  />
                                    <?php } else {?>
                                     <img src="img/default_avatar.jpg" class="img-responsive" alt="<?php echo $catdata['company_name'];?>" />
                                    <?php }?>
                                    </a>
                                </div>
                                <div class="info">
                                    <div class="row separator">
                                        <div class="price col-md-6">
                                            <h5>
                                              <a href="company.php?id=<?php echo base64_encode($catdata['company_id'])?>" data-toggle="tooltip" data-placement="top" title="<?php echo $catdata['company_name']?>"> <?php echo $catdata['company_name'];?></h5></a>
                                            
                                        </div>
                                        <div class="rating hidden-sm col-md-6">
                                            <i class="price-text-color fa fa-star"></i><i class="price-text-color fa fa-star">
                                            </i><i class="price-text-color fa fa-star"></i><i class="price-text-color fa fa-star">
                                            </i><i class="fa fa-star"></i>
                                        </div>
                                    </div>
                                    
                                    <div class="clearfix">
                                    </div>
                                </div>
                            </div>
                        </div>
                      <?php }?>
                    </div>
                </div>
                <div class="item">
                    <div class="row">
                    <?php
			$catdata2=getDataMulti("busdir_mst_company", "", "", "", "active='y' limit 5,4");
			foreach($catdata2 as $catdata){
            ?>
                        <div class="col-sm-3" style=" width: 23%; ">
                            <div class="col-item">
                                <div class="photo">
                                <a href="company.php?id=<?php echo base64_encode($catdata['company_id'])?>" data-toggle="tooltip" data-placement="top" title="<?php echo $catdata['company_name']?>">
                                <?php if($catdata['company_logo_path']!=''){?>
                                    <img src="<?php echo $catdata['company_banner_path']?>" class="card-bkimg" alt="">
                                    <?php } else {?>
                                     <img src="img/default_avatar.jpg" class="img-responsive" alt="<?php echo $catdata['company_name'];?>" />
                                    <?php }?>
                                    </a>
                                </div>
                                <div class="info">
                                    <div class="row separator">
                                        <div class="price col-md-6">
                                            <h5>
                                                <?php echo $catdata['company_name'];?></h5>
                                        </div>
                                        <div class="rating hidden-sm col-md-6">
                                            <i class="price-text-color fa fa-star"></i><i class="price-text-color fa fa-star">
                                            </i><i class="price-text-color fa fa-star"></i><i class="price-text-color fa fa-star">
                                            </i><i class="fa fa-star"></i>
                                        </div>
                                    </div>
                                    
                                    <div class="clearfix">
                                    </div>
                                </div>
                            </div>
                        </div>
                      <?php }?>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

</section>


<!-- pignose css -->
<style>
@import url(http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css);
.col-item
{
    border: 1px solid #E1E1E1;
    border-radius: 5px;
    background: #FFF;
}
.col-item .photo img
{
    margin: 0 auto;
    width: 100%;
}

.col-item .info
{
    padding: 10px;
    border-radius: 0 0 5px 5px;
    margin-top: 1px;
}

.col-item:hover .info {
    background-color: #F5F5DC;
}
.col-item .price
{
    /*width: 50%;*/
    float: left;
    margin-top: 5px;
}

.col-item .price h5
{
    line-height: 20px;
    margin: 0;
}

.price-text-color
{
    color: #219FD1;
}

.col-item .info .rating
{
    color: #777;
}

.col-item .rating
{
    /*width: 50%;*/
    float: left;
    font-size: 17px;
    text-align: right;
    line-height: 52px;
    margin-bottom: 10px;
    height: 52px;
}

.col-item .separator
{
    border-top: 1px solid #E1E1E1;
}

.clear-left
{
    clear: left;
}

.col-item .separator p
{
    line-height: 20px;
    margin-bottom: 0;
    margin-top: 10px;
    text-align: center;
}

.col-item .separator p i
{
    margin-right: 5px;
}
.col-item .btn-add
{
    width: 50%;
    float: left;
}

.col-item .btn-add
{
    border-right: 1px solid #E1E1E1;
}

.col-item .btn-details
{
    width: 50%;
    float: left;
    padding-left: 10px;
}
.controls
{
    margin-top: 20px;
}
[data-slide="prev"]
{
    margin-right: 10px;
}

</style>
<link href="css/pignose.layerslider.css" rel="stylesheet" type="text/css" media="all">
<script type="text/javascript" src="js/pignose.layerslider.js"></script>
<link rel="stylesheet" property="stylesheet" href="css/owl.carousel.css">
<link rel="stylesheet" property="stylesheet" href="css/owl.theme.css">
<script src="js/owl.carousel.min.js"></script>
<script type="text/javascript">
$(window).load(function() {
	$('#visual').pignoseLayerSlider({
		play    : '.btn-play',
		pause   : '.btn-pause',
		next    : '.btn-next',
		prev    : '.btn-prev'
	});
});
$('#product-slider').owlCarousel({
	items:4,
	navigation:true,
	pagination:false,
	navigationText : ['<i class="fa fa-chevron-left"></i>','<i class="fa fa-chevron-right"></i>'],
});
</script>

<?php include_once("footer.inc.php");connClose();?>

xRyukZ - Copyright 2k19