<%= stylesheet_link_tag 'welcome' %>
<%= image_tag '/images/transparent.png', size: "75x75" %>
<%= l(:label_welcome_trustie) %> <%= l(:label_welcome_trustie_contest) %> , <%= l(:label_welcome_trustie_contest_description) %>
<%= form_tag({controller: 'contests', action: 'index'}, method: :get) do %> <%= text_field_tag 'name', params[:name], :placeholder => l(:label_search_intimation), name: "name", :class => 'blueinputbar', :style => 'width:240px; padding-right:50px;'%>   <%= hidden_field_tag 'project_type', params[:project_type] %> <%= submit_tag l(:label_search), :class => "enterprise" , :name => nil%> <% end %>

<%=l(:label_current_hot_contest)%>

<%= link_to l(:label_more_information), {:controller => 'contests', :action => 'index', :host => Setting.contest_domain}, :target => "_blank" %>
<% find_all_hot_contest.map do |contest| break if(contest == find_all_hot_contest[5]) %>
  • <%= image_tag('/images/contest1.png')%>
    <%= link_to(contest.name, show_contest_contest_path(contest.id), :class => "d-g-blue d-p-project-name", :title => "#{contest.name}", :target => "_blank") %> <% if contest.id == 2 or contest.id == 3 or contest.id == 6 %> (<%= link_to("#{contest.projects.where('is_public=1').count}"+l(:label_work_quantity), show_attendingcontest_contest_path(contest), :target => "_blank") %>) <% else %> (<%= link_to("#{contest.contesting_softapplications.count}"+l(:label_work_quantity), show_attendingcontest_contest_path(contest), :target => "_blank") %>) <% end %>
    ><%=contest.description.truncate(50, omission: '...')%>

    <%=l(:label_release_time)%>: <%=format_time contest.created_on %>
  • <% end; reset_cycle %>

    <%=l(:label_notification)%>

    <%#= link_to l(:label_more_information), forums_path %>
    2014年Android程序设计大赛获奖名单
    一等奖: 消灭那怪兽
    二等奖: 兄弟向前冲
    二等奖: 鸟鸟文件管理器(银河之光版)
    三等奖: 疯狂猜图
    三等奖: 愉快的定向越野
    三等奖: 体能训练助手
    三等奖: 迷你日记本
    三等奖: 永齐飞机大战

    <%=l(:label_issue_feedback_activities)%> <%= link_to l(:label_my_question), newbie_send_path, {:class => 'orangeButton idea_btn', :style => "color: #EEEEEE" }%> <%= link_to l(:label_my_feedback), suggestion_send_path, {:class => 'orangeButton idea_btn', :style => "color: #EEEEEE" }%>

    <%= link_to l(:label_more_information), forums_path %>

    <%=l(:label_current_attendingcontest_work)%>

    <%= link_to l(:label_more_information), {:controller => 'softapplications', :action => 'index', :host => Setting.contest_domain}, :target => "_blank" %>
    <% if Softapplication.count > 0%>
    <% find_all_hot_softapplication.map do |softapplication| break if(softapplication == find_all_hot_softapplication[5]) %>
  • <%= image_tag('/images/app1.png')%>
    <%= link_to(softapplication.name, softapplication_path(softapplication.id), :class => "d-g-blue d-p-project-name", :title => "#{softapplication.name}", :target => "_blank") %>
    ><%=softapplication.description.to_s.truncate(50, omission: '...')%>

    <%=l(:label_release_time)%>: <%=format_time softapplication.created_at %>
  • <% end; reset_cycle %>
    <% else %>

    <%= l(:label_no_ftapplication) %>

    <% end %>
    <%= render partial: 'link_to_another' %>