Advertisement
johnbacon

ViewModel - Wrapper

Mar 8th, 2012
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 5.80 KB | None | 0 0
  1. <!doctype html>
  2. <!--[if IE]><![endif]-->{!-- Fixes Internet Explorer blocking bug http://webforscher.wordpress.com/2010/05/20/ie-6-slowing-down-ie-8/ --}
  3. <html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:og="http://ogp.me/ns/fb#" class="no-js" lang="en">
  4. <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns#">
  5.   <meta charset="utf-8">{exp:slugger:show find="staging.|direct."}<meta name="robots" content="noindex,nofollow">{/exp:slugger:show}
  6.  
  7. {exp:seo_lite use_last_segment="yes"
  8.         {if embed:nav_active == "home"}title_override="Red Storm Entertainment"{/if}
  9.         default_title="{embed:default_title}"
  10.         default_keywords="{embed:default_keywords}"
  11.         default_description="{embed:default_description}"
  12. }
  13.  
  14.   <script src="/js/mylibs/head.min.js"></script>
  15.  
  16.   {exp:ifelse parse='inward'}{if global:environment == 'stage'}{exp:minimee:css}<link rel="stylesheet" href="{exp:eeless:compile less="development/development.less" css="development.css"}">{/exp:minimee:css}{if:else}{exp:minimee:css}<link rel="stylesheet" href="{exp:eeless:compile less="production.less" css="style.css"}">{/exp:minimee:css}{/if}{/exp:ifelse}
  17.   <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Sans+Narrow:bold&text=ABCDEFGHIJKLMNOPQRSTUVWXYZ’-: abcdefghijklmnopqrstuvwxyz 1234567890 @">
  18.  
  19. </head>
  20.  
  21. <body id="{embed:layout}">
  22.  
  23.   <!--[if lt IE 7 ]>
  24.    <p class=chromeframe>Your browser is <em>ancient!</em> <a href="http://microsoft.com/ie">Upgrade to a newer browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true"> install Google Chrome Frame</a> to experience this site. </p>
  25.  <![endif]-->
  26.  
  27. {if embed:nav_active == "news"}<div id="fb-root"></div>
  28.  
  29.   {/if}<div id="wrapper">
  30.  
  31.     <header class="head">
  32.  
  33.       <section class="top-bar">
  34.         <div id="ticker">
  35.           <a class="ticker-button" href="{path='news'}">News</a>
  36.           <ul id="ticker-go">
  37.               <li>Welcome to the new RedStorm.com!</li>
  38.           </ul>
  39.         </div>
  40.         {exp:search:simple_form search_in="everywhere"}
  41.         <fieldset>
  42.           <input type="text" name="keywords" id="search" maxlength="100" autocomplete="off" placeholder="SEARCH" required>
  43.           <input type="submit" value="Go!" id="search-button"/>
  44.         </fieldset>
  45.         {/exp:search:simple_form}
  46.       </section>
  47.  
  48.       <nav class="main-menu">
  49.         <ul>
  50.           <li class="red-storm ir"><a href="http://redstorm.com">Red Storm Entertainment</a></li>
  51.           <li><a href="{path='site_index'}"{if embed:nav_active == "home"} class="selected"{/if}>Home</a></li>
  52.           <li><a href="{path='news'}"{if embed:nav_active == "news"} class="selected"{/if}>News</a></li>
  53.           <li class="no-brdr-r"><a href="{path='games'}"{if embed:nav_active == "games"} class="selected"{/if}>Games</a></li>
  54.           <li id="logo"><a href="{path=contact}" id="logo-link"></a></li>
  55.           <li class="no-brdr-l"><a href="{path='the-eye'}"{if embed:nav_active == "the-eye"} class="selected"{/if}>The Eye</a></li>
  56.           <li><a href="{path='shop'}"{if embed:nav_active == "shop"} class="selected"{/if}>Shop</a></li>
  57.           <li><a href="{path='jobs'}"{if embed:nav_active == "jobs"} class="selected"{/if}>Jobs</a></li>
  58.           <li class="ubisoft ir"><a href="http://ubisoft.com" target="_blank">Ubisoft Entertainment</a></li>
  59.         </ul>
  60.       </nav>
  61.  
  62.     </header>
  63.  
  64.     <div class="main" role="main">
  65.       {exp:stash:get name="content"}
  66.     </div><!-- /.main -->
  67.  
  68.   </div><!-- /#wrapper -->
  69.  
  70.   <footer class="footer">
  71.     <nav>
  72.       <ul>
  73.         <li><a href="http://ubisoftgroup.com/index.php?p=59&art_id=" target="_blank">Press</a></li> |
  74.         <li><a href="http://ubisoftgroup.com/index.php?p=46&art_id=" target="_blank">Ubisoft Corporate</a></li> |
  75.         <li><a href="http://ubi.com/US/Info/Info.aspx?tagname=TermsOfUse" target="_blank">Terms of Use</a></li> |
  76.         <li><a href="http://ubi.com/US/Info/Info.aspx?tagname=Legal" target="_blank">Legal Info</a></li> |
  77.         <li><a href="{path=contact}">Contact Us</a></li> |
  78.         <li><a href="http://ubi.com/US/Info/Info.aspx?tagname=PrivacyPolicy" target="_blank">Privacy Policy</a></li>
  79.       </ul>
  80.     </nav>
  81.     <p>&copy; 2012 Ubisoft Entertainment. All Rights Reserved. Ubisoft, Ubi.com and the Ubisoft logo are trademarks of Ubisoft Entertainment in the U.S. and/or other countries. Red Storm and the Red Storm logo are trademarks of Red Storm Entertainment. Red Storm Entertainment, Inc. is a Ubisoft Entertainment company.</p>
  82.   </footer>
  83.  
  84.   <script>{!-- javascript graveyard
  85.   head.js(
  86.       {mouseflow: "//c.mouseflow.com/projects/95c764b7-0226-4300-bc5b-d09f1bb46e8d.js"}
  87.     );        --}
  88.     head.js(
  89.       {jquery: "//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"},
  90.       {rse: "/js/rse.js?v=1.0.062"}
  91.     );{if embed:nav_active == "news"}
  92.  
  93.     head.js("//s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4f341c41797dadaa", function() {
  94.       var addthis_config = { pubid: 'ra-4f341c41797dadaa', ui_use_css: true, data_track_clickback: true, data_ga_property: 'UA-22377938-1', data_ga_social: true };
  95.     });
  96.  
  97.     window.fbAsyncInit = function() {
  98.         FB.init({
  99.           channelUrl : 'http://redstorm.com/channel.php', // Channel File
  100.           status     : false,
  101.           cookie     : true,
  102.           oath       : false,
  103.           xfbml      : true
  104.         });
  105.  
  106.       // Additional initialization code here
  107.     };
  108.  
  109.     // Load the SDK Asynchronously
  110.     (function(d){
  111.        var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;}
  112.        js = d.createElement('script'); js.id = id; js.async = true;
  113.        js.src = "//connect.facebook.net/en_US/all.js";
  114.        d.getElementsByTagName('head')[0].appendChild(js);
  115.      }(document));{/if}
  116.   </script>
  117.  
  118. </body>
  119. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement