<%= stylesheet_link_tag 'screen2' %>

<%= @flatpage.title %>

<%= textilize(@flatpage.body) %> <% unless current_subdomain.blank? %> <% unless @location.sessions.current_session.jackrabbit_session_name.blank? or @location.jackrabbit_id.blank? %>

Current Session

<% else %> <% @results = @location.sessions.current_session.schedules.find(:all, :conditions => ['program_id = ?', Program.find_by_name(@flatpage.title)]) %> <% unless @results.empty? %> <% @results.each do |p| %> <% end %>
Program Day Time
<%= p.program.name %> <%= p.day %> <%= p.start_time %>
<% else %> <% end %> <% end %> <% end %>