Queries: Array
(
[0] => SELECT * FROM cpg11d_users, cpg11d_usergroups WHERE user_group = group_id AND user_id='0' AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '*'
[1] => SELECT * FROM cpg11d_usergroups WHERE group_id = 3
[2] => DELETE FROM cpg11d_banned WHERE expiry = 0
[3] => SELECT * FROM cpg11d_banned WHERE ip_addr='3.145.47.253' OR ip_addr='3.145.47.253' OR user_id=0
[4] => SELECT aid FROM cpg11d_albums WHERE visibility != '0' AND visibility !='0' AND visibility NOT IN (3)
[5] => SELECT cid, name, description FROM cpg11d_categories WHERE parent = '' ORDER BY pos
[6] => SELECT aid FROM cpg11d_albums WHERE category >= 0
[7] => SELECT count(*) FROM cpg11d_pictures, cpg11d_albums WHERE cpg11d_pictures.aid = cpg11d_albums.aid AND category >= 0
[8] => SELECT cid, name, description FROM cpg11d_categories WHERE parent = '1' ORDER BY pos
[9] => SELECT count(*) FROM cpg11d_albums WHERE 1
[10] => SELECT count(*) FROM cpg11d_pictures WHERE 1
[11] => SELECT count(*) FROM cpg11d_comments WHERE 1
[12] => SELECT count(*) FROM cpg11d_categories WHERE 1
[13] => SELECT sum(hits) FROM cpg11d_pictures WHERE 1
[14] => SELECT count(*) FROM cpg11d_albums WHERE category = ''
[15] => SELECT COUNT(*) from cpg11d_pictures WHERE approved = 'YES' AND aid NOT IN (1,5,15)
[16] => SELECT pid, filename, url_prefix, filesize, pwidth, pheight, ctime, aid FROM cpg11d_pictures WHERE approved = 'YES' AND aid NOT IN (1,5,15) ORDER BY RAND() LIMIT 12
[17] => SELECT COUNT(*) from cpg11d_pictures WHERE approved = 'YES' AND aid NOT IN (1,5,15)
[18] => SELECT pid, filename, url_prefix, filesize, pwidth, pheight, ctime, owner_id, owner_name, aid FROM cpg11d_pictures WHERE approved = 'YES' AND aid NOT IN (1,5,15) ORDER BY pid DESC LIMIT 0 ,12
)
|