= expires_date and expires_date > 0"); if (tep_db_num_rows($specials_query)) { while ($specials = tep_db_fetch_array($specials_query)) { tep_set_specials_status($specials['specials_id'], '0'); } } } ?>