Advertisement
Guest User

Untitled

a guest
Mar 24th, 2013
97
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. defined('_JEXEC') or die;
  3.  
  4. /**
  5.  * Template for Joomla! CMS, created with Artisteer.
  6.  * See readme.txt for more details on how to use the template.
  7.  */
  8.  
  9. require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'functions.php';
  10.  
  11. // Create alias for $this object reference:
  12. $document = $this;
  13.  
  14. // Shortcut for template base url:
  15. $templateUrl = $document->baseurl . '/templates/' . $document->template;
  16.  
  17. Artx::load("Artx_Page");
  18.  
  19. // Initialize $view:
  20. $view = $this->artx = new ArtxPage($this);
  21.  
  22. // Decorate component with Artisteer style:
  23. $view->componentWrapper();
  24.  
  25. JHtml::_('behavior.framework', true);
  26.  
  27. ?>
  28. <!DOCTYPE html>
  29. <html dir="ltr" lang="<?php echo $document->language; ?>">
  30. <head>
  31.     <jdoc:include type="head" />
  32.     <link rel="stylesheet" href="<?php echo $document->baseurl; ?>/templates/system/css/system.css" />
  33.     <link rel="stylesheet" href="<?php echo $document->baseurl; ?>/templates/system/css/general.css" />
  34.  
  35.     <!-- Created by Artisteer v4.1.0.59782 -->
  36.    
  37.    
  38.     <meta name="viewport" content="initial-scale = 1.0, maximum-scale = 1.0, user-scalable = no, width = device-width">
  39.  
  40.     <!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
  41.     <link rel="stylesheet" href="<?php echo $templateUrl; ?>/css/template.css" media="screen">
  42.     <!--[if lte IE 7]><link rel="stylesheet" href="<?php echo $templateUrl; ?>/css/template.ie7.css" media="screen" /><![endif]-->
  43.     <link rel="stylesheet" href="<?php echo $templateUrl; ?>/css/template.responsive.css" media="all"> 
  44.     <link rel="stylesheet" href="<?php echo $templateUrl; ?>/css/normalize.css" type="text/css">
  45.     <link rel="stylesheet" href="<?php echo $templateUrl; ?>/css/style2.css" type="text/css">  
  46.     <script type="text/javascript" src="<?php echo $templateUrl; ?>/js/greensock/TweenMax.min.js"></script>
  47.     <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
  48.     <script src="<?php echo $templateUrl; ?>/js/jquery.queryloader2.js" type="text/javascript"></script>
  49.     <script>window.jQuery || document.write('<script src="<?php echo $templateUrl; ?>/js/jquery-1.9.1.min.js"><\/script>')</script>
  50.     <script src="<?php echo $templateUrl; ?>/js/jquery.superscrollorama.js"></script>
  51.    
  52.    
  53.  
  54.    
  55.    
  56.    
  57.  
  58. <script src="<?php echo $templateUrl; ?>/js/smoothscroll.js" type="text/javascript"></script>
  59.     <script>if ('undefined' != typeof jQuery) document._artxJQueryBackup = jQuery;</script>
  60.     <script src="<?php echo $templateUrl; ?>/jquery.js"></script>
  61.     <script>jQuery.noConflict();</script>
  62.  
  63.     <script src="<?php echo $templateUrl; ?>/script.js"></script>
  64.     <?php $view->includeInlineScripts() ?>
  65.     <script>if (document._artxJQueryBackup) jQuery = document._artxJQueryBackup;</script>
  66.     <script src="<?php echo $templateUrl; ?>/script.responsive.js"></script>
  67.  
  68.    
  69.  
  70. </head>
  71. <body>
  72.  
  73.  
  74. <div id="art-main">
  75.  
  76.  
  77. <header class="art-header clearfix"><?php echo $view->position('header', 'art-nostyle'); ?>
  78.   <?php if ($view->containsModules('user3', 'extra1', 'extra2')) : ?>
  79. <nav class="art-nav clearfix">
  80.     <div class="art-nav-inner">
  81.    
  82. <?php if ($view->containsModules('extra1')) : ?>
  83. <div class="art-hmenu-extra1"><?php echo $view->position('extra1'); ?></div>
  84. <?php endif; ?>
  85. <?php if ($view->containsModules('extra2')) : ?>
  86. <div class="art-hmenu-extra2"><?php echo $view->position('extra2'); ?></div>
  87. <?php endif; ?>
  88. <?php echo $view->position('user3'); ?>      </div>
  89.     </nav><div class="logoimage"><div class="inner"><a href="index.php"><img src="/templates/vertex/images/logo.png" alt="Vertex Web Cartel" border="0"></a></div>
  90.     </div>
  91. <?php endif; ?>
  92. </header>
  93. <div class="cloudsholder"><div class="background1"></div>
  94. <div class="background2"></div>
  95. <div class="background3"></div>
  96. <div class="background4"></div></div>
  97. <?php
  98. $app = JFactory::getApplication();
  99. $menu = $app->getMenu();
  100. if ($menu->getActive() == $menu->getDefault()) : ?>
  101.       <style type="text/css">#art-sheet {
  102. display:none!important;
  103. }</style>
  104.   <?php endif; ?>
  105.    
  106. <div class="art-sheet clearfix" id="art-sheet">
  107.             <?php echo $view->position('banner1', 'art-nostyle'); ?>
  108. <?php echo $view->positions(array('top1' => 33, 'top2' => 33, 'top3' => 34), 'art-block'); ?>
  109. <div class="art-layout-wrapper clearfix">
  110.                 <div class="art-content-layout">
  111.                     <div class="art-content-layout-row">
  112.                         <?php if ($view->containsModules('left')) : ?>
  113. <div class="art-layout-cell art-sidebar1 clearfix">
  114. <?php echo $view->position('left', 'art-block'); ?>
  115.  
  116.  
  117.  
  118.                       </div>
  119. <?php endif; ?>
  120.                         <div class="art-layout-cell art-content clearfix">
  121. <?php
  122.   echo $view->position('banner2', 'art-nostyle');
  123.   if ($view->containsModules('breadcrumb'))
  124.     echo artxPost($view->position('breadcrumb'));
  125.   echo $view->positions(array('user1' => 50, 'user2' => 50), 'art-article');
  126.   echo $view->position('banner3', 'art-nostyle');
  127.   echo artxPost(array('content' => '<jdoc:include type="message" />', 'classes' => ' art-messages'));
  128.   echo '<jdoc:include type="component" />';
  129.   echo $view->position('banner4', 'art-nostyle');
  130.   echo $view->positions(array('user4' => 50, 'user5' => 50), 'art-article');
  131.   echo $view->position('banner5', 'art-nostyle');
  132. ?>
  133.  
  134.  
  135.  
  136.                         </div>
  137.                         <?php if ($view->containsModules('right')) : ?>
  138. <div class="art-layout-cell art-sidebar2 clearfix">
  139. <?php echo $view->position('right', 'art-block'); ?>
  140.  
  141.  
  142.                       </div>
  143. <?php endif; ?>
  144.                     </div>
  145.                 </div>
  146.     </div>
  147. <?php echo $view->positions(array('bottom1' => 33, 'bottom2' => 33, 'bottom3' => 34), 'art-block'); ?>
  148. <?php echo $view->position('banner6', 'art-nostyle'); ?>
  149.  
  150.  
  151.   </div>
  152.  
  153.  
  154. <?php if ($view->containsModules('worldregion')) : ?>
  155. <div class="worldregion">
  156. <div class="worldregioninner"><?php echo $view->position('worldregion'); ?></div></div>
  157. <?php endif; ?>
  158. <?php if ($view->containsModules('skyregion1','skyregionhead','skyregion2','skyregion3')) : ?>
  159. <div class="skyregion" id="skyregion">
  160. <!-- Parallax -->
  161. <div id="content-wrapper">
  162. <div id="examples-parallax">
  163.             <h2 id="parallax-it">Parallax It</h2>
  164.             <h2 id="parallax-it-left">Parallax It</h2>
  165.             <h2 id="parallax-it-right">Parallax It</h2>
  166.         </div></div>
  167.         <!-- Parallax -->
  168. <div class="skyinner" id="skyinner">       
  169.             <h2 id="scale-it">
  170. <?php echo $view->position('skyregionheading'); ?> <?php echo $view->positions(array('skyregion1' => 40, 'skyregion2' => 20, 'skyregion3' => 40), 'art-article'); ?></h2></div></div>
  171.       </div>
  172. <?php endif; ?>
  173. <?php if ($view->containsModules('horizonregion1','horizonregionheading','horizonregion2')) : ?>
  174. <div class="horizonregion"><div class="horizoninner" id="horizoninner">
  175. <h2 id="fly-it"><?php echo $view->position('horizonregionheading'); ?><?php echo $view->positions(array('horizonregion1' => 50, 'horizonregion2' => 50), 'art-article'); ?></h2>
  176.            
  177.             </div>
  178. <?php endif; ?>
  179. <?php if ($view->containsModules('forestregionheading','forestregion1','forestregion2')) : ?>
  180.  
  181. <div class="forestregion"><div class="forestinner"><?php echo $view->position('forestregionheading'); ?><?php echo $view->positions(array('forestregion1' => 50, 'forestregion2' => 50), 'art-article'); ?></div></div></div>
  182. <?php endif; ?>
  183. <?php if ($view->containsModules('groundregionheading','groundregion')) : ?>
  184. <div class="groundregion"><div class="groundinner"><?php echo $view->position('groundregionheading'); ?><?php echo $view->position('groundregion'); ?></div></div>
  185. <?php endif; ?>
  186. <?php if ($view->containsModules('basementregion')) : ?>
  187. <div class="basementregion"><div class="basementinner"><?php echo $view->position('basementregion'); ?></div></div>
  188. <?php endif; ?>
  189. <footer class="art-footer clearfix">
  190.   <div class="art-footer-inner">
  191. <div class="art-content-layout">
  192.     <div class="art-content-layout-row">
  193.     <div class="art-layout-cell" style="width: 25%">
  194. <?php if ($view->containsModules('footer1')) : ?>
  195.     <?php echo $view->position('footer1', 'art-nostyle'); ?>
  196. <?php else: ?>
  197.         <p><br></p>
  198.         <p>Copyright © 2012. All Rights Reserved.</p>
  199.     <?php endif; ?>
  200. </div><div class="art-layout-cell" style="width: 25%">
  201. <?php if ($view->containsModules('footer2')) : ?>
  202.     <?php echo $view->position('footer2', 'art-nostyle'); ?>
  203. <?php else: ?>
  204.         <p><br></p>
  205.     <?php endif; ?>
  206. </div><div class="art-layout-cell" style="width: 25%">
  207. <?php if ($view->containsModules('footer3')) : ?>
  208.     <?php echo $view->position('footer3', 'art-nostyle'); ?>
  209. <?php else: ?>
  210.         <p><br></p>
  211.     <?php endif; ?>
  212. </div><div class="art-layout-cell" style="width: 25%">
  213. <?php if ($view->containsModules('footer4')) : ?>
  214.     <?php echo $view->position('footer4', 'art-nostyle'); ?>
  215. <?php else: ?>
  216.         <p><br></p>
  217.     <?php endif; ?>
  218. </div>
  219.     </div>
  220. </div>
  221.  
  222.   </div>
  223. </footer>
  224.  
  225. </div>
  226.  
  227.  
  228.  
  229. <?php echo $view->position('debug'); ?>
  230.  
  231. <script>
  232.         $(document).ready(function() {
  233.             var controller = $.superscrollorama();
  234.             // individual element tween examples
  235.             controller.addTween('#scale-it', TweenMax.fromTo( $('#scale-it'), .55, {css:{opacity:0, fontSize:'20px'}, immediateRender:true, ease:Quad.easeInOut}, {css:{opacity:1, fontSize:'38px'}, ease:Quad.easeInOut}));
  236.         });
  237.         controller.addTween('#fly-it', TweenMax.from( $('#fly-it'), .25, {css:{right:'1000px'}, ease:Quad.easeInOut}));
  238.                     // parallax example, setting duration ties animation to scroll position
  239.                 // you can target a scroll position instead of an element (whose position can change)
  240.                 controller.addTween(
  241.                     '#examples-parallax',
  242.                     (new TimelineLite())
  243.                         .append([
  244.                             TweenMax.fromTo($('#parallax-it-left'), 1,
  245.                                 {css:{top: 200}, immediateRender:true},
  246.                                 {css:{top: -600}}),
  247.                             TweenMax.fromTo($('#parallax-it-right'), 1,
  248.                                 {css:{top: 500}, immediateRender:true},
  249.                                 {css:{top: -1250}})
  250.                         ]),
  251.                     1000 // scroll duration of tween
  252.                 );
  253.            
  254.        
  255.  
  256.     </script>
  257. </body>
  258. </html>
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement