<?php
/*
 ########################################################################
#                                                                        #
#           Version 4       /                        /   /               #
#          -----------__---/__---__------__----__---/---/-               #
#           | /| /  /___) /   ) (_ `   /   ) /___) /   /                 #
#          _|/_|/__(___ _(___/_(__)___/___/_(___ _/___/___               #
#                       Free Content / Management System                 #
#                                   /                                    #
#                                                                        #
#                                                                        #
#   Copyright 2005-2006 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");

// end important data include
?>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<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 © 2005 by webspell.org" />
<meta name="generator" content="webSPELL" />

<!-- Head & Title include -->
<title><? echo PAGETITLE; ?></title>
<link href="_stylesheet.css" rel="stylesheet" type="text/css">
<script src="js/bbcode.js" language="jscript" type="text/javascript"></script>
<!-- end Head & Title include -->

<!-- standard Design stylesheet -->
<style type="text/css">
body {
	background-image: url(images/bg.gif);
	margin-left: 0px;
	margin-top: 3px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.head {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 20px; }
.head2 {font-size: 10px; color: #6DC903; font-weight: bold; }
</style>
<!-- end standard Design stylesheet -->

</head>

<body>

<table width="970" border="0" align="center" cellpadding="0" cellspacing="0">
 <tr>
  <td width="1" rowspan="2" bgcolor="#333333">&nbsp;</td>
  <td height="5" colspan="3" align="left" valign="top" bgcolor="#6DC903">&nbsp;</td>
  <td width="1" rowspan="2" bgcolor="#333333">&nbsp;</td>
 </tr>
 <tr>
  <td width="192" align="left" valign="top" bgcolor="#FFFFFF">
  <table width="192" border="0" cellspacing="0" cellpadding="0">

<!-- Clanname -->
   <tr bgcolor="#FFFFFF">
    <td colspan="3">
    <table width="192" border="0" cellspacing="0" cellpadding="0">
     <tr>
      <td width="9"><img src="images/logo.jpg" width="50" height="60"></td>
      <td align="right" valign="middle"><div align="justify">
      <span class="head"><?php echo $myclanname ?></span></div></td>
      <td width="2" align="right">&nbsp;</td>
     </tr>
    </table></td>
   </tr>
<!-- end Clanname -->

<!-- quicksearch include -->
   <tr align="center" valign="top" bgcolor="#FFFFFF">
    <td colspan="3">
    <table width="192" border="0" cellspacing="0" cellpadding="0">
     <tr>
      <td width="9">&nbsp;</td>
      <td><? include("quicksearch.php"); ?></td>
      <td width="2">&nbsp;</td>
     </tr>
    </table></td>
   </tr>
<!-- end quicksearch include -->

<!-- poll include -->
   <tr bgcolor="#FFFFFF">
    <td height="2" colspan="3">&nbsp;</td>
   </tr>
   <tr bgcolor="#FFFFFF">
    <td colspan="3"><img src="images/seperator_katl.gif" width="192" height="4"></td>
   </tr>
   <tr bgcolor="#FFFFFF">
    <td colspan="3">
    <table width="192" border="0" cellspacing="0" cellpadding="0">
     <tr>
      <td width="9">&nbsp;</td>
      <td><b><?php echo $myclanname ?>.POLL</b></td>
     </tr>
    </table></td>
   </tr>
   <tr bgcolor="#FFFFFF">
    <td colspan="3">
    <table width="192" border="0" cellspacing="0" cellpadding="0">
     <tr>
      <td width="9">&nbsp;</td>
      <td><? include("poll.php"); ?></td>
      <td width="2">&nbsp;</td>
     </tr>
    </table></td>
   </tr>
<!-- end poll include -->

<!-- pic of the moment include -->
   <tr bgcolor="#FFFFFF">
    <td height="2" colspan="3">&nbsp;</td>
   </tr>
   <tr bgcolor="#FFFFFF">
    <td colspan="3"><img src="images/seperator_katl.gif" width="192" height="4"></td>
   </tr>
   <tr bgcolor="#FFFFFF">
    <td colspan="3">
    <table width="192" border="0" cellspacing="0" cellpadding="0">
     <tr>
      <td width="9">&nbsp;</td>
      <td><b><?php echo $myclanname ?>.PIC OF THE MOMENT</b></td>
     </tr>
    </table></td>
   </tr>
   <tr bgcolor="#FFFFFF">
    <td colspan="3">
    <table width="192" border="0" cellspacing="0" cellpadding="0">
     <tr>
      <td width="9">&nbsp;</td>
      <td align="center"><? include("sc_potm.php"); ?></td>
      <td width="2">&nbsp;</td>
     </tr>
    </table></td>
   </tr>
<!-- end pic of the moment include -->

<!-- randompic include -->
   <tr bgcolor="#FFFFFF">
    <td height="2" colspan="3">&nbsp;</td>
   </tr>
   <tr bgcolor="#FFFFFF">
    <td colspan="3"><img src="images/seperator_katl.gif" width="192" height="4"></td>
   </tr>
   <tr bgcolor="#FFFFFF">
    <td colspan="3">
    <table width="192" border="0" cellspacing="0" cellpadding="0">
     <tr>
      <td width="9">&nbsp;</td>
      <td><b><?php echo $myclanname ?>.RANDOM USER</b></td>
     </tr>
    </table></td>
   </tr>
   <tr bgcolor="#FFFFFF">
    <td colspan="3">
    <table width="192" border="0" cellspacing="0" cellpadding="0">
     <tr>
      <td width="9">&nbsp;</td>
      <td align="center"><? include("sc_randompic.php"); ?></td>
      <td width="2">&nbsp;</td>
     </tr>
    </table></td>
   </tr>
<!-- end randompic include -->

<!-- articles include -->
   <tr bgcolor="#FFFFFF">
    <td height="2" colspan="3">&nbsp;</td>
   </tr>
   <tr bgcolor="#FFFFFF">
    <td colspan="3"><img src="images/seperator_katl.gif" width="192" height="4"></td>
   </tr>
   <tr bgcolor="#FFFFFF">
    <td colspan="3">
    <table width="192" border="0" cellspacing="0" cellpadding="0">
     <tr>
      <td width="9">&nbsp;</td>
      <td><b><?php echo $myclanname ?>.ARTICLES</b></td>
     </tr>
    </table></td>
   </tr>
   <tr bgcolor="#FFFFFF">
    <td colspan="3">
    <table width="192" border="0" cellspacing="0" cellpadding="0">
     <tr>
      <td width="9">&nbsp;</td>
      <td><? include("sc_articles.php"); ?></td>
      <td width="2">&nbsp;</td>
     </tr>
    </table></td>
   </tr>
<!-- end articles include -->

<!-- downloads include -->
   <tr bgcolor="#FFFFFF">
    <td height="2" colspan="3">&nbsp;</td>
   </tr>
   <tr bgcolor="#FFFFFF">
    <td colspan="3"><img src="images/seperator_katl.gif" width="192" height="4"></td>
   </tr>
   <tr bgcolor="#FFFFFF">
    <td colspan="3">
    <table width="192" border="0" cellspacing="0" cellpadding="0">
     <tr>
      <td width="9">&nbsp;</td>
      <td><b><?php echo $myclanname ?>.DOWNLOADS</b></td>
     </tr>
    </table></td>
   </tr>
   <tr bgcolor="#FFFFFF">
    <td colspan="3">
    <table width="192" border="0" cellspacing="0" cellpadding="0">
     <tr>
      <td width="9">&nbsp;</td>
      <td><? include("sc_files.php"); ?></td>
      <td width="2">&nbsp;</td>
     </tr>
    </table></td>
   </tr>
<!-- end downloads include -->

<!-- latest topics include -->
   <tr bgcolor="#FFFFFF">
    <td height="2" colspan="3">&nbsp;</td>
   </tr>
   <tr bgcolor="#FFFFFF">
    <td colspan="3"><img src="images/seperator_katl.gif" width="192" height="4"></td>
   </tr>
   <tr bgcolor="#FFFFFF">
    <td colspan="3">
    <table width="192" border="0" cellspacing="0" cellpadding="0">
     <tr>
      <td width="9">&nbsp;</td>
      <td><b><?php echo $myclanname ?>.TOPICS</b></td>
     </tr>
    </table></td>
   </tr>
   <tr bgcolor="#FFFFFF">
    <td colspan="3">
    <table width="192" border="0" cellspacing="0" cellpadding="0">
     <tr>
      <td width="9">&nbsp;</td>
      <td><? include("latesttopics.php"); ?></td>
      <td width="2">&nbsp;</td>
     </tr>
    </table></td>
   </tr>
<!-- end latest topics include -->

<!-- partners include -->
   <tr bgcolor="#FFFFFF">
    <td height="2" colspan="3">&nbsp;</td>
   </tr>
   <tr bgcolor="#FFFFFF">
    <td colspan="3"><img src="images/seperator_katl.gif" width="192" height="4"></td>
   </tr>
   <tr bgcolor="#FFFFFF">
    <td colspan="3">
    <table width="192" border="0" cellspacing="0" cellpadding="0">
     <tr>
      <td width="9">&nbsp;</td>
      <td><b><?php echo $myclanname ?>.PARTNERS</b></td>
     </tr>
    </table></td>
   </tr>
   <tr bgcolor="#FFFFFF">
    <td colspan="3">
    <table width="192" border="0" cellspacing="0" cellpadding="0">
     <tr>
      <td width="9">&nbsp;</td>
      <td><? include("partners.php"); ?></td>
      <td width="2">&nbsp;</td>
     </tr>
    </table></td>
   </tr>
<!-- end partners include -->

  </table></td>
  <td width="578" align="left" valign="top" bgcolor="#FFFFFF">
  <table width="578" border="0" cellspacing="0" cellpadding="0">
   <tr>
    <td width="12" rowspan="11" align="left" valign="top" background="images/body_sp_l.gif">&nbsp;</td>
    <td align="left" valign="top">

<!-- Navigation -->
    <table border="0" align="center" cellpadding="0" cellspacing="0">
     <tr>
      <td width="90" align="left" valign="top" class="head2">MAIN</td>
      <td width="2" align="left" valign="top">&nbsp;</td>
      <td width="90" align="left" valign="top" class="head2">CLAN</td>
      <td width="2" align="left" valign="top">&nbsp;</td>
      <td width="115" align="left" valign="top" class="head2">COMMUNITY</td>
      <td width="2" align="left" valign="top">&nbsp;</td>
      <td width="80" align="left" valign="top" class="head2">MEDIA</td>
      <td width="2" align="left" valign="top">&nbsp;</td>
      <td width="90" align="left" valign="top" class="head2">MISCELLANEOUS</td>
      <td width="2" align="left" valign="top">&nbsp;</td>
      <td rowspan="2">&nbsp;</td>
     </tr>
     <tr>
      <td width="90" colspan="2" align="left" valign="top">
       <a href="index.php?site=news">NEWS</a><br>
       <a href="index.php?site=news&action=archive">ARCHIVE</a><br>
       <a href="index.php?site=articles">ARTICLES</a><br>
       <a href="index.php?site=calendar">CALENDAR</a><br>
       <a href="index.php?site=faq">FAQ</a><br>
       <a href="index.php?site=search">SEARCH</a></td>
      <td width="90" colspan="2" align="left" valign="top">
       <a href="index.php?site=about">ABOUT US</a><br>
       <a href="index.php?site=squads">SQUADS</a><br>
       <a href="index.php?site=members">MEMBERS</a><br>              
       <a href="index.php?site=clanwars">CLANWARS</a><br>           
       <a href="index.php?site=history">HISTORY</a><br>              
       <a href="index.php?site=awards">AWARDS</a></td>
      <td width="115" colspan="2" align="left" valign="top">
       <a href="index.php?site=forum">FORUMS</a><br>
       <a href="index.php?site=guestbook">GUESTBOOK</a><br>
       <a href="index.php?site=registered_users">REGISTERED USERS</a><br>
       <a href="index.php?site=whoisonline">WHO IS ONLINE</a><br>
       <a href="index.php?site=polls">POLLS</a><br>
       <a href="index.php?site=server">SERVERS</a></td>
      <td width="80" colspan="2" align="left" valign="top">
       <a href="index.php?site=files">FILES</a><br>
       <a href="index.php?site=demos">DEMOS</a><br>
       <a href="index.php?site=links">LINKS</a><br>
       <a href="index.php?site=gallery">GALLERY</a><br>
       <a href="index.php?site=linkus">LINK US</a></td>
      <td width="90" colspan="2" align="left" valign="top">
       <a href="index.php?site=sponsors">SPONSORS</a><br>
       <a href="index.php?site=newsletter">NEWSLETTER</a><br>
       <a href="index.php?site=contact">CONTACT</a><br>
       <a href="index.php?site=challenge">FIGHT US</a><br>
       <a href="index.php?site=joinus">JOIN US</a><br>
       <a href="index.php?site=imprint">IMPRINT</a></td>
     </tr>
    </table><br>&nbsp;
<!-- end Navigation -->

    </td>
    <td width="12" rowspan="11" align="left" valign="top" background="images/body_sp_r.gif">&nbsp;</td>
   </tr>
   
<!-- scrolltext include -->
   <tr>
    <td align="left" valign="top">
    <table border="0" cellspacing="0" cellpadding="0">
     <tr>
      <td width="8">&nbsp;</td>
      <td width="547"><b><?php echo $myclanname ?>.SCROLLTEXT</b></td>
     </tr>
    </table></td>
   </tr>
   <tr>
    <td>
    <table border="0" cellspacing="0" cellpadding="0">
     <tr>
      <td width="8">&nbsp;</td>
      <td width="545" align="center" valign="top"><? include("sc_scrolltext.php"); ?></td>
      <td width="2">&nbsp;</td>
     </tr>
    </table></td>
   </tr>
   <tr>
    <td height="2">&nbsp;</td>
   </tr>
   <tr>
    <td><img src="images/seperator_body.gif" width="555" height="4"></td>
   </tr>
<!-- end scrolltext include -->
   
<!-- bannerrotation include -->
   <tr>
    <td>
    <table border="0" cellspacing="0" cellpadding="0">
     <tr>
      <td width="8">&nbsp;</td>
      <td width="547"><b><?php echo $myclanname ?>.ADVERTISEMENT</b></td>
     </tr>
    </table></td>
   </tr>
   <tr>
    <td>
    <table border="0" cellspacing="0" cellpadding="0">
     <tr>
      <td width="8">&nbsp;</td>
      <td width="545" align="center" valign="top"><? include("sc_bannerrotation.php"); ?></td>
      <td width="2">&nbsp;</td>
     </tr>
    </table></td>
   </tr>
   <tr>
    <td height="2">&nbsp;</td>
   </tr>
   <tr>
    <td><img src="images/seperator_body.gif" width="555" height="4"></td>
   </tr>
<!-- bannerrotation include -->

<!-- content include -->
   <tr>
    <td>
    <table border="0" cellspacing="0" cellpadding="0">
     <tr>
      <td width="8">&nbsp;</td>
      <td width="547"><b><?php echo $myclanname ?>.CONTENT</b></td>
     </tr>
    </table></td>
   </tr>
   <tr>
    <td>
    <table border="0" cellspacing="0" cellpadding="0">
     <tr>
      <td width="8">&nbsp;</td>
      <td width="545" align="center" valign="top" align="top"><div align="center">
      <!-- php site include -->
      <?
      if(!isset($site)) $site="news";
      //Sichheitsl&uuml;cke beheben
      $invalide = array('/','/\/',':','.');
      $site = str_replace($invalide,' ',$site);
      if(!file_exists($site.".php")) $site = "news";
      include($site.".php");
      ?>
      <!-- end php site include -->
      </div></td>
      <td width="2">&nbsp;</td>
     </tr>
    </table>
    </td>
   </tr>
<!-- end Content include -->

  </table>
  <td width="190" align="left" valign="top" bgcolor="#FFFFFF">
  <table width="190" border="0" cellspacing="0" cellpadding="0">

<!-- login include -->
   <tr>
    <td width="190" bgcolor="#FFFFFF">
    <table width="190" border="0" cellspacing="0" cellpadding="0">
     <tr>
      <td><b><?php echo $myclanname ?>.LOGIN</b></td>
     </tr>
    </table></td>
   </tr>
   <tr>
    <td width="190" bgcolor="#FFFFFF">
    <table width="190" border="0" cellspacing="0" cellpadding="0">
     <tr>
      <td width="2">&nbsp;</td>
      <td><? include("login.php"); ?></td>
      <td width="2">&nbsp;</td>
     </tr>
    </table></td>
   </tr>
<!-- end login include -->

<!-- topnews include -->
   <tr>
    <td width="190" height="2" bgcolor="#FFFFFF">&nbsp;</td>
   </tr>
   <tr>
    <td width="190" bgcolor="#FFFFFF"><img src="images/seperator_katr.gif" width="189" height="5"></td>
   </tr>
   <tr>
    <td width="190" bgcolor="#FFFFFF">
    <table width="190" border="0" cellspacing="0" cellpadding="0">
     <tr>
      <td><b><?php echo $myclanname ?>.HOTEST NEWS</b></td>
     </tr>
    </table></td>
   </tr>
   <tr>
    <td bgcolor="#FFFFFF">
    <table width="190" border="0" cellspacing="0" cellpadding="0">
     <tr>
      <td width="2">&nbsp;</td>
      <td><? include("sc_topnews.php"); ?></td>
      <td width="2">&nbsp;</td>
     </tr>
    </table></td>
   </tr>
<!-- end topnews include -->

<!-- headlines include -->
   <tr>
    <td height="2" bgcolor="#FFFFFF">&nbsp;</td>
   </tr>
   <tr>
    <td bgcolor="#FFFFFF"><img src="images/seperator_katr.gif" width="189" height="5"></td>
   </tr>
   <tr>
    <td bgcolor="#FFFFFF">
    <table width="190" border="0" cellspacing="0" cellpadding="0">
     <tr>
      <td><b><?php echo $myclanname ?>.LATEST NEWS</b></td>
     </tr>
    </table></td>
   </tr>
   <tr>
    <td bgcolor="#FFFFFF">
    <table width="190" border="0" cellspacing="0" cellpadding="0">
     <tr>
      <td width="2">&nbsp;</td>
      <td><? include("sc_headlines.php"); ?></td>
      <td width="2">&nbsp;</td>
     </tr>
    </table></td>
   </tr>
<!-- end headlines include -->

<!-- matches include -->
   <tr>
    <td width="190" height="2" bgcolor="#FFFFFF">&nbsp;</td>
   </tr>
   <tr>
    <td width="190" bgcolor="#FFFFFF"><img src="images/seperator_katr.gif" width="189" height="5"></td>
   </tr>
   <tr>
    <td bgcolor="#FFFFFF">
    <table width="190" border="0" cellspacing="0" cellpadding="0">
     <tr>
      <td><b><?php echo $myclanname ?>.MATCHES</b></td>
     </tr>
    </table></td>
   </tr>
   <tr>
    <td width="190" bgcolor="#FFFFFF">
    <table width="190" border="0" cellspacing="0" cellpadding="0">
     <tr>
      <td width="2">&nbsp;</td>
      <td><? include("sc_results.php"); ?></td>
      <td width="2">&nbsp;</td>
     </tr>
    </table></td>
   </tr>
<!-- end matches include -->

<!-- demos include -->
   <tr>
    <td height="2" bgcolor="#FFFFFF">&nbsp;</td>
   </tr>
   <tr>
    <td bgcolor="#FFFFFF"><img src="images/seperator_katr.gif" width="189" height="5"></td>
   </tr>
   <tr>
    <td bgcolor="#FFFFFF">
    <table width="190" border="0" cellspacing="0" cellpadding="0">
     <tr>
      <td><b><?php echo $myclanname ?>.DEMOS</b></td>
     </tr>
    </table></td>
   </tr>
   <tr>
    <td bgcolor="#FFFFFF">
    <table width="190" border="0" cellspacing="0" cellpadding="0">
     <tr>
      <td width="2">&nbsp;</td>
      <td><? include("sc_demos.php"); ?></td>
      <td width="2">&nbsp;</td>
     </tr>
    </table></td>
   </tr>
<!-- end demos include -->

<!-- upcoming events include -->
   <tr>
    <td height="2" bgcolor="#FFFFFF">&nbsp;</td>
   </tr>
   <tr>
    <td bgcolor="#FFFFFF"><img src="images/seperator_katr.gif" width="189" height="5"></td>
   </tr>
   <tr>
    <td bgcolor="#FFFFFF">
    <table width="190" border="0" cellspacing="0" cellpadding="0">
     <tr>
      <td><b><?php echo $myclanname ?>.UPCOMING EVENTS</b></td>
     </tr>
    </table></td>
   </tr>
   <tr>
    <td bgcolor="#FFFFFF">
    <table width="190" border="0" cellspacing="0" cellpadding="0">
     <tr>
      <td width="2">&nbsp;</td>
      <td><? include("sc_upcoming.php"); ?></td>
      <td width="2">&nbsp;</td>
     </tr>
    </table></td>
   </tr>
<!-- end upcoming events include -->

<!-- shoutbox include -->
   <tr>
    <td height="2" bgcolor="#FFFFFF">&nbsp;</td>
   </tr>
   <tr>
    <td bgcolor="#FFFFFF"><img src="images/seperator_katr.gif" width="189" height="5"></td>
   </tr>
   <tr>
    <td bgcolor="#FFFFFF">
    <table width="190" border="0" cellspacing="0" cellpadding="0">
     <tr>
      <td><b><?php echo $myclanname ?>.SHOUTBOX</b></td>
     </tr>
    </table></td>
   </tr>
   <tr>
    <td bgcolor="#FFFFFF">
    <table width="190" border="0" cellspacing="0" cellpadding="0">
     <tr>
      <td width="2">&nbsp;</td>
      <td><div align="center"><? include("shoutbox.php"); ?></div></td>
      <td width="2">&nbsp;</td>
     </tr>
    </table></td>
   </tr>
<!-- end shoutbox include -->

<!-- statistics include -->
   <tr>
    <td height="2" bgcolor="#FFFFFF">&nbsp;</td>
   </tr>
   <tr>
    <td bgcolor="#FFFFFF"><img src="images/seperator_katr.gif" width="189" height="5"></td>
   </tr>
   <tr>
    <td bgcolor="#FFFFFF">
    <table width="190" border="0" cellspacing="0" cellpadding="0">
     <tr>
      <td><b><?php echo $myclanname ?>.STATISTICS</b></td>
     </tr>
    </table></td>
   </tr>
   <tr>
    <td bgcolor="#FFFFFF">
    <table width="190" border="0" cellspacing="0" cellpadding="0">
     <tr>
      <td width="2">&nbsp;</td>
      <td><? include("counter.php"); ?></td>
      <td width="2">&nbsp;</td>
     </tr>
    </table></td>
   </tr>
<!-- end statistics include -->

   <tr>
    <td height="5" bgcolor="#FFFFFF">&nbsp;</td>
   </tr>
   <tr>
    <td width="190" bgcolor="#FFFFFF"><div align="center"><span class="small">
    Copyright &copy; by <?php echo $myclanname ?>,<br>Powered by
    <a href="http://www.webspell.org" target="_blank">Webspell</a></span></div></td>
   </tr>
  </table><br>&nbsp;</td>
 </tr>
</table>
</body>
</html>