<%= I18n.t "title_#{@template}"%>
<% if @template=="pixtrakk"%>
<%=I18n.t('tracked_publication_label')%>
<% else %>
<%="#{I18n.t('today_online')} :" %>
<%= number_with_delimiter(@pp_pics_tot) %><%= " #{I18n.t :pictures_on} #{I18n.t :pixpalace} #{I18n.t :and} " %><%= number_with_delimiter(@pp2_pics_tot) %><%= " #{I18n.t :pictures_on} #{I18n.t :pixpalace2}" %>
<%end%>
<%= image_tag "logo_#{@template}.png",alt: "#{@template}",class: "pw_home_logo"%>
<%= I18n.t "label_#{@template}"%>
<%= link_to t(:pixways_service), @pixways_url, target: 'blank'%>
<% if File.file?("#{Rails.public_path}#{COMM_FRAME_LOCAL}") %>
<%= image_tag COMM_FRAME_LOCAL %>
<% elsif Server.itself?(PIXADMIN_SERVER_NAME) && File.file?("#{Rails.public_path}#{COMM_FRAME_PA}") %>
<%= image_tag COMM_FRAME_PA %>
<% elsif TEST_SERVER_NAME.include?(Server.find_by_is_self(true).name) && (RestClient.head(COMM_FRAME_TEST_REMOTE).code == 200 rescue false) %>
<%= image_tag COMM_FRAME_TEST_REMOTE %>
<% elsif !(Server.itself?(PIXADMIN_SERVER_NAME) || TEST_SERVER_NAME.include?(Server.find_by_is_self(true).name)) && (RestClient.head(COMM_FRAME_CS_REMOTE).code == 200 rescue false) %>
<%= image_tag COMM_FRAME_CS_REMOTE %>
<% elsif File.file?("#{Rails.public_path}#{COMM_FRAME_DEFAULT}") %>
<%= image_tag COMM_FRAME_DEFAULT %>
<% else %>
<% end %>