PageRenderTime 41ms CodeModel.GetById 11ms RepoModel.GetById 1ms app.codeStats 0ms

/hosting_project/ws_templates/312193/TemplateFiles/index.php

https://github.com/WeMake-IT/Hosting-Service
PHP | 170 lines | 135 code | 2 blank | 33 comment | 1 complexity | d01e4970d91bfea1da2d7a90f7681d3e MD5 | raw file
  1. <?php
  2. /*
  3. ##########################################################################
  4. # #
  5. # Version 4 / / / #
  6. # -----------__---/__---__------__----__---/---/- #
  7. # | /| / /___) / ) (_ ` / ) /___) / / #
  8. # _|/_|/__(___ _(___/_(__)___/___/_(___ _/___/___ #
  9. # Free Content / Management System #
  10. # / #
  11. # #
  12. # #
  13. # Copyright 2005-2009 by webspell.org #
  14. # #
  15. # visit webSPELL.org, webspell.info to get webSPELL for free #
  16. # - Script runs under the GNU GENERAL PUBLIC LICENSE #
  17. # - It's NOT allowed to remove this copyright-tag #
  18. # -- http://www.fsf.org/licensing/licenses/gpl.html #
  19. # #
  20. # Code based on WebSPELL Clanpackage (Michael Gruber - webspell.at), #
  21. # Far Development by Development Team - webspell.org #
  22. # #
  23. # visit webspell.org #
  24. # #
  25. ##########################################################################
  26. */
  27. // important data include
  28. include("_mysql.php");
  29. include("_settings.php");
  30. include("_functions.php");
  31. $_language->read_module('index');
  32. $index_language = $_language->module;
  33. // end important data include
  34. ?>
  35. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  36. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  37. <head>
  38. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  39. <meta name="description" content="Clanpage using webSPELL 4 CMS" />
  40. <meta name="author" content="webspell.org" />
  41. <meta name="keywords" content="webspell, webspell4, clan, cms" />
  42. <meta name="copyright" content="Copyright &copy; 2005 - 2009 by webspell.org" />
  43. <meta name="generator" content="webSPELL" />
  44. <title><?php echo PAGETITLE; ?></title>
  45. <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
  46. <link href="page.css" rel="stylesheet" type="text/css" />
  47. <link href="_stylesheet.css" rel="stylesheet" type="text/css" />
  48. <link href="tmp/rss.xml" rel="alternate" type="application/rss+xml" title=" - RSS Feed" />
  49. <script src="js/bbcode.js" language="jscript" type="text/javascript"></script>
  50. <script src="js/button.js" language="jscript" type="text/javascript"></script>
  51. <script src="js/contentslider.js" language="jscript" type="text/javascript"></script>
  52. <script src="js/jquery132.js" type="text/javascript"></script>
  53. <script src="js/stepcarousel.js" type="text/javascript"></script>
  54. <script src="js/tabcontent.js" type="text/javascript">
  55. /***********************************************
  56. * © Dynamic Drive DHTML code library (www.dynamicdrive.com)
  57. * This notice MUST stay intact for legal use
  58. * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code's
  59. ***********************************************/
  60. </script>
  61. <!--[if lt IE 8]>
  62. <style type="text/css">
  63. #scbuttons li { list-style-type:none; margin:0; padding:0 0 4px 0; font-size:0px; }
  64. </style>
  65. <![endif]-->
  66. </head>
  67. <body>
  68. <div id="page">
  69. <div id="stats"><span class="white">Welcome to</span><span class="orange">&nbsp;Clanname /&nbsp;</span><span class="grey">Gaming since 2009</span><span class="grey" style="padding-left:250px; padding-right:29px;">Pageviews</span><?php include("counter.php"); ?></div>
  70. <!--END STATS-->
  71. <div id="header"></div><!--END HEADER-->
  72. <div id="partnersbg">
  73. <div style="text-align:right; padding:5px 15px 0 0;"><?php include("sc_language.php"); ?></div>
  74. <div id="mygallery" class="stepcarousel">
  75. <div class="belt">
  76. <?php include("sc_sponsors.php"); ?>
  77. </div>
  78. </div>
  79. </div><!--PARTNERSBG-->
  80. <div id="navi">
  81. <ul>
  82. <li id="navilinks"></li>
  83. <li id="home"><a href="index.php?site=news">Home</a></li>
  84. <li id="members"><a href="index.php?site=squads">Members</a></li>
  85. <li id="matches"><a href="index.php?site=clanwars">Matches</a></li>
  86. <li id="sponsors"><a href="index.php?site=sponsors">Sponsors</a></li>
  87. <li id="forum"><a href="index.php?site=forum">Forum</a></li>
  88. <li id="awards"><a href="index.php?site=awards">Files</a></li>
  89. <li id="contact"><a href="index.php?site=contact">Contact</a></li>
  90. <li id="navirechts"></li>
  91. </ul>
  92. </div><!--END NAVI-->
  93. <div id="scbg">
  94. <div id="scbuttons">
  95. <ul id="switchit">
  96. <li onclick="naviover(1);" ondblclick="naviout(1);"><a rel="news1"><img src="styles/topbox/latestnews.jpg" width="119" height="23" alt="" name="sc1" style="cursor:pointer;" /></a></li>
  97. <li onclick="naviover(2);" ondblclick="naviout(2);"><a rel="wars2"><img src="styles/topbox/latestwars.jpg" width="119" height="23" alt="" name="sc2" style="cursor:pointer;" /></a></li>
  98. <li onclick="naviover(3);" ondblclick="naviout(3);"><a rel="files3"><img src="styles/topbox/latestposts.jpg" width="119" height="23" alt="" name="sc3" style="cursor:pointer;" /></a></li>
  99. <li onclick="naviover(4);" ondblclick="naviout(4);"><a rel="user4"><img src="styles/topbox/latesuser.jpg" width="119" height="23" alt="" name="sc4" style="cursor:pointer;" /></a></li>
  100. </ul>
  101. </div>
  102. <div id="scinhalt">
  103. <div id="news1">
  104. <?php include("sc_headlines.php"); ?>
  105. </div><!--END NEWS1-->
  106. <div id="wars2" class="tabcontent">
  107. <?php include("sc_results.php"); ?>
  108. </div><!--END WARS2-->
  109. <div id="files3" class="tabcontent">
  110. <?php include("latesttopics.php"); ?>
  111. </div><!--END FILES3-->
  112. <div id="user4" class="tabcontent">
  113. <?php include("sc_lastregistered.php"); ?>
  114. </div><!--END USER4-->
  115. </div><!--END SCINHALT-->
  116. </div><!--END SCBG-->
  117. <div id="features">
  118. <?php include("features.php"); ?>
  119. </div><!--END FEATURES-->
  120. <div id="content">
  121. <div id="contleft">
  122. <div id="cont">
  123. <?php
  124. if(!isset($site)) $site="news";
  125. $invalide = array('\\','/','/\/',':','.');
  126. $site = str_replace($invalide,' ',$site);
  127. if(!file_exists($site.".php")) $site = "news";
  128. include($site.".php");
  129. ?>
  130. </div>
  131. <br style="clear:both;" />
  132. <h2>Advertisment</h2>
  133. <div style="text-align:center;"><?php include("sc_bannerrotation.php"); ?></div>
  134. </div><!--END CONTLEFT-->
  135. <div id="contright">
  136. <h3>Login</h3>
  137. <div id="loginbg"><?php include("login.php"); ?></div>
  138. <h3>Topmatch</h3>
  139. <div id="topmatchbg"><?php include("sc_topmatch.php"); ?></div>
  140. <h3><?php $_language->read_module('navigation'); echo $_language->module['polls']; ?></h3>
  141. <div class="righttop"></div>
  142. <div class="rightbg"><?php include("poll.php"); ?></div>
  143. <div class="rightbottom"></div>
  144. </div><!--END CONTRIGHT-->
  145. <div style="clear:both;"></div>
  146. </div><!--END CONTENT-->
  147. <!-- Start licence -->
  148. <!-- RESPECT THE WORK FROM THE DESIGNER -->
  149. <!-- CC - Attribution-Share Alike 3.0 Unported - Do not remove links here! -->
  150. <div id="footer"><span class="white" style="float:left;">Design &copy; by <a class="orangewh" href="http://www.pixelkoenig.deviantart.com">Pixelk&ouml;nig</a> - Adaption by <a class="orangewh" href="http://www.templates4all.de">Templates4all.de</a></span> <span style="float:right; padding-right:21px; text-transform:uppercase;"><a class="whiteor" href="#">Top</a> &nbsp; <a class="whiteor" href="index.php?site=impressum"><?php $_language->read_module('navigation'); echo $_language->module['imprint']; ?></a> &nbsp; <a class="whiteor" href="index.php?site=challenge"><?php $_language->read_module('navigation'); echo $_language->module['fight_us']; ?></a> &nbsp; <a class="whiteor" href="index.php?site=faq"><?php $_language->read_module('navigation'); echo $_language->module['faq']; ?></a></span><br style="clear:both;" /></div>
  151. <!-- RESPECT THE WORK FROM THE DESIGNER -->
  152. <!-- CC - Attribution-Share Alike 3.0 Unported - Do not remove links here! -->
  153. <!-- End licence -->
  154. </div><!--END PAGE-->
  155. <script type="text/javascript">
  156. var scswitcher=new ddtabcontent("switchit")
  157. scswitcher.setpersist(true)
  158. scswitcher.setselectedClassTarget("link")
  159. scswitcher.init()
  160. </script>
  161. <script type="text/javascript">
  162. stepcarousel.setup({ galleryid: 'mygallery', beltclass: 'belt', panelclass: 'panel', autostep: {enable:true, moveby:1, pause:3000}, panelbehavior: {speed:500, wraparound:false, persist:true}, defaultbuttons: {enable: true, moveby: 1, leftnav: ['styles/head/pfeillinks.jpg', -31, 17], rightnav: ['styles/head/pfeilrechts.jpg', 20, 17]}, statusvars: ['statusA', 'statusB', 'statusC'], contenttype: ['inline'] })
  163. </script>
  164. <script type="text/javascript">
  165. featuredcontentslider.init({ id: "slider1", contentsource: ["inline", ""], toc: "markup", nextprev: ["", "Next"], revealtype: "mouseover", enablefade: [true, 0.1], autorotate: [true, 10000], onChange: function(previndex, curindex){ } })
  166. </script>
  167. </body>
  168. </html>