[Include: 'Includes/metatag_Blog.htm'] [Include: 'Includes/guest_access.html'] [If: ($sess_name)=='guest'] [Variable: 'Link_1'='Blog_Category.html', 'Link_2'='Blog_Detail.html', 'member_guest'='member=guest'] [Else] [Variable: 'Link_1'='Blog_Category.html', 'Link_2'='Blog_Detail.html', 'member_guest'=''] [/If] [Variable: 'forumWords'=(array), 'path'=(String_Concatenate: '/Accounts/',($sess_acct), '/'), 'pathThumb'=(String_Concatenate: '/Accounts/',($sess_acct), '/Thumb/'), 'monitor' = (action_param:'monitor'), 'forumSearch' = (action_Param:'forumSearch'), 'forumKeywords'=($forumSearch->split:' '), 'Blog' = (action_Param:'Blog'), 'thread' = (action_Param:'thread'), 'respond' = (action_Param:'respond'), 'reply' = (action_Param:'reply')] [Loop: ($forumKeywords->Size)] [$forumWords->(insert:'Blog_Searchable'=($forumKeywords->(Get:(Loop_Count))))] [/Loop]
[If: (Cache_Exists: -Name='BlogAds', -Expires='86400')]
[Else]
[Inline: -Search, -Database='MMS', -Table='Ads', -Keyfield='_Ads_ID', 'Ads_Page'='Blog_Home', 'Ads_Orientation'='Banner', 'Ads_Position'='Header', 'Ads_Active'='Yes']
[Variable:'ads'=(Array)]
[If: (Found_Count)>0]
[Records]
[$ads->Insert:(Field:'Ads_HTML')]
[/Records]
[Else]
[$ads->Insert:'GoogleAds/Header_468x60.html']
[/If]
[/Inline]
[Cache_Store: -Name='BlogAds', -Content=($ads)]
[/If]
[Variable:'bAads'=(Array)]
[Variable:'bAds'=(Cache_Fetch: -Name='BlogAds')]
[Variable:'cnt'=($bAds->Size)+1, 'rdm'=(Math_Random: -Min=1, -Max=($cnt))]
[Include: ($bAds->Get:$rdm)]
|
||||||||||||
[Include: ($sess_side)]
|
||||||||||||
|
|
[Include: 'MMS_Search_Blog.htm']
|
|||||||||||
|
|
|||||||||||