<%= csrf_meta_tag %> <%= favicon %> <%= stylesheet_link_tag 'jquery/jquery-ui-1.9.2', 'new_public', 'user_leftside', :media => 'all' %> <%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %> <%= javascript_heads %> <%= javascript_include_tag "bootstrap","avatars","new_user"%> <%= heads_for_theme %> <%= call_hook :view_layouts_base_html_head %> <%= yield :header_tags -%>
<%= image_tag(url_to_avatar(@user),width:"206", height: "206", :id=>'nh_user_tx') %> <% if User.current.logged?%> <% if is_current_user%>
<% else %>
<%= render :partial => 'layouts/user_watch_btn', :locals => {:target => @user} %>
<% end %> <% end%>
<% if (@user.user_extensions && (@user.user_extensions.identity != 2) ) %>
<% end %> <%= link_to("编辑资料", my_account_path, :class => "fr gz_btn mr10") if is_current_user%>

<%= render :partial => 'layouts/user_brief_introduction', :locals => {:user => @user} %>

<%= link_to User.watched_by(@user.id).count.to_s, {:controller=>"users", :action=>"user_watchlist",:id=>@user.id},:class=>"homepageImageNumber" %>
关注
<%= link_to @user.watcher_users.count.to_s, {:controller=>"users", :action=>"user_fanslist",:id=>@user.id},:class=>"homepageImageNumber", :id => "user_fans_number"%>
粉丝
<%= link_to(format("%.2f" ,get_option_number(@user,1).total_score ).to_i, {:controller => 'users', :action => 'show_new_score', :remote => true, :id => @user.id }, :class => 'homepageImageNumber',:id => 'user_score') %>
积分
<%= link_to "动态",user_activities_path(@user.id),:class => "homepageMenuText"%>
标签
<%= render :partial => 'tags/user_tag', :locals => {:obj => @user,:object_flag => "1"}%>
<%= yield %>
<%= render :partial => 'layouts/new_feedback' %>