<table border="1" cellspacing="0" width="700" align="center" class="ui-corner-all"> <tr class="ui-widget-header"> <th width="10%"> </th> <th width="70%">Item</th> <th width="10%">Class</th> <th>Subcategory</th> </tr> <?php include_once "../model/PriceList.php"; $priceListObj = new PriceList(); if ($list["type"] == "S") { $items = $priceListObj->getItemsStandardList($_GET["idprice_list"]); } else { if ($_GET["baseList"] == "") { include_once "../model/Item.php"; $itemObj = new Item(); $items = $itemObj->getItemsList(); } else { $items = $priceListObj->getItemsStandardList($_GET["baseList"]); } } $i = 0; foreach ($items as $item) { ?> <tr id="row<?php echo $i; ?> "> <td> <img alt="+" src="../images/plus.png" onclick="addItem(<?php echo $i;