Beispiel #1
0
    echo $obj[0]->stud_dp;
    ?>
" alt="">
                            </a>
                          </div>
                        </div>
                        </div>
                      </div>

                      <!-- Total block for total price display -->
                      <?php 
    if (Session::exists('products') && Session::get('products') != null) {
        $get_sales = new Sales();
        $sub = $get_sales->sub_price();
        $gst = $get_sales->sub_tax();
        $pay = $get_sales->calc_total();
        ?>
                        <div class="col-lg-12 col-xs-12 col-md-6">
                          <div class="block">
                            <h2>Total</h2>
                            <div class="block-body">
                              <div style="border-bottom:1px solid gray">
                                <label>Item in Cart</label>
                                <span class="pull-right"><?php 
        echo $total_item;
        ?>
</span>
                              </div>
                              <div>
                                <label>Sub Price</label>
                                <span class="pull-right">RM <?php