[!][include vars.inc][/!] [!]-------------- Ali ------------------------------- since we are reloading the search.tpl within the body tag of this file we cannot use the body_tag.inc file. We need to do this in order for the store name to updated on the left frame [include body_tag.inc] [/!]
[protect ADMIN,[lookup db=prefs.db&lookinfield=PREF&value=ADMIN&returnfield=value],[lookup db=prefs.db&lookinfield=PREF&value=GROUPS&returnfield=value]] [text]page_title=Merchant[/text] [text]helpid=pref_merchant[/text] [include banner.inc] [!]=====================================================================[/!] [!] Process forms [/!] [!]=====================================================================[/!] [showif [action]=Update] [formvariables name=__&exact=f] [replace db=prefs.db&eqPREFdatarq=[getchars start=3][name][/getchars]&Append=T]VALUE=[value][/replace] [/formvariables] [commitdatabase db=prefs.db] [Text]CreditCard=[/Text] [Showif [CC_Visa]=T] [Text]CreditCard=1[/Text] [/Showif] [Showif [CC_Master]=T] [Text]CreditCard=[CreditCard]+2[/Text] [/Showif] [Showif [CC_Discover]=T] [Text]CreditCard=[CreditCard]+3[/Text] [/Showif] [Showif [CC_Amex]=T] [Text]CreditCard=[CreditCard]+4[/Text] [/Showif] [Showif [CC_JCB]=T] [Text]CreditCard=[CreditCard]+5[/Text] [/Showif] [Showif [CC_CarteBlanche]=T] [Text]CreditCard=[CreditCard]+6[/Text] [/Showif] [Showif [CC_Diners]=T] [Text]CreditCard=[CreditCard]+7[/Text] [/Showif] [replace db=prefs.db&eqPREFdatarq=CREDIT_CARDS]VALUE=[CreditCard][/replace] [/showif] [!]---------------------------------------------------------------------[/!] [!] Show Form [/!] [!]---------------------------------------------------------------------[/!] [Search db=prefs.db&nePREFdata=Find_All] [Showif [NumFound]=0] [Text]__STORE_EMAIL=[/Text] [Text]__NAME=[/Text] [Text]__EMAIL_TAX=N[/Text] [Text]__SHIP_TAX=Y[/Text] [Text]__CURRENCY=$[/Text] [Text]__CURRENCY_ACCURACY=2[/Text] [Text]__CREDIT_CARDS=1 2[/Text] [Text]__ZIPS=Number[/Text] [Text]__ADMIN=[/Text] [Text]__SHIP_WEIGHT=[/Text] [Text]__CART_HANDLING=1[/Text] [Text]__SHOW_NEXT_STYLE=1[/Text] [Text]__MAX_FOUNDITEMS=5[/Text] [Text]__INTERNETCASH=F[/Text] [Text]__PUBLOCATION=[/Text] [Text]__SSLLOCATION=[/Text] [Text]__CUSTOMER_BASE=U.S.Only[/Text] [/Showif] [Showif [NumFound]!0] [FoundItems] [Text]__[pref]=[value][/Text] [/FoundItems] [/Showif] [include pref_merchant.inc] [showif [action]![Raw][action][/Raw]] [include last_updated.inc] [/showif] [/Search]