<br/> <table align="center" border="1" cellpadding="2" cellspacing="0" class="ui-corner-all"> <?php $itemPrices = array(); include_once "../model/PriceList.php"; $priceListObj = new PriceList(); $lists = $priceListObj->getStandarPriceLists(); include_once "../model/Item.php"; $itemObj = new Item(); $items = $itemObj->getItemsList(); ?> <tr align="center"> <th style="width: 200px">Item</th> <?php foreach ($lists as $id => $value) { $itemPrices[] = $priceListObj->getAllItems($id); ?> <th style="width: 70px"><?php echo $value; ?> </th> <?php } ?> </tr> <tbody class="ui-widget-content"> <?php foreach ($items as $item) { ?> <tr> <td style="vertical-align: top;">