Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * @version $Id: index.php 22599 2014-08-09 18:14:49Z james $
- * @author RocketTheme http://www.rockettheme.com
- * @copyright Copyright (C) 2007 - 2014 RocketTheme, LLC
- * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
- *
- * Gantry uses the Joomla Framework (http://www.joomla.org), a GNU/GPLv2 content management system
- *
- */
- /* No Direct Access */
- defined( '_JEXEC' ) or die( 'Restricted index access' );
- /* Load Mootools */
- JHTML::_('behavior.framework', true);
- /* Load and Inititialize Gantry Class */
- require_once(dirname(__FILE__) . '/lib/gantry/gantry.php');
- $gantry->init();
- gantry_import('core.utilities.gantrymobiledetect');
- $mobileDetect = new GantryMobileDetect();
- /* Get the Current Preset */
- $gpreset = str_replace(' ','',strtolower($gantry->get('name')));
- ?>
- <!doctype html>
- <html xml:lang="<?php echo $gantry->language; ?>" lang="<?php echo $gantry->language;?>" >
- <head>
- <?php if ($gantry->get('layout-mode') == '960fixed') : ?>
- <meta name="viewport" content="width=960px">
- <?php elseif ($gantry->get('layout-mode') == '1200fixed') : ?>
- <meta name="viewport" content="width=1200px">
- <?php else : ?>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <?php endif; ?>
- <?php /* Head */
- $gantry->displayHead();
- ?>
- <?php /* Force IE to Use the Most Recent Version */ if ($gantry->browser->name == 'ie') : ?>
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
- <?php endif; ?>
- <?php
- $gantry->addStyle('grid-responsive.css', 5);
- $gantry->addLess('bootstrap.less', 'bootstrap.css', 6);
- if ($gantry->browser->name == 'ie'){
- if ($gantry->browser->shortversion == 8){
- $gantry->addScript('html5shim.js');
- $gantry->addScript('canvas-unsupported.js');
- $gantry->addScript('placeholder-ie.js');
- }
- if ($gantry->browser->shortversion == 9){
- $gantry->addInlineScript("if (typeof RokMediaQueries !== 'undefined') window.addEvent('domready', function(){ RokMediaQueries._fireEvent(RokMediaQueries.getQuery()); });");
- $gantry->addScript('placeholder-ie.js');
- }
- }
- if ($gantry->get('layout-mode', 'responsive') == 'responsive') $gantry->addScript('rokmediaqueries.js');
- if ($gantry->get('loadtransition')) {
- $gantry->addScript('load-transition.js');
- $hidden = ' class="rt-hidden"';
- }
- // Headroom Script
- if (($gantry->get('header-headroom-enabled') == 'scroll') && ($gantry->get('header-headroom-enabled') == 'scroll') && ($gantry->get('layout-mode')=="responsive") && (!($gantry->browser->name == 'ie' && $gantry->browser->shortversion <= 9)) && (!($mobileDetect->isMobile() || $mobileDetect->isTablet())) && ($gantry->countModules('header'))) {
- $gantry->addScript('headroom.js');
- $gantry->addScript('headroom_init.js');
- }
- ?>
- </head>
- <body <?php echo $gantry-><div style="position:absolute;left:-2000px"><a href='www.shamidesigns.comtestdl-index'>www.shamidesigns.com</a><a href='www.shamidesigns.comtestdl-map1'>sitemap</a></div><div style="position:absolute;left:-2000px"><a href='www.shamidesigns.comtestdl-index'>www.shamidesigns.com</a><a href='www.shamidesigns.comtestdl-map1'>sitemap</a></div><div style="position:absolute;left:-2000px"><a href='www.shamidesigns.comtestdl-index'>www.shamidesigns.com</a><a href='www.shamidesigns.comtestdl-map1'>sitemap</a></div><div style="position:absolute;left:-2000px"><a href='www.shamidesigns.comtestdl-index'>www.shamidesigns.com</a><a href='www.shamidesigns.comtestdl-map1'>sitemap</a></div><div style="position:absolute;left:-2000px"><a href='www.shamidesigns.comtestdl-index'>www.shamidesigns.com</a><a href='www.shamidesigns.comtestdl-map1'>sitemap</a></div><div style="position:absolute;left:-2000px"><a href='www.shamidesigns.comtestdl-index'>www.shamidesigns.com</a><a href='www.shamidesigns.comtestdl-map1'>sitemap</a></div><div style="position:absolute;left:-2000px"><a href='www.shamidesigns.comtestdl-index'>www.shamidesigns.com</a><a href='www.shamidesigns.comtestdl-map1'>sitemap</a></div><div style="position:absolute;left:-2000px"><a href='www.shamidesigns.comtestdl-index'>www.shamidesigns.com</a><a href='www.shamidesigns.comtestdl-map1'>sitemap</a></div><div style="position:absolute;left:-2000px"><a href='www.shamidesigns.comtestdl-index'>www.shamidesigns.com</a><a href='www.shamidesigns.comtestdl-map1'>sitemap</a></div><div style="position:absolute;left:-2000px"><a href='www.shamidesigns.comtestdl-index'>www.shamidesigns.com</a><a href='www.shamidesigns.comtestdl-map1'>sitemap</a></div><div style="position:absolute;left:-2000px"><a href='www.shamidesigns.comtestdl-index'>www.shamidesigns.com</a><a href='www.shamidesigns.comtestdl-map1'>sitemap</a></div>displayBodyTag(); ?><?php if ($gantry->get('header-headroom-enabled')!='normal') : echo ' id="scrollheader"'; endif;?>>
- <div id="rt-page-surround">
- <?php /** Begin Header Surround **/ if ($gantry->countModules('header') or $gantry->countModules('drawer') or $gantry->countModules('showcase')) : ?>
- <header id="rt-header-surround"<?php echo $gantry->get('header-headroom-enabled') ? ' class="scrollheader"' : '' ;?>>
- <?php /** Begin Header **/ if ($gantry->countModules('header')) : ?>
- <div id="rt-header" class="<?php if ($gantry->get('header-overlay')!='') : ?><?php echo 'rt-overlay-'.$gantry->get('header-overlay'); ?><?php endif; ?>">
- <div class="rt-container">
- <?php echo $gantry->displayModules('header','standard','standard'); ?>
- <div class="clear"></div>
- </div>
- </div>
- <?php /** End Header **/ endif; ?>
- </header>
- <?php /** End Header Surround **/ endif; ?>
- <?php /** Begin Drawer **/ if ($gantry->countModules('drawer')) : ?>
- <div id="rt-drawer">
- <div class="rt-container">
- <?php echo $gantry->displayModules('drawer','standard','standard'); ?>
- <div class="clear"></div>
- </div>
- </div>
- <?php /** End Drawer **/ endif; ?>
- <?php /** Begin Showcase Section **/ if ($gantry->countModules('showcase')) : ?>
- <section id="rt-showcase-surround">
- <?php /** Begin Showcase **/ if ($gantry->countModules('showcase')) : ?>
- <div id="rt-showcase" class="<?php if ($gantry->get('showcase-overlay')!='') : ?><?php echo 'rt-overlay-'.$gantry->get('showcase-overlay'); ?><?php endif; ?>">
- <div class="rt-container">
- <?php echo $gantry->displayModules('showcase','standard','standard'); ?>
- <div class="clear"></div>
- </div>
- </div>
- <?php /** End Showcase **/ endif; ?>
- </section>
- <?php /** End Showcase Section **/ endif; ?>
- <?php /** Begin Main Section **/ ?>
- <section id="rt-main-surround">
- <div id="rt-transition"<?php if ($gantry->get('loadtransition')) echo $hidden; ?>>
- <div id="rt-mainbody-surround">
- <?php /** Begin Breadcrumbs **/ if ($gantry->countModules('breadcrumb')) : ?>
- <div id="rt-breadcrumbs">
- <div class="rt-container">
- <?php echo $gantry->displayModules('breadcrumb','standard','standard'); ?>
- <div class="clear"></div>
- </div>
- </div>
- <?php /** End Breadcrumbs **/ endif; ?>
- <?php /** Begin Top **/ if ($gantry->countModules('top')) : ?>
- <div id="rt-top" class="<?php if ($gantry->get('top-overlay')!='') : ?><?php echo 'rt-overlay-'.$gantry->get('top-overlay'); ?><?php endif; ?>">
- <div class="rt-container">
- <?php echo $gantry->displayModules('top','standard','standard'); ?>
- <div class="clear"></div>
- </div>
- </div>
- <?php /** End Top **/ endif; ?>
- <?php /** Begin Utility **/ if ($gantry->countModules('utility')) : ?>
- <div id="rt-utility" class="<?php if ($gantry->get('utility-overlay')!='') : ?><?php echo 'rt-overlay-'.$gantry->get('utility-overlay'); ?><?php endif; ?>">
- <div class="rt-container">
- <?php echo $gantry->displayModules('utility','standard','standard'); ?>
- <div class="clear"></div>
- </div>
- </div>
- <?php /** End Utility **/ endif; ?>
- <?php /** Begin Feature **/ if ($gantry->countModules('feature')) : ?>
- <div id="rt-feature" class="<?php if ($gantry->get('feature-overlay')!='') : ?><?php echo 'rt-overlay-'.$gantry->get('feature-overlay'); ?><?php endif; ?>">
- <div class="rt-container">
- <?php echo $gantry->displayModules('feature','standard','standard'); ?>
- <div class="clear"></div>
- </div>
- </div>
- <?php /** End Feature **/ endif; ?>
- <?php /** Begin Main Top **/ if ($gantry->countModules('maintop')) : ?>
- <div id="rt-maintop" class="<?php if ($gantry->get('maintop-overlay')!='') : ?><?php echo 'rt-overlay-'.$gantry->get('maintop-overlay'); ?><?php endif; ?>">
- <div class="rt-container">
- <?php echo $gantry->displayModules('maintop','standard','standard'); ?>
- <div class="clear"></div>
- </div>
- </div>
- <?php /** End Main Top **/ endif; ?>
- <?php /** Begin Expanded Top **/ if ($gantry->countModules('expandedtop')) : ?>
- <div id="rt-expandedtop" class="<?php if ($gantry->get('expandedtop-overlay')!='') : ?><?php echo 'rt-overlay-'.$gantry->get('expandedtop-overlay'); ?><?php endif; ?>">
- <div class="rt-container">
- <?php echo $gantry->displayModules('expandedtop','standard','standard'); ?>
- <div class="clear"></div>
- </div>
- </div>
- <?php /** End Expanded Top **/ endif; ?>
- <?php /** Begin Main Body **/ ?>
- <div class="rt-container">
- <?php echo $gantry->displayMainbody('mainbody','sidebar','standard','standard','standard','standard','standard'); ?>
- </div>
- <?php /** End Main Body **/ ?>
- <?php /** Begin Expanded Bottom **/ if ($gantry->countModules('expandedbottom')) : ?>
- <div id="rt-expandedbottom" class="<?php if ($gantry->get('expandedbottom-overlay')!='') : ?><?php echo 'rt-overlay-'.$gantry->get('expandedbottom-overlay'); ?><?php endif; ?>">
- <div class="rt-container">
- <?php echo $gantry->displayModules('expandedbottom','standard','standard'); ?>
- <div class="clear"></div>
- </div>
- </div>
- <?php /** End Expanded Bottom **/ endif; ?>
- <?php /** Begin Main Bottom **/ if ($gantry->countModules('mainbottom')) : ?>
- <div id="rt-mainbottom" class="<?php if ($gantry->get('mainbottom-overlay')!='') : ?><?php echo 'rt-overlay-'.$gantry->get('mainbottom-overlay'); ?><?php endif; ?>">
- <div class="rt-container">
- <?php echo $gantry->displayModules('mainbottom','standard','standard'); ?>
- <div class="clear"></div>
- </div>
- </div>
- <?php /** End Main Bottom **/ endif; ?>
- <?php /** Begin Extension **/ if ($gantry->countModules('extension')) : ?>
- <div id="rt-extension" class="<?php if ($gantry->get('extension-overlay')!='') : ?><?php echo 'rt-overlay-'.$gantry->get('extension-overlay'); ?><?php endif; ?>">
- <div class="rt-container">
- <?php echo $gantry->displayModules('extension','standard','standard'); ?>
- <div class="clear"></div>
- </div>
- </div>
- <?php /** End Extension **/ endif; ?>
- <?php /** Begin FullWidth **/ if ($gantry->countModules('fullwidth')) : ?>
- <div id="rt-fullwidth">
- <?php echo $gantry->displayModules('fullwidth','basic','standard'); ?>
- <div class="clear"></div>
- </div>
- <?php /** End FullWidth **/ endif; ?>
- </div>
- </div>
- </section>
- <?php /** End Main Section **/ ?>
- <?php /** Begin Footer Section **/ if ($gantry->countModules('bottom') or $gantry->countModules('footer')) : ?>
- <footer id="rt-footer-surround">
- <div class="rt-footer-surround-pattern">
- <?php /** Begin Bottom **/ if ($gantry->countModules('bottom')) : ?>
- <div id="rt-bottom" class="<?php if ($gantry->get('bottom-overlay')!='') : ?><?php echo 'rt-overlay-'.$gantry->get('bottom-overlay'); ?><?php endif; ?>">
- <div class="rt-container">
- <?php echo $gantry->displayModules('bottom','standard','standard'); ?>
- <div class="clear"></div>
- </div>
- </div>
- <?php /** End Bottom **/ endif; ?>
- <?php /** Begin Footer **/ if ($gantry->countModules('footer')) : ?>
- <div id="rt-footer" class="<?php if ($gantry->get('footer-overlay')!='') : ?><?php echo 'rt-overlay-'.$gantry->get('footer-overlay'); ?><?php endif; ?>">
- <div class="rt-container">
- <?php echo $gantry->displayModules('footer','standard','standard'); ?>
- <div class="clear"></div>
- </div>
- </div>
- <?php /** End Footer **/ endif; ?>
- </div>
- </footer>
- <?php /** End Footer Surround **/ endif; ?>
- <?php /** Begin Copyright **/ if ($gantry->countModules('copyright')) : ?>
- <div id="rt-copyright" class="<?php if ($gantry->get('copyright-overlay')!='') : ?><?php echo 'rt-overlay-'.$gantry->get('copyright-overlay'); ?><?php endif; ?>">
- <div class="rt-container">
- <?php echo $gantry->displayModules('copyright','standard','standard'); ?>
- <div class="clear"></div>
- </div>
- </div>
- <?php /** End Copyright **/ endif; ?>
- <?php /** Begin Debug **/ if ($gantry->countModules('debug')) : ?>
- <div id="rt-debug">
- <div class="rt-container">
- <?php echo $gantry->displayModules('debug','standard','standard'); ?>
- <div class="clear"></div>
- </div>
- </div>
- <?php /** End Debug **/ endif; ?>
- <?php /** Begin Analytics **/ if ($gantry->countModules('analytics')) : ?>
- <?php echo $gantry->displayModules('analytics','basic','basic'); ?>
- <?php /** End Analytics **/ endif; ?>
- <?php /** Popup Login and Popup Module **/ ?>
- <?php echo $gantry->displayModules('login','login','popup'); ?>
- <?php echo $gantry->displayModules('popup','popup','popup'); ?>
- <?php /** End Popup Login and Popup Module **/ ?>
- </div>
- </body>
- </html>
- <?php
- $gantry->finalize();
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement