function showPackageInfo(&$clsRpt, &$auction, &$packages, $lNumPackages, $lAuctionID) { //--------------------------------------------------------------------- // //--------------------------------------------------------------------- $attributes = new stdClass(); $attributes->lUnderscoreWidth = 600; openBlock('Packages', strLinkAdd_AuctionPackage($lAuctionID, 'Add New Package', true) . ' ' . strLinkAdd_AuctionPackage($lAuctionID, 'Add New Package', false), $attributes); echoT('<br>'); if ($lNumPackages == 0) { echoT('<i>There are currently no packages in the <b>"' . $auction->strSafeName . '"</b> auction<br><br>'); } else { writeAuctionPackageTable($lAuctionID, $auction, $packages, false); } closeBlock(); }
<?php echoT(strLinkAdd_AuctionPackage($lAuctionID, 'Add new auction package', true) . ' ' . strLinkAdd_AuctionPackage($lAuctionID, 'Add new auction package', false) . '<br><br>'); if ($lNumPackages == 0) { echoT('<i>There are currently no packages in the <b>"' . $auction->strSafeName . '"</b> auction<br><br>'); return; } else { writeAuctionPackageTable($lAuctionID, $auction, $packages, false); }
Net </td> </tr>'); foreach ($auctions as $auction) { $lAuctionID = $auction->lKeyID; echoT(' <tr class="makeStripe"> <td class="enpRpt" style="text-align:left;">' . str_pad($lAuctionID, 5, '0', STR_PAD_LEFT) . ' ' . strLinkView_AuctionRecord($lAuctionID, 'View Auction Record', true) . '<br>' . strLinkView_AuctionOverview($lAuctionID, 'Overview', false) . ' </td> <td class="enpRpt">' . strLinkRem_Auction($lAuctionID, 'Remove Auction', true, true) . ' </td> <td class="enpRpt">' . htmlspecialchars($auction->strAuctionName) . ' </td> <td class="enpRpt" style="text-align:center;">' . date($genumDateFormat, $auction->dteAuction) . ' </td> <td class="enpRpt" style="text-align:center; padding-left: 7pt;">' . number_format($auction->lNumPackages) . ' ' . strLinkView_AuctionPackages($lAuctionID, 'View auction packages', true) . ' ' . strLinkAdd_AuctionPackage($lAuctionID, 'Add new package', true) . ' </td> <td class="enpRpt" style="text-align:center;">' . number_format($auction->lNumItems) . ' </td> <td class="enpRpt" style="text-align:right;">' . number_format($auction->curEstValue, 2) . ' ' . $auction->strFlagImg . ' </td> <td class="enpRpt" style="text-align:right;">' . number_format($auction->curOOP, 2) . ' </td> <td class="enpRpt" style="text-align:right;">' . number_format($auction->curIncome, 2) . ' </td> <td class="enpRpt" style="text-align:right;">' . number_format($auction->curIncome - $auction->curOOP, 2) . ' </td> </tr>'); } echoT(' </table><br><br>');