rendered paste body<?php/** * @copyright Copyright (C) 2005 - 2007 Open Source Matters. All rights reserved. * @license GNU/GPL, see LICENSE.php * Joomla! is free software. This version may have been modified pursuant * to the GNU General Public License, and as distributed it includes or * is derivative of works licensed under the GNU General Public License or * other free or open source software licenses. * See COPYRIGHT.php for copyright notices and details. */// no direct accessdefined( '_JEXEC' ) or die( 'Restricted access' );include_once (dirname(__FILE__).DS.'ja_vars_1.5.php');?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>"><head><jdoc:include type="head" /><?php JHTML::_('behavior.mootools'); ?><link rel="stylesheet" href="<?php echo $tmpTools->baseurl(); ?>templates/system/css/system.css" type="text/css" /><link rel="stylesheet" href="<?php echo $tmpTools->baseurl(); ?>templates/system/css/general.css" type="text/css" /><link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/template.css" type="text/css" /><link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/typo.css" type="text/css" /><script language="javascript" type="text/javascript" src="<?php echo $tmpTools->templateurl(); ?>/js/ja.script.js"></script><!-- Menu head --><?php $jamenu->genMenuHead(); ?><link href="<?php echo $tmpTools->templateurl(); ?>/css/colors/<?php echo $tmpTools->getParam(JA_TOOL_COLOR); ?>.css" rel="stylesheet" type="text/css" /><!--[if lte IE 6]><style type="text/css">.clearfix {height: 1%;}img {border: none;}h1.logo a,span.title-r,#ja-col1-center,.narrow #ja-col1-center,#ja-col1-top,.narrow #ja-col1-top,.title-r {background-position: -1000px;}</style><![endif]--><!--[if gte IE 7.0]><style type="text/css">.clearfix {display: inline-block;}</style><![endif]--><?php if ($tmpTools->isIE6()) { ?><!--[if lte IE 6]><script type="text/javascript">var siteurl = '<?php echo $tmpTools->baseurl();?>';window.addEvent ('load', makeTransBG);function makeTransBG() { makeTransBg($$('h1.logo a')); makeTransBg($('ja-col1-top')); makeTransBg($('ja-col1-center'), '', 'scale'); makeTransBg($$('.title-r')); makeTransBg($$('#ja-cssmenu li ul'), '', 'scale', 0, 2);}</script><![endif]--><?php } ?></head><body id="bd" class="<?php echo $tmpTools->getParam(JA_TOOL_SCREEN);?> fs<?php echo $tmpTools->getParam(JA_TOOL_FONT);?>" ><a name="Top" id="Top"></a><ul class="accessibility"> <li><a href="<?php echo $tmpTools->getCurrentURL();?>#ja-content" title="<?php echo JText::_("Skip to content");?>"><?php echo JText::_("Skip to content");?></a></li> <li><a href="<?php echo $tmpTools->getCurrentURL();?>#ja-mainnav" title="<?php echo JText::_("Skip to main navigation");?>"><?php echo JText::_("Skip to main navigation");?></a></li> <li><a href="<?php echo $tmpTools->getCurrentURL();?>#ja-col1" title="<?php echo JText::_("Skip to 1st column");?>"><?php echo JText::_("Skip to 1st column");?></a></li> <li><a href="<?php echo $tmpTools->getCurrentURL();?>#ja-col2" title="<?php echo JText::_("Skip to 2nd column");?>"><?php echo JText::_("Skip to 2nd column");?></a></li></ul><div id="ja-wrapper"<?php if($tmpTools->isFrontPage()) : ?> class="home-deco"<?php endif ; ?>><!-- BEGIN: HEADER --><div id="ja-headerwrap"><div id="ja-header" class="clearfix"> <?php $siteName = $tmpTools->sitename(); if ($tmpTools->getParam('logoType')=='image') { ?> <h1 class="logo"> <a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $siteName; ?></span></a> </h1> <?php } else { $logoText = (trim($tmpTools->getParam('logoText'))=='') ? $config->sitename : $tmpTools->getParam('logoText'); $sloganText = (trim($tmpTools->getParam('sloganText'))=='') ? JText::_('SITE SLOGAN') : $tmpTools->getParam('sloganText'); ?> <h1 class="logo-text"> <a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $logoText; ?></span></a> </h1> <p class="site-slogan"><?php echo $sloganText;?></p> <?php } ?> <?php if($this->countModules('user4')) : ?> <div id="ja-search"> <jdoc:include type="modules" name="user4" /> </div> <?php endif; ?></div></div><!-- END: HEADER --><!-- BEGIN: MAIN NAVIGATION --><div id="ja-mainnavwrap"<?php if ($hasSubnav) { ?> style="height: 60px;"<?php } ?>> <div id="ja-mainnav" class="clearfix"> <?php $jamenu->genMenu (0); ?> </div> <?php if ($hasSubnav) { ?> <div id="ja-subnav" class="clearfix"> <?php $jamenu->genMenu (1,1); ?> </div> <?php } ?> <!-- BEGIN: USER TOOLS --> <?php if ($tmpTools->getParam(JA_TOOL_USER)) { ?> <div id="ja-usertools"> <?php $tmpTools->genToolMenu($tmpTools->getParam(JA_TOOL_USER)); ?> </div> <?php } ?> <!-- END: USER TOOLS --></div><!-- END: MAIN NAVIGATION --><div id="ja-containerwrap<?php echo $divid; ?>"><div id="ja-container" class="clearfix"> <!-- BEGIN: CONTENT --> <div id="ja-content"> <div class="ja-innerpad clearfix"> <jdoc:include type="message" /> <?php if(!$tmpTools->isFrontPage()) : ?> <div id="ja-breadcrumb"> <jdoc:include type="module" name="breadcrumbs" /> </div> <?php endif ; ?> <div id="ja-current-content"> <?php $params = &$mainframe->getParams(); // parameters //$intro = $params->def('num_intro_articles', 4); //$leading = $params->def('num_leading_articles', 1); if (!$tmpTools->isFrontPage() || $intro || $leading) { ?> <jdoc:include type="component" /> <?php } if ( $tmpTools->isFrontPage() && $this->countModules("ja-news") ) { ?> <div id="ja-newswrap"> <jdoc:include type="modules" name="ja-news" style="raw" /> </div> <?php } ?> </div> <?php if($this->countModules('banner')) : ?> <!-- BEGIN: BANNER --> <div id="ja-banner"> <jdoc:include type="modules" name="banner" /> </div> <!-- END: BANNER --> <?php endif; ?> </div> </div> <!-- END: CONTENT --> <?php if ($ja_left || $ja_right) { ?> <!-- BEGIN: COLUMNS --> <div id="ja-colwrap"> <?php if ($ja_left) { ?> <div id="ja-col1"> <div id="ja-col1-top"> </div> <div id="ja-col1-center"><div id="ja-col1-bot"> <jdoc:include type="modules" name="left" style="xhtml" /> </div></div></div> <?php } ?> <?php if ($ja_right) { ?> <div id="ja-col2"> <jdoc:include type="modules" name="right" style="xhtml" /> </div> <?php } ?> </div><br /> <!-- END: COLUMNS --> <?php } ?></div></div><?php$spotlight = array ('user1','user2','user5','user6','user7','user8');$botsl = $tmpTools->calSpotlight ($spotlight,99.9);if( $botsl ) {?><!-- BEGIN: BOTTOM SPOTLIGHT --><div id="ja-botslwrap"> <div id="ja-botsl" class="clearfix"> <?php if( $this->countModules('user1') ) {?> <div class="ja-box<?php echo $botsl['user1']['class']; ?>" style="width: <?php echo $botsl['user1']['width']; ?>;"> <jdoc:include type="modules" name="user1" style="xhtml" /> </div> <?php } ?> <?php if( $this->countModules('user2') ) {?> <div class="ja-box<?php echo $botsl['user2']['class']; ?>" style="width: <?php echo $botsl['user2']['width']; ?>;"> <jdoc:include type="modules" name="user2" style="xhtml" /> </div> <?php } ?> <?php if( $this->countModules('user5') ) {?> <div class="ja-box<?php echo $botsl['user5']['class']; ?>" style="width: <?php echo $botsl['user5']['width']; ?>;"> <jdoc:include type="modules" name="user5" style="xhtml" /> </div> <?php } ?> <?php if( $this->countModules('user6') ) {?> <div class="ja-box<?php echo $botsl['user6']['class']; ?>" style="width: <?php echo $botsl['user6']['width']; ?>;"> <jdoc:include type="modules" name="user6" style="xhtml" /> </div> <?php } ?> <?php if( $this->countModules('user7') ) {?> <div class="ja-box<?php echo $botsl['user7']['class']; ?>" style="width: <?php echo $botsl['user7']['width']; ?>;"> <jdoc:include type="modules" name="user7" style="xhtml" /> </div> <?php } ?> <?php if( $this->countModules('user8') ) {?> <div class="ja-box<?php echo $botsl['user8']['class']; ?>" style="width: <?php echo $botsl['user8']['width']; ?>;"> <jdoc:include type="modules" name="user8" style="xhtml" /> </div> <?php } ?> </div></div><!-- END: BOTTOM SPOTLIGHT --><?php } ?><!-- BEGIN: FOOTER --><div id="ja-footerwrap"><div id="ja-footer" class="clearfix"> <jdoc:include type="modules" name="user3" /> <jdoc:include type="modules" name="footer" /></div></div><!-- END: FOOTER --></div><jdoc:include type="modules" name="debug" /></body></html>