<% @nav_dispaly_project_label = 1 @nav_dispaly_forum_label = 1 %> <%= stylesheet_link_tag 'welcome' %> <%= javascript_include_tag 'welcome' %>
<%#= render partial: 'wei_xin' %>
<% if get_avatar?(@first_page) %> <%= image_tag(url_to_avatar(@first_page), width:@first_page.image_width,height: @first_page.image_height) %> <% else %> <%= image_tag '/images/transparent.png', width:@first_page.image_width,height: @first_page.image_height %> <% end %>
<% unless @first_page.nil? %> <%= @first_page.description.html_safe %> <% end %>

<%= l(:lable_hot_projects)%>

<% if User.current.logged? %> <%= link_to(l(:label_project_new), {:controller => 'projects', :action => 'new', :course => 0, :project_type =>( @project_type||=0)}, :class => 'icon icon-add') if User.current.allowed_to?(:add_project, nil, :global => true) %> <% end %>    <%= link_to l(:label_more), { :controller => 'projects', :action => 'index', :project_type => 0, :host => Setting.project_domain}, :target => "_blank" %>
<%= render partial: 'link_to_another' %>