Click on "POST AD (FREE)" from left side bar or top menu.
Latest Ads
SELECT a.*, ct.cityname, UNIX_TIMESTAMP(a.createdon) AS timestamp, feat.adid AS isfeat,
COUNT(*) AS piccount, p.picfile AS picfile, scat.subcatname, scat.catid, cat.catname
FROM xzclf_ads a
INNER JOIN xzclf_cities ct ON a.cityid = ct.cityid
INNER JOIN xzclf_subcats scat ON a.subcatid = scat.subcatid
INNER JOIN xzclf_cats cat ON scat.catid = cat.catid
LEFT OUTER JOIN xzclf_featured feat ON a.adid = feat.adid AND feat.adtype = 'A' AND feat.featuredtill >= NOW()
LEFT OUTER JOIN xzclf_adpics p ON a.adid = p.adid AND p.isevent = '0'
WHERE a.enabled = '1' AND a.verified = '1' AND a.expireson >= NOW() AND a.paid <> '0'
AND a.cityid = 506 AND a.subcatid !='130' AND a.subcatid !='13' AND a.subcatid !='14' AND a.subcatid !='15' AND a.subcatid !='16' AND a.subcatid !='17' AND a.subcatid !='18' AND a.subcatid !='19' AND a.subcatid !='20' AND a.subcatid !='21' AND a.subcatid !='78'
GROUP BY a.adid
ORDER BY a.createdon DESC
LIMIT 5Can't create/write to file '/tmp/#sql-temptable-14d0f-f8bd9-6863.MAI' (Errcode: 28 "No space left on device") |
|