| 1 | SELECT `Session`.`id`, `Session`.`data`, `Session`.`expires`, `Session`.`user_id` FROM `travel_moosocial`.`qccake_sessions` AS `Session` WHERE `Session`.`id` = '89560dbf67e9f8f402476d3239344b2f' LIMIT 1 | | 1 | 1 | 0 |
| 2 | SELECT `Photo`.`id`, `Photo`.`target_id`, `Photo`.`type`, `Photo`.`user_id`, `Photo`.`caption`, `Photo`.`path`, `Photo`.`thumbnail`, `Photo`.`original`, `Photo`.`created`, `Photo`.`like_count`, `Photo`.`dislike_count`, `Photo`.`privacy`, `Photo`.`album_type`, `Photo`.`album_type_id`, `Photo`.`comment_count`, `Photo`.`year_folder`, `Photo`.`size`, `Album`.`id`, `Album`.`user_id`, `Album`.`category_id`, `Album`.`title`, `Album`.`description`, `Album`.`created`, `Album`.`photo_count`, `Album`.`cover`, `Album`.`modified`, `Album`.`like_count`, `Album`.`dislike_count`, `Album`.`privacy`, `Album`.`type`, `Album`.`comment_count`, `Group`.`id`, `Group`.`category_id`, `Group`.`name`, `Group`.`user_id`, `Group`.`description`, `Group`.`type`, `Group`.`photo`, `Group`.`group_user_count`, `Group`.`created`, `Group`.`photo_count`, `Group`.`topic_count`, `Group`.`video_count`, `Group`.`event_count`, `Group`.`featured`, `User`.`id`, `User`.`name`, `User`.`email`, `User`.`password`, `User`.`salt`, `User`.`role_id`, `User`.`avatar`, `User`.`photo`, `User`.`created`, `User`.`last_login`, `User`.`photo_count`, `User`.`friend_count`, `User`.`notification_count`, `User`.`friend_request_count`, `User`.`blog_count`, `User`.`topic_count`, `User`.`conversation_user_count`, `User`.`video_count`, `User`.`gender`, `User`.`birthday`, `User`.`active`, `User`.`confirmed`, `User`.`code`, `User`.`expired_time_code`, `User`.`notification_email`, `User`.`timezone`, `User`.`ip_address`, `User`.`privacy`, `User`.`username`, `User`.`about`, `User`.`featured`, `User`.`lang`, `User`.`hide_online`, `User`.`cover`, `User`.`approved`, `User`.`is_social`, `User`.`has_active_subscription`, `User`.`group_count`, `User`.`event_count`, `User`.`receive_message_from_non_friend`, `User`.`send_email_when_send_message`, `User`.`request_friend_email`, `User`.`notification_setting`, `User`.`profile_type_id`, `User`.`package_select`, `User`.`who_can_see_gender`, `User`.`darkmode`, `User`.`signature`, `User`.`show_signature`, `User`.`chat_count`, `User`.`chat_privacy`, `User`.`lock_delete` FROM `travel_moosocial`.`qcphotos` AS `Photo` LEFT JOIN `travel_moosocial`.`qcalbums` AS `Album` ON (`Photo`.`type` = "Photo_Album" AND `Photo`.`target_id` = `Album`.`id`) LEFT JOIN `travel_moosocial`.`qcgroups` AS `Group` ON (`Photo`.`type` = "Group_Group" AND `Photo`.`target_id` = `Group`.`id`) LEFT JOIN `travel_moosocial`.`qcusers` AS `User` ON (`Photo`.`user_id` = `User`.`id`) WHERE `Photo`.`id` = 298 ORDER BY `Photo`.`id` desc LIMIT 1 | | 1 | 1 | 1 |
| 3 | SELECT `ProfileType`.`id`, `ProfileType`.`name`, `ProfileType`.`actived`, `ProfileType`.`profile`, `ProfileType`.`order`, (`I18n__nameTranslation`.`content`) AS `ProfileType__i18n_nameTranslation` FROM `travel_moosocial`.`qcprofile_types` AS `ProfileType` INNER JOIN `travel_moosocial`.`qci18n` AS `I18n__nameTranslation` ON (`ProfileType`.`id` = `I18n__nameTranslation`.`foreign_key` AND `I18n__nameTranslation`.`model` = 'ProfileType' AND `I18n__nameTranslation`.`field` = 'name' AND `I18n__nameTranslation`.`locale` = 'eng') WHERE `ProfileType`.`id` IN (1, 'eng') AND `ProfileType`.`actived` = '1' ORDER BY `ProfileType`.`order` asc | | 1 | 1 | 13 |
| 4 | SELECT `nameTranslation`.`id`, `nameTranslation`.`locale`, `nameTranslation`.`model`, `nameTranslation`.`foreign_key`, `nameTranslation`.`field`, `nameTranslation`.`content` FROM `travel_moosocial`.`qci18n` AS `nameTranslation` WHERE `model` = 'ProfileType' AND `field` = 'name' AND `nameTranslation`.`foreign_key` = (1) ORDER BY `id` ASC | | 3 | 3 | 0 |
| 5 | SELECT `Photo`.`id`, `Photo`.`target_id`, `Photo`.`type`, `Photo`.`user_id`, `Photo`.`caption`, `Photo`.`path`, `Photo`.`thumbnail`, `Photo`.`original`, `Photo`.`created`, `Photo`.`like_count`, `Photo`.`dislike_count`, `Photo`.`privacy`, `Photo`.`album_type`, `Photo`.`album_type_id`, `Photo`.`comment_count`, `Photo`.`year_folder`, `Photo`.`size`, `Album`.`id`, `Album`.`user_id`, `Album`.`category_id`, `Album`.`title`, `Album`.`description`, `Album`.`created`, `Album`.`photo_count`, `Album`.`cover`, `Album`.`modified`, `Album`.`like_count`, `Album`.`dislike_count`, `Album`.`privacy`, `Album`.`type`, `Album`.`comment_count`, `Group`.`id`, `Group`.`category_id`, `Group`.`name`, `Group`.`user_id`, `Group`.`description`, `Group`.`type`, `Group`.`photo`, `Group`.`group_user_count`, `Group`.`created`, `Group`.`photo_count`, `Group`.`topic_count`, `Group`.`video_count`, `Group`.`event_count`, `Group`.`featured`, `User`.`id`, `User`.`name`, `User`.`email`, `User`.`password`, `User`.`salt`, `User`.`role_id`, `User`.`avatar`, `User`.`photo`, `User`.`created`, `User`.`last_login`, `User`.`photo_count`, `User`.`friend_count`, `User`.`notification_count`, `User`.`friend_request_count`, `User`.`blog_count`, `User`.`topic_count`, `User`.`conversation_user_count`, `User`.`video_count`, `User`.`gender`, `User`.`birthday`, `User`.`active`, `User`.`confirmed`, `User`.`code`, `User`.`expired_time_code`, `User`.`notification_email`, `User`.`timezone`, `User`.`ip_address`, `User`.`privacy`, `User`.`username`, `User`.`about`, `User`.`featured`, `User`.`lang`, `User`.`hide_online`, `User`.`cover`, `User`.`approved`, `User`.`is_social`, `User`.`has_active_subscription`, `User`.`group_count`, `User`.`event_count`, `User`.`receive_message_from_non_friend`, `User`.`send_email_when_send_message`, `User`.`request_friend_email`, `User`.`notification_setting`, `User`.`profile_type_id`, `User`.`package_select`, `User`.`who_can_see_gender`, `User`.`darkmode`, `User`.`signature`, `User`.`show_signature`, `User`.`chat_count`, `User`.`chat_privacy`, `User`.`lock_delete` FROM `travel_moosocial`.`qcphotos` AS `Photo` LEFT JOIN `travel_moosocial`.`qcalbums` AS `Album` ON (`Photo`.`type` = "Photo_Album" AND `Photo`.`target_id` = `Album`.`id`) LEFT JOIN `travel_moosocial`.`qcgroups` AS `Group` ON (`Photo`.`type` = "Group_Group" AND `Photo`.`target_id` = `Group`.`id`) LEFT JOIN `travel_moosocial`.`qcusers` AS `User` ON (`Photo`.`user_id` = `User`.`id`) WHERE `Photo`.`type` = 'Photo_Album' AND `target_id` = 73 AND `Photo`.`privacy` = 1 AND `User`.`active` = 1 ORDER BY `Photo`.`id` desc LIMIT 10 | | 3 | 3 | 1 |
| 6 | SELECT `Photo`.`id`, `Photo`.`target_id`, `Photo`.`type`, `Photo`.`user_id`, `Photo`.`caption`, `Photo`.`path`, `Photo`.`thumbnail`, `Photo`.`original`, `Photo`.`created`, `Photo`.`like_count`, `Photo`.`dislike_count`, `Photo`.`privacy`, `Photo`.`album_type`, `Photo`.`album_type_id`, `Photo`.`comment_count`, `Photo`.`year_folder`, `Photo`.`size`, `Album`.`id`, `Album`.`user_id`, `Album`.`category_id`, `Album`.`title`, `Album`.`description`, `Album`.`created`, `Album`.`photo_count`, `Album`.`cover`, `Album`.`modified`, `Album`.`like_count`, `Album`.`dislike_count`, `Album`.`privacy`, `Album`.`type`, `Album`.`comment_count`, `Group`.`id`, `Group`.`category_id`, `Group`.`name`, `Group`.`user_id`, `Group`.`description`, `Group`.`type`, `Group`.`photo`, `Group`.`group_user_count`, `Group`.`created`, `Group`.`photo_count`, `Group`.`topic_count`, `Group`.`video_count`, `Group`.`event_count`, `Group`.`featured`, `User`.`id`, `User`.`name`, `User`.`email`, `User`.`password`, `User`.`salt`, `User`.`role_id`, `User`.`avatar`, `User`.`photo`, `User`.`created`, `User`.`last_login`, `User`.`photo_count`, `User`.`friend_count`, `User`.`notification_count`, `User`.`friend_request_count`, `User`.`blog_count`, `User`.`topic_count`, `User`.`conversation_user_count`, `User`.`video_count`, `User`.`gender`, `User`.`birthday`, `User`.`active`, `User`.`confirmed`, `User`.`code`, `User`.`expired_time_code`, `User`.`notification_email`, `User`.`timezone`, `User`.`ip_address`, `User`.`privacy`, `User`.`username`, `User`.`about`, `User`.`featured`, `User`.`lang`, `User`.`hide_online`, `User`.`cover`, `User`.`approved`, `User`.`is_social`, `User`.`has_active_subscription`, `User`.`group_count`, `User`.`event_count`, `User`.`receive_message_from_non_friend`, `User`.`send_email_when_send_message`, `User`.`request_friend_email`, `User`.`notification_setting`, `User`.`profile_type_id`, `User`.`package_select`, `User`.`who_can_see_gender`, `User`.`darkmode`, `User`.`signature`, `User`.`show_signature`, `User`.`chat_count`, `User`.`chat_privacy`, `User`.`lock_delete` FROM `travel_moosocial`.`qcphotos` AS `Photo` LEFT JOIN `travel_moosocial`.`qcalbums` AS `Album` ON (`Photo`.`type` = "Photo_Album" AND `Photo`.`target_id` = `Album`.`id`) LEFT JOIN `travel_moosocial`.`qcgroups` AS `Group` ON (`Photo`.`type` = "Group_Group" AND `Photo`.`target_id` = `Group`.`id`) LEFT JOIN `travel_moosocial`.`qcusers` AS `User` ON (`Photo`.`user_id` = `User`.`id`) WHERE `Photo`.`type` = 'Photo_Album' AND `target_id` = 73 AND `Photo`.`id` < 298 ORDER BY `Photo`.`id` DESC LIMIT 1 | | 1 | 1 | 1 |
| 7 | SELECT `Photo`.`id`, `Photo`.`target_id`, `Photo`.`type`, `Photo`.`user_id`, `Photo`.`caption`, `Photo`.`path`, `Photo`.`thumbnail`, `Photo`.`original`, `Photo`.`created`, `Photo`.`like_count`, `Photo`.`dislike_count`, `Photo`.`privacy`, `Photo`.`album_type`, `Photo`.`album_type_id`, `Photo`.`comment_count`, `Photo`.`year_folder`, `Photo`.`size`, `Album`.`id`, `Album`.`user_id`, `Album`.`category_id`, `Album`.`title`, `Album`.`description`, `Album`.`created`, `Album`.`photo_count`, `Album`.`cover`, `Album`.`modified`, `Album`.`like_count`, `Album`.`dislike_count`, `Album`.`privacy`, `Album`.`type`, `Album`.`comment_count`, `Group`.`id`, `Group`.`category_id`, `Group`.`name`, `Group`.`user_id`, `Group`.`description`, `Group`.`type`, `Group`.`photo`, `Group`.`group_user_count`, `Group`.`created`, `Group`.`photo_count`, `Group`.`topic_count`, `Group`.`video_count`, `Group`.`event_count`, `Group`.`featured`, `User`.`id`, `User`.`name`, `User`.`email`, `User`.`password`, `User`.`salt`, `User`.`role_id`, `User`.`avatar`, `User`.`photo`, `User`.`created`, `User`.`last_login`, `User`.`photo_count`, `User`.`friend_count`, `User`.`notification_count`, `User`.`friend_request_count`, `User`.`blog_count`, `User`.`topic_count`, `User`.`conversation_user_count`, `User`.`video_count`, `User`.`gender`, `User`.`birthday`, `User`.`active`, `User`.`confirmed`, `User`.`code`, `User`.`expired_time_code`, `User`.`notification_email`, `User`.`timezone`, `User`.`ip_address`, `User`.`privacy`, `User`.`username`, `User`.`about`, `User`.`featured`, `User`.`lang`, `User`.`hide_online`, `User`.`cover`, `User`.`approved`, `User`.`is_social`, `User`.`has_active_subscription`, `User`.`group_count`, `User`.`event_count`, `User`.`receive_message_from_non_friend`, `User`.`send_email_when_send_message`, `User`.`request_friend_email`, `User`.`notification_setting`, `User`.`profile_type_id`, `User`.`package_select`, `User`.`who_can_see_gender`, `User`.`darkmode`, `User`.`signature`, `User`.`show_signature`, `User`.`chat_count`, `User`.`chat_privacy`, `User`.`lock_delete` FROM `travel_moosocial`.`qcphotos` AS `Photo` LEFT JOIN `travel_moosocial`.`qcalbums` AS `Album` ON (`Photo`.`type` = "Photo_Album" AND `Photo`.`target_id` = `Album`.`id`) LEFT JOIN `travel_moosocial`.`qcgroups` AS `Group` ON (`Photo`.`type` = "Group_Group" AND `Photo`.`target_id` = `Group`.`id`) LEFT JOIN `travel_moosocial`.`qcusers` AS `User` ON (`Photo`.`user_id` = `User`.`id`) WHERE `Photo`.`type` = 'Photo_Album' AND `target_id` = 73 AND `Photo`.`id` >= 297 AND `Photo`.`id` != 298 ORDER BY `Photo`.`id` ASC LIMIT 2 | | 2 | 2 | 1 |
| 8 | SELECT COUNT(*) AS `count` FROM `travel_moosocial`.`qccomments` AS `Comment` WHERE `Comment`.`type` = 'Photo_Photo' AND `Comment`.`target_id` = 298 | | 1 | 1 | 0 |
| 9 | SELECT `Comment`.`id`, `Comment`.`user_id`, `Comment`.`target_id`, `Comment`.`message`, `Comment`.`created`, `Comment`.`type`, `Comment`.`like_count`, `Comment`.`dislike_count`, `Comment`.`thumbnail`, `Comment`.`edited`, `Comment`.`count_reply`, `Comment`.`params`, `Comment`.`sticker_image_id`, `User`.`id`, `User`.`name`, `User`.`email`, `User`.`password`, `User`.`salt`, `User`.`role_id`, `User`.`avatar`, `User`.`photo`, `User`.`created`, `User`.`last_login`, `User`.`photo_count`, `User`.`friend_count`, `User`.`notification_count`, `User`.`friend_request_count`, `User`.`blog_count`, `User`.`topic_count`, `User`.`conversation_user_count`, `User`.`video_count`, `User`.`gender`, `User`.`birthday`, `User`.`active`, `User`.`confirmed`, `User`.`code`, `User`.`expired_time_code`, `User`.`notification_email`, `User`.`timezone`, `User`.`ip_address`, `User`.`privacy`, `User`.`username`, `User`.`about`, `User`.`featured`, `User`.`lang`, `User`.`hide_online`, `User`.`cover`, `User`.`approved`, `User`.`is_social`, `User`.`has_active_subscription`, `User`.`group_count`, `User`.`event_count`, `User`.`receive_message_from_non_friend`, `User`.`send_email_when_send_message`, `User`.`request_friend_email`, `User`.`notification_setting`, `User`.`profile_type_id`, `User`.`package_select`, `User`.`who_can_see_gender`, `User`.`darkmode`, `User`.`signature`, `User`.`show_signature`, `User`.`chat_count`, `User`.`chat_privacy`, `User`.`lock_delete` FROM `travel_moosocial`.`qccomments` AS `Comment` LEFT JOIN `travel_moosocial`.`qcusers` AS `User` ON (`Comment`.`user_id` = `User`.`id`) WHERE `Comment`.`type` = 'Photo_Photo' AND `Comment`.`target_id` = 298 ORDER BY `Comment`.`id` desc LIMIT 12 | | 0 | 0 | 1 |
| 10 | SELECT `Like`.`id`, `Like`.`user_id`, `Like`.`target_id`, `Like`.`type`, `Like`.`thumb_up`, `Like`.`reaction`, `User`.`id`, `User`.`name`, `User`.`email`, `User`.`password`, `User`.`salt`, `User`.`role_id`, `User`.`avatar`, `User`.`photo`, `User`.`created`, `User`.`last_login`, `User`.`photo_count`, `User`.`friend_count`, `User`.`notification_count`, `User`.`friend_request_count`, `User`.`blog_count`, `User`.`topic_count`, `User`.`conversation_user_count`, `User`.`video_count`, `User`.`gender`, `User`.`birthday`, `User`.`active`, `User`.`confirmed`, `User`.`code`, `User`.`expired_time_code`, `User`.`notification_email`, `User`.`timezone`, `User`.`ip_address`, `User`.`privacy`, `User`.`username`, `User`.`about`, `User`.`featured`, `User`.`lang`, `User`.`hide_online`, `User`.`cover`, `User`.`approved`, `User`.`is_social`, `User`.`has_active_subscription`, `User`.`group_count`, `User`.`event_count`, `User`.`receive_message_from_non_friend`, `User`.`send_email_when_send_message`, `User`.`request_friend_email`, `User`.`notification_setting`, `User`.`profile_type_id`, `User`.`package_select`, `User`.`who_can_see_gender`, `User`.`darkmode`, `User`.`signature`, `User`.`show_signature`, `User`.`chat_count`, `User`.`chat_privacy`, `User`.`lock_delete` FROM `travel_moosocial`.`qclikes` AS `Like` LEFT JOIN `travel_moosocial`.`qcusers` AS `User` ON (`Like`.`user_id` = `User`.`id`) WHERE `Like`.`type` = 'Photo_Photo' AND `Like`.`target_id` = 298 AND `Like`.`thumb_up` = 1 ORDER BY `Like`.`id` desc | | 0 | 0 | 1 |
| 11 | SELECT `Like`.`id`, `Like`.`user_id`, `Like`.`target_id`, `Like`.`type`, `Like`.`thumb_up`, `Like`.`reaction`, `User`.`id`, `User`.`name`, `User`.`email`, `User`.`password`, `User`.`salt`, `User`.`role_id`, `User`.`avatar`, `User`.`photo`, `User`.`created`, `User`.`last_login`, `User`.`photo_count`, `User`.`friend_count`, `User`.`notification_count`, `User`.`friend_request_count`, `User`.`blog_count`, `User`.`topic_count`, `User`.`conversation_user_count`, `User`.`video_count`, `User`.`gender`, `User`.`birthday`, `User`.`active`, `User`.`confirmed`, `User`.`code`, `User`.`expired_time_code`, `User`.`notification_email`, `User`.`timezone`, `User`.`ip_address`, `User`.`privacy`, `User`.`username`, `User`.`about`, `User`.`featured`, `User`.`lang`, `User`.`hide_online`, `User`.`cover`, `User`.`approved`, `User`.`is_social`, `User`.`has_active_subscription`, `User`.`group_count`, `User`.`event_count`, `User`.`receive_message_from_non_friend`, `User`.`send_email_when_send_message`, `User`.`request_friend_email`, `User`.`notification_setting`, `User`.`profile_type_id`, `User`.`package_select`, `User`.`who_can_see_gender`, `User`.`darkmode`, `User`.`signature`, `User`.`show_signature`, `User`.`chat_count`, `User`.`chat_privacy`, `User`.`lock_delete` FROM `travel_moosocial`.`qclikes` AS `Like` LEFT JOIN `travel_moosocial`.`qcusers` AS `User` ON (`Like`.`user_id` = `User`.`id`) WHERE `Like`.`type` = 'Photo_Photo' AND `Like`.`target_id` = 298 AND `Like`.`thumb_up` = 0 ORDER BY `Like`.`id` desc | | 0 | 0 | 0 |
| 12 | SELECT `PhotoTag`.`id`, `PhotoTag`.`photo_id`, `PhotoTag`.`user_id`, `PhotoTag`.`tagger_id`, `PhotoTag`.`value`, `PhotoTag`.`style`, `Photo`.`id`, `Photo`.`target_id`, `Photo`.`type`, `Photo`.`user_id`, `Photo`.`caption`, `Photo`.`path`, `Photo`.`thumbnail`, `Photo`.`original`, `Photo`.`created`, `Photo`.`like_count`, `Photo`.`dislike_count`, `Photo`.`privacy`, `Photo`.`album_type`, `Photo`.`album_type_id`, `Photo`.`comment_count`, `Photo`.`year_folder`, `Photo`.`size`, `User`.`id`, `User`.`name`, `User`.`email`, `User`.`password`, `User`.`salt`, `User`.`role_id`, `User`.`avatar`, `User`.`photo`, `User`.`created`, `User`.`last_login`, `User`.`photo_count`, `User`.`friend_count`, `User`.`notification_count`, `User`.`friend_request_count`, `User`.`blog_count`, `User`.`topic_count`, `User`.`conversation_user_count`, `User`.`video_count`, `User`.`gender`, `User`.`birthday`, `User`.`active`, `User`.`confirmed`, `User`.`code`, `User`.`expired_time_code`, `User`.`notification_email`, `User`.`timezone`, `User`.`ip_address`, `User`.`privacy`, `User`.`username`, `User`.`about`, `User`.`featured`, `User`.`lang`, `User`.`hide_online`, `User`.`cover`, `User`.`approved`, `User`.`is_social`, `User`.`has_active_subscription`, `User`.`group_count`, `User`.`event_count`, `User`.`receive_message_from_non_friend`, `User`.`send_email_when_send_message`, `User`.`request_friend_email`, `User`.`notification_setting`, `User`.`profile_type_id`, `User`.`package_select`, `User`.`who_can_see_gender`, `User`.`darkmode`, `User`.`signature`, `User`.`show_signature`, `User`.`chat_count`, `User`.`chat_privacy`, `User`.`lock_delete` FROM `travel_moosocial`.`qcphoto_tags` AS `PhotoTag` LEFT JOIN `travel_moosocial`.`qcphotos` AS `Photo` ON (`PhotoTag`.`photo_id` = `Photo`.`id`) LEFT JOIN `travel_moosocial`.`qcusers` AS `User` ON (`PhotoTag`.`user_id` = `User`.`id`) WHERE `PhotoTag`.`photo_id` = 298 | | 0 | 0 | 1 |
| 13 | SELECT `User`.`id`, `User`.`name`, `User`.`avatar` FROM `travel_moosocial`.`qcfriends` AS `Friend` LEFT JOIN `travel_moosocial`.`qcusers` AS `User` ON (`Friend`.`friend_id` = `User`.`id`) WHERE `Friend`.`user_id` IS NULL AND `User`.`active` = 1 ORDER BY `User`.`name` asc | | 0 | 0 | 87 |
| 14 | SELECT COUNT(*) AS `count` FROM `travel_moosocial`.`qcphotos` AS `Photo` LEFT JOIN `travel_moosocial`.`qcalbums` AS `Album` ON (`Photo`.`type` = "Photo_Album" AND `Photo`.`target_id` = `Album`.`id`) LEFT JOIN `travel_moosocial`.`qcgroups` AS `Group` ON (`Photo`.`type` = "Group_Group" AND `Photo`.`target_id` = `Group`.`id`) LEFT JOIN `travel_moosocial`.`qcusers` AS `User` ON (`Photo`.`user_id` = `User`.`id`) WHERE `Photo`.`type` = 'Photo_Album' AND `target_id` = 73 AND `Photo`.`privacy` = 1 AND `User`.`active` = 1 | | 1 | 1 | 1 |
| 15 | SELECT `Photo`.`id`, `Photo`.`target_id`, `Photo`.`type`, `Photo`.`user_id`, `Photo`.`caption`, `Photo`.`path`, `Photo`.`thumbnail`, `Photo`.`original`, `Photo`.`created`, `Photo`.`like_count`, `Photo`.`dislike_count`, `Photo`.`privacy`, `Photo`.`album_type`, `Photo`.`album_type_id`, `Photo`.`comment_count`, `Photo`.`year_folder`, `Photo`.`size`, `Album`.`id`, `Album`.`user_id`, `Album`.`category_id`, `Album`.`title`, `Album`.`description`, `Album`.`created`, `Album`.`photo_count`, `Album`.`cover`, `Album`.`modified`, `Album`.`like_count`, `Album`.`dislike_count`, `Album`.`privacy`, `Album`.`type`, `Album`.`comment_count`, `Group`.`id`, `Group`.`category_id`, `Group`.`name`, `Group`.`user_id`, `Group`.`description`, `Group`.`type`, `Group`.`photo`, `Group`.`group_user_count`, `Group`.`created`, `Group`.`photo_count`, `Group`.`topic_count`, `Group`.`video_count`, `Group`.`event_count`, `Group`.`featured`, `User`.`id`, `User`.`name`, `User`.`email`, `User`.`password`, `User`.`salt`, `User`.`role_id`, `User`.`avatar`, `User`.`photo`, `User`.`created`, `User`.`last_login`, `User`.`photo_count`, `User`.`friend_count`, `User`.`notification_count`, `User`.`friend_request_count`, `User`.`blog_count`, `User`.`topic_count`, `User`.`conversation_user_count`, `User`.`video_count`, `User`.`gender`, `User`.`birthday`, `User`.`active`, `User`.`confirmed`, `User`.`code`, `User`.`expired_time_code`, `User`.`notification_email`, `User`.`timezone`, `User`.`ip_address`, `User`.`privacy`, `User`.`username`, `User`.`about`, `User`.`featured`, `User`.`lang`, `User`.`hide_online`, `User`.`cover`, `User`.`approved`, `User`.`is_social`, `User`.`has_active_subscription`, `User`.`group_count`, `User`.`event_count`, `User`.`receive_message_from_non_friend`, `User`.`send_email_when_send_message`, `User`.`request_friend_email`, `User`.`notification_setting`, `User`.`profile_type_id`, `User`.`package_select`, `User`.`who_can_see_gender`, `User`.`darkmode`, `User`.`signature`, `User`.`show_signature`, `User`.`chat_count`, `User`.`chat_privacy`, `User`.`lock_delete` FROM `travel_moosocial`.`qcphotos` AS `Photo` LEFT JOIN `travel_moosocial`.`qcalbums` AS `Album` ON (`Photo`.`type` = "Photo_Album" AND `Photo`.`target_id` = `Album`.`id`) LEFT JOIN `travel_moosocial`.`qcgroups` AS `Group` ON (`Photo`.`type` = "Group_Group" AND `Photo`.`target_id` = `Group`.`id`) LEFT JOIN `travel_moosocial`.`qcusers` AS `User` ON (`Photo`.`user_id` = `User`.`id`) WHERE `Photo`.`type` = 'Photo_Album' AND `target_id` = 73 AND `Photo`.`privacy` = 1 AND `User`.`active` = 1 ORDER BY `Photo`.`id` desc | | 3 | 3 | 1 |
| 16 | SELECT `Coremenu`.`id`, `Coremenu`.`name`, `Coremenu`.`style`, `Coremenu`.`alias`, `Coremenu`.`menuid` FROM `travel_moosocial`.`qccore_menus` AS `Coremenu` WHERE `id` = 2 LIMIT 1 | | 1 | 1 | 0 |
| 17 | SELECT `CoreMenuItem`.`id`, `CoreMenuItem`.`parent_id`, `CoreMenuItem`.`lft`, `CoreMenuItem`.`rght`, `CoreMenuItem`.`name`, `CoreMenuItem`.`original_name`, `CoreMenuItem`.`url`, `CoreMenuItem`.`title_attribute`, `CoreMenuItem`.`font_class`, `CoreMenuItem`.`is_active`, `CoreMenuItem`.`new_blank`, `CoreMenuItem`.`role_access`, `CoreMenuItem`.`menu_id`, `CoreMenuItem`.`type`, `CoreMenuItem`.`menu_order`, `CoreMenuItem`.`plugin`, `CoreMenuItem`.`group`, `CoreMenuItem`.`url_app`, `CoreMenuItem`.`font_class_app`, `CoreMenuItem`.`show_web`, `CoreMenuItem`.`show_app` FROM `travel_moosocial`.`qccore_menu_items` AS `CoreMenuItem` WHERE `CoreMenuItem`.`is_active` = '1' AND `CoreMenuItem`.`menu_id` = (2) ORDER BY `CoreMenuItem`.`menu_order` ASC | | 4 | 4 | 0 |
| 18 | SELECT `nameMenuTranslation`.`id`, `nameMenuTranslation`.`locale`, `nameMenuTranslation`.`model`, `nameMenuTranslation`.`foreign_key`, `nameMenuTranslation`.`field`, `nameMenuTranslation`.`content` FROM `travel_moosocial`.`qci18n` AS `nameMenuTranslation` WHERE `model` = 'CoreMenuItem' AND `field` = 'name' AND `nameMenuTranslation`.`foreign_key` IN (9, 11, 12, 17) ORDER BY `id` ASC | | 12 | 12 | 1 |
| 19 | SELECT `Coremenuitem`.`id`, `Coremenuitem`.`parent_id`, `Coremenuitem`.`lft`, `Coremenuitem`.`rght`, `Coremenuitem`.`name`, `Coremenuitem`.`original_name`, `Coremenuitem`.`url`, `Coremenuitem`.`title_attribute`, `Coremenuitem`.`font_class`, `Coremenuitem`.`is_active`, `Coremenuitem`.`new_blank`, `Coremenuitem`.`role_access`, `Coremenuitem`.`menu_id`, `Coremenuitem`.`type`, `Coremenuitem`.`menu_order`, `Coremenuitem`.`plugin`, `Coremenuitem`.`group`, `Coremenuitem`.`url_app`, `Coremenuitem`.`font_class_app`, `Coremenuitem`.`show_web`, `Coremenuitem`.`show_app`, (`I18n__nameMenuTranslation`.`content`) AS `Coremenuitem__i18n_nameMenuTranslation` FROM `travel_moosocial`.`qccore_menu_items` AS `Coremenuitem` INNER JOIN `travel_moosocial`.`qci18n` AS `I18n__nameMenuTranslation` ON (`Coremenuitem`.`id` = `I18n__nameMenuTranslation`.`foreign_key` AND `I18n__nameMenuTranslation`.`model` = 'CoreMenuItem' AND `I18n__nameMenuTranslation`.`field` = 'name' AND `I18n__nameMenuTranslation`.`locale` = 'eng') WHERE `parent_id` = 9 AND `is_active` = '1' ORDER BY `menu_order` ASC | | 0 | 0 | 0 |
| 20 | SELECT `Coremenuitem`.`id`, `Coremenuitem`.`parent_id`, `Coremenuitem`.`lft`, `Coremenuitem`.`rght`, `Coremenuitem`.`name`, `Coremenuitem`.`original_name`, `Coremenuitem`.`url`, `Coremenuitem`.`title_attribute`, `Coremenuitem`.`font_class`, `Coremenuitem`.`is_active`, `Coremenuitem`.`new_blank`, `Coremenuitem`.`role_access`, `Coremenuitem`.`menu_id`, `Coremenuitem`.`type`, `Coremenuitem`.`menu_order`, `Coremenuitem`.`plugin`, `Coremenuitem`.`group`, `Coremenuitem`.`url_app`, `Coremenuitem`.`font_class_app`, `Coremenuitem`.`show_web`, `Coremenuitem`.`show_app`, (`I18n__nameMenuTranslation`.`content`) AS `Coremenuitem__i18n_nameMenuTranslation` FROM `travel_moosocial`.`qccore_menu_items` AS `Coremenuitem` INNER JOIN `travel_moosocial`.`qci18n` AS `I18n__nameMenuTranslation` ON (`Coremenuitem`.`id` = `I18n__nameMenuTranslation`.`foreign_key` AND `I18n__nameMenuTranslation`.`model` = 'CoreMenuItem' AND `I18n__nameMenuTranslation`.`field` = 'name' AND `I18n__nameMenuTranslation`.`locale` = 'eng') WHERE `parent_id` = 11 AND `is_active` = '1' ORDER BY `menu_order` ASC | | 0 | 0 | 0 |
| 21 | SELECT `Coremenuitem`.`id`, `Coremenuitem`.`parent_id`, `Coremenuitem`.`lft`, `Coremenuitem`.`rght`, `Coremenuitem`.`name`, `Coremenuitem`.`original_name`, `Coremenuitem`.`url`, `Coremenuitem`.`title_attribute`, `Coremenuitem`.`font_class`, `Coremenuitem`.`is_active`, `Coremenuitem`.`new_blank`, `Coremenuitem`.`role_access`, `Coremenuitem`.`menu_id`, `Coremenuitem`.`type`, `Coremenuitem`.`menu_order`, `Coremenuitem`.`plugin`, `Coremenuitem`.`group`, `Coremenuitem`.`url_app`, `Coremenuitem`.`font_class_app`, `Coremenuitem`.`show_web`, `Coremenuitem`.`show_app`, (`I18n__nameMenuTranslation`.`content`) AS `Coremenuitem__i18n_nameMenuTranslation` FROM `travel_moosocial`.`qccore_menu_items` AS `Coremenuitem` INNER JOIN `travel_moosocial`.`qci18n` AS `I18n__nameMenuTranslation` ON (`Coremenuitem`.`id` = `I18n__nameMenuTranslation`.`foreign_key` AND `I18n__nameMenuTranslation`.`model` = 'CoreMenuItem' AND `I18n__nameMenuTranslation`.`field` = 'name' AND `I18n__nameMenuTranslation`.`locale` = 'eng') WHERE `parent_id` = 12 AND `is_active` = '1' ORDER BY `menu_order` ASC | | 0 | 0 | 0 |
| 22 | SELECT `Coremenuitem`.`id`, `Coremenuitem`.`parent_id`, `Coremenuitem`.`lft`, `Coremenuitem`.`rght`, `Coremenuitem`.`name`, `Coremenuitem`.`original_name`, `Coremenuitem`.`url`, `Coremenuitem`.`title_attribute`, `Coremenuitem`.`font_class`, `Coremenuitem`.`is_active`, `Coremenuitem`.`new_blank`, `Coremenuitem`.`role_access`, `Coremenuitem`.`menu_id`, `Coremenuitem`.`type`, `Coremenuitem`.`menu_order`, `Coremenuitem`.`plugin`, `Coremenuitem`.`group`, `Coremenuitem`.`url_app`, `Coremenuitem`.`font_class_app`, `Coremenuitem`.`show_web`, `Coremenuitem`.`show_app`, (`I18n__nameMenuTranslation`.`content`) AS `Coremenuitem__i18n_nameMenuTranslation` FROM `travel_moosocial`.`qccore_menu_items` AS `Coremenuitem` INNER JOIN `travel_moosocial`.`qci18n` AS `I18n__nameMenuTranslation` ON (`Coremenuitem`.`id` = `I18n__nameMenuTranslation`.`foreign_key` AND `I18n__nameMenuTranslation`.`model` = 'CoreMenuItem' AND `I18n__nameMenuTranslation`.`field` = 'name' AND `I18n__nameMenuTranslation`.`locale` = 'eng') WHERE `parent_id` = 17 AND `is_active` = '1' ORDER BY `menu_order` ASC | | 0 | 0 | 0 |
| 23 | SELECT `Bookmark`.`id`, `Bookmark`.`user_id`, `Bookmark`.`object_type`, `Bookmark`.`object_id`, `Bookmark`.`created` FROM `travel_moosocial`.`qcbookmarks` AS `Bookmark` WHERE `Bookmark`.`user_id` = '' AND `Bookmark`.`object_type` = 'Photo_Photo' AND `Bookmark`.`object_id` = 298 LIMIT 1 | | 0 | 0 | 4 |
| 24 | SELECT COUNT(*) AS `count` FROM `travel_moosocial`.`qccomments` AS `Comment` WHERE `Comment`.`type` = 'Photo_Photo' AND `Comment`.`target_id` = 298 | | 1 | 1 | 4 |
| 25 | SELECT `Comment`.`id`, `Comment`.`user_id`, `Comment`.`target_id`, `Comment`.`message`, `Comment`.`created`, `Comment`.`type`, `Comment`.`like_count`, `Comment`.`dislike_count`, `Comment`.`thumbnail`, `Comment`.`edited`, `Comment`.`count_reply`, `Comment`.`params`, `Comment`.`sticker_image_id`, `User`.`id`, `User`.`name`, `User`.`email`, `User`.`password`, `User`.`salt`, `User`.`role_id`, `User`.`avatar`, `User`.`photo`, `User`.`created`, `User`.`last_login`, `User`.`photo_count`, `User`.`friend_count`, `User`.`notification_count`, `User`.`friend_request_count`, `User`.`blog_count`, `User`.`topic_count`, `User`.`conversation_user_count`, `User`.`video_count`, `User`.`gender`, `User`.`birthday`, `User`.`active`, `User`.`confirmed`, `User`.`code`, `User`.`expired_time_code`, `User`.`notification_email`, `User`.`timezone`, `User`.`ip_address`, `User`.`privacy`, `User`.`username`, `User`.`about`, `User`.`featured`, `User`.`lang`, `User`.`hide_online`, `User`.`cover`, `User`.`approved`, `User`.`is_social`, `User`.`has_active_subscription`, `User`.`group_count`, `User`.`event_count`, `User`.`receive_message_from_non_friend`, `User`.`send_email_when_send_message`, `User`.`request_friend_email`, `User`.`notification_setting`, `User`.`profile_type_id`, `User`.`package_select`, `User`.`who_can_see_gender`, `User`.`darkmode`, `User`.`signature`, `User`.`show_signature`, `User`.`chat_count`, `User`.`chat_privacy`, `User`.`lock_delete` FROM `travel_moosocial`.`qccomments` AS `Comment` LEFT JOIN `travel_moosocial`.`qcusers` AS `User` ON (`Comment`.`user_id` = `User`.`id`) WHERE `Comment`.`type` = 'Photo_Photo' AND `Comment`.`target_id` = 298 ORDER BY `Comment`.`id` desc LIMIT 12 | | 0 | 0 | 1 |
| 26 | SELECT `CloseComment`.`id`, `CloseComment`.`user_id`, `CloseComment`.`item_type`, `CloseComment`.`item_id`, `User`.`id`, `User`.`name`, `User`.`email`, `User`.`password`, `User`.`salt`, `User`.`role_id`, `User`.`avatar`, `User`.`photo`, `User`.`created`, `User`.`last_login`, `User`.`photo_count`, `User`.`friend_count`, `User`.`notification_count`, `User`.`friend_request_count`, `User`.`blog_count`, `User`.`topic_count`, `User`.`conversation_user_count`, `User`.`video_count`, `User`.`gender`, `User`.`birthday`, `User`.`active`, `User`.`confirmed`, `User`.`code`, `User`.`expired_time_code`, `User`.`notification_email`, `User`.`timezone`, `User`.`ip_address`, `User`.`privacy`, `User`.`username`, `User`.`about`, `User`.`featured`, `User`.`lang`, `User`.`hide_online`, `User`.`cover`, `User`.`approved`, `User`.`is_social`, `User`.`has_active_subscription`, `User`.`group_count`, `User`.`event_count`, `User`.`receive_message_from_non_friend`, `User`.`send_email_when_send_message`, `User`.`request_friend_email`, `User`.`notification_setting`, `User`.`profile_type_id`, `User`.`package_select`, `User`.`who_can_see_gender`, `User`.`darkmode`, `User`.`signature`, `User`.`show_signature`, `User`.`chat_count`, `User`.`chat_privacy`, `User`.`lock_delete` FROM `travel_moosocial`.`qcclose_comments` AS `CloseComment` LEFT JOIN `travel_moosocial`.`qcusers` AS `User` ON (`CloseComment`.`user_id` = `User`.`id`) WHERE `item_type` = 'Photo_Photo' AND `item_id` = 298 LIMIT 1 | | 0 | 0 | 1 |
| 27 | SELECT `Theme`.`id`, `Theme`.`key`, `Theme`.`name`, `Theme`.`core`, `Theme`.`custom_css_enable`, `Theme`.`custom_css_landing`, `Theme`.`custom_css`, `Theme`.`custom_css_dark` FROM `travel_moosocial`.`qcthemes` AS `Theme` WHERE `Theme`.`key` = 'classic' LIMIT 1 | | 1 | 1 | 1 |
| 28 | SELECT `Theme`.`id`, `Theme`.`key`, `Theme`.`name`, `Theme`.`core`, `Theme`.`custom_css_enable`, `Theme`.`custom_css_landing`, `Theme`.`custom_css`, `Theme`.`custom_css_dark` FROM `travel_moosocial`.`qcthemes` AS `Theme` WHERE `Theme`.`key` = 'classic' LIMIT 1 | | 1 | 1 | 0 |
| 29 | SELECT `Setting`.`id`, `Setting`.`group_id`, `Setting`.`label`, `Setting`.`name`, `Setting`.`field`, `Setting`.`value`, `Setting`.`is_hidden`, `Setting`.`version_id`, `Setting`.`type_id`, `Setting`.`value_actual`, `Setting`.`value_default`, `Setting`.`description`, `Setting`.`ordering`, `Setting`.`is_boot`, `SettingGroup`.`id`, `SettingGroup`.`parent_id`, `SettingGroup`.`lft`, `SettingGroup`.`rght`, `SettingGroup`.`group_type`, `SettingGroup`.`module_id`, `SettingGroup`.`name` FROM `travel_moosocial`.`qcsettings` AS `Setting` LEFT JOIN `travel_moosocial`.`qcsetting_groups` AS `SettingGroup` ON (`Setting`.`group_id` = `SettingGroup`.`id`) WHERE `Setting`.`name` = 'logo' LIMIT 1 | | 1 | 1 | 1 |
| 30 | SELECT `Theme`.`id`, `Theme`.`key`, `Theme`.`name`, `Theme`.`core`, `Theme`.`custom_css_enable`, `Theme`.`custom_css_landing`, `Theme`.`custom_css`, `Theme`.`custom_css_dark` FROM `travel_moosocial`.`qcthemes` AS `Theme` WHERE `Theme`.`key` = 'classic' LIMIT 1 | | 1 | 1 | 1 |
| 31 | SELECT `Theme`.`id`, `Theme`.`key`, `Theme`.`name`, `Theme`.`core`, `Theme`.`custom_css_enable`, `Theme`.`custom_css_landing`, `Theme`.`custom_css`, `Theme`.`custom_css_dark` FROM `travel_moosocial`.`qcthemes` AS `Theme` WHERE `Theme`.`key` = 'classic' LIMIT 1 | | 1 | 1 | 0 |