% $TITLE="[%CUSTOMER_PROFILE KUNDPROFIL%]" INCLUDE 'INC_head.htm' %>
<%INCLUDE '/INC_above.html' %>
<%
/* ==========================================================
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%>
[%LOG_ON_OR_REGISTER Logga in eller registrera dig%]
$ERROR_MSG
<% INCLUDE 'rs/rs-customer-login.htm' %>
<% INCLUDE 'rs/rs-customer-new.htm' %>
<%ENDIF
ENDIF%>
<%INCLUDE '/INC_below.html' %>