Skip to content

Instantly share code, notes, and snippets.

@shyammtp
Created June 26, 2013 07:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shyammtp/5865362 to your computer and use it in GitHub Desktop.
Save shyammtp/5865362 to your computer and use it in GitHub Desktop.
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE_AFL.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@magentocommerce.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade Magento to newer
* versions in the future. If you wish to customize Magento for your
* needs please refer to http://www.magentocommerce.com for more information.
*
* @category design
* @package default_modern
* @copyright Copyright (c) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
?>
<script type="text/javascript">
function hideshow(which){
if (!document.getElementById)
return
if (which.style.display=="block")
which.style.display="none"
else
which.style.display="block"
}
</script>
<div id="header">
<div class="header_outer">
<div class="header_inner">
<!--header top left start-->
<div class="header_top_left">
<div class="header_top_left_top">
<ul>
<li class="active" id="main_site"><a class="h_t_l_a1" href="<?php echo $this->getUrl('');?>" title="Particuliers">Particuliers</a></li>
<li id="conventionees"><a class="h_t_l_a2 convention" href="javascript:;" title="conventionn&eacute;s">conventionn&eacute;s</a></li>
<li id="hoteilers"><a class="h_t_l_a3" href="<?php echo $this->getUrl('',array('_direct' => 'booklet.html')) ?>"title="H&ocirc;teliers">H&ocirc;teliers</a></li>
</ul>
</div>
<div class="header_top_left_bottom">
<h1>
<?php if ($this->getIsHomePage()):?>
<a class="header_logo" href="<?php echo $this->getUrl('') ?>" title="<?php echo $this->getLogoAlt() ?>"><img src="<?php echo $this->getLogoSrc() ?>" width="165" height="57" alt="<?php echo $this->getLogoAlt() ?>" /></a>
<?php else:?>
<a class="header_logo" href="<?php echo $this->getUrl('') ?>" title="<?php echo $this->getLogoAlt() ?>"><img src="<?php echo $this->getLogoSrc() ?>" width="165" height="57" alt="<?php echo $this->getLogoAlt() ?>" /></a>
<?php endif;?>
</h1>
<?php echo Mage::getStoreConfig('simmonssettings/general/order_discount')?$this->getChildHtml('header_discountstaticblocks'):"";?>
</div>
</div>
<!--header top left end-->
<!--header top right start-->
<div class="header_top_right">
<?php echo $this->getChildHtml('header_contactsstaticblocks');?>
<!--header top right end-->
<!--header top right right start-->
<div class="header_top_right_right">
<div class="welcomemessage"><span><?php echo $this->getWelcome()?> <?php if(Mage::getSingleton('customer/session')->isLoggedIn()):?>
</span><a class="header_logout_bg welcom_mess_logout" href="<?php echo $this->getUrl('customer/account/logout');?>" title="<?php echo $this->__('Log Out')?>"><?php echo $this->__('Log Out')?></a>
<?php endif;?></div>
<div class="header_top_right_top_part">
<?php //echo $this->getLayout()->createBlock('cms/block')->setBlockId('toplinks')->toHtml() ?>
<ul>
<?php if(Mage::helper('wishlist')->isAllow()):?>
<li ><a class="h_t_r_a1" href="<?php echo $this->getUrl('wishlist');?>" title="<?php echo $this->__('My Wishlist')?>"><?php echo $this->__('My Wishlist')?></a></li><?php endif;?>
<li><a class="h_t_r_a2" href="<?php echo $this->getUrl('checkout/cart');?>" title="<?php echo $this->__('My Cart')?>"><?php echo $this->__('My Cart')?></a><?php if(Mage::helper("checkout/cart")->getItemsCount()>0):?><p><?php echo Mage::helper("checkout/cart")->getItemsCount();?> articles - <?php echo number_format(Mage::getSingleton('checkout/cart')->getQuote()->getGrandTotal(),2);?><sup><?php echo Mage::app()->getStore()->getCurrentCurrencyCode() ?></sup></p><?php endif;?></li>
<li><a class="h_t_r_a3" href="<?php echo $this->getUrl('customer/account');?>" title="<?php echo $this->__('My Account')?>"><?php echo $this->__('My Account')?></a></li>
</ul>
</div>
<!--search box start-->
<?php echo $this->getChildHtml('topSearch') ?>
<!--search end-->
</div>
</div>
<?php echo $this->getChildHtml('topMenu') ?>
<?php echo $this->getChildHtml('breadcrumbs') ?>
<!--home bottom menu end-->
</div>
</div>
</div>
<div class="goto_top" style="display: none;">
<a href="javascript:;" title="TOP" class="go-top">TOP</a>
</div>
<div id="conventionees_popup">
<div class="pupup_inner">
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('conventionees_popup_info')->toHtml() ?>
<a href="javascript:;" title="<?php echo $this->__('Close')?> " class="closeicon"> &nbsp; </a>
</div>
</div>
<script>
//<![CDATA[
jQuery(document).ready(function(){
jQuery(".convention").live('click',function(){
jQuery('#conventionees_popup').reveal({ // The item which will be opened with reveal
animation: 'none', // fade, fadeAndPop, none
animationspeed: 600, // how fast animtions are
closeonbackgroundclick: false, // if you click background will modal close?
dismissmodalclass: 'closeicon', // the class of a button or element that will close an open modal
scrolltop:0
});
});
});
//]]>
</script>
<?php if(Mage::getSingleton('core/session')->getData('startupload')==""):?><script>
//<![CDATA[
var startupurl = '<?php echo $this->getUrl('settings/startup/preload'); ?>';
var startup = new Startup(startupurl);
startup.load();
//]]>
</script><?php endif;?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment