0 "; //"WHERE a.closed=0 AND a.active=1 AND a.approved=1 AND a.deleted=0 AND a.crea" $order_field = ($_REQUEST['order_field']) ? $_REQUEST['order_field'] : 'a.max_bid'; $order_type = ($_REQUEST['order_type']) ? $_REQUEST['order_type'] : 'DESC'; break; case 'ending': $page_header_msg = MSG_ENDING_SOON_AUCTIONS; $where_query = "WHERE a.active=1 AND a.approved=1 AND a.closed=0 AND a.deleted=0 AND a.list_in!='store' AND a.creation_in_progress=0"; $order_field = ($_REQUEST['order_field']) ? $_REQUEST['order_field'] : 'a.end_time'; $order_type = ($_REQUEST['order_type']) ? $_REQUEST['order_type'] : 'ASC'; break; } $header_browse_auctions = header5($page_header_msg); /** * below we have the variables that need to be declared in each separate browse page */ $page_url = 'auctions_show'; $order_field = (in_array($order_field, $auction_ordering)) ? $order_field : 'a.end_time'; $order_type = (in_array($order_type, $order_types)) ? $order_type : 'ASC'; $additional_vars = '&option=' . $_REQUEST['option']; include_once('includes/page_browse_auctions.php'); include_once ('global_footer.php'); echo $template_output; ?>