KXStudio Website https://kx.studio/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

202 lines
8.5KB

  1. <?php
  2. $SHOW_NOTE = TRUE;
  3. /*if (file_exists("/var/www/kxstudio/paste/"))
  4. {
  5. $ROOT = "/kxstudio";
  6. $SHOW_NOTE = FALSE;
  7. }
  8. else*/
  9. {
  10. $ROOT = "";
  11. $SHOW_NOTE = FALSE;
  12. }
  13. ?>
  14. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  15. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
  16. <head>
  17. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  18. <!--[if lt IE 7]>
  19. <meta http-equiv="imagetoolbar" content="no" />
  20. <![endif]-->
  21. <title><?php echo $PAGE_TITLE; ?></title>
  22. <link rel="copyright" href="http://creativecommons.org/licenses/publicdomain/" />
  23. <link rel="stylesheet" href="<?php echo $ROOT; ?>/css/style.fluid.css" type="text/css" media="screen" />
  24. <link rel="stylesheet" href="<?php echo $ROOT; ?>/css/style.css" type="text/css" media="screen" />
  25. <link rel="icon" type="image/png" href="<?php echo $ROOT; ?>/images/ico_kxstudio.png" />
  26. <link rel="shortcut icon" href="<?php echo $ROOT; ?>/favicon.ico" />
  27. <?php if ($PAGE_TYPE == "HOME") { ?>
  28. <script type="text/javascript" src="includes/jquery-1.4.2.min.js"></script>
  29. <script type="text/javascript" src="includes/responsiveslides.min.js"></script>
  30. <script type="text/javascript">
  31. $(window).load(function() {
  32. $(".rslides").responsiveSlides({
  33. auto: true,
  34. nav: true,
  35. pager: false,
  36. speed: 1000,
  37. timeout: 7500,
  38. namespace: "large-btns"
  39. });
  40. });
  41. </script>
  42. <?php } else if ($PAGE_TYPE == "PASTE") { ?>
  43. <link rel="stylesheet" href="<?php echo $ROOT; ?>/paste/kxstudio.css" type="text/css" media="screen" />
  44. <!-- Special Paste CSS -->
  45. <style type="text/css">
  46. html, body {
  47. color: white;
  48. }
  49. .paste_textarea_border {
  50. height: 300px;
  51. border: 1px solid gray;
  52. }
  53. <?php if ($show_paste) { ?>
  54. div .paste_canvas_area {
  55. font-family: monospace;
  56. }
  57. <?php } ?>
  58. <?php if ($show_numbers) { ?>
  59. div .paste_canvas_area {
  60. padding-left: 10px;
  61. }
  62. <?php } ?>
  63. textarea {
  64. width: 100%;
  65. height: 100%;
  66. margin: 0;
  67. padding: 0;
  68. border-width: 0;
  69. resize: none;
  70. }
  71. </style>
  72. <?php } else if ($PAGE_TYPE == "DONATIONS") { ?>
  73. <script type="text/javascript">
  74. /* <![CDATA[ */
  75. (function() {
  76. var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
  77. s.type = 'text/javascript';
  78. s.async = true;
  79. s.src = 'http://api.flattr.com/js/0.6/load.js?mode=auto';
  80. t.parentNode.insertBefore(s, t);
  81. })();
  82. /* ]]> */
  83. </script>
  84. <?php } ?>
  85. </head>
  86. <?php if ($PAGE_TYPE == "HOME") { ?>
  87. <body class="mediawiki ltr ns-0 ns-subject skin-bentofluid" style="min-width:1076px">
  88. <?php } else { ?>
  89. <body class="mediawiki ltr ns-0 ns-subject skin-bentofluid">
  90. <?php } ?>
  91. <a name="Top" id="Top"></a>
  92. <!-- Start: Header -->
  93. <div id="header">
  94. <div id="header-content" class="container_12">
  95. <a id="header-logo" href="<?php echo $ROOT; ?>/">
  96. <img src="<?php echo $ROOT; ?>/images/header-logo_mod.png" width="46" height="26" alt="Header Logo"/>
  97. </a>
  98. <a id="header-home" href="<?php echo $ROOT; ?>/" style="font-size:1.2em">Home</a>
  99. <ul id="global-navigation">
  100. <li id="item-apps"><a href="<?php echo $ROOT; ?>/Applications">Applications</a></li>
  101. <li id="item-plugins"><a href="<?php echo $ROOT; ?>/Plugins">Plugins</a></li>
  102. <li id="item-repos"><a href="<?php echo $ROOT; ?>/Repositories">Repositories</a></li>
  103. <li id="item-documentation"><a href="<?php echo $ROOT; ?>/Documentation">Documentation</a></li>
  104. <li id="item-donate"><a href="<?php echo $ROOT; ?>/Donations">Donations</a></li>
  105. <li id="item-downloads"><a href="<?php echo $ROOT; ?>/Downloads">Downloads</a></li>
  106. <li id="item-paste"><a href="<?php echo $ROOT; ?>/Paste">Paste</a></li>
  107. </ul>
  108. </div>
  109. </div>
  110. <!-- End: Header -->
  111. <?php if ($PAGE_TYPE == "HOME") { ?>
  112. <div id="rslides_container">
  113. <ul class="rslides" id="slider1">
  114. <li><a href="<?php echo $ROOT; ?>/Repositories:Applications"><img src="<?php echo $ROOT; ?>/images/slider-applications.jpg" alt=""/></a></li>
  115. <li><a href="<?php echo $ROOT; ?>/Documentation:KXStudio12043:About"><img src="<?php echo $ROOT; ?>/images/slider-distribution.jpg" alt=""/></a></li>
  116. <li><a href="<?php echo $ROOT; ?>/Plugins"><img src="<?php echo $ROOT; ?>/images/slider-plugins.jpg" alt=""/></a></li>
  117. </ul>
  118. </div>
  119. <?php } else { ?>
  120. <?php if ($PAGE_TYPE == "PASTE") { ?>
  121. <a href="http://qbnz.com/highlighter" class="external text" rel="nofollow" target="_blank" style="position:absolute; top:37px; right:5%;"><img src="<?php echo $ROOT; ?>/images/powered-by-geshi.png" alt="Powered by GeSHi"/></a>
  122. <?php } ?>
  123. <div id="subheader" class="container_16">
  124. <div id="breadcrump" class="grid_12 alpha">
  125. <a href="<?php echo $ROOT; ?>/" title="Home"><img src="<?php echo $ROOT; ?>/images/home_grey.png" width="16" height="16" alt="Home" /> KXStudio </a>
  126. <?php for ($i = 0; $i < count($PAGE_SOURCE_1); $i++) { ?>
  127. &gt; <a href="<?php echo $ROOT . $PAGE_SOURCE_1[$i]; ?>"><?php echo $PAGE_SOURCE_2[$i]; ?></a>
  128. <?php } ?>
  129. </div>
  130. </div>
  131. <?php } ?>
  132. <!-- Start: Main Content Area -->
  133. <div id="content" class="container_16 content-wrapper">
  134. <?php if ($PAGE_TYPE == "HOME") { ?>
  135. <div id="some-content" class="box box-shadow grid_13 clearfix">
  136. <?php } else { ?>
  137. <div id="some-content" class="box box-shadow grid_77 clearfix">
  138. <?php } ?>
  139. <!-- Start: Box header -->
  140. <div class="box-header header-tabs">
  141. <ul>
  142. <li><a href="#Top">Top</a></li>
  143. <?php if ($PAGE_TYPE == "APPLICATION") { ?>
  144. <li><a href="#Interface">Interface</a></li>
  145. <li><a href="#Usage">Usage</a></li>
  146. <li><a href="#Download">Download</a></li>
  147. <?php } else if ($PAGE_TYPE == "APPLICATION_NU") { ?>
  148. <li><a href="#Interface">Interface</a></li>
  149. <li><a href="#Download">Download</a></li>
  150. <?php } else if ($PAGE_TYPE == "DOWNLOADS") { ?>
  151. <li><a href="#Artwork">Artwork</a></li>
  152. <li><a href="#Binaries">Binaries</a></li>
  153. <li><a href="#SourceCode">Source Code</a></li>
  154. <li><a href="#LiveDVD">Live-DVD</a></li>
  155. <li><a href="#AllDownloads">All Downloads</a></li>
  156. <?php } else if ($PAGE_TYPE == "PASTE") { ?>
  157. <li><a href="<?php echo $ROOT; ?>/Paste" title="Create new paste">New Paste</a></li>
  158. <?php if ($show_paste && ! $is_error) { ?>
  159. <li><a href="<?php echo $ROOT; ?>/Paste/repo/<?php echo $paste_id; ?>" target="blank" title="View RAW">View RAW</a></li>
  160. <li><a href="<?php echo $ROOT; ?>/Paste/download.php?id=<?php echo $paste_id; ?>" title="Download">Download</a></li>
  161. <?php } ?>
  162. <?php } ?>
  163. </ul>
  164. </div>
  165. <div id="contentSub"></div>
  166. <!-- End: Box header -->
  167. <div class="alpha omega paste_canvas_area">
  168. <?php if ($PAGE_TYPE == "HOME") { ?>
  169. <h1><span class="mw-headline"> About KXStudio </span></h1>
  170. <?php } else if ($PAGE_TYPE != "PASTE") { ?>
  171. <h1><span class="mw-headline"> <?php
  172. for ($i = 0; $i < count($PAGE_SOURCE_2); $i++)
  173. {
  174. if ($i == 0)
  175. {
  176. if ($PAGE_TYPE == "NONKXSTUDIO")
  177. {
  178. echo $PAGE_SOURCE_2[$i];
  179. continue;
  180. }
  181. echo "KXStudio";
  182. }
  183. echo "&nbsp;: " . $PAGE_SOURCE_2[$i];
  184. }
  185. ?> </span></h1>
  186. <?php } ?>
  187. <?php if ($PAGE_TYPE != "PASTE" && $SHOW_NOTE) { ?>
  188. <p style="color:#fa3a3a;">
  189. NOTE: Parts of this website are currently being rewritten, some links might not work at the moment.
  190. </p>
  191. <?php } ?>
  192. <!-- - - - - - - - Begin Content Area - - - - - - - -->