Scottish Borders Castles


The picturesque ruins of several abbeys bear witness to the turbulence of centuries of Border wars and religious strife focusing attention on a tapestry of history, heritage, culture and recreation, and this is a region inundated with fine houses, castles and museums to visit. Floors Castle in Kelso and home of the Duke and Duchess of Roxburghe is perhaps the largest inhabited castle in Scotland. Abbotsford, near Mekrose, was built and lived in by Sir Walter Scott where the library holds over 9,000 rare volumes.

Lauder in Berwickshire is the home of Thirlestane Castle one of Scotland’s oldest and most splendid castles whilst Mellerstain House, the home of the Earl and Countess of Haddington, is famous for it’s exquisite plaster ceilings and wonderful art collection.

If you want to see where the English were defeated three times in one day then visit Neidpath Castle which towers over the River Tweed near Peebles. - Mary Stuart and Oliver Cromwell stayed there. Neidpath is one of many

Scottish historic houses used as a film location. ‘The Bruce’ was a filmed at Neidpath, Duart Castle on the Isle of Mull was the location for ‘Entrapment’ and Floors Castle in Kelso was the home of Tarzan the Earl off Greystoke in ‘Greystoke”.

Traquair House is Scotland’s oldest inhabited house and was originally a hunting lodge for the kings of Scotland. It has strong associations with Mary Queen of Scots.

Small towns like Kelso and Peebles, unspoiled in their rural setting, unveil to the visitor the timeless appeal of Scotland – breathing space, charming locations and friendly people, spirited and generous. All this is evident at the colourful festivals of the Border Ridings hosted in many towns.

To round off your historic journey through The Borders visit the Hawick and Jedburgh Museums - Drumlanrig’s Tower, a 15th century stronghold of the Black Douglas, The Scott Gallery and Jedburgh Castle Jail and Museum offers an insight into law and prison sentences in the 19th century.


Abbeys | Hermitage Castle - a study in belligerence

Pheasant
Kelso Border Union Show
Cycling
Fishing
Fishing
Grey Mare's Tail
Smailholm Tower
Pipers
Pipers
Scott's View
Melrose Abbey
The River Tweed
Walking
 

Generated in 0.891115 seconds by CMS Made Simple using 50 SQL queries and 15579168 bytes of memory (peak memory usage was 25270096)

Debug: (4.000000000004E-5) - (usage: 1152312) - (peak: 1155368)
done loading required files
Debug: (0.146752) - (usage: 1161080) - (peak: 1196976)
loading adodb
Debug: (0.147043) - (usage: 1208248) - (peak: 1212272)
loading page functions
Debug: (0.147284) - (usage: 1233320) - (peak: 1253528)
loading content functions
Debug: (0.147405) - (usage: 1234376) - (peak: 1278568)
loading translation functions
Debug: (0.147624) - (usage: 1235872) - (peak: 1279632)
loading php4 entity decode functions
Debug: (0.147778) - (usage: 1236656) - (peak: 1281304)
done loading files
Debug: (0.1479) - (usage: 1237056) - (peak: 1282008)
Initialize Database
Debug: (0.153061) - (usage: 1530064) - (peak: 1542120)
(mysql): SET 
Error (1064): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1
Debug: (0.153212) - (usage: 1529360) - (peak: 1584424)
Done Initializing Database
Debug: (0.153282) - (usage: 1529616) - (peak: 1584608)
Initialize Smarty
Debug: (0.155676) - (usage: 2034536) - (peak: 2042952)
Loading /home/site1300/public_html/lib/classes/class.Smarty_CMS.php = 503816 bytes for an approximate total of 503816
Debug: (0.156301) - (usage: 2094936) - (peak: 2103648)
Loading /home/site1300/public_html/lib/classes/class.CMSModuleDbTemplateResource.php = 44416 bytes for an approximate total of 548232
Debug: (0.156584) - (usage: 2110000) - (peak: 2144952)
Loading /home/site1300/public_html/lib/classes/class.CMSPageTemplateResource.php = 13560 bytes for an approximate total of 561792
Debug: (0.156842) - (usage: 2120400) - (peak: 2160040)
Loading /home/site1300/public_html/lib/classes/class.usertagoperations.inc.php = 9248 bytes for an approximate total of 571040
Debug: (0.157681) - (usage: 2120712) - (peak: 2170984)
(mysql): SELECT * FROM cms_userplugins ORDER BY userplugin_name
Debug: (0.15801) - (usage: 2139544) - (peak: 2172168)
Loading /home/site1300/public_html/lib/classes/class.cms_siteprefs.php = 5680 bytes for an approximate total of 576720
Debug: (0.159173) - (usage: 2139888) - (peak: 2191120)
(mysql): SELECT sitepref_name,sitepref_value FROM cms_siteprefs
Debug: (0.161613) - (usage: 2324096) - (peak: 2474680)
Loading /home/site1300/public_html/lib/classes/class.CMSContentTemplateResource.php = 11320 bytes for an approximate total of 588040
Debug: (0.161869) - (usage: 2336104) - (peak: 2508576)
Loading /home/site1300/public_html/lib/classes/class.CMSGlobalContentTemplateResource.php = 11232 bytes for an approximate total of 599272
Debug: (0.163557) - (usage: 2341400) - (peak: 2517696)
Done Initialiing Smarty
Debug display of 'Loading Modules':(0.163656) - (usage: 2341864) - (peak: 2521184)
Debug: (0.164148) - (usage: 2506640) - (peak: 2632816)
Loading /home/site1300/public_html/lib/classes/class.moduleoperations.inc.php = 163744 bytes for an approximate total of 763016
Debug: (0.16501) - (usage: 2508000) - (peak: 2674088)
(mysql): SELECT * FROM cms_modules ORDER BY module_name
Debug: (0.165701) - (usage: 2550816) - (peak: 2675048)
loading module Accommodation
Debug: (0.166389) - (usage: 2764032) - (peak: 2848136)
Loading /home/site1300/public_html/lib/classes/class.CMSModule.php = 200000 bytes for an approximate total of 963016
Debug: (0.166952) - (usage: 2853360) - (peak: 2922424)
Loading /home/site1300/public_html/lib/classes/class.CmsNlsOperations.php = 11592 bytes for an approximate total of 974608
Debug: (0.167453) - (usage: 2884856) - (peak: 2959904)
Loading /home/site1300/public_html/lib/classes/class.CmsNls.php = 10808 bytes for an approximate total of 985416
Debug: (0.17059) - (usage: 3251576) - (peak: 3275376)
Loading /home/site1300/public_html/lib/classes/class.CmsLangOperations.php = 6808 bytes for an approximate total of 992224
Debug: (0.17081) - (usage: 3249616) - (peak: 3316872)
loading module Calendar
Debug: (0.171618) - (usage: 3419464) - (peak: 3435416)
Loading /home/site1300/public_html/lib/classes/class.contentoperations.inc.php = 60984 bytes for an approximate total of 1053208
Debug: (0.173646) - (usage: 3420528) - (peak: 3476992)
(mysql): SELECT content_id FROM cms_content WHERE default_content = 1 LIMIT  1
Debug: (0.173897) - (usage: 3434112) - (peak: 3478520)
Loading /home/site1300/public_html/lib/classes/class.CmsRoute.php = 13120 bytes for an approximate total of 1066328
Debug: (0.174113) - (usage: 3446896) - (peak: 3490152)
Loading /home/site1300/public_html/lib/classes/class.cms_route_manager.php = 11224 bytes for an approximate total of 1077552
Debug: (0.176847) - (usage: 3688640) - (peak: 3970992)
loading module Captcha
Debug: (0.177505) - (usage: 3833232) - (peak: 4079040)
loading module CGExtensions
Debug: (0.179368) - (usage: 4116856) - (peak: 4260072)
Loading /home/site1300/public_html/lib/classes/class.cms_utils.php = 11192 bytes for an approximate total of 1088744
Debug: (0.179776) - (usage: 4117000) - (peak: 4301872)
(mysql): SET @CG_ZEROTIME = NOW() - INTERVAL 150 YEAR,@CG_FUTURETIME = NOW() + INTERVAL 5 YEAR
Debug: (0.181384) - (usage: 4157776) - (peak: 4302368)
loading module CMSPrinting
Debug: (0.182298) - (usage: 4265376) - (peak: 4392040)
loading module FormBuilder
Debug: (0.182912) - (usage: 4407312) - (peak: 4519224)
loading module CMSMailer
Debug: (0.188367) - (usage: 4991808) - (peak: 5159000)
loading module Forum
Debug: (0.189808) - (usage: 5133224) - (peak: 5289784)
loading module FrontEndUsers
Debug: (0.192445) - (usage: 5544056) - (peak: 5675536)
Loading /home/site1300/public_html/lib/classes/class.module_meta.php = 6352 bytes for an approximate total of 1095096
Debug: (0.196246) - (usage: 5771072) - (peak: 5880504)
loading module Gallery
Debug: (0.197531) - (usage: 5874872) - (peak: 5971992)
loading module GBFilePicker
Debug: (0.198361) - (usage: 5993576) - (peak: 6084672)
loading module MenuManager
Debug: (0.199296) - (usage: 6086904) - (peak: 6175040)
loading module Printing
Debug: (0.201075) - (usage: 6222912) - (peak: 6302888)
loading module TinyMCE
Debug: (0.202043) - (usage: 6321384) - (peak: 6396472)
loading module TreeManager
Debug display of 'End of Loading Modules':(0.202738) - (usage: 6444848) - (peak: 6520776)
Debug: (0.203005) - (usage: 6450296) - (peak: 6562008)
Loading /home/site1300/public_html/lib/classes/class.CmsRegularTaskHandler.php = 4552 bytes for an approximate total of 1099648
Debug: (0.212781) - (usage: 6501328) - (peak: 6591240)
Loading /home/site1300/public_html/lib/classes/class.cms_content_cache.php = 7752 bytes for an approximate total of 1107400
Debug: (0.213367) - (usage: 6503512) - (peak: 6632384)
(mysql): SELECT * FROM cms_content WHERE content_id = 174 AND active = 1 LIMIT  1
Debug: (0.214065) - (usage: 6593016) - (peak: 6674528)
Loading /home/site1300/public_html/lib/classes/class.ContentBase.php = 70424 bytes for an approximate total of 1177824
Debug: (0.214256) - (usage: 6642448) - (peak: 6723664)
Loading /home/site1300/public_html/lib/classes/contenttypes/Content.inc.php = 134624 bytes for an approximate total of 1312448
Debug: (0.216191) - (usage: 6668840) - (peak: 6764952)
(mysql): SELECT * FROM cms_content_props WHERE content_id = '174'
Debug: (0.216976) - (usage: 6680752) - (peak: 6778504)
process template top
Debug display of 'Fetch tpl_top:40 start':(0.217091) - (usage: 6681416) - (peak: 6791896)
Debug: (0.21734) - (usage: 6691696) - (peak: 6792520)
Loading /home/site1300/public_html/lib/classes/class.Events.php = 8600 bytes for an approximate total of 1321048
Debug: (0.218194) - (usage: 6693488) - (peak: 6801544)
(mysql): SELECT eh.tag_name, eh.module_name, e.originator, e.event_name, eh.handler_order, eh.handler_id, eh.removable FROM cms_event_handlers eh
        INNER JOIN cms_events e ON e.event_id = eh.event_id
        ORDER BY eh.handler_order ASC
Debug: (0.218922) - (usage: 6741232) - (peak: 6804424)
Loading /home/site1300/public_html/lib/classes/class.templateoperations.inc.php = 21360 bytes for an approximate total of 1342408
Debug: (0.219634) - (usage: 6744272) - (peak: 6845400)
(mysql): SELECT template_id, template_name, template_content, stylesheet, encoding, active, default_template, modified_date 
                      FROM cms_templates WHERE template_id = '40' LIMIT  1
Debug: (0.22682) - (usage: 8525536) - (peak: 8587608)
Loading /home/site1300/public_html/lib/classes/class.CMS_Content_Block.php = 8712 bytes for an approximate total of 1351120
Debug display of 'Fetch content:content_en start':(0.23604) - (usage: 8592912) - (peak: 8689584)
Debug display of 'Fetch content:content_en end':(0.237883) - (usage: 8613504) - (peak: 8742976)
Debug display of 'Fetch tpl_top:40 end':(0.238002) - (usage: 8569560) - (peak: 8742976)
Debug: (0.238048) - (usage: 8568696) - (peak: 8742976)
process template body
Debug display of 'Fetch tpl_body:40 start':(0.238112) - (usage: 8569360) - (peak: 8742976)
Debug display of 'Start Load Smarty Plugin search/function':(0.317862) - (usage: 8745448) - (peak: 8819600)
Debug: (0.318071) - (usage: 8757584) - (peak: 8857312)
Loading /home/site1300/public_html/lib/classes/class.cms_module_smarty_plugin_manager.php = 10616 bytes for an approximate total of 1361736
Debug: (0.318897) - (usage: 8758200) - (peak: 8863360)
(mysql): SELECT * FROM cms_module_smarty_plugins ORDER BY module
Debug: (0.319655) - (usage: 8879424) - (peak: 8934920)
Loading /home/site1300/public_html/modules/Search/Search.module.php = 101264 bytes for an approximate total of 1463000
Debug display of 'Start Load Smarty Plugin menu/function':(0.341269) - (usage: 8927208) - (peak: 9000528)
Debug display of 'End Load Smarty Plugin menu/function':(0.341366) - (usage: 8927888) - (peak: 9038376)
Debug display of 'Fetch content:display_header_slider start':(0.474755) - (usage: 9148552) - (peak: 9814648)
Debug display of 'Fetch content:display_header_slider end':(0.475811) - (usage: 9138624) - (peak: 9814648)
Debug display of 'Fetch content:galleryfolder start':(0.475976) - (usage: 9180168) - (peak: 9814648)
Debug display of 'Fetch content:galleryfolder end':(0.476818) - (usage: 9196872) - (peak: 9814648)
Debug display of 'Fetch content:display_breadcrumbs start':(0.47695) - (usage: 9156320) - (peak: 9814648)
Debug display of 'Fetch content:display_breadcrumbs end':(0.477707) - (usage: 9173144) - (peak: 9814648)
Debug display of 'Fetch content:display_search start':(0.47781) - (usage: 9173176) - (peak: 9814648)
Debug display of 'Fetch content:display_search end':(0.478578) - (usage: 9189880) - (peak: 9814648)
Debug display of 'Fetch content:display_sidebar start':(0.478682) - (usage: 9189984) - (peak: 9814648)
Debug display of 'Fetch content:display_sidebar end':(0.4794) - (usage: 9206680) - (peak: 9814648)
Debug display of 'Fetch content:display_news start':(0.479538) - (usage: 9206752) - (peak: 9814648)
Debug display of 'Fetch content:display_news end':(0.480236) - (usage: 9223712) - (peak: 9814648)
Debug display of 'Fetch content:news_slider start':(0.480343) - (usage: 9223824) - (peak: 9814648)
Debug display of 'Fetch content:news_slider end':(0.481052) - (usage: 9240408) - (peak: 9814648)
Debug display of 'Fetch content:sidebar_title start':(0.481198) - (usage: 9240160) - (peak: 9814648)
Debug display of 'Fetch content:sidebar_title end':(0.481925) - (usage: 9256792) - (peak: 9814648)
Debug display of 'Fetch content:main_page_title start':(0.482027) - (usage: 9298824) - (peak: 9814648)
Debug display of 'Fetch content:main_page_title end':(0.482861) - (usage: 9315408) - (peak: 9814648)
Debug display of 'Fetch content:threeblocks start':(0.482968) - (usage: 9273936) - (peak: 9814648)
Debug display of 'Fetch content:threeblocks end':(0.483959) - (usage: 9290600) - (peak: 9814648)
Debug display of 'Fetch content:specialbox start':(0.484064) - (usage: 9290696) - (peak: 9814648)
Debug display of 'Fetch content:specialbox end':(0.485489) - (usage: 9307312) - (peak: 9814648)
Debug display of 'Fetch content:companyslogan start':(0.485762) - (usage: 9306944) - (peak: 9814648)
Debug display of 'Fetch content:companyslogan end':(0.487213) - (usage: 9323608) - (peak: 9814648)
Debug display of 'Fetch content:banner_horizontal start':(0.487311) - (usage: 9322400) - (peak: 9814648)
Debug display of 'Fetch content:banner_horizontal end':(0.489039) - (usage: 9339160) - (peak: 9814648)
Debug display of 'Start Loading Hierarchy Manager':(0.490093) - (usage: 9426576) - (peak: 9814648)
Debug display of 'starting tree':(0.490193) - (usage: 9426912) - (peak: 9814648)
Debug: (0.49117) - (usage: 9428696) - (peak: 9814648)
(mysql): SELECT modified_date FROM cms_content ORDER BY modified_date DESC LIMIT  1
Debug: (0.491443) - (usage: 9428288) - (peak: 9814648)
Content tree file needs loading
Debug: (0.491867) - (usage: 9513696) - (peak: 9814648)
Loading /home/site1300/public_html/lib/classes/class.cms_tree.php = 9656 bytes for an approximate total of 1472656
Debug: (0.491967) - (usage: 9518248) - (peak: 9814648)
Loading /home/site1300/public_html/lib/classes/class.cms_content_tree.php = 26712 bytes for an approximate total of 1499368
Debug display of 'ending tree':(0.492821) - (usage: 9686048) - (peak: 9869304)
Debug display of 'End Loading Hierarchy Manager':(0.492872) - (usage: 9658864) - (peak: 9869304)
Debug display of 'Fetch module_db_tpl:Search;displaysearch start':(0.494495) - (usage: 9690456) - (peak: 9869304)
Debug display of 'CMSModuleDbTemplateResource startSearch;displaysearch':(0.494752) - (usage: 9698048) - (peak: 9869304)
Debug: (0.495693) - (usage: 9702232) - (peak: 9869304)
(mysql): SELECT * from cms_module_templates WHERE module_name = 'Search' and template_name = 'displaysearch' LIMIT  1
Debug display of 'CMSModuleDbTemplateResource endSearch;displaysearch':(0.495886) - (usage: 9701248) - (peak: 9869304)
Debug display of 'Fetch module_db_tpl:Search;displaysearch end':(0.507628) - (usage: 9721496) - (peak: 9914168)
Debug: (0.509038) - (usage: 9683312) - (peak: 9914168)
(mysql): SELECT * FROM cms_content FORCE INDEX (cms_index_content_by_idhier) WHERE content_id IN (15,51,74,139,133,79,88,65,94,98,99,191,87,203,157,193,192,194,200) AND active = 1 ORDER BY hierarchy
Debug: (0.511076) - (usage: 10019128) - (peak: 10079448)
Loading /home/site1300/public_html/lib/classes/contenttypes/Link.inc.php = 57464 bytes for an approximate total of 1556832
Debug display of 'Start of Menu Manager Display':(0.512881) - (usage: 10118664) - (peak: 10234064)
Debug: (0.514228) - (usage: 10125488) - (peak: 10275048)
(mysql): SELECT * FROM cms_content FORCE INDEX (cms_index_content_by_idhier) WHERE content_id NOT IN (174,15,51,74,133,79,88,65,99,191,193,192,194,200)
Debug: (0.529493) - (usage: 10978408) - (peak: 11025816)
(mysql): SELECT * FROM cms_content_props WHERE content_id IN (52,53,54,55,56,57,58,59,60,61,62,63,66,67,70,72,75,76,77,78,81,82,83,84,85,86,87,89,90,91,92,93,94,95,96,97,98,100,101,102,103,104,105,106,107,109,110,112,113,118,119,120,121,122,123,124,129,130,131,132,134,135,136,137,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,157,158,159,162,163,164,165,166,167,168,169,172,173,175,176,177,179,180,181,182,183,184,185,186,187,188,189,190,195,196,197,198,199,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225) ORDER BY content_id
Debug: (0.617795) - (usage: 21839760) - (peak: 21928000)
Loading /home/site1300/public_html/lib/classes/contenttypes/PageLink.inc.php = 57736 bytes for an approximate total of 1614568
Debug: (0.657899) - (usage: 15027272) - (peak: 25270096)
(mysql): SELECT * FROM cms_content_props WHERE content_id = '15'
Debug: (0.659145) - (usage: 15048928) - (peak: 25270096)
(mysql): SELECT * FROM cms_content_props WHERE content_id = '51'
Debug: (0.671983) - (usage: 15206368) - (peak: 25270096)
(mysql): SELECT * FROM cms_content_props WHERE content_id = '74'
Debug: (0.675473) - (usage: 15255968) - (peak: 25270096)
(mysql): SELECT * FROM cms_content_props WHERE content_id = '133'
Debug: (0.684736) - (usage: 15372800) - (peak: 25270096)
(mysql): SELECT * FROM cms_content_props WHERE content_id = '79'
Debug: (0.68881) - (usage: 15429888) - (peak: 25270096)
(mysql): SELECT * FROM cms_content_props WHERE content_id = '88'
Debug: (0.691439) - (usage: 15462048) - (peak: 25270096)
(mysql): SELECT * FROM cms_content_props WHERE content_id = '65'
Debug: (0.693954) - (usage: 15501592) - (peak: 25270096)
(mysql): SELECT * FROM cms_content_props WHERE content_id = '99'
Debug: (0.697825) - (usage: 15555200) - (peak: 25270096)
(mysql): SELECT * FROM cms_content_props WHERE content_id = '191'
Debug: (0.698897) - (usage: 15564864) - (peak: 25270096)
(mysql): SELECT * FROM cms_content_props WHERE content_id = '193'
Debug: (0.700041) - (usage: 15584384) - (peak: 25270096)
(mysql): SELECT * FROM cms_content_props WHERE content_id = '192'
Debug: (0.701108) - (usage: 15600808) - (peak: 25270096)
(mysql): SELECT * FROM cms_content_props WHERE content_id = '200'
Debug display of 'Fetch module_db_tpl:MenuManager;tpl-buddy-009 // navigation-tpl-009 start':(0.701674) - (usage: 15615008) - (peak: 25270096)
Debug display of 'CMSModuleDbTemplateResource startMenuManager;tpl-buddy-009 // navigation-tpl-009':(0.701923) - (usage: 15622800) - (peak: 25270096)
Debug: (0.702377) - (usage: 15627160) - (peak: 25270096)
(mysql): SELECT * from cms_module_templates WHERE module_name = 'MenuManager' and template_name = 'tpl-buddy-009 // navigation-tpl-009' LIMIT  1
Debug display of 'CMSModuleDbTemplateResource endMenuManager;tpl-buddy-009 // navigation-tpl-009':(0.70255) - (usage: 15629968) - (peak: 25270096)
Debug display of 'Fetch module_db_tpl:MenuManager;tpl-buddy-009 // navigation-tpl-009 end':(0.773518) - (usage: 15773216) - (peak: 25270096)
Debug display of 'End of Menu Manager Display':(0.773599) - (usage: 15771768) - (peak: 25270096)
Debug display of 'Fetch content:sidebar start':(0.773765) - (usage: 15711808) - (peak: 25270096)
Debug display of 'Fetch content:sidebar end':(0.775994) - (usage: 15722384) - (peak: 25270096)
Debug display of 'Fetch content:extra-image start':(0.776253) - (usage: 15721752) - (peak: 25270096)
Debug display of 'Fetch content:extra-image end':(0.778423) - (usage: 15738408) - (peak: 25270096)
Debug display of 'Fetch content:Textblock-2 start':(0.778557) - (usage: 15737680) - (peak: 25270096)
Debug display of 'Fetch content:Textblock-2 end':(0.781372) - (usage: 15758760) - (peak: 25270096)
Debug display of 'Fetch content:banner_vertical start':(0.786223) - (usage: 15758440) - (peak: 25270096)
Debug display of 'Fetch content:banner_vertical end':(0.789218) - (usage: 15775320) - (peak: 25270096)
Debug display of 'Fetch content:first_block_title start':(0.789355) - (usage: 15776168) - (peak: 25270096)
Debug display of 'Fetch content:first_block_title end':(0.791459) - (usage: 15792464) - (peak: 25270096)
Debug display of 'Fetch content:first_block_content start':(0.79163) - (usage: 15793192) - (peak: 25270096)
Debug display of 'Fetch content:first_block_content end':(0.793703) - (usage: 15809992) - (peak: 25270096)
Debug display of 'Fetch content:first_block_link_text start':(0.79382) - (usage: 15810256) - (peak: 25270096)
Debug display of 'Fetch content:first_block_link_text end':(0.795738) - (usage: 15827080) - (peak: 25270096)
Debug display of 'Fetch content:first_block_link start':(0.795849) - (usage: 15827152) - (peak: 25270096)
Debug display of 'Fetch content:first_block_link end':(0.796674) - (usage: 15843912) - (peak: 25270096)
Debug display of 'Fetch content:second_block_title start':(0.796784) - (usage: 15844008) - (peak: 25270096)
Debug display of 'Fetch content:second_block_title end':(0.797634) - (usage: 15860808) - (peak: 25270096)
Debug display of 'Fetch content:second_block_content start':(0.797787) - (usage: 15861344) - (peak: 25270096)
Debug display of 'Fetch content:second_block_content end':(0.799799) - (usage: 15878208) - (peak: 25270096)
Debug display of 'Fetch content:second_block_link_text start':(0.799909) - (usage: 15878672) - (peak: 25270096)
Debug display of 'Fetch content:second_block_link_text end':(0.801865) - (usage: 15895584) - (peak: 25270096)
Debug display of 'Fetch content:second_block_link start':(0.801981) - (usage: 15895648) - (peak: 25270096)
Debug display of 'Fetch content:second_block_link end':(0.804117) - (usage: 15912472) - (peak: 25270096)
Debug display of 'Fetch content:third_block_title start':(0.804256) - (usage: 15912560) - (peak: 25270096)
Debug display of 'Fetch content:third_block_title end':(0.806216) - (usage: 15929416) - (peak: 25270096)
Debug display of 'Fetch content:third_block_content start':(0.806373) - (usage: 15929952) - (peak: 25270096)
Debug display of 'Fetch content:third_block_content end':(0.807301) - (usage: 15946816) - (peak: 25270096)
Debug display of 'Fetch content:third_block_link_text start':(0.807435) - (usage: 15947272) - (peak: 25270096)
Debug display of 'Fetch content:third_block_link_text end':(0.808281) - (usage: 15965176) - (peak: 25270096)
Debug display of 'Fetch content:third_block_link start':(0.808396) - (usage: 15965248) - (peak: 25270096)
Debug display of 'Fetch content:third_block_link end':(0.810466) - (usage: 15982104) - (peak: 25270096)
Debug display of 'Fetch content:special_box_title start':(0.810603) - (usage: 15982184) - (peak: 25270096)
Debug display of 'Fetch content:special_box_title end':(0.812642) - (usage: 15998952) - (peak: 25270096)
Debug display of 'Fetch content:special_box_content start':(0.812754) - (usage: 15998696) - (peak: 25270096)
Debug display of 'Fetch content:special_box_content end':(0.81481) - (usage: 16015520) - (peak: 25270096)
Debug: (0.816542) - (usage: 16080336) - (peak: 25270096)
Loading /home/site1300/public_html/modules/Gallery/lib/class.Gallery_utils.php = 13960 bytes for an approximate total of 1628528
Debug: (0.817776) - (usage: 16083128) - (peak: 25270096)
(mysql): SELECT g.*, gp.hideparentlink, gp.editors, gt.templateid, gt.template, gt.thumbwidth, gt.thumbheight, gt.resizemethod, gt.maxnumber, gt.sortitems
        FROM cms_module_gallery g
        LEFT JOIN cms_module_gallery_props gp
        ON g.fileid=gp.fileid
        LEFT JOIN cms_module_gallery_templateprops gt
        ON gp.templateid=gt.templateid
        WHERE g.filename='footer/' AND g.filepath=''
Debug: (0.81821) - (usage: 16085760) - (peak: 25270096)
(mysql): SELECT *
        FROM cms_module_gallery_templateprops
        WHERE template='buddyGalleryFooter' OR templateid='buddyGalleryFooter'
Debug: (0.819618) - (usage: 16144704) - (peak: 25270096)
(mysql): SELECT fd.*, fv.value
        FROM cms_module_gallery_fielddefs fd
        LEFT JOIN cms_module_gallery_fieldvals fv
        ON fd.fieldid = fv.fieldid AND fv.fileid = '2'
        WHERE fd.dirfield = 1 AND fd.public = 1 ORDER BY fd.sortorder ASC
Debug: (0.820792) - (usage: 16157352) - (peak: 25270096)
(mysql): SELECT
                g1.*, g2.filepath AS thumbpath, g2.filename AS thumbname
              FROM
                cms_module_gallery g1
              LEFT JOIN
                cms_module_gallery g2
              ON
                g1.defaultfile = g2.fileid
              WHERE
                g1.filepath='footer/'
Debug: (0.82163) - (usage: 16194672) - (peak: 25270096)
(mysql): SELECT fd.*, fv.value
        FROM cms_module_gallery_fielddefs fd
        LEFT JOIN cms_module_gallery_fieldvals fv
        ON fd.fieldid = fv.fieldid AND fv.fileid = '29'
        WHERE fd.dirfield = 0 AND fd.public = 1 ORDER BY fd.sortorder ASC
Debug: (0.82232) - (usage: 16198256) - (peak: 25270096)
(mysql): SELECT fd.*, fv.value
        FROM cms_module_gallery_fielddefs fd
        LEFT JOIN cms_module_gallery_fieldvals fv
        ON fd.fieldid = fv.fieldid AND fv.fileid = '5'
        WHERE fd.dirfield = 0 AND fd.public = 1 ORDER BY fd.sortorder ASC
Debug: (0.822958) - (usage: 16201960) - (peak: 25270096)
(mysql): SELECT fd.*, fv.value
        FROM cms_module_gallery_fielddefs fd
        LEFT JOIN cms_module_gallery_fieldvals fv
        ON fd.fieldid = fv.fieldid AND fv.fileid = '34'
        WHERE fd.dirfield = 0 AND fd.public = 1 ORDER BY fd.sortorder ASC
Debug: (0.823616) - (usage: 16205520) - (peak: 25270096)
(mysql): SELECT fd.*, fv.value
        FROM cms_module_gallery_fielddefs fd
        LEFT JOIN cms_module_gallery_fieldvals fv
        ON fd.fieldid = fv.fieldid AND fv.fileid = '3'
        WHERE fd.dirfield = 0 AND fd.public = 1 ORDER BY fd.sortorder ASC
Debug: (0.824277) - (usage: 16209128) - (peak: 25270096)
(mysql): SELECT fd.*, fv.value
        FROM cms_module_gallery_fielddefs fd
        LEFT JOIN cms_module_gallery_fieldvals fv
        ON fd.fieldid = fv.fieldid AND fv.fileid = '22'
        WHERE fd.dirfield = 0 AND fd.public = 1 ORDER BY fd.sortorder ASC
Debug: (0.824992) - (usage: 16212816) - (peak: 25270096)
(mysql): SELECT fd.*, fv.value
        FROM cms_module_gallery_fielddefs fd
        LEFT JOIN cms_module_gallery_fieldvals fv
        ON fd.fieldid = fv.fieldid AND fv.fileid = '33'
        WHERE fd.dirfield = 0 AND fd.public = 1 ORDER BY fd.sortorder ASC
Debug: (0.825719) - (usage: 16216376) - (peak: 25270096)
(mysql): SELECT fd.*, fv.value
        FROM cms_module_gallery_fielddefs fd
        LEFT JOIN cms_module_gallery_fieldvals fv
        ON fd.fieldid = fv.fieldid AND fv.fileid = '26'
        WHERE fd.dirfield = 0 AND fd.public = 1 ORDER BY fd.sortorder ASC
Debug: (0.826468) - (usage: 16219984) - (peak: 25270096)
(mysql): SELECT fd.*, fv.value
        FROM cms_module_gallery_fielddefs fd
        LEFT JOIN cms_module_gallery_fieldvals fv
        ON fd.fieldid = fv.fieldid AND fv.fileid = '24'
        WHERE fd.dirfield = 0 AND fd.public = 1 ORDER BY fd.sortorder ASC
Debug: (0.827174) - (usage: 16223592) - (peak: 25270096)
(mysql): SELECT fd.*, fv.value
        FROM cms_module_gallery_fielddefs fd
        LEFT JOIN cms_module_gallery_fieldvals fv
        ON fd.fieldid = fv.fieldid AND fv.fileid = '4'
        WHERE fd.dirfield = 0 AND fd.public = 1 ORDER BY fd.sortorder ASC
Debug: (0.827876) - (usage: 16227320) - (peak: 25270096)
(mysql): SELECT fd.*, fv.value
        FROM cms_module_gallery_fielddefs fd
        LEFT JOIN cms_module_gallery_fieldvals fv
        ON fd.fieldid = fv.fieldid AND fv.fileid = '32'
        WHERE fd.dirfield = 0 AND fd.public = 1 ORDER BY fd.sortorder ASC
Debug: (0.828594) - (usage: 16230904) - (peak: 25270096)
(mysql): SELECT fd.*, fv.value
        FROM cms_module_gallery_fielddefs fd
        LEFT JOIN cms_module_gallery_fieldvals fv
        ON fd.fieldid = fv.fieldid AND fv.fileid = '23'
        WHERE fd.dirfield = 0 AND fd.public = 1 ORDER BY fd.sortorder ASC
Debug: (0.829403) - (usage: 16234536) - (peak: 25270096)
(mysql): SELECT fd.*, fv.value
        FROM cms_module_gallery_fielddefs fd
        LEFT JOIN cms_module_gallery_fieldvals fv
        ON fd.fieldid = fv.fieldid AND fv.fileid = '30'
        WHERE fd.dirfield = 0 AND fd.public = 1 ORDER BY fd.sortorder ASC
Debug: (0.830145) - (usage: 16238224) - (peak: 25270096)
(mysql): SELECT fd.*, fv.value
        FROM cms_module_gallery_fielddefs fd
        LEFT JOIN cms_module_gallery_fieldvals fv
        ON fd.fieldid = fv.fieldid AND fv.fileid = '35'
        WHERE fd.dirfield = 0 AND fd.public = 1 ORDER BY fd.sortorder ASC
Debug display of 'Fetch module_db_tpl:Gallery;buddyGalleryFooter start':(0.831508) - (usage: 16259768) - (peak: 25270096)
Debug display of 'CMSModuleDbTemplateResource startGallery;buddyGalleryFooter':(0.831807) - (usage: 16267368) - (peak: 25270096)
Debug: (0.83229) - (usage: 16271272) - (peak: 25270096)
(mysql): SELECT * from cms_module_templates WHERE module_name = 'Gallery' and template_name = 'buddyGalleryFooter' LIMIT  1
Debug display of 'CMSModuleDbTemplateResource endGallery;buddyGalleryFooter':(0.832525) - (usage: 16286752) - (peak: 25270096)
Debug display of 'Fetch module_db_tpl:Gallery;buddyGalleryFooter end':(0.859957) - (usage: 16323152) - (peak: 25270096)
Debug: (0.860729) - (usage: 16321856) - (peak: 25270096)
(mysql): SELECT * from cms_module_templates WHERE module_name = 'Gallery' and template_name = 'buddyGalleryFooter'
Debug display of 'Fetch globalcontent:footer3 start':(0.861102) - (usage: 16222008) - (peak: 25270096)
Debug: (0.861393) - (usage: 16229216) - (peak: 25270096)
start global_content_get_template
Debug: (0.861731) - (usage: 16260440) - (peak: 25270096)
Loading /home/site1300/public_html/lib/classes/class.globalcontentoperations.inc.php = 30104 bytes for an approximate total of 1658632
Debug: (0.862523) - (usage: 16263240) - (peak: 25270096)
(mysql): SELECT htmlblob_id, htmlblob_name, html, owner, use_wysiwyg, description, modified_date FROM cms_htmlblobs WHERE htmlblob_name = 'footer3' LIMIT  1
Debug: (0.862727) - (usage: 16262552) - (peak: 25270096)
end global_content_get_template
Debug display of 'Fetch globalcontent:footer3 end':(0.865341) - (usage: 16270224) - (peak: 25270096)
Debug display of 'Fetch tpl_body:40 end':(0.865482) - (usage: 16252560) - (peak: 25270096)
Debug: (0.865528) - (usage: 16251696) - (peak: 25270096)
process template head
Debug display of 'Fetch tpl_head:40 start':(0.865584) - (usage: 16252360) - (peak: 25270096)
Debug display of 'Start Load Smarty Plugin cms_stylesheet/function':(0.872731) - (usage: 16313944) - (peak: 25270096)
Debug display of 'End Load Smarty Plugin cms_stylesheet/function':(0.872857) - (usage: 16314664) - (peak: 25270096)
Debug: (0.88392) - (usage: 16356680) - (peak: 25270096)
(mysql): SELECT DISTINCT A.css_id,A.css_name,A.css_text,A.modified_date,A.media_type,A.media_query,B.assoc_order
                     FROM cms_css A 
                    LEFT JOIN cms_css_assoc B ON A.css_id = B.assoc_css_id WHERE B.assoc_type = 'template' AND B.assoc_to_id = '40' ORDER BY B.assoc_order
Debug display of 'Fetch tpl_head:40 end':(0.890041) - (usage: 16311720) - (peak: 25270096)
Debug: (0.890212) - (usage: 16341368) - (peak: 25270096)
calling module TinyMCE from event ContentPostRender
Debug: (0.890393) - (usage: 16342984) - (peak: 25270096)
calling module CGExtensions from event ContentPostRender
Debug: (0.890819) - (usage: 16353144) - (peak: 25270096)
Loading /home/site1300/public_html/modules/CGExtensions/lib/class.cge_headers.php = 3472 bytes for an approximate total of 1662104
Debug: (0.890903) - (usage: 16347112) - (peak: 25270096)
calling module Gallery from event ContentPostRender