%option explicit%> <% '********************************************************** ' Version 6.50 ' prompts for type of export '********************************************************** ShopCheckAdmin "shopa_editdisplay.asp" dim sAction dim currentURL dim returnURL Dim Fieldnames(10) Dim Fieldvalues(10) Dim optionCount Dim OptionNames(5) Dim Optionfieldname Dim fieldname Dim Fieldvalue Dim Fieldcount Dim cSelect dim captions(10) cSelect= getlang("LangCommonSelect") sAction=request("Action") if sAction="" then sAction=request("Action.x") end if currentURL=CurrentFile & "?table=" & request("table") 'returnURL=GetSess("CurrentURL") returnURL = "shopa_editdisplay.asp?table=" & request("table") if saction="" then AdminPageHeader GetFieldnames GetFieldValues DisplayForm AdminPageTrailer else ProcessForm responseredirect returnURL & "&SpecialFunction=" & getlang("langSpecialExport") end if Sub DisplayForm dim i GenerateDisplayHeader "Export Setup" GenerateDisplayBodyHeader ' shopwriteheader getlang("LangEdit02") ' Shopwriteheader getlang("LangEditTableName") & " " & Getsess("Table") response.write "
") response.write "" GenerateDisplayBodyFooter gethelp end sub Sub FormatRow (fieldname,fieldvalue, caption) Response.Write(tablerow & tablecolumn & caption & tablecolumnEnd & "