OK, hier die index.php Datei
PHP-Code:
<?php
/**
* @copyright Copyright (C) 2005 - 2008 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.
*/
defined('_JEXEC') or die('Restricted access');
$url = clone(JURI::getInstance());
$path = $this->baseurl.'/templates/'.$this->template;
$showleftColumn = $this->countModules('left');
$showrightColumn = $this->countModules('right');
$showuser5Column = $this->countModules('user5');
$showuser2Column = $this->countModules('user2');
if(JRequest::getCmd('task') != 'edit') $Edit = false; else $Edit = true;
?>
<!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; ?>" dir="<?php echo $this->direction; ?>" >
<head>
<jdoc:include type="head" />
<script src="<?php echo $path ?>/scripts/jquery-1.3.2.min.js" type="text/javascript"></script>
<script src="<?php echo $path ?>/scripts/swfobject.js" type="text/javascript"></script>
<script src="<?php echo $path ?>/scripts/cufon-yui.js" type="text/javascript"></script>
<script src="<?php echo $path ?>/scripts/cufon-replace.js" type="text/javascript"></script>
<script type="text/javascript" src="<?php echo $path ?>/scripts/imagepreloader.js"></script>
<script src="<?php echo $path ?>/scripts/jbgallery-2.0.js" type="text/javascript"></script>
<script src="<?php echo $path ?>/scripts/jScrollPane.js" type="text/javascript"></script>
<script src="<?php echo $path ?>/scripts/jquery.mousewheel.js" type="text/javascript"></script>
<script src="<?php echo $path ?>/scripts/Myriad_Pro_400.font.js" type="text/javascript"></script>
<script src="<?php echo $path ?>/scripts/Myriad_Pro_900.font.js" type="text/javascript"></script>
<script type="text/javascript">
var $j = jQuery.noConflict();
$j(document).ready(function(){
$j('.menu-nav li').hover(
function() {
$j(this).addClass("active");
$j(this).find('> .ulwrapper').stop(false, true).fadeIn();
Cufon.refresh();
},
function() {
$j(this).removeClass("active");
$j(this).find('div').stop(false, true).fadeOut('fast');
Cufon.refresh();
}
);
$j('.ulwrapper').hover(
function() {
$j('.parent').addClass("active_tab");
},
function() {
$j('.parent').removeClass("active_tab");
}
);
$j('.ulwrapper .ulwrapper').hover(
function() {
$j('.ulwrapper .parent').addClass("active_tab2");
},
function() {
$j('.ulwrapper .parent').removeClass("active_tab2");
}
);
});
preloadImages([
'<?php echo $path ?>/images/button1_hover.png'
]);
</script>
<!--[if IE 6]><script type="text/javascript" src="http://info.template-help.com/files/ie6_warning/ie6_script_other.js"></script><![endif]-->
<link rel="stylesheet" href="<?php echo $path ?>/css/constant.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $path ?>/css/template.css" type="text/css" />
<link href="<?php echo $path ?>/css/jbgallery-2.0.css" id="jbgallery-css" rel="stylesheet" media="javascript-screen" />
</head>
<?php
$menu = & JSite::getMenu();
if (($menu->getActive() == $menu->getDefault()) && ($option!="com_search")) {?>
<body class="first">
<script type="text/javascript"><!--
$j(document).ready(function(){
$j(".jbgallery").jbgallery({
current: "1",
menu : "false",
style: "zoom",
caption : false
});
});
--></script>
<?php
} else {?>
<body class="all">
<script type="text/javascript"><!--
$j(document).ready(function(){
$j(".jbgallery").jbgallery({
current: "2",
menu : "false",
style: "zoom",
caption : false
});
});
--></script>
<h1 id="logo"><a href="<?php echo $_SERVER['PHP_SELF']?>" title="Super Team"><img title="Super Team" src="<?php echo $path ?>/images/logo.png" alt="Super Team" /></a></h1>
<?php }
?>
<div class="main" >
<div class="man"></div>
<h1 id="enter"><a href="<?php echo $_SERVER['PHP_SELF'].'?Itemid=53' ?>"> </a></h1>
<jdoc:include type="modules" name="user1" />
<jdoc:include type="modules" name="user3" style="topmenu" />
<!--header-->
<div class="header">
<div class="head">
<jdoc:include type="modules" name="user4" />
</div>
</div>
<div class="slider_cont">
<?php if ($showuser2Column && !$Edit) : ?>
<div class="slider_cont2">
<jdoc:include type="modules" name="user2" />
<?php endif;?>
<div class="wrapper-content content-top ">
<div class="clear">
<div class="scroll-wrap">
<div class="scroll-pane">
<div class="inner">
<!--content-->
<!--right-->
<?php if ($showrightColumn && !$Edit) : ?>
<div id="right">
<jdoc:include type="modules" name="right" style="wrapper_box" />
</div>
<?php endif;?>
<!--left-->
<?php if ($showleftColumn && !$Edit) : ?>
<div id="left">
<jdoc:include type="modules" name="left" style="wrapper_box" />
</div>
<?php endif;?>
<!--center-->
<div id="content">
<div class="container" >
<div class="clear">
<?php if ($this->getBuffer('message')) : ?>
<div class="error err-space">
<jdoc:include type="message" />
</div>
<?php endif; ?>
<jdoc:include type="component" />
<jdoc:include type="modules" name="user5" />
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!--footer-->
<div class="footer">
<div class="foot">
<div class="copy"><a href="http://www.ipex.at/index.php?option=com_content&view=article&id=48&Itemid=68">Copyright Westside Soccer 2011</a>
<!-- {%FOOTER_LINK} -->
</div>
</div>
</div>
<script type="text/javascript"> Cufon.now();
$j(window).load(function(){
$j('.scroll-pane').jScrollPane({
showArrows:false,
scrollbarWidth:43,
dragMaxHeight:42
});
});
</script>
</div>
</body>
</html>
Lesezeichen