%
/* ==========================================================
This page reacts on the following variables:
$Customer.login - shows settings for account or login forms.
$Data.LOGOUT - Thanks user for the session
========================================================== */
%>
<%IF $opt_customerpage_editor AND ($Shop.customerpage_active_template OR $key) THEN
INCLUDE 'template-customerpage.htm'
ELSE
IF $Customer.login THEN %>
$ERROR_MSG
<% INCLUDE 'rs/rs-customer.htm' %>
<% INCLUDE 'rs/rs-customer_order.htm' %>
<%IF $Shop.opt_subscription THEN%>
<% INCLUDE 'rs/rs-customer-subscriptions.htm' %>
<%ENDIF%>
<%IF $Shop.opt_serialorders THEN%>
<% INCLUDE 'rs/rs-customer-serialorders.htm' %>
<%ENDIF%>
<% INCLUDE 'rs/rs-customer-delivery-addresses.htm' %>
<%IF $Shop.opt_autopay THEN%>
<% INCLUDE 'rs/rs-customer-autopay.htm' %>
<%ENDIF%>
<%ELSE%>
<%IF NOT $opt_advanced_account OR $opt_advanced_account AND $opt_customer_registration THEN%>
[%LOG_ON_OR_REGISTER Logga in eller registrera dig%]
<%ELSE%>
[%LOG_IN Logga in%]
<%ENDIF%>
$ERROR_MSG
<% INCLUDE 'rs/rs-customer-login.htm' %>
<%IF NOT $opt_advanced_account OR $opt_advanced_account AND $opt_customer_registration THEN
INCLUDE 'rs/rs-customer-new.htm'
ENDIF%>
<%ENDIF
ENDIF%>