Tapk Ekologija.lt bendruomenės nariu - Prisijunk su Facebook   arba Registruokis


Rekomenduojami Naujausi
SELECT A.id, A.friendlyUrl,DATE_FORMAT(A.time,'%Y.%m.%d %H:%i') AS time,A.title,A.content,A.rating,A.totalvotes, A.photo,C.id AS userId, C.nickname, C.display_name, C.name, C.surname, C.photo_1,C.photo_2,C.photo_3,C.photo_4,C.photo_5,C.default_photo, count( D.id ) AS count FROM RAD_announcements A LEFT JOIN RAD_users_announcements_relation B ON A.id = B.related2 LEFT JOIN RAD_users_ C ON B.related1 = C.id LEFT JOIN RAD_announ_announ_comments_relation D ON A.id = D.related1 LEFT JOIN RAD_announ_scopes_relation E ON E.related1= A.id LEFT JOIN RAD_scopes S ON E.related2= S.id WHERE S.friendlyUrl = 'atliekos_ir_perdirbimas' AND E.deleted = 0 AND A.type = 3 AND A.deleted = 0 GROUP BY A.id ORDER BY A.rating DESC LIMIT -10,10 klaida? 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-10,10' at line 12

Fatal error: Call to a member function getRows() on a non-object in /var/www/vhosts/ekologija.lt/httpdocs/site.admin/Smarty/templates_c/%%38^38A^38AB7B86%%list.tpl.php on line 163