<?php } else { if ($auth) { $no_of_items = ADAO::getItemsCountInCart($_SESSION['id']); if ($no_of_items == 0) { ?> <table width="600" cellspacing="0" class="basket-table"> <tr> <td colspan="7" align="center"><strong>There are 0 items in your Basket.<br />Click <a href="index.php">here</a> to continue Shopping</strong></td> </tr> </table> <?php } else { $shipping_method = ADAO::getAllShippingMethods(); $cart = ADAO::getUserCartItemIdDetails($_SESSION['id']); $content_Array = ""; foreach ($cart as $index => $cartItems) { $content_Array .= $cartItems['data'] . ","; } $cart1 = substr($content_Array, 0, strlen($content_Array) - 1); $contents1 = UserFunctions::ExplodeItems($cart1); ?> <form method="post" action="shipping.php" name="cart_form" onsubmit="return checkValidation(cart_form)"> <table width="600" cellspacing="0" class="basket-table"> <tr> <td width="151"><strong>Item</strong></td> <td width="99"><strong>Type</strong></td> <td width="115"><strong>Item Description</strong></td> <td width="46"><strong>Price</strong></td> <td width="79"><strong>Quantity</strong></td>