[Include: 'Includes/metatag_Recipe.htm'] [Include: 'Includes/guest_access.html'] [If: ($sess_name)=='guest'] [Variable: 'Inc_1'='NavHeader.html', 'Link_1'='Account_Signup.html?member=guest', 'Link_2'='Account_Signup.html', 'Link_3'='Recipe_Category.html', 'Link_4'='Recipe_Detail.html', 'member_guest'='member=guest'] [Else] [Variable: 'Inc_1'='NavHeader.html', 'Link_1'='Recipe_Add.html', 'Link_2'='Recipe_Browser.html', 'Link_3'='Recipe_Category.html', 'Link_4'='Recipe_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:' '), 'forum' = (action_Param:'forum'), 'thread' = (action_Param:'thread'), 'respond' = (action_Param:'respond'), 'reply' = (action_Param:'reply')] [Loop: ($forumKeywords->Size)] [$forumWords->(insert:'Forum_Searchable'=($forumKeywords->(Get:(Loop_Count))))] [/Loop]
[If: (Cache_Exists: -Name='RecipeAds', -Expires='86400')]
[Else]
[Inline: -Search, -Database='MMS', -Table='Ads', -Keyfield='_Ads_ID', 'Ads_Page'='Recipe_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='RecipeAds', -Content=($ads)]
[/If]
[Variable:'bAads'=(Array)]
[Variable:'bAds'=(Cache_Fetch: -Name='RecipeAds')]
[Variable:'cnt'=($bAds->Size)+1, 'rdm'=(Math_Random: -Min=1, -Max=($cnt))]
[Include: ($bAds->Get:$rdm)]
|
||||||||||||
[Include: ($sess_side)]
|
||||||||||||
|
|
[Include: 'MMS_Search_Recipe.htm']
|
|||||||||||
|
||||||||||||