Our Towns


Before it was finally anchored on the English side of the border with Scotland, Berwick-upon-Tweed changed hands no less than 13 times.

Some 527 years later, the good folk of Berwick still lean to the north - by a margin of 60-40% - if the findings of a recent poll is to be believed.

It's a dual identity that we thought deserved an honorary inclusion on Discover the Borders and the reason why Berwick lines up alongside the towns of the Scottish Borders.

From Eyemouth, guarding Scotland's spectacular south east coastlines, across rolling hills and valleys to the textile towns of Hawick, Selkirk, Galashiels and Peebles, the Borders has a keen sense of regional identity and a strong community spirit.

Its historic abbey towns of Jedburgh, Melrose and Kelso bear witness to the cruelty and senseless destruction brought about by war and political reprisals down the centuries.

Their abbeys, together with that of Dryburgh, are a reminder of the important role the Borders played in the spread of Christianity.

 

This is a land that was populated by saints as well as sinners.

The Borders and its towns have all played their part in shaping Scotland's history and some, such as Coldstream, have become household names in doing so. The Coldstream Guards lays claim to being the most famous regiment in the world and the oldest regiment in continuous existence in the British Army.

This is a region, too, with a legendary sporting tradition. Melrose is internationally famous as the home of sevens rugby and Duns and Hawick are famous for producing world champions on four wheels and two.

Duns was the home of Jim Clark, a local farmer who went on to become a world champion in Forumla 1 racing. And Hawick produced not one but two motorcycling champions Jimmy Guthrie and Steve Hislop. All three are commemorated in exhibitions at their home town museums.

The Borders is justifiably proud of its history, its people and its achievements. When you visit this green and pleasant land you will discover a very special part of the world and wherever you go there's a warm welcome guaranteed.


Discovering the Borders | Bridging a north-south divide

Marquee Hire Edinburgh and Scottish Borders
Cheviot Rentals Marquee Hire Edinburgh & Scottish Borders
Perfect for weddings and all occassions!
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 1.607588 seconds by CMS Made Simple using 49 SQL queries and 15637352 bytes of memory (peak memory usage was 25422424)

Debug: (2.5000000000053E-5) - (usage: 1154816) - (peak: 1937104)
done loading required files
Debug: (0.026525) - (usage: 1163560) - (peak: 1937104)
loading adodb
Debug: (0.031043) - (usage: 1211080) - (peak: 1937104)
loading page functions
Debug: (0.034315) - (usage: 1236368) - (peak: 1937104)
loading content functions
Debug: (0.036276) - (usage: 1237640) - (peak: 1937104)
loading translation functions
Debug: (0.038171) - (usage: 1239504) - (peak: 1937104)
loading php4 entity decode functions
Debug: (0.041334) - (usage: 1240536) - (peak: 2007824)
done loading files
Debug: (0.041402) - (usage: 1240944) - (peak: 2007824)
Initialize Database
Debug: (0.057488) - (usage: 1535344) - (peak: 2007824)
(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.057577) - (usage: 1534640) - (peak: 2007824)
Done Initializing Database
Debug: (0.057629) - (usage: 1534896) - (peak: 2007824)
Initialize Smarty
Debug: (0.102319) - (usage: 2042952) - (peak: 2366584)
Loading /home/site1300/public_html/lib/classes/class.Smarty_CMS.php = 506952 bytes for an approximate total of 506952
Debug: (0.109053) - (usage: 2103824) - (peak: 2366584)
Loading /home/site1300/public_html/lib/classes/class.CMSModuleDbTemplateResource.php = 44888 bytes for an approximate total of 551840
Debug: (0.11292) - (usage: 2119144) - (peak: 2366584)
Loading /home/site1300/public_html/lib/classes/class.CMSPageTemplateResource.php = 13816 bytes for an approximate total of 565656
Debug: (0.116655) - (usage: 2129816) - (peak: 2366584)
Loading /home/site1300/public_html/lib/classes/class.usertagoperations.inc.php = 9520 bytes for an approximate total of 575176
Debug: (0.117405) - (usage: 2130128) - (peak: 2366584)
(mysql): SELECT * FROM cms_userplugins ORDER BY userplugin_name
Debug: (0.121043) - (usage: 2149192) - (peak: 2366584)
Loading /home/site1300/public_html/lib/classes/class.cms_siteprefs.php = 5912 bytes for an approximate total of 581088
Debug: (0.122012) - (usage: 2149536) - (peak: 2366584)
(mysql): SELECT sitepref_name,sitepref_value FROM cms_siteprefs
Debug: (0.128833) - (usage: 2333992) - (peak: 2560272)
Loading /home/site1300/public_html/lib/classes/class.CMSContentTemplateResource.php = 11592 bytes for an approximate total of 592680
Debug: (0.13197) - (usage: 2346256) - (peak: 2568680)
Loading /home/site1300/public_html/lib/classes/class.CMSGlobalContentTemplateResource.php = 11488 bytes for an approximate total of 604168
Debug: (0.134064) - (usage: 2351552) - (peak: 2577944)
Done Initialiing Smarty
Debug display of 'Loading Modules':(0.134249) - (usage: 2352016) - (peak: 2580888)
Debug: (0.141007) - (usage: 2517040) - (peak: 3049408)
Loading /home/site1300/public_html/lib/classes/class.moduleoperations.inc.php = 163992 bytes for an approximate total of 768160
Debug: (0.141888) - (usage: 2518400) - (peak: 3049408)
(mysql): SELECT * FROM cms_modules ORDER BY module_name
Debug: (0.142824) - (usage: 2561216) - (peak: 3049408)
loading module Accommodation
Debug: (0.154625) - (usage: 2776192) - (peak: 3554336)
Loading /home/site1300/public_html/lib/classes/class.CMSModule.php = 201440 bytes for an approximate total of 969600
Debug: (0.161665) - (usage: 2866064) - (peak: 3554336)
Loading /home/site1300/public_html/lib/classes/class.CmsNlsOperations.php = 11848 bytes for an approximate total of 981448
Debug: (0.167886) - (usage: 2897912) - (peak: 3554336)
Loading /home/site1300/public_html/lib/classes/class.CmsNls.php = 11024 bytes for an approximate total of 992472
Debug: (0.279413) - (usage: 3270080) - (peak: 3554336)
Loading /home/site1300/public_html/lib/classes/class.CmsLangOperations.php = 7056 bytes for an approximate total of 999528
Debug: (0.279784) - (usage: 3268120) - (peak: 3554336)
loading module Calendar
Debug: (0.292582) - (usage: 3438536) - (peak: 3936672)
Loading /home/site1300/public_html/lib/classes/class.contentoperations.inc.php = 61288 bytes for an approximate total of 1060816
Debug: (0.29354) - (usage: 3439600) - (peak: 3936672)
(mysql): SELECT content_id FROM cms_content WHERE default_content = 1 LIMIT  1
Debug: (0.297224) - (usage: 3453416) - (peak: 3936672)
Loading /home/site1300/public_html/lib/classes/class.CmsRoute.php = 13352 bytes for an approximate total of 1074168
Debug: (0.301119) - (usage: 3466448) - (peak: 3936672)
Loading /home/site1300/public_html/lib/classes/class.cms_route_manager.php = 11472 bytes for an approximate total of 1085640
Debug: (0.305041) - (usage: 3708120) - (peak: 4044128)
loading module Captcha
Debug: (0.314047) - (usage: 3853904) - (peak: 4611888)
loading module CGExtensions
Debug: (0.339385) - (usage: 4140096) - (peak: 4667624)
Loading /home/site1300/public_html/lib/classes/class.cms_utils.php = 11464 bytes for an approximate total of 1097104
Debug: (0.339883) - (usage: 4140240) - (peak: 4667624)
(mysql): SET @CG_ZEROTIME = NOW() - INTERVAL 150 YEAR,@CG_FUTURETIME = NOW() + INTERVAL 5 YEAR
Debug: (0.347465) - (usage: 4181528) - (peak: 4667624)
loading module CMSPrinting
Debug: (0.351947) - (usage: 4289392) - (peak: 4667624)
loading module FormBuilder
Debug: (0.359458) - (usage: 4431624) - (peak: 4925984)
loading module CMSMailer
Debug: (0.393833) - (usage: 5019800) - (peak: 6550488)
loading module Forum
Debug: (0.398927) - (usage: 5161864) - (peak: 6550488)
loading module FrontEndUsers
Debug: (0.419527) - (usage: 5575184) - (peak: 6550488)
Loading /home/site1300/public_html/lib/classes/class.module_meta.php = 6584 bytes for an approximate total of 1103688
Debug: (0.426818) - (usage: 5802248) - (peak: 6550488)
loading module Gallery
Debug: (0.431659) - (usage: 5906312) - (peak: 6550488)
loading module GBFilePicker
Debug: (0.441897) - (usage: 6025376) - (peak: 6958016)
loading module MenuManager
Debug: (0.447278) - (usage: 6119000) - (peak: 6958016)
loading module Printing
Debug: (0.456283) - (usage: 6255432) - (peak: 6958016)
loading module TinyMCE
Debug: (0.464024) - (usage: 6354168) - (peak: 7234208)
loading module TreeManager
Debug display of 'End of Loading Modules':(0.473004) - (usage: 6477912) - (peak: 7234208)
Debug: (0.477291) - (usage: 6483624) - (peak: 7234208)
Loading /home/site1300/public_html/lib/classes/class.CmsRegularTaskHandler.php = 4816 bytes for an approximate total of 1108504
Debug: (0.494516) - (usage: 6534896) - (peak: 7234208)
Loading /home/site1300/public_html/lib/classes/class.cms_content_cache.php = 7984 bytes for an approximate total of 1116488
Debug: (0.495211) - (usage: 6537064) - (peak: 7234208)
(mysql): SELECT * FROM cms_content WHERE content_id = 51 AND active = 1 LIMIT  1
Debug: (0.509096) - (usage: 6628576) - (peak: 7497152)
Loading /home/site1300/public_html/lib/classes/class.ContentBase.php = 71192 bytes for an approximate total of 1187680
Debug: (0.509348) - (usage: 6678104) - (peak: 7497152)
Loading /home/site1300/public_html/lib/classes/contenttypes/Content.inc.php = 136768 bytes for an approximate total of 1324448
Debug: (0.510819) - (usage: 6704536) - (peak: 7497152)
(mysql): SELECT * FROM cms_content_props WHERE content_id = '51'
Debug: (0.511947) - (usage: 6717168) - (peak: 7497152)
process template top
Debug display of 'Fetch tpl_top:40 start':(0.512061) - (usage: 6717832) - (peak: 7497152)
Debug: (0.516793) - (usage: 6728328) - (peak: 7497152)
Loading /home/site1300/public_html/lib/classes/class.Events.php = 8816 bytes for an approximate total of 1333264
Debug: (0.517925) - (usage: 6730128) - (peak: 7497152)
(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.526161) - (usage: 6778368) - (peak: 7497152)
Loading /home/site1300/public_html/lib/classes/class.templateoperations.inc.php = 21872 bytes for an approximate total of 1355136
Debug: (0.527194) - (usage: 6781408) - (peak: 7497152)
(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.5959) - (usage: 8569968) - (peak: 10691320)
Loading /home/site1300/public_html/lib/classes/class.CMS_Content_Block.php = 8992 bytes for an approximate total of 1364128
Debug display of 'Fetch content:content_en start':(0.62859) - (usage: 8639136) - (peak: 10691320)
Debug display of 'Fetch content:content_en end':(0.631501) - (usage: 8659328) - (peak: 10691320)
Debug display of 'Fetch tpl_top:40 end':(0.631703) - (usage: 8615384) - (peak: 10691320)
Debug: (0.631787) - (usage: 8614520) - (peak: 10691320)
process template body
Debug display of 'Fetch tpl_body:40 start':(0.631885) - (usage: 8615184) - (peak: 10691320)
Debug display of 'Start Load Smarty Plugin search/function':(0.806277) - (usage: 8793176) - (peak: 10691320)
Debug: (0.809688) - (usage: 8805600) - (peak: 10691320)
Loading /home/site1300/public_html/lib/classes/class.cms_module_smarty_plugin_manager.php = 10896 bytes for an approximate total of 1375024
Debug: (0.810632) - (usage: 8806216) - (peak: 10691320)
(mysql): SELECT * FROM cms_module_smarty_plugins ORDER BY module
Debug: (0.816842) - (usage: 8927440) - (peak: 10691320)
Loading /home/site1300/public_html/modules/Search/Search.module.php = 101784 bytes for an approximate total of 1476808
Debug display of 'Start Load Smarty Plugin menu/function':(0.869738) - (usage: 8976416) - (peak: 10691320)
Debug display of 'End Load Smarty Plugin menu/function':(0.869908) - (usage: 8977104) - (peak: 10691320)
Debug display of 'Fetch content:display_header_slider start':(1.094926) - (usage: 9198624) - (peak: 10691320)
Debug display of 'Fetch content:display_header_slider end':(1.095858) - (usage: 9188848) - (peak: 10691320)
Debug display of 'Fetch content:galleryfolder start':(1.095987) - (usage: 9230400) - (peak: 10691320)
Debug display of 'Fetch content:galleryfolder end':(1.096792) - (usage: 9246864) - (peak: 10691320)
Debug display of 'Fetch content:display_breadcrumbs start':(1.096915) - (usage: 9206328) - (peak: 10691320)
Debug display of 'Fetch content:display_breadcrumbs end':(1.09772) - (usage: 9223312) - (peak: 10691320)
Debug display of 'Fetch content:display_search start':(1.097843) - (usage: 9223360) - (peak: 10691320)
Debug display of 'Fetch content:display_search end':(1.098636) - (usage: 9240032) - (peak: 10691320)
Debug display of 'Fetch content:display_sidebar start':(1.098758) - (usage: 9240144) - (peak: 10691320)
Debug display of 'Fetch content:display_sidebar end':(1.099554) - (usage: 9256928) - (peak: 10691320)
Debug display of 'Fetch content:display_news start':(1.099677) - (usage: 9257008) - (peak: 10691320)
Debug display of 'Fetch content:display_news end':(1.100466) - (usage: 9273976) - (peak: 10691320)
Debug display of 'Fetch content:news_slider start':(1.100589) - (usage: 9274088) - (peak: 10691320)
Debug display of 'Fetch content:news_slider end':(1.102221) - (usage: 9290856) - (peak: 10691320)
Debug display of 'Fetch content:sidebar_title start':(1.102345) - (usage: 9290608) - (peak: 10691320)
Debug display of 'Fetch content:sidebar_title end':(1.103918) - (usage: 9307312) - (peak: 10691320)
Debug display of 'Fetch content:main_page_title start':(1.104041) - (usage: 9349360) - (peak: 10691320)
Debug display of 'Fetch content:main_page_title end':(1.10566) - (usage: 9366072) - (peak: 10691320)
Debug display of 'Fetch content:threeblocks start':(1.105808) - (usage: 9324600) - (peak: 10691320)
Debug display of 'Fetch content:threeblocks end':(1.107479) - (usage: 9341208) - (peak: 10691320)
Debug display of 'Fetch content:specialbox start':(1.107598) - (usage: 9341312) - (peak: 10691320)
Debug display of 'Fetch content:specialbox end':(1.109153) - (usage: 9357976) - (peak: 10691320)
Debug display of 'Fetch content:companyslogan start':(1.109429) - (usage: 9357600) - (peak: 10691320)
Debug display of 'Fetch content:companyslogan end':(1.110993) - (usage: 9374312) - (peak: 10691320)
Debug display of 'Fetch content:banner_horizontal start':(1.111094) - (usage: 9373120) - (peak: 10691320)
Debug display of 'Fetch content:banner_horizontal end':(1.113338) - (usage: 9393432) - (peak: 10691320)
Debug display of 'Start Loading Hierarchy Manager':(1.121906) - (usage: 9481384) - (peak: 10691320)
Debug display of 'starting tree':(1.121977) - (usage: 9481720) - (peak: 10691320)
Debug: (1.122697) - (usage: 9483504) - (peak: 10691320)
(mysql): SELECT modified_date FROM cms_content ORDER BY modified_date DESC LIMIT  1
Debug: (1.122917) - (usage: 9483096) - (peak: 10691320)
Content tree file needs loading
Debug: (1.127461) - (usage: 9568992) - (peak: 10691320)
Loading /home/site1300/public_html/lib/classes/class.cms_tree.php = 9888 bytes for an approximate total of 1486696
Debug: (1.127541) - (usage: 9573552) - (peak: 10691320)
Loading /home/site1300/public_html/lib/classes/class.cms_content_tree.php = 27208 bytes for an approximate total of 1513904
Debug display of 'ending tree':(1.128047) - (usage: 9741408) - (peak: 10691320)
Debug display of 'End Loading Hierarchy Manager':(1.128098) - (usage: 9714224) - (peak: 10691320)
Debug display of 'Fetch module_db_tpl:Search;displaysearch start':(1.13193) - (usage: 9746072) - (peak: 10691320)
Debug display of 'CMSModuleDbTemplateResource startSearch;displaysearch':(1.132199) - (usage: 9753696) - (peak: 10691320)
Debug: (1.133103) - (usage: 9757880) - (peak: 10691320)
(mysql): SELECT * from cms_module_templates WHERE module_name = 'Search' and template_name = 'displaysearch' LIMIT  1
Debug display of 'CMSModuleDbTemplateResource endSearch;displaysearch':(1.133331) - (usage: 9756896) - (peak: 10691320)
Debug display of 'Fetch module_db_tpl:Search;displaysearch end':(1.146806) - (usage: 9775928) - (peak: 10691320)
Debug: (1.148304) - (usage: 9737568) - (peak: 10691320)
(mysql): SELECT * FROM cms_content FORCE INDEX (cms_index_content_by_idhier) WHERE content_id IN (15,74,139,133,79,88,65,94,98,99,191,87,203,157,193,192,194,200) AND active = 1 ORDER BY hierarchy
Debug: (1.152739) - (usage: 10042848) - (peak: 10691320)
Loading /home/site1300/public_html/lib/classes/contenttypes/Link.inc.php = 57704 bytes for an approximate total of 1571608
Debug display of 'Start of Menu Manager Display':(1.157276) - (usage: 10147000) - (peak: 10691320)
Debug: (1.15911) - (usage: 10153680) - (peak: 10691320)
(mysql): SELECT * FROM cms_content FORCE INDEX (cms_index_content_by_idhier) WHERE content_id NOT IN (51,15,74,133,79,88,65,99,191,193,192,194,200)
Debug: (1.182718) - (usage: 11012496) - (peak: 11082704)
(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,174,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: (1.263048) - (usage: 21930864) - (peak: 22052072)
Loading /home/site1300/public_html/lib/classes/contenttypes/PageLink.inc.php = 58016 bytes for an approximate total of 1629624
Debug: (1.303057) - (usage: 15090576) - (peak: 25422424)
(mysql): SELECT * FROM cms_content_props WHERE content_id = '15'
Debug: (1.316654) - (usage: 15260248) - (peak: 25422424)
(mysql): SELECT * FROM cms_content_props WHERE content_id = '74'
Debug: (1.320252) - (usage: 15309064) - (peak: 25422424)
(mysql): SELECT * FROM cms_content_props WHERE content_id = '133'
Debug: (1.330201) - (usage: 15425912) - (peak: 25422424)
(mysql): SELECT * FROM cms_content_props WHERE content_id = '79'
Debug: (1.334831) - (usage: 15483048) - (peak: 25422424)
(mysql): SELECT * FROM cms_content_props WHERE content_id = '88'
Debug: (1.337756) - (usage: 15515192) - (peak: 25422424)
(mysql): SELECT * FROM cms_content_props WHERE content_id = '65'
Debug: (1.340532) - (usage: 15554792) - (peak: 25422424)
(mysql): SELECT * FROM cms_content_props WHERE content_id = '99'
Debug: (1.344711) - (usage: 15608304) - (peak: 25422424)
(mysql): SELECT * FROM cms_content_props WHERE content_id = '191'
Debug: (1.345894) - (usage: 15616976) - (peak: 25422424)
(mysql): SELECT * FROM cms_content_props WHERE content_id = '193'
Debug: (1.347253) - (usage: 15637464) - (peak: 25422424)
(mysql): SELECT * FROM cms_content_props WHERE content_id = '192'
Debug: (1.348687) - (usage: 15653888) - (peak: 25422424)
(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':(1.349277) - (usage: 15668072) - (peak: 25422424)
Debug display of 'CMSModuleDbTemplateResource startMenuManager;tpl-buddy-009 // navigation-tpl-009':(1.349557) - (usage: 15675840) - (peak: 25422424)
Debug: (1.349983) - (usage: 15680192) - (peak: 25422424)
(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':(1.350149) - (usage: 15683000) - (peak: 25422424)
Debug display of 'Fetch module_db_tpl:MenuManager;tpl-buddy-009 // navigation-tpl-009 end':(1.45152) - (usage: 15827480) - (peak: 25422424)
Debug display of 'End of Menu Manager Display':(1.451643) - (usage: 15826024) - (peak: 25422424)
Debug display of 'Fetch content:sidebar start':(1.451882) - (usage: 15766128) - (peak: 25422424)
Debug display of 'Fetch content:sidebar end':(1.454845) - (usage: 15776792) - (peak: 25422424)
Debug display of 'Fetch content:extra-image start':(1.455071) - (usage: 15776160) - (peak: 25422424)
Debug display of 'Fetch content:extra-image end':(1.456859) - (usage: 15792792) - (peak: 25422424)
Debug display of 'Fetch content:Textblock-2 start':(1.456958) - (usage: 15792072) - (peak: 25422424)
Debug display of 'Fetch content:Textblock-2 end':(1.459284) - (usage: 15812344) - (peak: 25422424)
Debug display of 'Fetch content:banner_vertical start':(1.464361) - (usage: 15812464) - (peak: 25422424)
Debug display of 'Fetch content:banner_vertical end':(1.466934) - (usage: 15829616) - (peak: 25422424)
Debug display of 'Fetch content:first_block_title start':(1.467055) - (usage: 15830464) - (peak: 25422424)
Debug display of 'Fetch content:first_block_title end':(1.46881) - (usage: 15846744) - (peak: 25422424)
Debug display of 'Fetch content:first_block_content start':(1.468984) - (usage: 15847472) - (peak: 25422424)
Debug display of 'Fetch content:first_block_content end':(1.46991) - (usage: 15864264) - (peak: 25422424)
Debug display of 'Fetch content:first_block_link_text start':(1.470024) - (usage: 15864528) - (peak: 25422424)
Debug display of 'Fetch content:first_block_link_text end':(1.47094) - (usage: 15881352) - (peak: 25422424)
Debug display of 'Fetch content:first_block_link start':(1.471056) - (usage: 15881432) - (peak: 25422424)
Debug display of 'Fetch content:first_block_link end':(1.472854) - (usage: 15898184) - (peak: 25422424)
Debug display of 'Fetch content:second_block_title start':(1.472973) - (usage: 15898280) - (peak: 25422424)
Debug display of 'Fetch content:second_block_title end':(1.474733) - (usage: 15915064) - (peak: 25422424)
Debug display of 'Fetch content:second_block_content start':(1.474901) - (usage: 15915600) - (peak: 25422424)
Debug display of 'Fetch content:second_block_content end':(1.47673) - (usage: 15932440) - (peak: 25422424)
Debug display of 'Fetch content:second_block_link_text start':(1.476848) - (usage: 15932904) - (peak: 25422424)
Debug display of 'Fetch content:second_block_link_text end':(1.478647) - (usage: 15949800) - (peak: 25422424)
Debug display of 'Fetch content:second_block_link start':(1.478783) - (usage: 15949864) - (peak: 25422424)
Debug display of 'Fetch content:second_block_link end':(1.479718) - (usage: 15966680) - (peak: 25422424)
Debug display of 'Fetch content:third_block_title start':(1.47983) - (usage: 15966768) - (peak: 25422424)
Debug display of 'Fetch content:third_block_title end':(1.480799) - (usage: 15983624) - (peak: 25422424)
Debug display of 'Fetch content:third_block_content start':(1.480964) - (usage: 15984160) - (peak: 25422424)
Debug display of 'Fetch content:third_block_content end':(1.48277) - (usage: 16001024) - (peak: 25422424)
Debug display of 'Fetch content:third_block_link_text start':(1.482883) - (usage: 16001480) - (peak: 25422424)
Debug display of 'Fetch content:third_block_link_text end':(1.484729) - (usage: 16019376) - (peak: 25422424)
Debug display of 'Fetch content:third_block_link start':(1.48484) - (usage: 16019464) - (peak: 25422424)
Debug display of 'Fetch content:third_block_link end':(1.486743) - (usage: 16036224) - (peak: 25422424)
Debug display of 'Fetch content:special_box_title start':(1.486877) - (usage: 16036304) - (peak: 25422424)
Debug display of 'Fetch content:special_box_title end':(1.488827) - (usage: 16053128) - (peak: 25422424)
Debug display of 'Fetch content:special_box_content start':(1.48894) - (usage: 16052872) - (peak: 25422424)
Debug display of 'Fetch content:special_box_content end':(1.490821) - (usage: 16069720) - (peak: 25422424)
Debug: (1.499898) - (usage: 16134944) - (peak: 25422424)
Loading /home/site1300/public_html/modules/Gallery/lib/class.Gallery_utils.php = 14208 bytes for an approximate total of 1643832
Debug: (1.501309) - (usage: 16137744) - (peak: 25422424)
(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: (1.502259) - (usage: 16140352) - (peak: 25422424)
(mysql): SELECT *
        FROM cms_module_gallery_templateprops
        WHERE template='buddyGalleryFooter' OR templateid='buddyGalleryFooter'
Debug: (1.508265) - (usage: 16199408) - (peak: 25422424)
(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: (1.510078) - (usage: 16212048) - (peak: 25422424)
(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: (1.511031) - (usage: 16249232) - (peak: 25422424)
(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: (1.511992) - (usage: 16252840) - (peak: 25422424)
(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: (1.512819) - (usage: 16256520) - (peak: 25422424)
(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: (1.513653) - (usage: 16260080) - (peak: 25422424)
(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: (1.514472) - (usage: 16263688) - (peak: 25422424)
(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: (1.515289) - (usage: 16267376) - (peak: 25422424)
(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: (1.516158) - (usage: 16270936) - (peak: 25422424)
(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: (1.516966) - (usage: 16274544) - (peak: 25422424)
(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: (1.517884) - (usage: 16278152) - (peak: 25422424)
(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: (1.518812) - (usage: 16281880) - (peak: 25422424)
(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: (1.519777) - (usage: 16285464) - (peak: 25422424)
(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: (1.520658) - (usage: 16289096) - (peak: 25422424)
(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: (1.52156) - (usage: 16292784) - (peak: 25422424)
(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':(1.522949) - (usage: 16314224) - (peak: 25422424)
Debug display of 'CMSModuleDbTemplateResource startGallery;buddyGalleryFooter':(1.52329) - (usage: 16321792) - (peak: 25422424)
Debug: (1.523743) - (usage: 16325704) - (peak: 25422424)
(mysql): SELECT * from cms_module_templates WHERE module_name = 'Gallery' and template_name = 'buddyGalleryFooter' LIMIT  1
Debug display of 'CMSModuleDbTemplateResource endGallery;buddyGalleryFooter':(1.523934) - (usage: 16341176) - (peak: 25422424)
Debug display of 'Fetch module_db_tpl:Gallery;buddyGalleryFooter end':(1.561089) - (usage: 16378704) - (peak: 25422424)
Debug: (1.561605) - (usage: 16377408) - (peak: 25422424)
(mysql): SELECT * from cms_module_templates WHERE module_name = 'Gallery' and template_name = 'buddyGalleryFooter'
Debug display of 'Fetch globalcontent:footer3 start':(1.561934) - (usage: 16277704) - (peak: 25422424)
Debug: (1.562238) - (usage: 16284896) - (peak: 25422424)
start global_content_get_template
Debug: (1.567333) - (usage: 16316736) - (peak: 25422424)
Loading /home/site1300/public_html/lib/classes/class.globalcontentoperations.inc.php = 30720 bytes for an approximate total of 1674552
Debug: (1.568192) - (usage: 16319536) - (peak: 25422424)
(mysql): SELECT htmlblob_id, htmlblob_name, html, owner, use_wysiwyg, description, modified_date FROM cms_htmlblobs WHERE htmlblob_name = 'footer3' LIMIT  1
Debug: (1.568402) - (usage: 16318848) - (peak: 25422424)
end global_content_get_template
Debug display of 'Fetch globalcontent:footer3 end':(1.570885) - (usage: 16326520) - (peak: 25422424)
Debug display of 'Fetch tpl_body:40 end':(1.57099) - (usage: 16309360) - (peak: 25422424)
Debug: (1.571041) - (usage: 16308496) - (peak: 25422424)
process template head
Debug display of 'Fetch tpl_head:40 start':(1.571106) - (usage: 16309160) - (peak: 25422424)
Debug display of 'Start Load Smarty Plugin cms_stylesheet/function':(1.583076) - (usage: 16371200) - (peak: 25422424)
Debug display of 'End Load Smarty Plugin cms_stylesheet/function':(1.583198) - (usage: 16371920) - (peak: 25422424)
Debug: (1.594284) - (usage: 16413736) - (peak: 25422424)
(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':(1.599253) - (usage: 16368760) - (peak: 25422424)
Debug: (1.599457) - (usage: 16398888) - (peak: 25422424)
calling module TinyMCE from event ContentPostRender
Debug: (1.602198) - (usage: 16400704) - (peak: 25422424)
calling module CGExtensions from event ContentPostRender
Debug: (1.607262) - (usage: 16411360) - (peak: 25422424)
Loading /home/site1300/public_html/modules/CGExtensions/lib/class.cge_headers.php = 3752 bytes for an approximate total of 1678304
Debug: (1.607376) - (usage: 16405328) - (peak: 25422424)
calling module Gallery from event ContentPostRender