/** * lots.php * * Content for Lots pages * * @version 1.2 2011-02-03 * @package Smithside Auctions * @copyright Copyright (c) 2011 Smithside Auctions * @license GNU General Public License * @since Since Release 1.0 */ // Get the Category $cat_id_in = (int) $_GET['cat_id']; $category = Category::getCategory($cat_id_in); // Get the lot information $lots = Lot::getLots($cat_id_in); if (empty($lots)) { $lots = array(); } ?> <h1>Product Category: <?php echo $category->getCat_name(); ?> <a class="button" href="index.php?content=lotmaint&cat_id=<?php echo $cat_id_in; ?> &lot_id=0"> Add</a> </h1>