function printRecite() { $cart = $_SESSION['cart']; if (isset($cart)) { $string = ''; foreach ($cart as $line) { $string .= $line->toRecite(); } $string .= '<tr class="total">'; $string .= '<td>' . __('Total:') . '</td>'; $string .= '<td>' . howManyItemsDoIHave(TRUE) . '</td>'; $string .= '<td></td>'; $string .= '<td>' . number_format(getCartValue(), 2, '.', '') . '</td>'; $string .= '</tr>'; return $string; } }
echo HOME; ?> addnewpage" title="<?php _e('Add New Page'); ?> "><?php _e('Add New Page'); ?> </a></li> <?php } ?> <li class="left <?php echo $sitemap['location'] == 'mycart' ? "active" : ""; ?> "><a href="<?php echo HOME; ?> mycart" title="<?php _e('My Cart'); ?> "><?php echo howManyItemsDoIHave(); ?> </a></li> </ul> </div>