SELECT
					`id`,
					`email`,
					`email_confirmation`,
					`deleted`,
					`status`,
					`status_checked`,
					`geo_version_id`,
					`geo_country_id`,
					`geo_region_id`,
					`geo_city_id`,
					`geo_area_id`,
					`sex`,
					`birthday`,
					`nick`,
					`surname`,
					`name`,
					`patronymic`,
					`phone_id`,
					`club_id`,
					`club_status`,
					UNIX_TIMESTAMP(`regdate`) AS `regdate`,
					UNIX_TIMESTAMP(`date_news`) AS `date_news`,
                    `tw_id`,
                    `fb_id`,
                    `vk_id`,
                    `quest_hide`
				FROM `users` WHERE `id` = "48268"
			
No such file or directory

			INSERT INTO `read_view` (
				`entry_id`,
				`date`,
				`count`
			) VALUES (
				109664,
				NOW(),
				1
			)
			ON DUPLICATE KEY UPDATE
			`count` = ROUND(`count` + 1 + (`count` * 0.0015))
		
No such file or directory
UPDATE `read` SET `view` = ROUND(`view` + 1 + (`view` * 0.0015)) WHERE `id` = 109664
No such file or directory

				SELECT
					`user_id` AS `id`,
					`url`,
					`icq`,
					`vkontakte`,
					`facebook`,
					`instagramm`,
					`twitter`,
					`blood_group`,
					`experience`,
					`occupation`,
					`interest`,
					`subscriber`,
					`entries`,
					UNIX_TIMESTAMP(`entry_last_date`) AS `entry_last_date`
				FROM `users_addition` WHERE `user_id` = "48268"
			
No such file or directory
SELECT `id` FROM `hashtags` WHERE `object_type` = "" AND `object_id` = ""
No such file or directory

			SELECT
			`r`.`id`
			FROM `read` `r`
			
			WHERE `r`.`hide` = 0 AND `r`.`deleted` = 0 AND `r`.`date` < (NOW() + INTERVAL 2 MINUTE) AND (`r`.`link_type` = "gallery" AND `r`.`link_id` = 6334) OR (`r`.`link_type` = "review" AND `r`.`link_id` = 6334)
			GROUP BY `r`.`key`
			ORDER BY `r`.`date` DESC
		
No such file or directory
SELECT `id` FROM `images` WHERE `object_type` = "gallery" AND `object_id` = 6334 AND `user_id` = 48268
No such file or directory
3 фотографии c «МотоСтолица 2019» от

3 фотографии с «МотоСтолица 2019» от

23 - 25 августа 2019, Санкт-Петербург

26 августа 2019

			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
Нет комментариев