<%include("header")%>
<%include("logo")%>

<%=var.text.form.picture_title%>

<%=var.text.form.nav_login%>

<%=var.text.form.msg_title%>

<%=var.text.form.msg_content%>

<%- if tos then -%>
<%=var.text.tos.prefix%> <%=var.text.tos.title%>
<%- end -%> <%- if trial then -%>

<%=var.text.other.link%> <%=var.text.other.trial_suffix%>

<%- end -%> <%- if res == "failed" or reason then %> <% if reason then %>

<% if reason == "data_limit" then %> <%=var.text.error.data_limit%> <% elseif reason == "time_limit" then %> <%=var.text.error.time_limit%> <% elseif reason == "tos" then %> <%=var.text.error.tos%> <% elseif reason == "reject" then %> <%=var.text.error.reject%> <% elseif reason == "time_limit_trial" then %> <%=var.text.error.time_limit_trial%> <% elseif reason == "data_limit_trial" then %> <%=var.text.error.data_limit_trial%> <% elseif reason == "user_duplicate" then %> <%=var.text.error.user_duplicate%> <% end %>

<% elseif res ~= "" then %>

<%=var.text.error.reject%>

<%-elseif termcause then-%>

<% if termcause =="14" then%> <%=var.text.error.data_limit%> <%end%>

<% end %> <% end %> <% if res == "signup_success" then %>

<%=var.text.success.register%>

<%end%> <% if res == "signup_fail" and reason == "already" then %>

<%=var.text.error.already%>

<%end%>
<% if signup then %> <%end%>