MMCT TEAM
Server IP : 162.214.80.37  /  Your IP : 216.73.216.83
Web Server : Apache
System : Linux sh013.webhostingservices.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : imyrqtmy ( 2189)
PHP Version : 8.2.18
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home2/imyrqtmy/public_html/Careershine/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/imyrqtmy/public_html/Careershine/cart.php
<?php
session_start();

$cartv = $_SESSION['cartv'];

?>
<!DOCTYPE html>
<html lang="en">

<?php include'include/head.php'; ?>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"/>
<link rel="stylesheet" type="text/css" href="css/animate.css"/>
<link rel="stylesheet" type="text/css" href="css/flaticon.css"/>
<link rel="stylesheet" type="text/css" href="css/font-awesome.css"/>
<link rel="stylesheet" type="text/css" href="css/themify-icons.css"/>
<link rel="stylesheet" type="text/css" href="css/slick.css">
<link rel="stylesheet" type="text/css" href="css/prettyPhoto.css">
<link rel="stylesheet" type="text/css" href="css/shortcodes.css"/>
<link rel="stylesheet" type="text/css" href="css/main.css"/>
<link rel="stylesheet" type="text/css" href="css/inner-page.css"/>
<link rel="stylesheet" type="text/css" href="css/megamenu.css"/>
<link rel="stylesheet" type="text/css" href="css/responsive.css"/>

</head>

<body>

    <!--page start-->
    <div class="page">
       

        <!--header start-->
       <?php include'include/header.php'; ?>
        <!--header end-->


        <!-- page-title -->
        <div class="ttm-page-title-row">
            <div class="ttm-page-title-row-inner">
                <div class="container">
                    <div class="row align-items-center">
                        <div class="col-lg-12">
                            <div class="page-title-heading">
                                <h2 class="title">Cart Details</h2>
                            </div>
                            <div class="breadcrumb-wrapper">
                                <span>
                                    <a title="Homepage" href="index.php">Home</a>
                                </span>
                                <span>Cart Details</span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>                    
        </div>
        <!-- page-title end -->


    <!--site-main start-->
    <div class="site-main">




        <!--- conatact-section -->
        <section class="ttm-row conatact-section clearfix">
            <div class="container">
                <!-- row -->
                <div class="row">
                    <div class="col-lg-12">
                        <div class="ttm-col-bgcolor-yes ttm-bg ttm-bgcolor-white z-index-2 spacing-5 box-shadow mt_15 mb_15">
                            <div class="ttm-col-wrapper-bg-layer ttm-bg-layer"></div>
                            <div class="row">
                                <?php
                                if($cartv == ''){
                                ?>
                                
                                    <div class="col-lg-12">
                                        <form action="checkout.php" method="post">
                                        <div class="cart">
                                    <table class="table table-bordered table-hover ">
                                        <thead>
                                            <tr>
                                                <th class="product-name">Name</th>
                                                <th class="product-price">Unit Price</th>
                                                <th class="product-quantity">Quantity</th>
                                                <th class="product-subtotal">Total</th>
                                                <th>Remove</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                                                                        <tr>
                                                
                                                <td class="product-name"><a href="#">Registration for India-International</a></td>
                                                <td class="product-price"><span>₹</span>5900
                                                <input type="hidden" name="uprice" class="uprice" value="5900">
                                                </td>
                                                <td class="product-quantity"><input value="1" type="number" name="qty"  id="1" class="updatecart" pattern="[0-9]*"></td>
                                                <td class="subtotal"><span class="amount"><span class="symbol">₹</span ><span class="subt">5900</span>/-</span></td>
                                            <td>
                                                <a class="remove" onclick="window.location.href='removecart.php?action=removecart&amp;key=0&amp;name=Registration for India-International'"><i class="fa fa-trash"></i></a></td>
                                            </tr>
                                                                                    </tbody>
                                        
                                    </table>
                                    </div>
                                    <br>
                                    <div class="cart-totals">
                                            <h5 class="title mb-25">Cart totals</h5>
                                            <table class="table table-hover table-bordered">
                                                <tbody>
                                                    
                                                    <tr class="order-total">
                                                        <th>Total</th>
                                                        <td><strong><span class="amount"><span>₹</span> <span class="tot">5900</span>/-</span></strong></td>
                                                        <input type="hidden" name="subtotal" class="subtotal" value="5900">
                                                        <input type="hidden" name="totalp" class="totalp" value="5900">
                                                    </tr>
                                                </tbody>
                                            </table>
                                            <div class="new-project">
                                                <div class="project-new" style="text-align: right;">
                                                        <button class="ttm-btn ttm-btn-size-md ttm-btn-shape-square ttm-btn-style-border ttm-btn-color-dark" type="submit"> Proceed to checkout</button>
                                                    </div>
                                                </div>
                                        </div>
                                        </form>
                                </div>
                               
                                <?php } else { ?>
                                
                                    <div class="col-lg-12">
                                                                       <table width="100%" style="background-color: #ababab78">
                                      <tbody><tr>
                                         <td><br><br></td>
                                      </tr>
                                      <tr>
                                         <td style="text-align:center">
                                         <h1 style="font-size: 20px">Your Cart is Empty</h1><br><br>
                                         <p style="font-size: 15px"> Save items that you like in your Cart. Review them anytime and easily move them to the bag</p><br>
                                        
                                         </td>
                                      </tr>
                                   </tbody></table>
                                                               </div>
                                
                                <?php } ?>
                            </div>
                        </div>
                    </div>
                </div><!-- row end -->                
            </div>
        </section>
        <!-- conatact-section end -->


        <!--google_map-->
      

      
    </div><!--site-main end-->


    <!--footer start-->
    <?php include'include/footer.php'; ?>
    <!--footer end-->


    <!--back-to-top start-->
    <a id="totop" href="#top">
        <i class="fa fa-angle-up"></i>
    </a>
    <!--back-to-top end-->

</div><!-- page end -->


    <!-- Javascript -->

    <script src="js/jquery.min.js"></script>
    <script src="js/tether.min.js"></script>
    <script src="js/bootstrap.min.js"></script> 
    <script src="js/jquery.easing.js"></script>    
    <script src="js/jquery-waypoints.js"></script>    
    <script src="js/jquery-validate.js"></script> 
    <script src="js/jquery.prettyPhoto.js"></script>
    <script src="js/slick.min.js"></script>
    <script src="js/numinate.min.js"></script>
    <script src="js/imagesloaded.min.js"></script>
    <script src="js/jquery-isotope.js"></script>
    <script src="js/main.js"></script>
    <!-- Javascript end-->

    <!--<script src="js/map.js"></script>-->
    <!--<script src="https://maps.google.com/maps/api/js?sensor=false"></script>-->
    <!-- Javascript end-->

<script type="text/javascript">

        $(document).ready(function(){

// alert('k');

     $(document).on('change','.updatecart', function(){

         

         var  iqty = $(this).val();    

                 var id1 = $(this).attr('id').split('e').pop();

        

        // var aid = $(this).closest('tr').attr('id');

        

        var uprice = $('.uprice').val();

        

        // alert(iqty);

        // alert(id1);

        

         $.ajax({  

                    type: 'POST',  

                    url: 'Ajax/update_qty.php', 

                    data: {aid: id1,qty: iqty,upri: uprice },

                    success: function(response) {

                          

                    //   alert(response);
                       
                       $('.subt').text(response);
                         $('.tot').text(response);
                         
                         $('.subtotal').val(response);
                         $('.totalp').val(response);
                         
                         




                    }

                });

    });

     });

    </script>

</body>

<!-- Mirrored from themetechmount.net/html/kaccy/contact-us-1.html by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 07 Oct 2023 10:23:39 GMT -->
</html>

MMCT - 2023