SELECT COUNT(id) AS `num` FROM `rates` WHERE `object` = "source" AND `objectid` = "588" AND valid > 0: Table './codelabu_db1/rates' is marked as crashed and should be repaired:
1) /home/codelabu/domains/codelab.ru/public_html/index.php, line "116":require_once(/home/codelabu/domains/codelab.ru/public_html/handlers/rates.php)
2) /home/codelabu/domains/codelab.ru/public_html/handlers/rates.php, line "175":  Rate->GetObjectRates2Page(588, source, Array, 0, 10, 10)
3) /home/codelabu/domains/codelab.ru/public_html/modules/Rate/Rate.php, line "106":  DB->GetOne2Arr(SELECT COUNT(id) AS `num` FROM `?#RATE_TABLE` WHERE `object` = "source" AND `objectid` = "588" AND valid > 0)
4) /home/codelabu/domains/codelab.ru/public_html/modules/DB/DB.php, line "169":  DB->ExecuteRawQuery(Array)