General information

<%= cascade @user, ["steamid"] %> <%= link_to "http://steamidfinder.com/?STEAM_#{@user.steamid}" do %> Search for corresponding Steam account <% end %> <%= cascade @user, ["age"] %> <%= cascade @user, ["country"] %> <%= cascade @user.profile, ["town"] %>

Miscellaneous

Joined: <%= longtime @user.created_at %>

Lastvisit: <%= longtime @user.lastvisit %>

<% if cuser and cuser.admin? %>

Last ip <%= @user.lastip %>

<% end %> <%= cascade @user, [ ["Comments", "posted_comments.count"], ["Matches", "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 %>

Contact

<%= cascade @user.profile, ["irc", "msn", "icq", "web"] %> <% if cuser and cuser.admin? or @user.public_email %> <%= cascade @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 %>

<%= link_to "Send PM", :controller => "messages", :action => "new", :id => "User", :id2 => @user %>

<% if @user.profile.achievements and !@user.profile.achievements.empty? %>

Achievements

<%= raw @user.profile.achievements_parsed %>
<% end %>