<ul>
	<% unless show_flag.nil? %>
	<% case %>
	<% when show_flag == '1' %>
        <strong>
          <%=l(:label_user)%>
          (
          <%= @results_count %>
          )
        </strong>
	    <%= render :partial => "show_users",:locals => {:users_results => users_results}%>
	<% when show_flag == '2'%>
        <strong>
          <%=l(:label_project)%>(<%= @results_count %>)
        </strong>
        <%= render :partial => "show_projects",:locals => {:projects_results => projects_results }%>
	<% when show_flag == '3'%>
        <strong><%=l(:label_issue)%>(<%= @results_count %>)</strong>
        <%= render :partial => "show_issues",:locals => {:issues_results => issues_results }%>
	<% when show_flag == '4'%>
        <strong>
          <%= l(:label_requirement)%>(<%= @results_count %>)
        </strong>
        <%= render :partial => "show_bids",:locals => {:bids_results => bids_results}%>
	<% when show_flag == '5'%>
        <strong>
          <%= l(:label_forum)%>(<%= @results_count %>)
        </strong>
        <%= render :partial => "show_forums",:locals => {:forums_results => forums_results}%>
	<% when show_flag == '6'%>
        <strong>
          <%= l(:label_attachment)%>(<%= @results_count %>)
        </strong>
        <%= render :partial => "show_attachments",:locals => {:attachments_results => attachments_results}%>
	<% when show_flag == '7'%>
        <strong>
          <%= l(:label_contest_innovate)%>(<%= @results_count %>)
        </strong>
        <%= render :partial => "show_contests",:locals => {:contests_results => contests_results}%>
	<% when show_flag == '8'%>
        <strong><%#= l(:label_attachment)%>
            开源项目：(<%= @results_count %>)
        </strong>
        <%= render :partial => "show_open_source_projects",:locals => {:projects_results => open_source_projects_results}%>
    <% when show_flag == '9'%>
        <strong>
          <%= l(:label_course)%>(<%= @results_count %>)
        </strong>
        <%= render :partial => "show_courses",:locals => {:courses_results => courses_results}%>
	<% else %>
         <strong><%= l(:label_tags_all_objects)%></strong>
         <!--  这里为显示搜有过滤结果预留了默认设置 -->
        <%= render :partial => "show_issues",:locals => {:issues_results => issues_results }%>
        <%= render :partial => "show_users",:locals => {:users_results => users_results }%>
        <%= render :partial => "show_projects",:locals => {:projects_results => projects_results }%>
        <%= render :partial => "show_bids",:locals => {:bids_results => bids_results}%>
	    <%= render :partial => "show_contests",:locals => {:contests_results => contests_results}%>
	<% end %>
	
	<% else %>
	    <span>no data...</span>
	<% end %>
</ul>
<%= render :partial => "pagination",:locals => {:obj_pages => @obj_pages} %>
