General information

Age
<%= @user.age %>
Country
<%= @user.country %>
Town
<%= @user.profile.town %>
SteamID

<%= @user.steamid %>

Stream
<%= @user.profile.stream.blank? ? "No Stream Provided" : @user.profile.stream %>

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 %>