36 lines
1.5 KiB
Plaintext
36 lines
1.5 KiB
Plaintext
<!--<div id="RSide" class="fl">-->
|
|
<script>
|
|
function addWatch(){
|
|
|
|
}
|
|
function cancelWatch(){
|
|
|
|
}
|
|
</script>
|
|
<div class="courses_box" id="RSide" style="margin-left:0; margin-bottom:0; width:728px;">
|
|
<div class="courses_top mb10" id="<%= (@action == 'fans' || @action == 'visitor' ) ? 'nh_fans_list' : 'nh_wacth_list' %>">
|
|
<% if @action == 'fans' %>
|
|
<h2 class="courses_h2 fl">粉丝</h2>
|
|
<div class="courses_select fr">共有<span class="c_orange" nh_name="fans_count" id="fans_span"><%=@obj_count%></span>名粉丝</div>
|
|
<% elsif @action == 'visitor' %>
|
|
<h2 class="courses_h2 fl">访客</h2>
|
|
<div class="courses_select fr">共有<span class="c_orange"><%=@obj_count%></span>访客</div>
|
|
<% else %>
|
|
<h2 class="courses_h2 fl">关注</h2>
|
|
<div class="courses_select fr">一共关注<span class="c_orange" nh_name="watcher_count" id="watch_span"><%=@obj_count%></span>人</div>
|
|
<% end %>
|
|
<div class="cl"></div>
|
|
</div>
|
|
<div id="users_list">
|
|
<%# for item in @list %>
|
|
<%= render :partial => 'users/user_fans_item', :locals => {:list => @list,:target=>@user,:action_name=>@action,:page=>params[:page]} %>
|
|
<%# end %>
|
|
</div>
|
|
<p id="nodata" class="nodata" style="display:<%= @list.count > 0 ? 'none' : 'block' %>;"><%= l(:label_no_data) %></p>
|
|
</div>
|
|
<ul class="wlist" style=" border:none;">
|
|
<%= pagination_links_full @obj_pages, @obj_count, :per_page_links => false, :remote => false, :flag => true%>
|
|
</ul>
|
|
<div class="cl"></div>
|
|
<!--</div>-->
|