<%Option explicit%> <% '******************************************************* ' Login logic for customer Service Center ' Version 4.00 September 8, 2001 '******************************************************* dim sAction, strPassword, newuser dim UsePassword, msg UsePassword="Yes" ' set to "Yes" for pasword instead of e-mail if ucase(getconfig("xpassword"))<>"YES" Then UsePassword="No" ' set to "Yes" for pasword instead of e-mail end if SetSess "CurrentUrl","shopcustadminlogin.asp" SetSess "FollowonURL","shopcustadminlogin.asp" Serror=GetSess("Loginerror") ' possible mesage from login SetSess "Loginerror","" ' error from shop login NewUser=Request("New") if Newuser<>"" then ResetCustomerSessiondata Setsess "CustomerLogincid","" end if If GetSess("Customerid")<>"" and Getsess("Lastname") <>"" then If getsess("Customerlogincid")="" then SetSess "CustomerLoginCID",Getsess("Customerid") msg=LangLoginSuccessful else msg=LangCustAlreadyloggedIn end if response.redirect "shopcustadmin.asp?msg=" & server.urlencode(msg) end if AddForm ' Sub AddForm() ShopPageHeader SetSess "Customerlogincid","" if sError<> "" then response.write getconfig("xfont") & "" & SError & "
" Serror="" end if %>

<%=getconfig("xfont")%><%=LangCustAdminLogin%>

<% 'Response.Write getconfig("xpassword")="Yes" 'Response.End if ucase(getconfig("xpassword"))="YES" Then Response.Write("
") Response.Write("") If getconfig("xPasswordLastName")="Yes" then Response.Write("") end if Response.Write("") Response.Write("") Response.Write("
" & xTablerowfont & LangCustLastname & "
" & xTablerowFont & LangStatusEmail & "
" & XTableRowFont & LangLoginPassword & "

") If Getconfig("xbuttoncontinue")="" then Response.Write("") else Response.Write("") end if Response.Write("

") Response.Write("") else Response.Write("
") Response.Write("") Response.Write("") Response.Write("") Response.Write("
" & xTablerowfont & LangCustLastname & "
" & xTablerowFont & LangStatusEmail & "

") If Getconfig("xbuttoncontinue")="" then Response.Write("") else Response.Write("") end if Response.Write("

") end if Response.Write("

Forgot Your Password?

") Response.Write("

Contact Support


") ShopPageTrailer end sub %>