| [ Index ] |
PHP Cross Reference of Joomla 1.5.25 |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved. 4 * @license GNU/GPL, see LICENSE.php 5 * Joomla! is free software. This version may have been modified pursuant 6 * to the GNU General Public License, and as distributed it includes or 7 * is derivative of works licensed under the GNU General Public License or 8 * other free or open source software licenses. 9 * See COPYRIGHT.php for copyright notices and details. 10 */ 11 12 // no direct access 13 defined( '_JEXEC' ) or die( 'Restricted access' ); 14 15 include_once (dirname(__FILE__).DS.'/ja_vars.php'); 16 17 ?> 18 19 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 20 21 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>"> 22 23 <head> 24 <jdoc:include type="head" /> 25 <?php JHTML::_('behavior.mootools'); ?> 26 27 <link rel="stylesheet" href="<?php echo $tmpTools->baseurl(); ?>templates/system/css/system.css" type="text/css" /> 28 <link rel="stylesheet" href="<?php echo $tmpTools->baseurl(); ?>templates/system/css/general.css" type="text/css" /> 29 <link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/template.css" type="text/css" /> 30 31 <script language="javascript" type="text/javascript" src="<?php echo $tmpTools->templateurl(); ?>/js/ja.script.js"></script> 32 33 <?php if ($tmpTools->getParam('rightCollapsible')): ?> 34 <script language="javascript" type="text/javascript"> 35 var rightCollapseDefault='<?php echo $tmpTools->getParam('rightCollapseDefault'); ?>'; 36 var excludeModules='<?php echo $tmpTools->getParam('excludeModules'); ?>'; 37 </script> 38 <script language="javascript" type="text/javascript" src="<?php echo $tmpTools->templateurl(); ?>/js/ja.rightcol.js"></script> 39 <?php endif; ?> 40 41 <?php if($this->direction == 'rtl') : ?> 42 <link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/template_rtl.css" type="text/css" /> 43 <?php else : ?> 44 <link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/menu.css" type="text/css" /> 45 <?php endif; ?> 46 47 <?php if ($this->countModules('hornav')): ?> 48 <?php if ($tmpTools->getParam('horNavType') == 'css'): ?> 49 <link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/ja-sosdmenu.css" type="text/css" /> 50 <script language="javascript" type="text/javascript" src="<?php echo $tmpTools->templateurl(); ?>/js/ja.cssmenu.js"></script> 51 <?php else: ?> 52 <link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/ja-sosdmenu.css" type="text/css" /> 53 <script language="javascript" type="text/javascript" src="<?php echo $tmpTools->templateurl(); ?>/js/ja.moomenu.js"></script> 54 <?php endif; ?> 55 <?php endif; ?> 56 57 <?php if ($tmpTools->getParam('theme_header') && $tmpTools->getParam('theme_header')!='-1') : ?> 58 <link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/styles/header/<?php echo $tmpTools->getParam('theme_header'); ?>/style.css" type="text/css" /> 59 <?php endif; ?> 60 <?php if ($tmpTools->getParam('theme_background') && $tmpTools->getParam('theme_background')!='-1') : ?> 61 <link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/styles/background/<?php echo $tmpTools->getParam('theme_background'); ?>/style.css" type="text/css" /> 62 <?php endif; ?> 63 <?php if ($tmpTools->getParam('theme_elements') && $tmpTools->getParam('theme_elements')!='-1') : ?> 64 <link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/styles/elements/<?php echo $tmpTools->getParam('theme_elements'); ?>/style.css" type="text/css" /> 65 <?php endif; ?> 66 67 <!--[if IE 7.0]> 68 <style type="text/css"> 69 .clearfix {display: inline-block;} 70 </style> 71 <![endif]--> 72 <?php if ($tmpTools->isIE6()): ?> 73 <!--[if lte IE 6]> 74 <script type="text/javascript"> 75 var siteurl = '<?php echo $tmpTools->baseurl();?>'; 76 77 window.addEvent ('load', makeTransBG); 78 function makeTransBG() { 79 fixIEPNG($E('.ja-headermask'), '', '', 1); 80 fixIEPNG($E('h1.logo a')); 81 fixIEPNG($$('img')); 82 fixIEPNG ($$('#ja-mainnav ul.menu li ul'), '', 'scale', 0, 2); 83 } 84 </script> 85 <style type="text/css"> 86 .ja-headermask, h1.logo a, #ja-cssmenu li ul { background-position: -1000px; } 87 #ja-cssmenu li ul li, #ja-cssmenu li a { background:transparent url(<?php echo $tmpTools->templateurl(); ?>/images/blank.png) no-repeat right;} 88 .clearfix {height: 1%;} 89 </style> 90 <![endif]--> 91 <?php endif; ?> 92 93 <style type="text/css"> 94 #ja-header,#ja-mainnav,#ja-container,#ja-botsl,#ja-footer {width: <?php echo $tmpWidth; ?>;margin: 0 auto;} 95 #ja-wrapper {min-width: <?php echo $tmpWrapMin; ?>;} 96 </style> 97 </head> 98 99 <body id="bd" class="fs<?php echo $tmpTools->getParam(JA_TOOL_FONT);?> <?php echo $tmpTools->browser();?>" > 100 <a name="Top" id="Top"></a> 101 <ul class="accessibility"> 102 <li><a href="#ja-content" title="<?php echo JText::_("Skip to content");?>"><?php echo JText::_("Skip to content");?></a></li> 103 <li><a href="#ja-mainnav" title="<?php echo JText::_("Skip to main navigation");?>"><?php echo JText::_("Skip to main navigation");?></a></li> 104 <li><a href="#ja-col1" title="<?php echo JText::_("Skip to 1st column");?>"><?php echo JText::_("Skip to 1st column");?></a></li> 105 <li><a href="#ja-col2" title="<?php echo JText::_("Skip to 2nd column");?>"><?php echo JText::_("Skip to 2nd column");?></a></li> 106 </ul> 107 108 <div id="ja-wrapper"> 109 110 <!-- BEGIN: HEADER --> 111 <div id="ja-headerwrap"> 112 <div id="ja-header" class="clearfix" style="background: url(<?php echo $tmpTools->templateurl(); ?>/images/header/<?php echo $tmpTools->getRandomImage(dirname(__FILE__).DS.'images/header'); ?>) no-repeat top <?php if($this->direction == 'rtl') echo 'left'; else echo 'right';?>;"> 113 114 <div class="ja-headermask"> </div> 115 116 <?php 117 $siteName = $tmpTools->sitename(); 118 if ($tmpTools->getParam('logoType')=='image'): ?> 119 <h1 class="logo"> 120 <a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $siteName; ?></span></a> 121 </h1> 122 <?php else: 123 $logoText = (trim($tmpTools->getParam('logoText'))=='') ? $config->sitename : $tmpTools->getParam('logoText'); 124 $sloganText = (trim($tmpTools->getParam('sloganText'))=='') ? JText::_('SITE SLOGAN') : $tmpTools->getParam('sloganText'); ?> 125 <h1 class="logo-text"> 126 <a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $logoText; ?></span></a> 127 </h1> 128 <p class="site-slogan"><?php echo $sloganText;?></p> 129 <?php endif; ?> 130 131 <?php $tmpTools->genToolMenu(JA_TOOL_FONT, 'png'); ?> 132 133 <?php if($this->countModules('user4')) : ?> 134 <div id="ja-search"> 135 <jdoc:include type="modules" name="user4" /> 136 </div> 137 <?php endif; ?> 138 139 </div> 140 </div> 141 <!-- END: HEADER --> 142 143 <!-- BEGIN: MAIN NAVIGATION --> 144 <?php if ($this->countModules('hornav')): ?> 145 <div id="ja-mainnavwrap"> 146 <div id="ja-mainnav" class="clearfix"> 147 <jdoc:include type="modules" name="hornav" /> 148 </div> 149 </div> 150 <?php endif; ?> 151 <!-- END: MAIN NAVIGATION --> 152 153 <div id="ja-containerwrap<?php echo $divid; ?>"> 154 <div id="ja-containerwrap2"> 155 <div id="ja-container"> 156 <div id="ja-container2" class="clearfix"> 157 158 <div id="ja-mainbody<?php echo $divid; ?>" class="clearfix"> 159 160 <!-- BEGIN: CONTENT --> 161 <div id="ja-contentwrap"> 162 <div id="ja-content"> 163 164 <jdoc:include type="message" /> 165 166 <?php if(!$tmpTools->isFrontPage()) : ?> 167 <div id="ja-pathway"> 168 <jdoc:include type="module" name="breadcrumbs" /> 169 </div> 170 <?php endif ; ?> 171 172 <jdoc:include type="component" /> 173 174 <?php if($this->countModules('banner')) : ?> 175 <div id="ja-banner"> 176 <jdoc:include type="modules" name="banner" /> 177 </div> 178 <?php endif; ?> 179 180 </div> 181 </div> 182 <!-- END: CONTENT --> 183 184 <?php if ($this->countModules('left')): ?> 185 <!-- BEGIN: LEFT COLUMN --> 186 <div id="ja-col1"> 187 <jdoc:include type="modules" name="left" style="xhtml" /> 188 </div><br /> 189 <!-- END: LEFT COLUMN --> 190 <?php endif; ?> 191 192 </div> 193 194 <?php if ($this->countModules('right')): ?> 195 <!-- BEGIN: RIGHT COLUMN --> 196 <div id="ja-col2"> 197 <jdoc:include type="modules" name="right" style="jarounded" /> 198 </div><br /> 199 <!-- END: RIGHT COLUMN --> 200 <?php endif; ?> 201 202 </div> 203 </div> 204 </div> 205 </div> 206 207 <?php 208 $spotlight = array ('user1','user2','top','user5'); 209 $botsl = $tmpTools->calSpotlight ($spotlight,99,22); 210 if( $botsl ) : 211 ?> 212 <!-- BEGIN: BOTTOM SPOTLIGHT --> 213 <div id="ja-botslwrap"> 214 <div id="ja-botsl" class="clearfix"> 215 216 <?php if( $this->countModules('user1') ): ?> 217 <div class="ja-box<?php echo $botsl['user1']['class']; ?>" style="width: <?php echo $botsl['user1']['width']; ?>;"> 218 <jdoc:include type="modules" name="user1" style="xhtml" /> 219 </div> 220 <?php endif; ?> 221 222 <?php if( $this->countModules('user2') ): ?> 223 <div class="ja-box<?php echo $botsl['user2']['class']; ?>" style="width: <?php echo $botsl['user2']['width']; ?>;"> 224 <jdoc:include type="modules" name="user2" style="xhtml" /> 225 </div> 226 <?php endif; ?> 227 228 <?php if( $this->countModules('top') ): ?> 229 <div class="ja-box<?php echo $botsl['top']['class']; ?>" style="width: <?php echo $botsl['top']['width']; ?>;"> 230 <jdoc:include type="modules" name="top" style="xhtml" /> 231 </div> 232 <?php endif; ?> 233 234 <?php if( $this->countModules('user5') ): ?> 235 <div class="ja-box<?php echo $botsl['user5']['class']; ?>" style="width: <?php echo $botsl['user5']['width']; ?>;"> 236 <jdoc:include type="modules" name="user5" style="xhtml" /> 237 </div> 238 <?php endif; ?> 239 240 </div> 241 </div> 242 <!-- END: BOTTOM SPOTLIGHT --> 243 <?php endif; ?> 244 245 <!-- BEGIN: FOOTER --> 246 <div id="ja-footerwrap"> 247 <div id="ja-footer" class="clearfix"> 248 249 <div id="ja-footnav"> 250 <jdoc:include type="modules" name="user3" /> 251 </div> 252 253 <div class="copyright"> 254 <jdoc:include type="modules" name="footer" /> 255 </div> 256 257 <div class="ja-cert"> 258 <jdoc:include type="modules" name="syndicate" /> 259 <a href="http://jigsaw.w3.org/css-validator/check/referer" target="_blank" title="<?php echo JText::_("CSS Validity");?>" style="text-decoration: none;"> 260 <img src="<?php echo $tmpTools->templateurl(); ?>/images/but-css.gif" border="none" alt="<?php echo JText::_("CSS Validity");?>" /> 261 </a> 262 <a href="http://validator.w3.org/check/referer" target="_blank" title="<?php echo JText::_("XHTML Validity");?>" style="text-decoration: none;"> 263 <img src="<?php echo $tmpTools->templateurl(); ?>/images/but-xhtml10.gif" border="none" alt="<?php echo JText::_("XHTML Validity");?>" /> 264 </a> 265 </div> 266 267 <br /> 268 </div> 269 </div> 270 <!-- END: FOOTER --> 271 272 </div> 273 274 <jdoc:include type="modules" name="debug" /> 275 276 </body> 277 278 </html>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Mon Nov 14 16:47:20 2011 | Cross-referenced by PHPXref 0.7.1 |