[Include: 'Includes/metatag_Media.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', 'Link_5'='Account_Signup.html', 'Link_6'='Recipe_Home.html', 'member_guest'='member=guest'] [Else] [Variable: 'Inc_1'='NavHeader.html', 'Link_1'='Recipe_Add.html?upd=new', 'Link_2'='Recipe_Browser.html', 'Link_3'='Recipe_Category.html', 'Link_4'='Recipe_Detail.html', 'Link_5'='Recipe_Comment.html', 'Link_6'='Recipe_Home.html', 'member_guest'=''] [/If] [Variable: 'forumWords'=(array),'uFlags'=(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:' '), 'Recipe' = (action_Param:'Recipe'), 'thread' = (action_Param:'thread'), 'respond' = (action_Param:'respond'), 'reply' = (action_Param:'reply'), 'cat' = (action_param:'cat'), 'upd' = (action_param:'upd'), 'a_Rating' = (Action_Param: 'Rating'), 'a_Comment' = (Action_Param: 'Comment'), 'hide_button' = 'No'] [Loop: ($forumKeywords->Size)] [$forumWords->(insert:'Forum_Searchable'=($forumKeywords->(Get:(Loop_Count))))] [/Loop] [Inline: -Search, -Database='MMS', -Table='Flags', -Keyfield='_Flags_ID', 'Flags_UserID'=($sess_acct), 'Flags_ContentType'='Recipe', 'Flags_Type'='White'] [If: (Found_Count)>0] [Records] [$uFlags->(insert:(Field:'Flags_ContentID'))] [/Records] [/If] [/Inline]
[If: (Cache_Exists: -Name='RecipeAds', -Expires='86400')]
[Else]
[Inline: -Search, -Database='MMS', -Table='Ads', -Keyfield='_Ads_ID', 'Ads_Page'='Recipe_Detail', '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']
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
[If: (Found_Count)>0]
More [Field:'Recipe_Category']
[/If]
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
[If: (Found_Count)>0]
[Variable:'rUser'=(Field:'Recipe_UserID'), 'rName'=(Field:'Recipe_Name')]
[/If]
[/Inline]
[Include: 'GoogleAds/Footer_728x90.html'] |
[Include: 'NavFooter.html'] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||