[include /OnlineAccountOrder/includes/clearSessionCookie.inc] [include /1includes/ajaxscript.inc] [include /1includes/title.inc] [!][/!] [include /1includes/headertop.htm]
[!] I commented out this lookup and replaced it with the IF statement below - Mark [text show=f]newUser=[lookup db=/MyAccount/UserHomepage.db&value=[GETCOOKIE name=MtSkyCustomerSku]&lookInField=sku&returnField=NewUser¬Found=YES][/text] [/!] [if "[GETCOOKIE name=MtSkyCustomerSku]"=""] [then][/then] [else] [text show=f]cookie_data=[GETCOOKIE name=MtSkyCustomerSku][/text] [if "[lookup db=/MyAccount/netcustomers.db&value=[cookie_data]&lookInField=sku&returnField=Salutation¬Found=failed]"="failed"] [then][/then] [else] [text show=f]newUser=[lookup db=/MyAccount/UserHomepage.db&value=[cookie_data]&lookInField=sku&returnField=NewUser¬Found=YES][/text] [/else] [/if] [/else] [/if] [showif [newUser]=NO] [include /HomePageIncludes/UserPage.inc] [/showif] [hideif [newUser]=NO] [!][include /1includes/mainpage3col.inc][/!] [redirect url=http://deals.montanasky.net] [/hideif] [include /1includes/footer2.inc]