Home Gallery Directory Login Register Service FAQ TOS
tw jp fr en it




Expression #13 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'mygaimgs.i.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by SQL=SELECT g.uid,g.gallery_id,g.name as galleryname,g.create_date, count(distinct i.id) as imgs,sum(i.size) as totalsize,sum(i.views) as totalviews,count(distinct c.comment_id) as totalcomments, sum(i.views) + count(distinct c.comment_id) as totals, sum(i.ratings) as totalratings,sum(i.votes) as totalvotes, sum(i.ratings)/sum(i.votes) as totalrated, i.id,i.name,i.file,i.views,i.height,i.width,i.server_id FROM gallery as g LEFT JOIN images4g as i on i.gallery_id=g.gallery_id LEFT JOIN comments as c on c.img_id=i.id WHERE i.deleted=0 AND i.id!=0 AND g.status!=0 GROUP BY g.gallery_id ORDER BY totals DESC LIMIT 0,10


Search a Gallery:
First page << 1 2 3 4 5 6 7 8 9 10 >> Last page (13 pages)
Gallery Name Images Used space Views Comments Owner Flash






Copyright © 2005 - 2018Free Sex Pic. All rights reserved.

Syndicate | New | Popular | Top Rated | Random | Link to us



Powered by: AIH v2.3