示例#1
0
}
?>
                            <table align="center" border="1" cellpadding="2" cellspacing="0" width="100%" class="ui-corner-all">
                                <thead>
                                    <tr class="ui-widget-header">
                                        <th>&nbsp;</th>
                                        <th>Name</th>
                                        <th>Description</th>
                                    </tr>
                                </thead>
                                <tbody class="ui-widget-content">
                                    <?php 
include_once "../model/PriceList.php";
$priceListObj = new PriceList();
if (isset($_POST['searchSalesList'])) {
    $lists = $priceListObj->getPriceLists('searchList', $_POST['salesUser']);
} else {
    $lists = $priceListObj->getPriceLists($_SESSION['profile'], $_SESSION['username']);
}
$noEditableLists = $priceListObj->getNotEditablesLists();
foreach ($lists as $priceList) {
    ?>
                                        <tr onclick="loadPriceList('<?php 
    echo $priceList['idprice_list'];
    ?>
')">
                                            <td>
                                                <input type="checkbox" name="chk<?php 
    echo $priceList['idprice_list'];
    ?>
" id="chk<?php