Strict Standards: Redefining already defined constructor for class JObject in /www/htdocs/w011d3c4/fotoeck.at/cms/libraries/joomla/base/object.php on line 57

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /www/htdocs/w011d3c4/fotoeck.at/cms/libraries/joomla/base/object.php:57) in /www/htdocs/w011d3c4/fotoeck.at/cms/libraries/joomla/session/session.php on line 423

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /www/htdocs/w011d3c4/fotoeck.at/cms/libraries/joomla/base/object.php:57) in /www/htdocs/w011d3c4/fotoeck.at/cms/libraries/joomla/session/session.php on line 423

Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/w011d3c4/fotoeck.at/cms/libraries/joomla/base/object.php:57) in /www/htdocs/w011d3c4/fotoeck.at/cms/libraries/joomla/session/session.php on line 426

Strict Standards: Redefining already defined constructor for class JPlugin in /www/htdocs/w011d3c4/fotoeck.at/cms/libraries/joomla/plugin/plugin.php on line 75

Notice: Undefined index: whitelistips in /www/htdocs/w011d3c4/fotoeck.at/cms/plugins/system/badbehaviour/whitelist.inc.php on line 4

Deprecated: Non-static method JFactory::getCache() should not be called statically, assuming $this from incompatible context in /www/htdocs/w011d3c4/fotoeck.at/cms/plugins/system/httpbl.php on line 79

Deprecated: Non-static method JCache::getInstance() should not be called statically, assuming $this from incompatible context in /www/htdocs/w011d3c4/fotoeck.at/cms/libraries/joomla/factory.php on line 208

Deprecated: Non-static method JCacheStorage::getInstance() should not be called statically, assuming $this from incompatible context in /www/htdocs/w011d3c4/fotoeck.at/cms/libraries/joomla/cache/cache.php on line 313

Deprecated: Non-static method JRouter::getInstance() should not be called statically, assuming $this from incompatible context in /www/htdocs/w011d3c4/fotoeck.at/cms/libraries/joomla/application/application.php on line 676

Deprecated: Non-static method JSite::getMenu() should not be called statically, assuming $this from incompatible context in /www/htdocs/w011d3c4/fotoeck.at/cms/includes/router.php on line 118

Deprecated: Non-static method JApplication::getMenu() should not be called statically, assuming $this from incompatible context in /www/htdocs/w011d3c4/fotoeck.at/cms/includes/application.php on line 345

Deprecated: Non-static method JFactory::getCache() should not be called statically, assuming $this from incompatible context in /www/htdocs/w011d3c4/fotoeck.at/cms/includes/menu.php on line 36

Deprecated: Non-static method JCache::getInstance() should not be called statically, assuming $this from incompatible context in /www/htdocs/w011d3c4/fotoeck.at/cms/libraries/joomla/factory.php on line 208

Deprecated: Non-static method JCacheStorage::getInstance() should not be called statically, assuming $this from incompatible context in /www/htdocs/w011d3c4/fotoeck.at/cms/libraries/joomla/cache/cache.php on line 313

Deprecated: Non-static method JRequest::set() should not be called statically, assuming $this from incompatible context in /www/htdocs/w011d3c4/fotoeck.at/cms/libraries/joomla/application/application.php on line 199

Deprecated: Non-static method JRouter::getInstance() should not be called statically, assuming $this from incompatible context in /www/htdocs/w011d3c4/fotoeck.at/cms/libraries/joomla/application/application.php on line 676

Deprecated: Non-static method JFilterInput::clean() should not be called statically, assuming $this from incompatible context in /www/htdocs/w011d3c4/fotoeck.at/cms/includes/application.php on line 311

Deprecated: Non-static method JFilterInput::clean() should not be called statically, assuming $this from incompatible context in /www/htdocs/w011d3c4/fotoeck.at/cms/libraries/joomla/document/html/html.php on line 221

Deprecated: Non-static method JFilterInput::clean() should not be called statically, assuming $this from incompatible context in /www/htdocs/w011d3c4/fotoeck.at/cms/libraries/joomla/document/html/html.php on line 222

Deprecated: Non-static method JFactory::getEditor() should not be called statically, assuming $this from incompatible context in /www/htdocs/w011d3c4/fotoeck.at/cms/plugins/system/sef.php on line 58

Deprecated: Non-static method JEditor::getInstance() should not be called statically, assuming $this from incompatible context in /www/htdocs/w011d3c4/fotoeck.at/cms/libraries/joomla/factory.php on line 387

Deprecated: Non-static method JRoute::_() should not be called statically, assuming $this from incompatible context in /www/htdocs/w011d3c4/fotoeck.at/cms/plugins/system/sef.php on line 121

Deprecated: Non-static method JRouter::getInstance() should not be called statically, assuming $this from incompatible context in /www/htdocs/w011d3c4/fotoeck.at/cms/libraries/joomla/application/application.php on line 676

Deprecated: Non-static method JSite::getMenu() should not be called statically, assuming $this from incompatible context in /www/htdocs/w011d3c4/fotoeck.at/cms/includes/router.php on line 419

Deprecated: Non-static method JApplication::getMenu() should not be called statically, assuming $this from incompatible context in /www/htdocs/w011d3c4/fotoeck.at/cms/includes/application.php on line 345

Deprecated: Non-static method YOOTools::getInstance() should not be called statically, assuming $this from incompatible context in /www/htdocs/w011d3c4/fotoeck.at/cms/templates/yoo_blueprint/lib/php/yoolayout.php on line 12

Deprecated: Non-static method JSite::getMenu() should not be called statically, assuming $this from incompatible context in /www/htdocs/w011d3c4/fotoeck.at/cms/templates/yoo_blueprint/lib/php/yootools.php on line 249

Deprecated: Non-static method JApplication::getMenu() should not be called statically, assuming $this from incompatible context in /www/htdocs/w011d3c4/fotoeck.at/cms/includes/application.php on line 345

Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method JHTMLBehavior::mootools() should not be called statically in /www/htdocs/w011d3c4/fotoeck.at/cms/libraries/joomla/html/html.php on line 91
- •Galerie•
Notice: Undefined variable: html_code_not_quotes in /www/htdocs/w011d3c4/fotoeck.at/cms/templates/yoo_blueprint/index.php on line 127

Deprecated: iconv_set_encoding(): Use of iconv.internal_encoding is deprecated in /www/htdocs/w011d3c4/fotoeck.at/cms/libraries/joomla/utilities/string.php on line 32

Deprecated: iconv_set_encoding(): Use of iconv.input_encoding is deprecated in /www/htdocs/w011d3c4/fotoeck.at/cms/libraries/joomla/utilities/string.php on line 33

Deprecated: iconv_set_encoding(): Use of iconv.output_encoding is deprecated in /www/htdocs/w011d3c4/fotoeck.at/cms/libraries/joomla/utilities/string.php on line 34

Strict Standards: Non-static method JString::strpos() should not be called statically in /www/htdocs/w011d3c4/fotoeck.at/cms/templates/yoo_blueprint/html/modules.php on line 29

Zufallsbild


Strict Standards: Non-static method JFile::exists() should not be called statically in /www/htdocs/w011d3c4/fotoeck.at/cms/modules/mod_joomimg/mod_joomimg.php on line 40

Deprecated: Non-static method JRoute::_() should not be called statically, assuming $this from incompatible context in /www/htdocs/w011d3c4/fotoeck.at/cms/modules/mod_joomimg/helper.php on line 307

Deprecated: Non-static method JRouter::getInstance() should not be called statically, assuming $this from incompatible context in /www/htdocs/w011d3c4/fotoeck.at/cms/libraries/joomla/application/application.php on line 676

Deprecated: Non-static method JSite::getMenu() should not be called statically, assuming $this from incompatible context in /www/htdocs/w011d3c4/fotoeck.at/cms/includes/router.php on line 419

Deprecated: Non-static method JApplication::getMenu() should not be called statically, assuming $this from incompatible context in /www/htdocs/w011d3c4/fotoeck.at/cms/includes/application.php on line 345

Strict Standards: Declaration of Joom_Ambit::set() should be compatible with JObject::set($property, $value = NULL) in /www/htdocs/w011d3c4/fotoeck.at/cms/administrator/components/com_joomgallery/common.joomgallery.php on line 2263

Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method JHTMLBehavior::mootools() should not be called statically in /www/htdocs/w011d3c4/fotoeck.at/cms/libraries/joomla/html/html.php on line 91

Deprecated: Non-static method JPathway::getInstance() should not be called statically, assuming $this from incompatible context in /www/htdocs/w011d3c4/fotoeck.at/cms/libraries/joomla/application/application.php on line 699

Deprecated: Non-static method JSite::getMenu() should not be called statically, assuming $this from incompatible context in /www/htdocs/w011d3c4/fotoeck.at/cms/includes/pathway.php on line 34

Deprecated: Non-static method JApplication::getMenu() should not be called statically, assuming $this from incompatible context in /www/htdocs/w011d3c4/fotoeck.at/cms/includes/application.php on line 345

Unsere Website verwendet Cookies, um uns die Analyse des Surfverhaltens der Besucher mit Hilfe einer Statistik zu ermöglichen. Durch die Nutzung unserer Website erklären Sie sich einverstanden, dass wir diese Arten von Cookies auf Ihrem Gerät platzieren.
Our site uses cookies to enable us to analyze the surfing behavior of visitors with the help of statistics. By using our website you agree that we can place these types of cookies on your device. To find out more about the cookies we use and how to delete them, see our privacy policy.

I accept cookies from this site.

EU Cookie Directive Module Information

•Profil zum Laufzeitverhalten•

Application afterLoad: 0.000 seconds, 0.42 MB
Application afterInitialise: 0.016 seconds, 2.62 MB
Application afterRoute: 0.022 seconds, 3.38 MB
Application afterDispatch: 0.528 seconds, 6.05 MB
Application afterRender: 0.660 seconds, 8.30 MB

•Speichernutzung•

8777224

•1471 Abfragen protokolliert•

  1. SELECT *
      FROM jos_session
      WHERE session_id = '036dda33dda7f13229dbaa181514eebe'
  2. DELETE
      FROM jos_session
      WHERE ( TIME < '1728329351' )
  3. SELECT *
      FROM jos_session
      WHERE session_id = '036dda33dda7f13229dbaa181514eebe'
  4. INSERT INTO `jos_session` ( `session_id`,`time`,`username`,`gid`,`guest`,`client_id` )
      VALUES ( '036dda33dda7f13229dbaa181514eebe','1728332951','','0','1','0' )
  5. SELECT *
      FROM jos_components
      WHERE parent = 0
  6. SELECT folder AS TYPE, element AS name, params
      FROM jos_plugins
      WHERE published >= 1
      AND access <= 0
      ORDER BY ordering
  7. SELECT m.*, c.`option` AS component
      FROM jos_menu AS m
      LEFT JOIN jos_components AS c
      ON m.componentid = c.id
      WHERE m.published = 1
      ORDER BY m.sublevel, m.parent, m.ordering
  8. SELECT *
      FROM jos_joomgallery_config
      WHERE id = 0
  9. SELECT
                              uid,
                              uuserid,
                              zipname
                           
      FROM
                              jos_joomgallery_users
                           
      WHERE
                               zipname != ''
                             
      AND TIME != ''
                             
      AND TIME < NOW()-INTERVAL 60 SECOND
  10. SELECT id, title, module, POSITION, content, showtitle, control, params
      FROM jos_modules AS m
      LEFT JOIN jos_modules_menu AS mm
      ON mm.moduleid = m.id
      WHERE m.published = 1
      AND m.access <= 0
      AND m.client_id = 0
      AND ( mm.menuid = 16 OR mm.menuid = 0 )
      ORDER BY POSITION, ordering
  11. SELECT
                                COUNT(cid)
                             
      FROM
                                jos_joomgallery_catg
                             
      WHERE
                                published = '1'
                               
      AND parent='0'
                               
      AND access <= '0'
  12. SELECT
                    *
                 
      FROM
                    jos_joomgallery_catg
                 
      WHERE
                     published = '1'
                   
      AND parent = 0
                 
      AND access<= '0'
      ORDER BY
                      ordering
                   
      LIMIT 0,12
  13. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (446)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  14. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (446)
         
      AND access <= 0
      AND published = '1'
  15. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (449,450,451,452,453,511,601,669)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  16. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (449,450,451,452,453,511,601,669)
         
      AND access <= 0
      AND published = '1'
  17. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (454,132,81,83,457,456,459,458,28,41,460,461,462,464,463,465,466,467,468,287,469,470,471,472,473,475,474,476,477,478,479,482,494,512,517,526,531,542,556,563,581,602,620,618,629,648,644,657,670,675,688,692,696)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  18. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (454,132,81,83,457,456,459,458,28,41,460,461,462,464,463,465,466,467,468,287,469,470,471,472,473,475,474,476,477,478,479,482,494,512,517,526,531,542,556,563,581,602,620,618,629,648,644,657,670,675,688,692,696)
         
      AND access <= 0
      AND published = '1'
  19. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (116,655,652,29,30,288,290,40,118,69,87,72,122,90,89,45,134,138,142,147,150,158,163,164,207,205,208,215,216,219,235,227,226,223,237,238,240,259,267,272,274,273,284,294,298,305,299,307,312,309,308,314,315,319,326,323,327,330,333,335,340,336,342,343,344,345,346,651,351,347,359,357,360,361,365,367,373,375,377,376,379,384,382,390,398,414,425,436,437,438,439,483,488,489,495,496,497,516,513,523,518,527,534,533,537,536,535,538,539,543,544,545,546,547,650,550,551,552,557,558,559,562,564,565,567,566,568,569,582,649,583,603,605,619,621,631,630,633,632,645,634,638,82,84,658,671,676,689,690,691,693,697,698,699)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  20. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (116,655,652,29,30,288,290,40,118,69,87,72,122,90,89,45,134,138,142,147,150,158,163,164,207,205,208,215,216,219,235,227,226,223,237,238,240,259,267,272,274,273,284,294,298,305,299,307,312,309,308,314,315,319,326,323,327,330,333,335,340,336,342,343,344,345,346,651,351,347,359,357,360,361,365,367,373,375,377,376,379,384,382,390,398,414,425,436,437,438,439,483,488,489,495,496,497,516,513,523,518,527,534,533,537,536,535,538,539,543,544,545,546,547,650,550,551,552,557,558,559,562,564,565,567,566,568,569,582,649,583,603,605,619,621,631,630,633,632,645,634,638,82,84,658,671,676,689,690,691,693,697,698,699)
         
      AND access <= 0
      AND published = '1'
  21. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=446
      AND published=1
  22. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=449
      AND published=1
  23. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=450
      AND published=1
  24. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=451
      AND published=1
  25. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=452
      AND published=1
  26. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=453
      AND published=1
  27. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=511
      AND published=1
  28. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=601
      AND published=1
  29. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=669
      AND published=1
  30. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=454
      AND published=1
  31. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=132
      AND published=1
  32. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=81
      AND published=1
  33. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=83
      AND published=1
  34. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=457
      AND published=1
  35. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=456
      AND published=1
  36. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=459
      AND published=1
  37. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=458
      AND published=1
  38. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=28
      AND published=1
  39. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=41
      AND published=1
  40. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=460
      AND published=1
  41. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=461
      AND published=1
  42. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=462
      AND published=1
  43. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=464
      AND published=1
  44. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=463
      AND published=1
  45. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=465
      AND published=1
  46. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=466
      AND published=1
  47. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=467
      AND published=1
  48. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=468
      AND published=1
  49. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=287
      AND published=1
  50. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=469
      AND published=1
  51. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=470
      AND published=1
  52. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=471
      AND published=1
  53. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=472
      AND published=1
  54. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=473
      AND published=1
  55. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=475
      AND published=1
  56. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=474
      AND published=1
  57. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=476
      AND published=1
  58. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=477
      AND published=1
  59. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=478
      AND published=1
  60. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=479
      AND published=1
  61. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=482
      AND published=1
  62. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=494
      AND published=1
  63. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=512
      AND published=1
  64. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=517
      AND published=1
  65. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=526
      AND published=1
  66. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=531
      AND published=1
  67. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=542
      AND published=1
  68. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=556
      AND published=1
  69. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=563
      AND published=1
  70. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=581
      AND published=1
  71. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=602
      AND published=1
  72. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=620
      AND published=1
  73. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=618
      AND published=1
  74. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=629
      AND published=1
  75. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=648
      AND published=1
  76. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=644
      AND published=1
  77. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=657
      AND published=1
  78. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=670
      AND published=1
  79. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=675
      AND published=1
  80. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=688
      AND published=1
  81. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=692
      AND published=1
  82. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=696
      AND published=1
  83. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=118
      AND published=1
  84. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=116
      AND published=1
  85. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=82
      AND published=1
  86. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=84
      AND published=1
  87. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=72
      AND published=1
  88. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=69
      AND published=1
  89. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=87
      AND published=1
  90. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=45
      AND published=1
  91. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=122
      AND published=1
  92. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=90
      AND published=1
  93. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=89
      AND published=1
  94. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=29
      AND published=1
  95. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=30
      AND published=1
  96. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=40
      AND published=1
  97. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=134
      AND published=1
  98. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=138
      AND published=1
  99. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=142
      AND published=1
  100. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=147
      AND published=1
  101. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=150
      AND published=1
  102. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=158
      AND published=1
  103. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=163
      AND published=1
  104. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=164
      AND published=1
  105. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=207
      AND published=1
  106. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=205
      AND published=1
  107. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=208
      AND published=1
  108. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=215
      AND published=1
  109. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=216
      AND published=1
  110. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=219
      AND published=1
  111. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=259
      AND published=1
  112. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=235
      AND published=1
  113. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=227
      AND published=1
  114. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=226
      AND published=1
  115. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=223
      AND published=1
  116. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=237
      AND published=1
  117. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=238
      AND published=1
  118. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=240
      AND published=1
  119. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=267
      AND published=1
  120. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=272
      AND published=1
  121. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=274
      AND published=1
  122. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=273
      AND published=1
  123. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=284
      AND published=1
  124. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=294
      AND published=1
  125. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=288
      AND published=1
  126. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=290
      AND published=1
  127. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=298
      AND published=1
  128. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=305
      AND published=1
  129. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=299
      AND published=1
  130. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=307
      AND published=1
  131. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=312
      AND published=1
  132. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=309
      AND published=1
  133. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=308
      AND published=1
  134. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=314
      AND published=1
  135. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=315
      AND published=1
  136. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=319
      AND published=1
  137. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=326
      AND published=1
  138. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=323
      AND published=1
  139. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=327
      AND published=1
  140. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=330
      AND published=1
  141. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=333
      AND published=1
  142. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=335
      AND published=1
  143. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=340
      AND published=1
  144. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=336
      AND published=1
  145. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=342
      AND published=1
  146. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=343
      AND published=1
  147. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=344
      AND published=1
  148. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=345
      AND published=1
  149. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=346
      AND published=1
  150. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=351
      AND published=1
  151. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=347
      AND published=1
  152. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=359
      AND published=1
  153. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=357
      AND published=1
  154. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=360
      AND published=1
  155. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=361
      AND published=1
  156. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=365
      AND published=1
  157. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=367
      AND published=1
  158. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=390
      AND published=1
  159. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=373
      AND published=1
  160. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=375
      AND published=1
  161. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=377
      AND published=1
  162. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=376
      AND published=1
  163. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=379
      AND published=1
  164. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=384
      AND published=1
  165. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=382
      AND published=1
  166. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=398
      AND published=1
  167. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=414
      AND published=1
  168. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=425
      AND published=1
  169. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=436
      AND published=1
  170. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=437
      AND published=1
  171. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=438
      AND published=1
  172. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=439
      AND published=1
  173. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=483
      AND published=1
  174. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=488
      AND published=1
  175. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=489
      AND published=1
  176. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=495
      AND published=1
  177. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=496
      AND published=1
  178. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=497
      AND published=1
  179. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=516
      AND published=1
  180. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=513
      AND published=1
  181. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=523
      AND published=1
  182. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=518
      AND published=1
  183. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=527
      AND published=1
  184. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=534
      AND published=1
  185. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=533
      AND published=1
  186. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=537
      AND published=1
  187. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=536
      AND published=1
  188. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=535
      AND published=1
  189. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=538
      AND published=1
  190. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=539
      AND published=1
  191. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=543
      AND published=1
  192. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=544
      AND published=1
  193. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=545
      AND published=1
  194. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=546
      AND published=1
  195. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=547
      AND published=1
  196. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=550
      AND published=1
  197. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=551
      AND published=1
  198. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=552
      AND published=1
  199. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=557
      AND published=1
  200. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=558
      AND published=1
  201. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=559
      AND published=1
  202. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=562
      AND published=1
  203. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=564
      AND published=1
  204. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=565
      AND published=1
  205. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=567
      AND published=1
  206. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=566
      AND published=1
  207. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=568
      AND published=1
  208. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=569
      AND published=1
  209. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=582
      AND published=1
  210. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=583
      AND published=1
  211. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=603
      AND published=1
  212. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=605
      AND published=1
  213. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=621
      AND published=1
  214. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=619
      AND published=1
  215. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=631
      AND published=1
  216. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=630
      AND published=1
  217. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=633
      AND published=1
  218. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=632
      AND published=1
  219. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=634
      AND published=1
  220. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=638
      AND published=1
  221. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=655
      AND published=1
  222. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=652
      AND published=1
  223. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=651
      AND published=1
  224. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=650
      AND published=1
  225. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=649
      AND published=1
  226. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=645
      AND published=1
  227. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=658
      AND published=1
  228. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=671
      AND published=1
  229. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=676
      AND published=1
  230. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=689
      AND published=1
  231. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=690
      AND published=1
  232. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=691
      AND published=1
  233. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=693
      AND published=1
  234. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=697
      AND published=1
  235. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=698
      AND published=1
  236. SELECT cid
           
      FROM jos_joomgallery_catg
           
      WHERE parent=699
      AND published=1
  237. SELECT COUNT(id) AS COUNT
         
      FROM jos_joomgallery
         
      WHERE published = 1
      AND approved = 1
      AND catid IN (446,449,450,451,452,453,511,601,669,454,132,81,83,457,456,459,458,28,41,460,461,462,464,463,465,466,467,468,287,469,470,471,472,473,475,474,476,477,478,479,482,494,512,517,526,531,542,556,563,581,602,620,618,629,648,644,657,670,675,688,692,696,118,116,82,84,72,69,87,45,122,90,89,29,30,40,134,138,142,147,150,158,163,164,207,205,208,215,216,219,259,235,227,226,223,237,238,240,267,272,274,273,284,294,288,290,298,305,299,307,312,309,308,314,315,319,326,323,327,330,333,335,340,336,342,343,344,345,346,351,347,359,357,360,361,365,367,390,373,375,377,376,379,384,382,398,414,425,436,437,438,439,483,488,489,495,496,497,516,513,523,518,527,534,533,537,536,535,538,539,543,544,545,546,547,550,551,552,557,558,559,562,564,565,567,566,568,569,582,583,603,605,621,619,631,630,633,632,634,638,655,652,651,650,649,645,658,671,676,689,690,691,693,697,698,699)
  238. SELECT ca.cid,ca.parent,IFNULL(COUNT(p.id),0) AS piccount
           
      FROM jos_joomgallery_catg AS ca
           
      LEFT JOIN jos_joomgallery AS p
           
      ON p.catid = ca.cid
           
      WHERE ca.published = '1'
           
      AND ca.access <= '0'
           
      AND (isnull(p.published) OR p.published=1)
           
      AND (isnull(p.approved) OR p.approved=1)
            /* unpublished approved picture for category, only working with own coice */
            OR ((isnull(p.published) OR p.published=0)
      AND (isnull(p.approved) OR p.approved=1))
           
      GROUP BY ca.cid
           
      ORDER BY CAST(parent AS UNSIGNED)
  239. SELECT
                                  *,
                                  c.access
                               
      FROM
                                  jos_joomgallery AS p
                               
      LEFT JOIN
                                  jos_joomgallery_catg AS c
      ON c.cid = p.catid
                               
      WHERE
                                    p.catid = 359
                                     
      AND p.published = '1'
                                   
      AND p.approved='1'
                                   
      AND c.access <= 0
                                   
      AND c.published = '1'
                                 
      ORDER BY
                                    rand()
                                 
      LIMIT 1
  240. SELECT
                    cid,
                    name,
                    parent,
                    access
                 
      FROM
                    jos_joomgallery_catg
                 
      WHERE
                    published = '1'
                 
      ORDER BY
                    parent ASC,
                    name ASC
  241. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (449)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  242. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (449)
         
      AND access <= 0
      AND published = '1'
  243. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (454,132)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  244. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (454,132)
         
      AND access <= 0
      AND published = '1'
  245. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (116,118)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  246. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (116,118)
         
      AND access <= 0
      AND published = '1'
  247. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (450)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  248. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (450)
         
      AND access <= 0
      AND published = '1'
  249. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (81,83,457,456,459,458)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  250. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (81,83,457,456,459,458)
         
      AND access <= 0
      AND published = '1'
  251. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (82,84,69,87,72,122,90,89,45)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  252. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (82,84,69,87,72,122,90,89,45)
         
      AND access <= 0
      AND published = '1'
  253. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (451)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  254. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (451)
         
      AND access <= 0
      AND published = '1'
  255. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (28,41,460,461,462,464,463,465,466)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  256. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (28,41,460,461,462,464,463,465,466)
         
      AND access <= 0
      AND published = '1'
  257. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (29,30,40,134,138,142,147,150,158,163,164,207,205,208,215,216,219,235,227,226,223,237,238,240,259,267,272,274,273)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  258. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (29,30,40,134,138,142,147,150,158,163,164,207,205,208,215,216,219,235,227,226,223,237,238,240,259,267,272,274,273)
         
      AND access <= 0
      AND published = '1'
  259. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (452)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  260. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (452)
         
      AND access <= 0
      AND published = '1'
  261. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (467,468,287,469,470,471,472,473,475,474,476)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  262. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (467,468,287,469,470,471,472,473,475,474,476)
         
      AND access <= 0
      AND published = '1'
  263. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (288,290,284,294,298,305,299,307,312,309,308,314,315,319,326,323,327,330,333,335,340,336,342,343,344,345,346,351,347,359,357,360,361,365,367,373,375,377,376,379,384,382,390,398)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  264. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (288,290,284,294,298,305,299,307,312,309,308,314,315,319,326,323,327,330,333,335,340,336,342,343,344,345,346,351,347,359,357,360,361,365,367,373,375,377,376,379,384,382,390,398)
         
      AND access <= 0
      AND published = '1'
  265. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (453)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  266. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (453)
         
      AND access <= 0
      AND published = '1'
  267. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (477,478,479,482,494)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  268. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (477,478,479,482,494)
         
      AND access <= 0
      AND published = '1'
  269. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (414,425,436,437,438,439,483,488,489,495,496,497)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  270. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (414,425,436,437,438,439,483,488,489,495,496,497)
         
      AND access <= 0
      AND published = '1'
  271. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (511)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  272. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (511)
         
      AND access <= 0
      AND published = '1'
  273. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (512,517,526,531,542,556,563,581)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  274. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (512,517,526,531,542,556,563,581)
         
      AND access <= 0
      AND published = '1'
  275. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (516,513,523,518,527,534,533,537,536,535,538,539,543,544,545,546,547,550,551,552,557,558,559,562,564,565,567,566,568,569,582,583)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  276. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (516,513,523,518,527,534,533,537,536,535,538,539,543,544,545,546,547,550,551,552,557,558,559,562,564,565,567,566,568,569,582,583)
         
      AND access <= 0
      AND published = '1'
  277. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (601)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  278. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (601)
         
      AND access <= 0
      AND published = '1'
  279. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (602,620,618,629,648,644,657)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  280. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (602,620,618,629,648,644,657)
         
      AND access <= 0
      AND published = '1'
  281. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (603,605,619,621,631,630,633,632,634,638,645,655,652,651,650,649,658)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  282. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (603,605,619,621,631,630,633,632,634,638,645,655,652,651,650,649,658)
         
      AND access <= 0
      AND published = '1'
  283. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (669)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  284. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (669)
         
      AND access <= 0
      AND published = '1'
  285. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (670,675,688,692,696)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  286. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (670,675,688,692,696)
         
      AND access <= 0
      AND published = '1'
  287. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (671,676,689,690,691,693,697,698,699)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  288. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (671,676,689,690,691,693,697,698,699)
         
      AND access <= 0
      AND published = '1'
  289. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (132)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  290. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (132)
         
      AND access <= 0
      AND published = '1'
  291. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (116)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  292. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (116)
         
      AND access <= 0
      AND published = '1'
  293. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (454)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  294. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (454)
         
      AND access <= 0
      AND published = '1'
  295. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (118)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  296. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (118)
         
      AND access <= 0
      AND published = '1'
  297. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (458)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  298. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (458)
         
      AND access <= 0
      AND published = '1'
  299. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (122,90,89)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  300. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (122,90,89)
         
      AND access <= 0
      AND published = '1'
  301. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (459)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  302. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (459)
         
      AND access <= 0
      AND published = '1'
  303. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (45)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  304. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (45)
         
      AND access <= 0
      AND published = '1'
  305. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (81)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  306. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (81)
         
      AND access <= 0
      AND published = '1'
  307. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (82)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  308. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (82)
         
      AND access <= 0
      AND published = '1'
  309. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (457)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  310. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (457)
         
      AND access <= 0
      AND published = '1'
  311. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (72)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  312. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (72)
         
      AND access <= 0
      AND published = '1'
  313. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (456)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  314. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (456)
         
      AND access <= 0
      AND published = '1'
  315. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (69,87)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  316. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (69,87)
         
      AND access <= 0
      AND published = '1'
  317. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (83)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  318. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (83)
         
      AND access <= 0
      AND published = '1'
  319. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (84)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  320. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (84)
         
      AND access <= 0
      AND published = '1'
  321. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (460)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  322. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (460)
         
      AND access <= 0
      AND published = '1'
  323. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (134,138,142)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  324. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (134,138,142)
         
      AND access <= 0
      AND published = '1'
  325. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (463)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  326. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (463)
         
      AND access <= 0
      AND published = '1'
  327. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (235,227,226,223,237,238,240)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  328. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN (235,227,226,223,237,238,240)
         
      AND access <= 0
      AND published = '1'
  329. SELECT MAX(imgdate)
         
      FROM jos_joomgallery AS a
         
      LEFT JOIN jos_joomgallery_catg AS c
      ON c.cid=a.catid
         
      WHERE a.catid IN (466)
         
      AND a.published = '1'
      AND a.approved='1'
         
      AND c.access <= 0
      AND c.published = '1'
  330. SELECT cid
         
      FROM jos_joomgallery_catg
         
      WHERE parent IN