Created
July 24, 2010 02:31
-
-
Save tubbo/488332 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
| "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" xmlns:fb="http://www.facebook.com/2008/fbml"> | |
| <head> | |
| <meta http-equiv="content-type" content="text/html;charset=UTF-8" /> | |
| <title>illup | <%= yield(:title) || 'the hip-hop community' %></title> | |
| <%= stylesheet_link_tag 'application' %> | |
| <%= javascript_include_tag :defaults %> | |
| <%= javascript_include_tag 'http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php' %> | |
| </head> | |
| <body> | |
| <%= fb_connect_javascript_tag %> | |
| <%= init_fb_connect "XFBML" %> | |
| <div id="header"> | |
| <h1>IllUp</h1> | |
| <span style="float: right;text-align: right;"> | |
| <!-- based on last_request_at, if they were active < 10 minutes they are logged in --> | |
| </span> | |
| </div> | |
| <div id="navigation"> | |
| <% if !current_user %> | |
| <%= link_to 'Log In', '/login' %> | | |
| <%= link_to 'Pricing & Signup', '/signup' %> | | |
| <% else %> | |
| <%= link_to 'Dashboard', '/user/account' %> | | |
| <% end %> | |
| <%= link_to 'Music', '/music' %> | | |
| <%= link_to 'Beats', '/music/beats' %> | | |
| <%= link_to 'Lyrics', '/music/lyrics' %> | | |
| <%= link_to 'Videos', '/music/videos' %> | | |
| <%= link_to 'Artists', '/artists' %> | | |
| <%= link_to 'Battles', '/contests' %> | |
| <% if current_user %> | |
| | <%= link_to('Log Out', '/user/session', :method => :delete) %> | |
| <% end %> | |
| </div> | |
| <br /> | |
| <br /> | |
| <div id="content"> | |
| <p style="color: green"><%= flash[:notice] %></p> | |
| <%= '<h2>'+yield(:title)+'</h2>' unless yield(:title)==nil %> | |
| <%= yield %> | |
| </div> | |
| <br /><br /> | |
| <div id="footer"> | |
| IllUp is © 2010 Dusty Endeavors, LLC. All Rights Reserved.<br /> | |
| <%= pluralize User.logged_in.count, "user" %> currently logged in.<br /> | |
| <%= link_to 'Privacy', 'info/priv' %> | | |
| <%= link_to 'Terms', 'info/tos' %> | | |
| <%= link_to 'About', 'info/' %> | | |
| <%= link_to 'Contact', 'info/contact' %> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment