% ' Comersus BackOffice Lite ' e-commerce ASP Open Source ' Comersus Open Technologies LC ' 2005 ' http://www.comersus.com %> <% on error resume next dim mySQL, conntemp, rstemp pCurrencySign = getSettingKey("pCurrencySign") pDecimalSign = getSettingKey("pDecimalSign") pIdZoneContent = getUserInput(request("idZoneContent"),100) pIdZone = getUserInput(request("idZone"),100) If getUserInput(request.form("submit"),20) <> "" Then 'update shipping zone pZip = getUserInput(request("zip"),50) pStateCode = getUserInput(request("statecode"),10) pCountryCode = getUserInput(request("CountryCode"),10) MySQL = "UPDATE shippingZonesContents SET zip='"&pZip&"', stateCode='"&pStateCode&"', countryCode='"&pCountryCode&"' WHERE idShippingZonesContents=" & pIdZoneContent call updateDatabase(mySQL, rstemp, "comersus_backoffice_modifyZonesContents.asp") response.redirect "comersus_backoffice_listZoneAndContent.asp?IdZone="&pIdZone end if ' get shipment mySQL="SELECT * FROM shippingZonesContents WHERE idShippingZonesContents = " & pIdZoneContent call getFromDatabase(mySQL, rstemp, "comersus_backoffice_modifyZoneContents.asp") if rstemp.eof then response.redirect "comersus_backoffice_message.asp?message="& Server.Urlencode("Couldn't find the zone in database") end if %>