<?php
/*
##########################################################################
#                                                                        #
#           Version 4       /                        /   /               #
#          -----------__---/__---__------__----__---/---/-               #
#           | /| /  /___) /   ) (_ `   /   ) /___) /   /                 #
#          _|/_|/__(___ _(___/_(__)___/___/_(___ _/___/___               #
#                       Free Content / Management System                 #
#                                   /                                    #
#                                                                        #
#                                                                        #
#   Copyright 2005-2009 by webspell.org                                  #
#                                                                        #
#   visit webSPELL.org, webspell.info to get webSPELL for free           #
#   - Script runs under the GNU GENERAL PUBLIC LICENSE                   #
#   - It's NOT allowed to remove this copyright-tag                      #
#   -- http://www.fsf.org/licensing/licenses/gpl.html                    #
#                                                                        #
#   Code based on WebSPELL Clanpackage (Michael Gruber - webspell.at),   #
#   Far Development by Development Team - webspell.org                   #
#                                                                        #
#   visit webspell.org                                                   #
#                                                                        #
##########################################################################
*/




// important data include
include("_mysql.php");
include("_settings.php");
include("_functions.php");

$_language->read_module('index');
$index_language = $_language->module;
// end important data include
?>
<!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="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="description" content="Clanpage using webSPELL 4 CMS" />
<meta name="author" content="webspell.org" />
<meta name="keywords" content="webspell, webspell4, clan, cms" />
<meta name="copyright" content="Copyright &copy; 2005 - 2009 by webspell.org" />
<meta name="generator" content="webSPELL" />

<!-- Head & Title include -->
<title><?php echo PAGETITLE; ?></title>
<link href="_stylesheet.css" rel="stylesheet" type="text/css" />
<link href="css/main.css" rel="stylesheet" type="text/css" />
<link href="contentslider.css" rel="stylesheet" type="text/css" />
<link href="tmp/rss.xml" rel="alternate" type="application/rss+xml" title="<?php echo getinput($myclanname); ?> - RSS Feed" />
<script src="js/bbcode.js" language="jscript" type="text/javascript"></script>
<script src="contentslider.js" language="jscript" type="text/javascript"></script>
<!-- end Head & Title include -->

<!--
Adapted by Mateusz "xX-Viper-HunteR-Xx" Garbela icq :  376626463
-->

<!-- javascript -->
<script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {

$("ul#topnav li").hover(function() { //Hover over event on list item
	$(this).css({ 'background' : 'transparent'}); //Add background color + image on hovered list item
	$(this).find("span").show(); //Show the subnav
} , function() { //on hover out...
	$(this).css({ 'background' : 'none'}); //Ditch the background
	$(this).find("span").hide(); //Hide the subnav
});

});
</script>
<!-- javascript -->

</head>
<body>
<div id="outerDiv">

<!-- ========== headerTop ========== !-->
<div id="headerTop"></div><!-- headerTop -->
<!-- ========== headerTop ========== !-->

<!-- ========== header ========== !-->
<div id="header">
<div id="header1"></div><!-- header1 -->
<div id="header2"></div><!-- header2 -->
<div id="advertisements"><?php include("sc_bannerrotation.php"); ?></div><!-- advertisements -->
<div id="header3"></div><!-- header3 -->
<div id="header4"></div><!-- header4 -->
</div><!-- header -->
<!-- ========== header ========== !-->

<div id="mainDiv">

<!-- ========== content ========== !-->
<div id="contentDiv" class="clearfix">

<!-- ========== contentLeft ========== !-->
<div id="contentLeft">

<!-- ========== box login ========== !-->
<div class="box">

<div class="boxRepeat">
<div id="loginHeader"></div><!-- box loginHeader -->
<div class="boxMain"><?php include("login.php"); ?>
</div><!-- box Main -->
<div class="boxFooter"></div><!-- box Footer -->
</div><!-- box Repeat -->

</div><!-- box -->
<!-- ========== box login ========== !-->

<!-- ========== breakLeft ========== !-->
<div class="breakLeft"></div><!-- breakLeft -->
<!-- ========== breakLeft ========== !-->

<!-- ========== box latestNews ========== !-->
<div class="box">

<div class="boxRepeat">
<div id="latestNewsHeader"></div><!-- box latestNewsHeader -->
<div class="boxMain"><?php include("sc_headlines.php"); ?>
<div id="alleNews"><a href="?site=news" class="alleNewsImg"></a></div>
</div><!-- box  Main -->
<div class="boxFooter"></div><!-- box  Footer -->
</div><!-- box Repeat -->

</div><!-- box -->
<!-- ========== box latestNews ========== !-->

<!-- ========== breakLeft ========== !-->
<div class="breakLeft"></div><!-- breakLeft -->
<!-- ========== breakLeft ========== !-->

<!-- ========== box shoutbox  ========== !-->
<div class="box">

<div class="boxRepeat">
<div id="shoutboxHeader"></div><!-- shoutboxHeader -->
<div class="boxMain"><?php include("shoutbox.php"); ?>
<div id="alleNachrichten"><a href="index.php?site=shoutbox_content&amp;action=showall" class="allNachrichtenImg"></a></div>
</div><!-- box Main -->
<div class="boxFooter"></div><!-- box Footer -->
</div><!-- box Repeat -->

</div><!-- box -->
<!-- ========== box shoutbox ========== !-->

<!-- ========== box latestThreads ========== !-->
<div class="box">

<div class="boxRepeat">
<div id="latestThreadsHeader"></div><!-- latesThreadsHeader -->
<div class="boxMain"><?php include("latesttopics.php"); ?>
<div id="alleThreads"><a href="?site=forum" class="alleThreadsImg"></a></div>
</div><!-- box Main -->
<div class="boxFooter"></div><!-- box Footer -->
</div><!-- box Repeat -->

</div><!-- box -->
<!-- ========== box latestThreads ========== !-->

<!-- ========== breakLeft ========== !-->
<div class="breakLeft"></div><!-- breakLeft -->
<!-- ========== breakLeft ========== !-->

<!-- ========== box partner ========== !-->
<div class="box">

<div class="boxRepeat">
<div id="partnerHeader"></div><!-- partnerHeader -->
<div class="boxMain"><?php include("partners.php"); ?>
<div id="allePartner"><a href="?site=partners" class="allePartnerImg"></a></div>
</div><!-- box Main -->
<div class="boxFooter"></div><!-- box Footer -->
</div><!-- box Repeat -->

</div><!-- box -->
<!-- ========== box partner ========== !-->

</div><!-- contentLeft -->
<!-- ========== contentLeft ========== !-->

<!-- ========== contentMain ========== !-->
<div id="contentMain">

<!-- ========== navigation ========== !-->
<div id="navigation">
<ul id="topnav">

	<!-- start info button -->
	<li><a href="#" class="info"></a>
		  <!--Subnav Starts Here-->
        <span class="info">
            <strong class="red">+</strong><a href="?site=news">News</a>
            <strong class="red">+</strong><a href="?site=news&action=archive">News Archive</a>
            <strong class="red">+</strong><a href="?site=awards">Events</a>
            <strong class="red">+</strong><a href="?site=contact">Contact</a>
            <strong class="red">+</strong><a href="?site=imprint">Imprint</a>
        </span>
        <!--Subnav Ends Here-->
	</li>
   <!-- ende info button -->

   <!-- anfang team button -->
   <li><a href="#" class="team"></a>
    	  <!--Subnav Starts Here-->
    	  <span>
           <strong class="red">+</strong><a href="?site=squads">Member</a>
           <strong class="red">+</strong><a href="?site=clanwars">Clan Wars</a>
           <strong class="red">+</strong><a href="?site=about">About Us</a>
           <strong class="red">+</strong><a href="?site=awards">Awards</a>
           <strong class="red">+</strong><a href="?site=history">History</a>
           <strong class="red">+</strong><a href="?site=server">Server</a>
           <strong class="red">+</strong><a href="?site=challenge">Fight us</a>
        </span>
        <!--Subnav Ends Here-->
    </li>
    <!-- ende team button -->

    <!-- anfang comm button -->
    <li><a href="#" class="comm"></a>
    	  <!--Subnav Starts Here-->
    	  <span class="comm">
           <strong class="red">+</strong><a href="?site=forum">Forum</a>
           <strong class="red">+</strong><a href="?site=guestbook">Guestbook</a>
           <strong class="red">+</strong><a href="?site=registered_users">Registered Users</a>
           <strong class="red">+</strong><a href="?site=whoisonline">Who is online?</a>
           <strong class="red">+</strong><a href="?site=newsletter">Newsletter</a>
        </span>
        <!--Subnav Ends Here-->
    </li>
    <!-- ende comm button -->

    <!-- anfang turniere button -->
    <li><a href="#" class="turniere"></a>
    </li>
    <!-- ende turniere button -->

    <!-- anfang sponsors button -->
    <li><a href="?site=sponsors" class="sponsors"></a>
    </li>
    <!-- ende sponsors button -->

</ul>
</div><!-- navigation -->
<!-- ========== navigation ========== !-->

<!-- ========== subNavigation ========== !-->
<div id="subNavi"></div><!-- subnavi -->
<div id="subNaviBg"></div><!-- subNaviBg -->
<!-- ========== subNavigation ========== !-->

<!-- ========== breakMain ========== !-->
<div id="breakMain"></div><!-- breakMain -->
<!-- ========== breakMain ========== !-->

<!-- ========== latestMatches ========== !-->
<div id="latestMatches">

<div id="latestMatchesBg">
<div id="latestMatchesHeader"></div><!-- latestMatchesHeader -->
<div id="latestMatchesMain"><?php include("sc_results.php"); ?>
</div><!--latestMatchesMain -->
<div id="latestMatchesFooter"></div><!-- latestMatchesFooter -->
</div><!--  latestMatchesBg -->

</div><!-- latestMatches -->
<!-- ========== latestMatches ========== !-->

<!-- ========== special ========== !-->
<div id="specialHeader"></div><!-- specialHeader -->
<div id="specialMain"><span><?php include("features.php"); ?></span>
</div><!-- specialMain -->
<div id="specialFooter"></div><!-- specialFooter -->
<!-- ========== special ========== !-->

<!-- ========== breakMain2 ========== !-->
<div id="breakMain2"></div><!-- breakMain2 -->
<!-- ========== breakMain2 ========== !-->

<!-- ========== contentSites ========== !-->
<div id="contentSites">
<?php
if(!isset($site)) $site="news";
$invalide = array('\\','/','/\/',':','.');
$site = str_replace($invalide,' ',$site);
if(!file_exists($site.".php")) $site = "news";
include($site.".php");
?>
</div><!-- contentSites -->
<!-- ========== contentSites ========== !-->

</div><!-- contentMain -->
<!-- ========== contentMain ========== !-->

<!-- ========== contentRight ========== !-->
<div id="contentRight">

<!-- ========== mainSponsors ========== !-->
<div id="mainSponsorsHeader"></div><!-- mainSponsors -->
<div class="box2Bg"><?php include("sc_sponsors.php"); ?>
</div><!--  box2Bg -->
<!-- ========== mainSponsors ========== !-->

<!-- ========== sponsors ========== !-->
<div id="sponsorsHeader"></div><!-- sponsorsHeader -->
<div class="box2Bg"><?php include("sc_sponsor.php"); ?>
</div><!--  box2Bg -->
<!-- ========== sponsors ========== !-->

<!-- ========== advertisements ========== !-->
<div id="advertisementsHeader"></div><!-- advertisementsHeader -->
<div class="box2Bg"><img src="css/i/advertisements2.jpg" width="138" height="402" alt="advertisements2" /></div><!-- box2Bg -->
<!-- ========== advertisements ========== !-->

<!-- ========== Poll ========== !-->
<div class="box2Bg" style="color:#fff;"><?php include("poll.php"); ?></div>
<!-- ========== Poll ========== !-->

<!-- ========== statistik ========== !-->
<div id="statistikBg">
<div id="statistikHeader"></div><!-- statistikHeader -->
<div id="statistikBgTop"><?php include("counter.php"); ?></div><!-- statistikBgTop -->
</div><!-- statistikBg -->
<div id="statistikFooter"></div><!-- statistikFooter -->
<!-- ========== statistic ========== !-->

</div><!-- contentRight -->
<!-- ========== contentRight========== !-->

</div><!-- content -->
<!-- ========== content ========== !-->

</div><!-- main -->

<!-- ========== footer1 ========== !-->
<div id="footer1"></div><!-- footer1 -->
<!-- ========== footer1 ========== !-->

<!-- ========== footer2 ========== !-->
<div id="footer2"><span class="adaptedBy">Adapted by<a href="http://xeno.spacequadrat.de/" >xX-Viper-HunteR-Xx</a></span></div><!-- footer2 -->
<!-- ========== footer2 ========== !-->

<div class="clear"></div><!-- clear -->
</div><!-- outerDiv -->
</body>
</html>