%@ LANGUAGE="VBSCRIPT" %> <% PageStrings = "398, 400, 445, 450, 451, 452, 525, 876, 917, 918, 992, 993, 994" strThisBackPage = "config" %> <% '=============================================== ' CactuShop ASP Shopping Cart ' ©1999-2004 Cactusoft Ltd. www.cactusoft.com '=============================================== ' All rights reserved. ' Use of this code is covered by the terms and ' conditions in the license agreement. No ' unauthorized duplication or distribution is ' permitted. Cactusoft's copyright notices must ' remain in the ASP sections of the code. '=============================================== '----------------------------------------------- 'MODIFY LOGIN 'This allows you to edit a specific login record '----------------------------------------------- LOGIN_ID = request.querystring("LOGIN_ID") & "" 'If one was passed... if LOGIN_ID <> "" then '... then we are editing strQuery = "SELECT * FROM tblCactuShopLogins WHERE LOGIN_ID = " & LOGIN_ID Call executeSQL(strQuery, numCursorType, objRecordSet) 'If the record wasn't found... if objRecordSet.bof and objRecordSet.eof then '...then we add a new one... LOGIN_ID = 0 else '... else grab the record details and put them in variables LOGIN_Username = objRecordSet("LOGIN_Username") LOGIN_Password = objRecordSet("LOGIN_Password") LOGIN_Live = objRecordSet("LOGIN_Live") LOGIN_Orders = objRecordSet("LOGIN_Orders") LOGIN_Products = objRecordSet("LOGIN_Products") LOGIN_Config = objRecordSet("LOGIN_Config") LOGIN_Protected = objRecordSet("LOGIN_Protected") LOGIN_Language = objRecordSet("LOGIN_Language") end if else LOGIN_ID = 0 end if %>
|
<% if LOGIN_ID <> 0 and LOGIN_Protected <> "y" then %>
<% end if %> |