MINI MINI MANI MO

Path : /home/kgembroi/public_html/
File Upload :
Current File : /home/kgembroi/public_html/new-collection.php

<?php 
require 'secureadmin/admin/config.php';
$queryc="select * from page_contents where page='New Collection' order by id desc";
$resc=mysql_query($queryc)or die("Query does not execute...");
$rowc= mysql_fetch_array($resc);
$cid= $rowc['id'];
$page=$rowc['page'];
$queryh="select * from seo_settings where typeid='$cid' and type='content'";
$resh=mysql_query($queryh)or die("Query does not execute...");
$rowh= mysql_fetch_array($resh);
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?php echo $rowh['meta_title'];?></title>
<meta  name="keywords" Content="<?php echo $rowh['meta_keyword'];?>"/>
<meta name="description" Content="<?php echo $rowh['meta_description'];?>"/>
<meta name="author" Content="<?php echo $rowh['author'];?>"/>
<meta name="robots" Content="<?php echo $rowh['robots'];?>"/>
<meta name="googlebot" Content="<?php echo $rowh['googlebot'];?>"/>
<meta name="identifier" Content="<?php echo $rowh['googleverify'];?>"/>
<meta name="coverage" Content="<?php echo $rowh['coverage1'];?>"/>
<meta name="country" Content="<?php echo $rowh['coverage2'];?>"/>
<meta name="revisit" Content="<?php echo $rowh['coverage3'];?>"/>
<!-- Bootstrap Core CSS -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/lightboxSS.css" rel="stylesheet">

<!-- Custom CSS -->
<link href="css/custom.css" rel="stylesheet">

<!--[if lt IE 9]>
        <script src="js/html5shiv.js"></script>
        <script src="js/respond.min.js"></script>
    <![endif]-->
<script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
<script type="text/javascript">
	// <!--
	/*
	 * See: http://blog.dynom.nl/archives/Javascript-printing-a-popup-window_20091029_52.html
	 */


	/**
	 * To put it in jQuery terms:
	 */
	Popup = {

		init : function () {
			$('a.action_print').bind('click', Popup.printIt);
		},

		printIt : function () {
			var win = window.open('', 'Image', 'resizable=yes,...');
			if (win.document) {
				win.document.writeln('<img src="'+ $(this).attr('href') +'" alt="image" />');
				win.document.close();
				win.focus();
				win.print();
			}

			return false;
		}
	}

	$(document).ready(function () {
		Popup.init();
	});


	// -->
	</script>
</head>

<body>
<div id="wrapper">
   <?php include('header.php'); ?>
</div>
<!-- /header -->

<section class="mainContainer">
  <div class="container">
    <div class="row contentSection">
      <div class="row">
        <div class="col-md-12 col-xs-12">
          <h1>New Collection</h1>
        </div>
      </div>
      <div class="row">
        	<div class="item">
                    <div class="product">
                      <?php 
	$sql = "SELECT * FROM category order by category_name asc ";
	$result = mysql_query($sql);
	while($rows=mysql_fetch_array($result)){ 
?>
                        <div class="col-md-3 col-sm-4 col-xs-6">
                            <div class="col-item">
                                <div class="photo"> <a href="products-new.php?id=<?php echo $rows['id']?>" title="<?php echo $rows['category_name'];?>" ><img src="galleryimg/<?php echo $rows['image'];?>" width="306" height="111" border="0" alt="<?php echo $rows['category_name']?>"/></a>
                                </div>
                                <div class="info">
                                    <div class="row">
                                        <div class="price col-md-12">
                                            <h5>
                                                  <a href="products-new.php?id=<?php echo $rows['id']?>" title="<?php echo $rows['category_name'];?>"><?php echo $rows['category_name'];?></a></h5>
                                        </div>
                                        
                                    </div>
                                    <div class="clearfix">
                                    </div>
                                </div>
                            </div>
                        </div>
                        <?php } ?>
                    </div>
                </div>
        </div>
    </div>
  </div>
  <!--/.container--> 
</section>
<!-- /services -->
<?php include('footer.php'); ?>
<!--/copy right--> 
<!-- jQuery --> 
<script src="js/jquery.js"></script> 
<!-- Bootstrap Core JavaScript --> 
<script src="js/bootstrap.min.js"></script> 
<script src="js/ekko-lightbox-min.js"></script> 
<script type="text/javascript">
			$(document).ready(function ($) {

				// delegate calls to data-toggle="lightbox"
				$(document).delegate('*[data-toggle="lightbox"]:not([data-gallery="navigateTo"])', 'click', function(event) {
					event.preventDefault();
					return $(this).ekkoLightbox({
						onShown: function() {
							if (window.console) {
								return console.log('Checking our the events huh?');
							}
						},
						onNavigate: function(direction, itemIndex) {
							if (window.console) {
								return console.log('Navigating '+direction+'. Current item: '+itemIndex);
							}
						}
					});
				});

				//Programatically call
				$('#open-image').click(function (e) {
					e.preventDefault();
					$(this).ekkoLightbox();
				});
				$('#open-youtube').click(function (e) {
					e.preventDefault();
					$(this).ekkoLightbox();
				});

				$(document).delegate('*[data-gallery="navigateTo"]', 'click', function(event) {
					event.preventDefault();
					return $(this).ekkoLightbox({
						onShown: function() {
							var a = this.modal_content.find('.modal-footer a');
							if(a.length > 0) {
								a.click(function(e) {
									e.preventDefault();
									this.navigateTo(2);
								}.bind(this));
							}
						}
					});
				});

			});
		</script>
        <script>
	$(document).ready(function(){
    $(window).bind('scroll', function() {
        var navHeight = $("#topBox").height();
        ($(window).scrollTop() > navHeight) ? $('nav').addClass('goToTop') : $('nav').removeClass('goToTop');
		($(window).scrollTop() > navHeight) ? $('nav li:first-child').addClass('staticLogo') : $('nav li:first-child').removeClass('staticLogo');
		($(window).scrollTop() > navHeight) ? $('.carousel').addClass('slidess') : $('.carousel').removeClass('slidess');
    });
});

</script>
</body>
</html>

OHA YOOOO