<?php 
$naziv = 'Korpa';
?>
<?php require_once("../resources/config.php"); ?>
<!DOCTYPE html>
<html lang="en">

<?php include(TEMPLATE_FRONT . DS . "head.php"); ?>

<body>

<div class="page-wrapper">
    <!-- Preloader -->
    <div class="preloader"></div>
    
        <!-- Main Header-->
     <header class="main-header header-style-four">
        <div class="header-top">
            <div class="auto-container clearfix">
                <div class="top-right">
                    <ul class="contact-info">
                        <li><span>Telefon :</span> (+38) 61-221-56-33</li>
                    <li><span>EMAIL :</span> <a href="#">balonbarbg@gmail.com</a></li>
                    </ul>  
                </div>
            </div>
        </div>

        <div class="header-lower">
            <div class="auto-container">
                <div class="main-box clearfix">
                    <div class="logo-box">
                        <div class="logo"><a href="index.php"><img src="images/logo-2.png" alt="" title=""></a></div>
                    </div>

                    <div class="nav-outer  clearfix">
                        <!-- Main Menu -->
                        <?php include(TEMPLATE_FRONT . DS . "meni.php");?>                     

                    </div>
                </div>
            </div>
        </div>
    </header> 
    <!--End Main Header -->
        <section class="page-title" style="background-image:url(images/background/7.jpg);">
        <div class="auto-container">
            <div class="inner-container clearfix">
                <div class="title-box">
                    <h1><?php echo $naziv ?></h1>
                    <span class="title">The Interior speak for themselves</span>
                </div>
                <ul class="bread-crumb clearfix">
                    <li><a href="index.php.html">Početna</a></li>
                    <li><?php echo $naziv ?></li>
                </ul>
            </div>
        </div>
    </section>
   
<h4 class="text-center bg-danger"><?php display_message(); ?></h4>  
<!--Sidebar Page Container-->
<div class="sidebar-page-container">
    <div class="auto-container">


        <div class="row clearfix">


  <h4 class="text-center bg-danger"><?php display_message(); ?></h4>    
  <h1>Korpa</h1>

<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">
  <input type="hidden" name="cmd" value="_cart">
  <input type="hidden" name="business" value="dragana.rankovic.1070.15@ict.edu.rs">
  <input type="hidden" name="currency_code" value="USD">    
    <table class="table table-striped">
        <thead>
          <tr>
           <th>Proizvod</th>
           <th>Cena</th>
           <th>Količina</th>
           <th>Ukupno</th>     
          </tr>
        </thead>
        <tbody>
            <?php cart(); ?>
        </tbody>
    </table>
    <?php echo show_paypal(); ?>
</form>



<!--  ***********CART TOTALS*************-->
            
<div class="col-xs-4 pull-right ">
<h2>Ukupno</h2>

<table class="table table-bordered" cellspacing="0">

<tr class="cart-subtotal">
<th>Proizvoda:</th>
<td><span class="amount">
    <?php echo isset($_SESSION['item_quantity']) ? $_SESSION['item_quantity'] : $_SESSION['item_quantity'] = "0"?>
    </span></td>
</tr>
<tr class="shipping">
<th>Dostava</th>
<td>Tip dostave</td>
</tr>

<tr class="order-total">
<th>Narudžbina ukupno</th>
<td><strong>
    <span class="amount">rsd 
        <?php echo isset($_SESSION['item_total']) ? $_SESSION['item_total'] : $_SESSION['item_total'] = "0"?>
    </span>
    </strong> </td>
</tr>

</table>

</div><!-- CART TOTALS-->


 </div><!--Main Content-->
    </div>
    <!--End Sidebar Page Container-->
    
    <!-- Main Footer -->
   <footer class="main-footer alternate" style="background-image: url(images/background/5.jpg);">
        <?php include 'footer.php';?>
    </footer>
    <!-- End Main Footer -->

</div>


</div>
<!--Scroll to top-->
<div class="scroll-to-top scroll-to-target" data-target="html"><span class="fa fa-arrow-circle-o-up"></span></div>
<script src="js/jquery.js"></script> 
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.fancybox.js"></script>
<script src="js/jquery-ui.js"></script> 
<script src="js/owl.js"></script>
<script src="js/wow.js"></script>
<script src="js/appear.js"></script>
<script src="js/jquery.bootstrap-touchspin.js"></script>
<script src="js/script.js"></script>
<!-- Color Setting -->
<script src="js/color-settings.js"></script>
</body>

<!-- shop-single27:40-->
</html>