DB Error: Bad SQL Query: SELECT c.cat_id, c.cat_name, c.cat_description, c.cat_parent_id, c.cat_hits, c.cat_order, c.auth_viewcat, c.auth_viewimage, c.auth_download, c.auth_upload, c.auth_directupload, c.auth_vote, c.auth_sendpostcard, c.auth_readcomment, c.auth_postcomment, COUNT(i.image_id) AS new_images
FROM 4img_categories c
LEFT JOIN 4img_images i ON (i.cat_id = c.cat_id AND i.image_date >= 1614420825 AND i.image_active = 1)
GROUP BY c.cat_id
ORDER BY c.cat_order, c.cat_name ASC Table './RiolisRu/4img_images' is marked as crashed and should be repaired
DB Error: Bad SQL Query: SELECT cat_id, COUNT(*) AS num_images
FROM 4img_images
WHERE image_active = 1
GROUP BY cat_id Table './RiolisRu/4img_images' is marked as crashed and should be repaired
DB Error: Bad SQL Query: SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits, c.cat_name, u.username
FROM 4img_categories c, 4img_images i
LEFT OUTER JOIN bb_users u ON (u.user_id = i.user_id)
WHERE i.image_active = 1 AND c.cat_id = i.cat_id AND i.cat_id IN (0)
AND i.image_date>1610593625 ORDER BY i.image_date DESC
LIMIT 18 Table './RiolisRu/4img_images' is marked as crashed and should be repaired
Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/www/htdocs/gallery/includes/db_mysql.php on line 116 Выставка ваших работ