
<?php 
include "common/header.php";
include "common/navbar.php";
?> 


<!-- Main Container Starts -->
<div class="main-container" >
  <!-- Product Container Starts -->
  <div id="product-product" class="container" style="background-image: url(image/bg.jpg); ">
    <ul class="breadcrumb">
      <li><a href="index.php"><i class="fa fa-home"></i></a></li>
      <li><a href="#">Book Store</a></li>
    </ul>
    <!-- Row Starts -->  
    <div class="row">

      <?php include "common/sidebar.php"; ?> 

      <!-- Content Area Starts -->
      <div id="content" class="col-sm-9">
        <h3 class="page-heading-1">Book Store</h3>
        <div class="product-sort-wrap">
          <div class="row">
            <div class="col-md-2 col-sm-6 hidden-xs">
              <div class="btn-group btn-group-sm">
                <button type="button" id="list-view" class="btn btn-default" data-toggle="tooltip" title="List"><i class="fa fa-th-list"></i></button>
                <button type="button" id="grid-view" class="btn btn-default" data-toggle="tooltip" title="Grid"><i class="fa fa-th"></i></button>
              </div>
            </div>
            <!-- <div class="col-md-3 col-sm-6">
              <div class="form-group"><a href="index6431.html?route=product/compare" id="compare-total" class="btn btn-link">Product Compare (0)</a></div>
            </div>
            <div class="col-md-4 col-xs-6">
              <div class="form-group input-group">
                <label class="input-group-addon" for="input-sort">Sort By:</label>
                <select id="input-sort" class="form-control" onchange="location = this.value;">
                  <option value="index0560.html?route=product/category&amp;path=57&amp;sort=p.sort_order&amp;order=ASC&amp;limit=25">Default</option>
                  <option value="indexd677.html?route=product/category&amp;path=57&amp;sort=pd.name&amp;order=ASC&amp;limit=25">Name (A - Z)</option>
                  <option value="index85c5.html?route=product/category&amp;path=57&amp;sort=pd.name&amp;order=DESC&amp;limit=25">Name (Z - A)</option>
                  <option value="index9a21.html?route=product/category&amp;path=57&amp;sort=p.price&amp;order=ASC&amp;limit=25">Price (Low &gt; High)</option>
                  <option value="http://sainathchillapuram.com/tf/opencart/blackoc/index.php?route=product/category&amp;path=57&amp;sort=p.price&amp;order=DESC&amp;limit=25" selected="selected">Price (High &gt; Low)</option>
                  <option value="index2674.html?route=product/category&amp;path=57&amp;sort=rating&amp;order=DESC&amp;limit=25">Rating (Highest)</option>
                  <option value="index80a8.html?route=product/category&amp;path=57&amp;sort=rating&amp;order=ASC&amp;limit=25">Rating (Lowest)</option>
                  <option value="index351d.html?route=product/category&amp;path=57&amp;sort=p.model&amp;order=ASC&amp;limit=25">Model (A - Z)</option>
                  <option value="indexece2.html?route=product/category&amp;path=57&amp;sort=p.model&amp;order=DESC&amp;limit=25">Model (Z - A)</option>
                </select>
              </div>
            </div>
            <div class="col-md-3 col-xs-6">
              <div class="form-group input-group">
                <label class="input-group-addon" for="input-limit">Show:</label>
                <select id="input-limit" class="form-control" onchange="location = this.value;">
                  <option value="index2074.html?route=product/category&amp;path=57&amp;sort=p.price&amp;order=DESC&amp;limit=15">15</option>
                  <option value="http://sainathchillapuram.com/tf/opencart/blackoc/index.php?route=product/category&amp;path=57&amp;sort=p.price&amp;order=DESC&amp;limit=25" selected="selected">25</option>
                  <option value="index3289.html?route=product/category&amp;path=57&amp;sort=p.price&amp;order=DESC&amp;limit=50">50</option>
                  <option value="index8764.html?route=product/category&amp;path=57&amp;sort=p.price&amp;order=DESC&amp;limit=75">75</option>
                  <option value="index70e2.html?route=product/category&amp;path=57&amp;sort=p.price&amp;order=DESC&amp;limit=100">100</option>
                </select>
              </div>
            </div> -->
          </div>
        </div>
        <div class="row">         <!-- Product Col Starts -->
          <?php
                $sql_itm  = mysqli_query($conn,"SELECT * FROM items ORDER BY id LIMIT 5");
                while($row_itm = mysqli_fetch_array($sql_itm)){
                 ?>
          <div class="product-layout product-list col-xs-12">
            <!-- Product Module Starts -->
            <div class="product-thumb module-product animation clearfix">
              <!-- Product Image Starts -->
              <div class="module-product-image">
                <a href="details.php?id=<?php echo $row_itm['id']; ?>">
                        <img src="image/images/<?php echo $row_itm['f_img']; ?>" alt="<?php echo $row_itm['item_name']; ?>" title="<?php echo $row_itm['item_name']; ?>" class="img-responsive img-center" />
                      </a>
              </div>
              <!-- Product Image Ends -->
              <!-- Product Caption Starts -->
              <div class="module-product-caption">
                <!-- Product Name Starts -->
                <h6 class="module-product-title"><a href="details.php?id=<?php echo $row_itm['id']; ?>"><?php echo $row_itm['item_name']; ?></a></h6>
                <!-- Product Name Ends -->
                <!-- Product Price Starts -->
                <div class="module-product-price">
                  LKR<?php echo $row_itm['item_name']; ?>
                  <span class="price-tax">Ex Tax: $199.99</span>
                </div>
                <!-- Product Price Ends -->
              </div>
              <!-- Product Caption Ends -->
              <!-- Product Buttons Starts -->
              <div class="module-product-btns-wrap button-group">
                <button type="button" class="btn rounded-0 animation" onclick="cart.add('49');"><i class="fa fa-shopping-cart"></i> <span class="hidden-xs hidden-sm hidden-md">Add to Cart</span></button>
                <button type="button" class="btn rounded-0 animation" data-toggle="tooltip" title="Add to Wish List" onclick="wishlist.add('49');"><i class="fa fa-heart"></i></button>
                <button type="button" class="btn rounded-0 animation" data-toggle="tooltip" title="Compare this Product" onclick="compare.add('49');"><i class="fa fa-exchange"></i></button>
              </div>
              <!-- Product Buttons Ends -->
            </div>
            <!-- Product Module Ends -->
          </div>
        <?php } ?>
          <!-- Product Col Ends -->
        </div>
        <hr>
        <div class="row">
          <div class="col-sm-6 text-left-lg text-left-md text-left-sm"></div>
          <div class="col-sm-6 text-right-lg text-right-md text-right-sm results">Showing 1 to 1 of 1 (1 Pages)</div>
        </div>
      </div>
      <!-- Content Area Ends -->    

    </div>
    <!-- Row Ends -->  
  </div>
  <!-- Product Container Ends -->

</div>
<!-- Main Container Ends -->
<!-- Footer Starts -->
<?php include "common/footer.php"; ?> 

<!-- Footer Ends -->


</body>
<!-- Mirrored from sainathchillapuram.com/tf/opencart/blackoc/index.php?route=product/product&manufacturer_id=8&product_id=44&sort=pd.name&order=ASC&limit=50 by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 06 Oct 2021 07:22:13 GMT -->
</html> 
