I have gotten more of the auctions working on my dvel site. I have had to make some changes along the way.
-More changes for HTTP_GET/POST_VAR to _GET/POST
-Auction admin page didn't allow for updating of the bid increments so i added that ability.
below is the new update section of the admin/auctions.php
case 'update':
$auctions_id = tep_db_prepare_input($_POST['auctions_id']);
$products_price = tep_db_prepare_input($_POST['products_price']);
$auctions_price = tep_db_prepare_input($_POST['auctions_price']);
$overbid_amount = tep_db_prepare_input($_POST['overbid_amount']);
$day = tep_db_prepare_input($_POST['day']);
if (substr($auctions_price, -1) == '%')
{
$auctions_price = ($products_price - (($auctions_price / 100) * $products_price));
}
tep_db_query("update " . TABLE_AUCTIONS_PRODUCTS . " set auctions_starting_price = '" . tep_db_input($auctions_price) . "', auctions_last_modified = now(), expires_date = '" . $day . "', overbid_amount = '". tep_db_input($overbid_amount) . "' where auctions_id = '" . (int)$auctions_id . "'");
tep_redirect(tep_href_link(FILENAME_AUCTIONS_PRODUCTS, 'page=' . $_GET['page'] . '&aID=' . $auctions_id));
break;










