require_once("../conn.php");
require_once("access.php");
include_once("LeftStyles.php");
$q1 = "select *, from_unixtime(DatePosted, '%b-%d-%Y') as dp, from_unixtime(DateExpired, '%b-%d-%Y') as de from coupons_listings where ListingStatus = '$_GET[status]' order by DatePosted desc";
$r1 = mysql_query($q1) or die(mysql_error());
if(mysql_num_rows($r1) == '0')
{
echo "
CLASSIFIEDS v2.0
|
Title & Description | Date | Expire |
$a1[Title] $pri - $desc | \n\t$a1[dp] | \n\t$a1[de] | \n