dan führ mal diese sql aus:
PHP-Code:
SELECT t1.*
FROM vms_gebuchte_werbung t1
LEFT JOIN reloads_reloads t2
ON (t1.tan = t2.tan AND (t2.uid = "*******DEINEUID*******" OR t2.ip = "*****DEINEIP*****"))
WHERE t2.tan IS NULL AND t1.werbeart = "forcedbanner" AND t1.menge > 0 AND t1.status = 1 AND t1.verdienst > 0 AND t1.sponsor != "*****DEINEUID*******" ORDER BY t1.verdienst DESC LIMIT 25
an drei stelln must du uid oder ip einfügen