1. <?php
  2. /*
  3. +----------------------------------------------------------------------------+
  4. | e107 website system
  5. |
  6. | ©Geeks Paradox - e107designs 2007
  7. | http://e107designs.org
  8. |
  9. | Released under the terms and conditions of the
  10. | GNU General Public License (http://gnu.org).
  11. |
  12. +----------------------------------------------------------------------------+
  13. */
  14. if (!defined('e107_INIT')) { exit; }
  15. @include_once(e_THEME."decayed/languages/english.php");
  16. // Set theme info
  17. $themename = "Decayed";
  18. $themeversion = "1.3.3.7";
  19. $themeauthor = "TeamColtra";
  20. $themedate = "5/14/2007";
  21. $themeinfo = "Theme Created by Viktor Persson, its realy badass thats why I ported it. Love Coltra";
  22. $xhtmlcompliant = TRUE; // If set to TRUE will display an XHTML compliant logo in theme manager
  23. $csscompliant = TRUE; // If set to TRUE will display a CSS compliant logo in theme manager
  24. define("IMODE", "dark");
  25. $no_core_css = TRUE;
  26. $HEADER = "
  27. <div id='container'>
  28. <div id='content'>
  29. <h1 id='site-title'><a href='index.php'>{SITENAME}</a></h1>
  30. <p id='site-description'>{SITETAG}</p>
  31. ";
  32. $FOOTER = "
  33. <div id='footer'>
  34. <span class='left'>{SITEDISCLAIMER} Valid <a href='http://jigsaw.w3.org/css-validator/check/referer'>CSS</a> &amp; <a href='http://validator.w3.org/check?uri=referer'>XHTML</a></span>
  35. <span class='right'><a href='http://templates.arcsin.se'>Website template</a> by <a href='http://arcsin.se'>Arcsin</a></span>
  36. <div class='clearer'><span></span></div>
  37. </div>
  38. </div>
  39. <div id='navigation'>
  40. <h2 class='decay'>Site Links</h2>
  41. <ul>
  42. <li>{SITELINKS}</li>
  43. </ul>
  44. {SETSTYLE=menu}
  45. {MENU=1}
  46. </div>
  47. </div>
  48. ";
  49. $NEWSSTYLE = "
  50. <h1 class='decay'>{NEWSTITLELINK}</h1>
  51. <div class='descr'>{NEWSDATE} by {NEWSAUTHOR}</div>
  52. <div class='descr'>{NEWSCOMMENTS}</div>
  53. <p>{NEWSBODY}</p>
  54. {EXTENDED}
  55. ";
  56. define("ICONSTYLE", "");
  57. define("COMMENTLINK", LAN_THEME_2);
  58. define("COMMENTOFFSTRING", LAN_THEME_1);
  59. define("PRE_EXTENDEDSTRING", "<br /><br />[ ");
  60. define("EXTENDEDSTRING", LAN_THEME_3);
  61. define("POST_EXTENDEDSTRING", " ]<br />");
  62. define("TRACKBACKSTRING", LAN_THEME_4);
  63. define("TRACKBACKBEFORESTRING", " | ");
  64. // [linkstyle]
  65. define('PRELINK', "<ul>");
  66. define('POSTLINK', "</ul>");
  67. define('LINKSTART', "<li>");
  68. define("LINKSTART_HILITE", "");
  69. define('LINKEND', "</li>");
  70. define('LINKDISPLAY', 1);
  71. define('LINKALIGN', "left");
  72. // [tablestyle]
  73. function tablestyle($caption, $text, $mode)
  74. {
  75. global $style;
  76. if($style == "menu")
  77. {
  78. echo "<h2 class='decay'>\n{$caption}</h2>\n<br />\n
  79. {$text}<br />\n<br />\n";
  80. }
  81. else
  82. {
  83. if($caption)
  84. {
  85. echo "<h2 class='decay'>\n{$caption}</h2>\n{$text}";
  86. }
  87. else
  88. {
  89. echo "{$text}";
  90. }
  91. }
  92. }
  93. $COMMENTSTYLE = "<div class='spacer' style='text-align:center'><table class='fborder' style='width: 95%'>
  94. <tr>
  95. <td class='fcaption' colspan='2'>".LAN_THEME_5." {USERNAME} ".LAN_THEME_6." {TIMEDATE}
  96. </td>
  97. </tr>
  98. {REPLY}{SUBJECT}
  99. <tr>
  100. <td style='width: 20%; vertical-align: top' class='forumheader3'>
  101. <div style='text-align: center'>
  102. {AVATAR}
  103. </div>
  104. {LEVEL}<span class='smalltext'>{JOINED}{COMMENTS}{LOCATION}{IPADDRESS}</span>
  105. </td>
  106. <td style='width: 80%; vertical-align: top' class='forumheader3'>
  107. {COMMENT}
  108. {RATING}
  109. {SIGNATURE}
  110. </td>
  111. </tr>
  112. {COMMENTEDIT}
  113. </table>
  114. </div>";