?
Path : /home/admin/public_html/old/happy2/templates/ja_travel/blocks/ |
Current File : /home/admin/public_html/old/happy2/templates/ja_travel/blocks/header.php |
<?php // no direct access defined ( '_JEXEC' ) or die ( 'Restricted access' ); /* # ------------------------------------------------------------------------ # JA Travel Template for Joomla 1.6 # ------------------------------------------------------------------------ # Copyright (C) 2004-2009 J.O.O.M Solutions Co., Ltd. All Rights Reserved. # @license - Copyrighted Commercial Software # Author: J.O.O.M Solutions Co., Ltd # Websites: http://www.joomlart.com - http://www.joomlancers.com # This file may not be redistributed in whole or significant part. # ------------------------------------------------------------------------ */ ?> <?php $app = JFactory::getApplication(); $siteName = $app->getCfg('sitename'); if ($this->getParam('logoType', 'image')=='image'): ?> <h1 class="logo"> <a href="<?php JURI::base(true) ?>" title="<?php echo $siteName; ?>"><span><?php echo $siteName; ?></span></a> </h1> <?php else: $logoText = (trim($this->getParam('logoText'))=='') ? $siteName : JText::_(trim($this->getParam('logoText'))); $sloganText = JText::_(trim($this->getParam('sloganText'))); ?> <div class="logo-text"> <h1><a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $logoText; ?></span></a></h1> <p class="site-slogan"><?php echo $sloganText;?></p> </div> <?php endif; ?> <?php if($this->countModules('slogan')) : ?> <div id="ja-slogan"> <jdoc:include type="modules" name="slogan" /> </div> <?php endif; ?> <?php if($this->countModules('top_menu')) : ?> <div id="ja-topheader"> <jdoc:include type="modules" name="top_menu" /> </div> <?php endif; ?> <?php if($this->countModules('search')) : ?> <div id="ja-search"> <jdoc:include type="modules" name="search" /> </div> <?php endif; ?>