Ran sendnotice.php. Note: The auction email is above the UPDATE pp_products SET status. There were several other email notices that I did not copy from the script. Some of them had more than 3 days to go but still were picked by the script.
Sendnotice.php output:
Email to: ***@***.com [***] about auction end 313: [***, your auction on ***.com has expired. The high bid was submitted by *** for $110.00. High bidder's profile link:
http://***.com/***/member.php?u=11113 High bidder's email address: *****@***.com Auction link:
http://***.com/***/showproduct.php?product=313 Thank you!]
UPDATE pp_products SET status='1104180541',enddate='1104612541' WHERE id=313checking for ads while will expire in 3 days...
Email to: ***@***.net [***] about ad 209: [***, your ad on ***.com is going to expire in 6 days. If you have not sold your product and wish to renew your ad for an additional 30 days, please click on the link below:
http://***.com/***/renew.php?product...ock=1104700347 If you have sold your item, please let us know by clicking on this link:
http://***.com/***/editproduct.php?sold=209 Thank you!]