Warning: mysql_pconnect(): Connection refused in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 14 Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 15 Warning: mysql_query() expects parameter 2 to be resource, boolean given in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 17 Warning: mysql_query(): No such file or directory in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34 Warning: mysql_query(): A link to the server could not be established in /var/www/11.system.motorussia.ru/config/libs/db.class.php on line 34
SELECT `id` FROM `ad_geo_cities` WHERE `country_id` = "27" AND `region_id` = "672" AND `title` = "Saint Petersburg"No such file or directory
SELECT `id` FROM `read` `r` WHERE `object_type` = "incident" AND `object_id` = "8" AND `date` < NOW() + INTERVAL 2 MINUTE AND `hide` = 0 AND `deleted` = 0 GROUP BY `key` ORDER BY `date` DESC LIMIT 0, 20No such file or directory
SELECT `p`.`id`, `p`.`company_id`, `p`.`tariff_type`, `p`.`tariff_count`, `p`.`tariff_price`, `p`.`limit_day`, UNIX_TIMESTAMP(`p`.`date_end`) AS `date_end`, `p`.`view`, `c`.`place_id`, `c`.`limit_type`, `c`.`limit_count`, `c`.`ext`, `c`.`link`, `c`.`target`, `c`.`priority`, `c`.`dealer` FROM `ad_periods` `p` RIGHT JOIN `ad_companies` `c` ON `c`.`id` = `p`.`company_id` LEFT JOIN `ad_limits` `l` ON `l`.`company_id` = `p`.`company_id` AND `l`.`key` = "versions" WHERE `c`.`place_id` = 4 AND `p`.`end` = 0 AND `p`.`date_start` <= NOW() AND `p`.`date_end` >= NOW() AND ((`l`.`value` = "8") OR `l`.`value` IS NULL) GROUP BY `p`.`company_id`No such file or directory