% layout 'default', title => "Smanager - xtgeoip";
% content_for 'module' => begin
%if (config->{debug} == 1) {
%= dumper $c->current_route
%= dumper $xtg_datas
%}
% if ( stash 'error' ) {
%= $c->render_to_string(inline => stash 'error')
%}
<%= $title %>
%= $c->render_to_string(inline => l('xtg_XT_GEOIP_STATUS_DESCRIPTION'));
%= form_for '/xtgeoip' => (method => 'POST') => begin
%=l 'xtg_LABEL_GEOIP_STATUS'
%= $c->get_geoip()
%=l 'xtg_LABEL_BADCOUNTRIES_STATUS'
%= $c->get_badcountries(1)
%=l 'xtg_LABEL_DATE_UPDATE_STATUS'
%= $c->get_date_update()
% if ( my $st_geoip = $c->get_stat_geoip() ) {
%= $c->render_to_string(inline => $st_geoip);
%}
% if ( my $st_lice_k = $c->get_stat_license_key() ) {
%= $c->render_to_string(inline => $st_lice_k);
%}
%= hidden_field 'Choice' => 'UPDT'
%= submit_button l('NEXT'), class => 'action'
%end
%= include 'partials/_xtg_lcodes'
%= include 'partials/_xtg_services'
%= include 'partials/_xtg_stats'
%end