<!-- Page Content --> <!-- <section> --> <div id="page-content-wrapper"> <!-- HIE CHUNTS DS VERDAMMTE LOGIN INDE WUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU --> <?php session_start(); include_once 'controller/warenkorbcontroller.php'; include_once 'model/warenkorb.php'; include_once 'controller/antiquitaetcontroller.php'; include_once 'model/antiquitaet.php'; include_once 'controller/accountcontroller.php'; include_once 'model/account.php'; $accocont = new AccountController(); $acco = $accocont->LoadAcc($_SESSION['id']); $cartcont = new WarenkorbController(); $cart = $cartcont->GetByAccount($acco); echo $cart->getPrice(); echo '<table>'; foreach ($cart->getAntiquitaet() as $anti) { $starter = '<tr class="article"><td><img class="smallpreview" width="200" height="200" alt="Artikelbild" src="'; $middle = '" alt="Artikelbild"></td><td>'; $end = '</td></tr>'; foreach ($list as $element) { echo $starter . $anti->getImage() . $middle . $anti->getName() . ': ' . $anti->getDescription() . '<br>' . $anti->getPrice() . $end; } } exit; ?>