General information

Age
<%= @user.age %>
<% if !@user.country.blank? %>
Country
<%= @user.country %>
<% end %> <% if !@user.profile.town.blank? %>
Town
<%= @user.profile.town %>
<% end %> <% if !@user.steamid.blank? %>
SteamID

<%= @user.steamid %>

<% end %> <% if !@user.profile.stream.blank? %>
Stream
<%= @user.profile.stream %>
<% end %>

Contact

<% if !@user.profile.web.blank? %>
Web
<%= @user.profile.web %>
<% end %> <% if cuser and cuser.admin? or @user.public_email %>
Email
<%= @user.email_s %>
<% end %> <% if @user.profile.steam_profile and @user.profile.steam_profile != "" %>
Steam
<% if @user.profile.steam_profile.match(/\A[0-9]*\z/) %> <%= link_to @user.profile.steam_profile, "http://steamcommunity.com/profiles/#{@user.profile.steam_profile}" %> <% elsif @user.profile.steam_profile.match(/\A[A-Za-z0-9_\-\+]{1,40}\z/) %> <%= link_to @user.profile.steam_profile, "http://steamcommunity.com/id/#{@user.profile.steam_profile}" %> <% end %>
<% end %>
<% if @user.profile.achievements and !@user.profile.achievements.empty? %>

Achievements

<%= @user.profile.achievements_parsed.html_safe %>
<% end %> <%= link_to "Send PM", { controller: "messages", action: "new", id: "User", id2: @user }, { class: 'button tiny' } %>

Statistics

Joined
<%= longtime @user.created_at %>
Last visit
<%= longtime @user.lastvisit %>
<% if cuser and cuser.admin? %>
Last IP
<%= @user.lastip %>
<% end %>
Comments
<%= @user.posted_comments.count %>
Matches
<%= @user.matches.count %>
<% if @user.groups.count > 0 %>
Groups
<% for group in @user.groups.all %>
<%= namelink group %>
<% end %> <% end %> <% if @user.teamers.active.count > 0 %>
Teams
<% @user.teamers.active.each do |teamer| %>
<%= namelink teamer.team %>
<% end %> <% end %>