kewl's gallery

[1] 
SELECT @@SESSION.sql_mode
(this query time : 0.000 s)
(total SQL time  : 0.000 s)
(total time      : 0.002 s)
(num rows        : 1 )
[2] 

SELECT param, value
 FROM g_config
 
;
(this query time : 0.000 s)
(total SQL time  : 0.000 s)
(total time      : 0.003 s)
(num rows        : 92 )
[3] 

SELECT data
  FROM g_sessions
  WHERE id = '365Ck9ecqabgnb64qnnk2tkg6jqle0'
;
(this query time : 0.000 s)
(total SQL time  : 0.001 s)
(total time      : 0.003 s)
(num rows        : 0 )
[4] 

SELECT * FROM g_plugins
  WHERE state='active'
(this query time : 0.000 s)
(total SQL time  : 0.001 s)
(total time      : 0.003 s)
(num rows        : 15 )
[5] 

SELECT id AS id
     , username AS username
     , password AS password
     , mail_address AS email
  FROM g_users
  WHERE id = '2'
(this query time : 0.000 s)
(total SQL time  : 0.001 s)
(total time      : 0.005 s)
(num rows        : 1 )
[6] 

SELECT
    ui.*,
    uc.*,
    t.name AS theme_name
  FROM g_user_infos AS ui
    LEFT JOIN g_user_cache AS uc ON ui.user_id = uc.user_id
    LEFT JOIN g_themes AS t ON t.id = ui.theme
  WHERE ui.user_id = 2
;
(this query time : 0.000 s)
(total SQL time  : 0.001 s)
(total time      : 0.005 s)
(num rows        : 1 )
[7] 

SELECT id, name
  FROM g_languages
  ORDER BY name ASC
;
(this query time : 0.000 s)
(total SQL time  : 0.002 s)
(total time      : 0.005 s)
(num rows        : 69 )
[8] 

SELECT *
  FROM g_user_infos
  WHERE user_id = 2
;
(this query time : 0.000 s)
(total SQL time  : 0.002 s)
(total time      : 0.006 s)
(num rows        : 1 )
[9] 

SELECT *
  FROM g_tags
  WHERE id IN (1850)
(this query time : 0.000 s)
(total SQL time  : 0.002 s)
(total time      : 0.008 s)
(num rows        : 1 )
[9] 

SELECT id
  FROM g_images i 
    INNER JOIN g_image_category ic ON id=ic.image_id
    INNER JOIN g_image_tag it ON id=it.image_id
    WHERE tag_id IN (1850)
  AND (category_id NOT IN (188,201,198,200,182,212) AND level<=0)
  GROUP BY id
ORDER BY date_creation DESC, file ASC, id ASC
(this query time : 0.003 s)
(total SQL time  : 0.005 s)
(total time      : 0.011 s)
(num rows        : 593 )
[10] 

SELECT 
  id, name, permalink, nb_images, global_rank,
  date_last, max_date_last, count_images, count_categories
FROM g_categories INNER JOIN g_user_cache_categories
  ON id = cat_id and user_id = 2
WHERE 
  1 = 1
;
(this query time : 0.000 s)
(total SQL time  : 0.005 s)
(total time      : 0.012 s)
(num rows        : 102 )
[11] 

SELECT SUBDATE(CURRENT_DATE,INTERVAL 30 DAY)
(this query time : 0.000 s)
(total SQL time  : 0.006 s)
(total time      : 0.012 s)
(num rows        : 1 )
[12] 

SELECT t.*, count(*) AS counter
  FROM g_image_tag
    INNER JOIN g_tags t ON tag_id = id
  WHERE image_id IN (6069,6068,6066,6067,6064,6065,6063,6062,6061,6055,6056,6053,6054,6059,6060,6057,6058,6032,6045,6044,6043,6042,6041,6040,6039,6037,6038,6036,6035,6034,6033,6047,6046,6048,6049,6050,6051,6052,6169,6113,6112,6111,6110,6109,6107,6108,6115,6121,6122,6114,6119,6118,6117,6116,6105,6106,6104,6103,6102,6101,6100,6098,6099,6025,6026,6027,6028,6029,6030,6031,6020,6021,6022,6023,6024,6018,6019,6012,6013,6014,6015,6016,6017,6010,6011,6006,6007,6008,6009,6000,6001,6002,6003,6004,6005,5998,5999,5990,5991,5992,5993,5994,5995,5996,5997,5988,5989,5983,5984,5985,5986,5987,5935,5936,5937,5930,5931,5932,5933,5934,5928,5929,5922,5923,5924,5914,5915,5847,5848,5850,5851,5852,5853,5854,5855,5856,5837,5838,5839,5840,5830,5831,5832,5833,5834,5835,5836,5744,5745,5746,5747,5748,5749,5750,5751,5752,5753,5754,5755,5761,5762,5763,5764,5765,5766,5767,5768,5783,5784,5785,5786,5787,5788,5789,5790,5791,5792,5793,5794,5795,5796,5797,5798,5807,5808,5811,5809,5810,5814,5815,5379,5380,5378,5411,5412,5410,5409,5408,5407,5416,5413,5414,5444,5440,5451,5452,5449,5450,5448,5447,5446,5445,5443,5457,5456,5455,5458,5460,5697,5696,5694,5693,5692,5691,5690,5647,5648,5649,5650,5651,5652,5653,5655,5656,5657,5658,5659,5660,5662,5663,5664,5665,5669,5666,5667,5668,5670,5671,5672,5673,5675,5676,5678,5679,5680,5681,5682,5683,5684,5685,5686,5687,5688,5552,5553,5551,5463,5464,5550,5549,5541,5542,5540,5539,5538,5537,5329,5328,5298,5294,5292,5291,5288,5300,5301,5296,5297,5295,5293,5290,5289,5286,5287,5285,5284,5282,5283,5277,5278,5275,5276,5274,5273,5271,5272,5269,5270,5267,5268,5266,5265,5263,5264,5281,5280,5279,5080,5078,5136,5137,5134,5135,5132,5133,5130,5131,5129,5128,5126,5127,5125,5124,5079,5122,5123,5121,5120,5118,5119,5117,5116,5115,4979,4980,4978,4937,5034,4943,4944,4941,4942,4939,4940,4958,4955,4956,4953,4954,4951,4952,4950,4949,4947,4948,4945,4946,5051,5052,5050,5049,5047,5048,5045,5046,5039,5040,5037,5038,5041,5044,5042,5151,5152,5149,5150,5147,5148,5146,5160,5161,5159,5153,5157,5158,5155,5156,5154,5162,5176,5177,5174,5175,5172,5173,5170,5171,5168,5169,5166,5167,5164,5165,5178,5180,5181,5179,5198,5197,5193,5196,5195,5194,5216,5217,5214,5215,5212,5213,5210,5208,5206,5207,5205,5202,5201,5199,5225,5226,5223,5224,5221,5222,5219,5220,5218,5245,5246,5249,5248,5250,5252,5253,5251,5258,5257,5256,5254,5261,5260,5259,5322,5323,5320,5321,5319,5318,5316,5317,5315,5314,5313,5312,5311,5310,5309,5308,5307,5305,5306,5304,5302,5303,5354,5353,5351,5352,5350,5349,5347,5348,5346,5344,5345,5343,5342,5341,5339,5340,5338,5355,5331,5356,5362,5363,5360,5361,5359,5358,5357,5375,5372,5373,5374,4832,4830,4789,4788,4787,4786,4785,4784,4783,4782,4749,4747,4748,4745,4746,4743,4744,4742,4735,5330,5326,5013,5014,5011,5012,5009,5010,5015,5016,5008,4996,4997,4998,5002,4999,5000,5007,5003,5001,4989,4992,4993,4991,4990,4994,4995,4819,4272,4271,4270,4269,4268,4267,4266,4265,4264,4263,4262,4261,4260,4278,4277,4276,4275,4274,4273,4280,4279,4558,4554,4552,4551,4553,4250,4248,4249,4555,4029,4025,4027)
    AND tag_id NOT IN (1850)
  GROUP BY t.id
  ORDER BY counter DESC
  LIMIT 20
(this query time : 0.023 s)
(total SQL time  : 0.029 s)
(total time      : 0.038 s)
(num rows        : 20 )
[13] 

SELECT *
  FROM g_images
  WHERE id IN (6069,6068,6066,6067,6064,6065,6063,6062,6061,6055,6056,6053,6054,6059,6060,6057,6058,6032,6045,6044,6043,6042,6041,6040,6039,6037,6038,6036,6035,6034,6033,6047,6046,6048,6049,6050,6051,6052,6169,6113,6112,6111,6110,6109,6107,6108,6115,6121,6122,6114,6119,6118,6117,6116,6105,6106,6104,6103,6102,6101,6100,6098,6099,6025,6026,6027,6028,6029,6030,6031,6020,6021,6022,6023,6024,6018,6019,6012,6013,6014,6015,6016,6017,6010,6011,6006,6007,6008,6009,6000,6001,6002,6003,6004,6005,5998,5999,5990,5991,5992,5993,5994,5995,5996,5997,5988,5989,5983,5984,5985,5986,5987,5935,5936,5937,5930,5931,5932,5933,5934,5928,5929,5922,5923,5924,5914,5915,5847,5848,5850,5851,5852,5853,5854,5855,5856,5837,5838,5839,5840,5830,5831,5832,5833,5834,5835,5836,5744,5745,5746,5747,5748,5749,5750,5751,5752,5753,5754,5755,5761,5762,5763,5764,5765,5766,5767,5768,5783,5784,5785,5786,5787,5788,5789,5790,5791,5792,5793,5794,5795,5796,5797,5798,5807,5808,5811,5809,5810,5814,5815,5379,5380,5378,5411,5412,5410,5409,5408,5407,5416,5413,5414,5444,5440,5451,5452,5449,5450,5448,5447,5446,5445,5443,5457,5456,5455,5458,5460,5697,5696,5694,5693,5692,5691,5690,5647,5648,5649,5650,5651,5652,5653,5655,5656,5657,5658,5659,5660,5662,5663,5664,5665,5669,5666,5667,5668,5670,5671,5672,5673,5675,5676,5678,5679,5680,5681,5682,5683,5684,5685,5686,5687,5688,5552,5553,5551,5463,5464,5550,5549,5541,5542,5540,5539,5538,5537,5329,5328,5298,5294,5292,5291,5288,5300,5301,5296,5297,5295,5293,5290,5289,5286,5287,5285,5284,5282,5283,5277,5278,5275,5276,5274,5273,5271,5272,5269,5270,5267,5268,5266,5265,5263,5264,5281,5280,5279,5080,5078,5136,5137,5134,5135,5132,5133,5130,5131,5129,5128,5126,5127,5125,5124,5079,5122,5123,5121,5120,5118,5119,5117,5116,5115,4979,4980,4978,4937,5034,4943,4944,4941,4942,4939,4940,4958,4955,4956,4953,4954,4951,4952,4950,4949,4947,4948,4945,4946,5051,5052,5050,5049,5047,5048,5045,5046,5039,5040,5037,5038,5041,5044,5042,5151,5152,5149,5150,5147,5148,5146,5160,5161,5159,5153,5157,5158,5155,5156,5154,5162,5176,5177)
;
(this query time : 0.003 s)
(total SQL time  : 0.032 s)
(total time      : 0.043 s)
(num rows        : 400 )

[0.075 s, 13 queries] : end include/category_default.inc.php

[14] 

SELECT id FROM g_images
WHERE latitude IS NOT NULL
  AND id IN (6069,6068,6066,6067,6064,6065,6063,6062,6061,6055,6056,6053,6054,6059,6060,6057,6058,6032,6045,6044,6043,6042,6041,6040,6039,6037,6038,6036,6035,6034,6033,6047,6046,6048,6049,6050,6051,6052,6169,6113,6112,6111,6110,6109,6107,6108,6115,6121,6122,6114,6119,6118,6117,6116,6105,6106,6104,6103,6102,6101,6100,6098,6099,6025,6026,6027,6028,6029,6030,6031,6020,6021,6022,6023,6024,6018,6019,6012,6013,6014,6015,6016,6017,6010,6011,6006,6007,6008,6009,6000,6001,6002,6003,6004,6005,5998,5999,5990,5991,5992,5993,5994,5995,5996,5997,5988,5989,5983,5984,5985,5986,5987,5935,5936,5937,5930,5931,5932,5933,5934,5928,5929,5922,5923,5924,5914,5915,5847,5848,5850,5851,5852,5853,5854,5855,5856,5837,5838,5839,5840,5830,5831,5832,5833,5834,5835,5836,5744,5745,5746,5747,5748,5749,5750,5751,5752,5753,5754,5755,5761,5762,5763,5764,5765,5766,5767,5768,5783,5784,5785,5786,5787,5788,5789,5790,5791,5792,5793,5794,5795,5796,5797,5798,5807,5808,5811,5809,5810,5814,5815,5379,5380,5378,5411,5412,5410,5409,5408,5407,5416,5413,5414,5444,5440,5451,5452,5449,5450,5448,5447,5446,5445,5443,5457,5456,5455,5458,5460,5697,5696,5694,5693,5692,5691,5690,5647,5648,5649,5650,5651,5652,5653,5655,5656,5657,5658,5659,5660,5662,5663,5664,5665,5669,5666,5667,5668,5670,5671,5672,5673,5675,5676,5678,5679,5680,5681,5682,5683,5684,5685,5686,5687,5688,5552,5553,5551,5463,5464,5550,5549,5541,5542,5540,5539,5538,5537,5329,5328,5298,5294,5292,5291,5288,5300,5301,5296,5297,5295,5293,5290,5289,5286,5287,5285,5284,5282,5283,5277,5278,5275,5276,5274,5273,5271,5272,5269,5270,5267,5268,5266,5265,5263,5264,5281,5280,5279,5080,5078,5136,5137,5134,5135,5132,5133,5130,5131,5129,5128,5126,5127,5125,5124,5079,5122,5123,5121,5120,5118,5119,5117,5116,5115,4979,4980,4978,4937,5034,4943,4944,4941,4942,4939,4940,4958,4955,4956,4953,4954,4951,4952,4950,4949,4947,4948,4945,4946,5051,5052,5050,5049,5047,5048,5045,5046,5039,5040,5037,5038,5041,5044,5042,5151,5152,5149,5150,5147,5148,5146,5160,5161,5159,5153,5157,5158,5155,5156,5154,5162,5176,5177,5174,5175,5172,5173,5170,5171,5168,5169,5166,5167,5164,5165,5178,5180,5181,5179,5198,5197,5193,5196,5195,5194,5216,5217,5214,5215,5212,5213,5210,5208,5206,5207,5205,5202,5201,5199,5225,5226,5223,5224,5221,5222,5219,5220,5218,5245,5246,5249,5248,5250,5252,5253,5251,5258,5257,5256,5254,5261,5260,5259,5322,5323,5320,5321,5319,5318,5316,5317,5315,5314,5313,5312,5311,5310,5309,5308,5307,5305,5306,5304,5302,5303,5354,5353,5351,5352,5350,5349,5347,5348,5346,5344,5345,5343,5342,5341,5339,5340,5338,5355,5331,5356,5362,5363,5360,5361,5359,5358,5357,5375,5372,5373,5374,4832,4830,4789,4788,4787,4786,4785,4784,4783,4782,4749,4747,4748,4745,4746,4743,4744,4742,4735,5330,5326,5013,5014,5011,5012,5009,5010,5015,5016,5008,4996,4997,4998,5002,4999,5000,5007,5003,5001,4989,4992,4993,4991,4990,4994,4995,4819,4272,4271,4270,4269,4268,4267,4266,4265,4264,4263,4262,4261,4260,4278,4277,4276,4275,4274,4273,4280,4279,4558,4554,4552,4551,4553,4250,4248,4249,4555,4029,4025,4027)
ORDER BY NULL
LIMIT 0,1
(this query time : 0.001 s)
(total SQL time  : 0.033 s)
(total time      : 0.077 s)
(num rows        : 1 )
[15] 

INSERT INTO g_history
  (
    date,
    time,
    user_id,
    IP,
    section,
    category_id,
    image_id,
    image_type,
    format_id,
    auth_key_id,
    tag_ids
  )
  VALUES
  (
    CURRENT_DATE,
    CURRENT_TIME,
    2,
    '54.92.164.184',
    'tags',
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    '1850'
  )
;
(this query time : 0.000 s)
(total SQL time  : 0.033 s)
(total time      : 0.081 s)
(affected rows   : 1 )