/var/www/vhosts/demo.csphere.eu/httpdocs/mods/categories/functions.php
1) SELECT categories_id, categories_name, categories_subid FROM demo_categories WHERE categories_mod = 'news' AND categories_access <= '1' ORDER BY categories_subid ASC, categories_name /var/www/vhosts/demo.csphere.eu/httpdocs/mods/news/recent.php
2) SELECT COUNT(DISTINCT news_id) FROM demo_news nws INNER JOIN demo_categories cat ON nws.categories_id = cat.categories_id WHERE nws.news_public = 1 AND cat.categories_access <= 1
3) SELECT nws.news_id AS news_id, nws.news_headline AS news_headline, nws.news_time AS news_time, nws.news_text AS news_text, nws.news_pictures AS news_pictures, nws.users_id AS users_id, usr.users_nick AS users_nick, usr.users_active AS users_active, usr.users_delete AS users_delete, nws.categories_id AS categories_id, cat.categories_picture AS categories_picture, cat.categories_name AS categories_name, nws.news_mirror AS news_mirror, nws.news_mirror_name AS news_mirror_name, nws.news_readmore AS news_readmore, nws.news_readmore_active AS news_readmore_active FROM demo_news nws INNER JOIN demo_users usr ON nws.users_id = usr.users_id INNER JOIN demo_categories cat ON nws.categories_id = cat.categories_id WHERE nws.news_public = 1 AND cat.categories_access <= 1 ORDER BY news_attached DESC, news_time DESC LIMIT 0,8
4) SELECT COUNT(*) FROM demo_comments WHERE comments_mod = 'news' AND comments_fid = 58
5) SELECT COUNT(*) FROM demo_comments WHERE comments_mod = 'news' AND comments_fid = 62
6) SELECT COUNT(*) FROM demo_comments WHERE comments_mod = 'news' AND comments_fid = 61
7) SELECT COUNT(*) FROM demo_comments WHERE comments_mod = 'news' AND comments_fid = 60
8) SELECT COUNT(*) FROM demo_comments WHERE comments_mod = 'news' AND comments_fid = 57
9) SELECT COUNT(*) FROM demo_comments WHERE comments_mod = 'news' AND comments_fid = 55
10) SELECT COUNT(*) FROM demo_comments WHERE comments_mod = 'news' AND comments_fid = 54
11) SELECT COUNT(*) FROM demo_comments WHERE comments_mod = 'news' AND comments_fid = 51