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.

125 lines
3.7 KiB

7 years ago
  1. <!DOCTYPE html>
  2. <html class="js" lang="<?php echo $Site->language() ?>">
  3. <head profile="http://gmpg.org/xfn/11">
  4. <?php include(PATH_THEME_PHP.'head.php') ?>
  5. </head>
  6. <?php
  7. if( ($Url->whereAmI()=='home') || ($Url->whereAmI()=='tag') || ($Url->whereAmI()=='blog') )
  8. {
  9. echo '<body class="header-image fullwidth">';
  10. }
  11. elseif($Url->whereAmI()=='post')
  12. {
  13. echo '<body class="single single-post">';
  14. }
  15. elseif($Url->whereAmI()=='page')
  16. {
  17. echo '<body class="page page-template-default">';
  18. }
  19. ?>
  20. <!-- Plugins Site Body Begin -->
  21. <?php Theme::plugins('siteBodyBegin') ?>
  22. <div class="navigation" >
  23. <div class="navigation-inner section-inner">
  24. <ul class="blog-menu">
  25. <?php
  26. echo '<li class="menu-item menu-item-type-custom menu-item-object-custom"><a href="'.$Site->urlBlog().'">Blog</a></li> ';
  27. $parents = $pagesParents[NO_PARENT_CHAR];
  28. foreach($parents as $Parent) {
  29. echo '<li class="menu-item menu-item-type-custom menu-item-object-custom"><a href="'.$Parent->permalink().'">'.$Parent->title().'</a></li> ';
  30. }
  31. ?>
  32. </ul>
  33. <div class="clear"></div>
  34. </div> <!-- /navigation-inner -->
  35. </div> <!-- /navigation -->
  36. <div class="header section">
  37. <div class="header-inner section-inner">
  38. <a href="<?php echo $Site->url() ?>" rel="home" class="logo"><img src="<?php echo(HTML_PATH_UPLOADS_PROFILES.'/admin.png') ?>" alt="<?php echo $Site->title() ?>"></a>
  39. <h1 class="blog-title">
  40. <a href="<?php echo $Site->url() ?>" rel="home"><?php echo $Site->title() ?></a>
  41. </h1>
  42. <div class="nav-toggle">
  43. <div class="bar"></div>
  44. <div class="bar"></div>
  45. <div class="bar"></div>
  46. <div class="clear"></div>
  47. </div>
  48. <div class="clear"></div>
  49. <h3 class="blog-subtitle">
  50. <?php echo $Site->slogan() ?>
  51. </h3>
  52. <div class="clear"></div>
  53. </div> <!-- /header section -->
  54. </div> <!-- /header-inner section-inner -->
  55. <?php
  56. if( ($Url->whereAmI()=='home') || ($Url->whereAmI()=='tag') || ($Url->whereAmI()=='blog') )
  57. {
  58. include(PATH_THEME_PHP.'home.php');
  59. }
  60. elseif($Url->whereAmI()=='post')
  61. {
  62. include(PATH_THEME_PHP.'post.php');
  63. }
  64. elseif($Url->whereAmI()=='page')
  65. {
  66. include(PATH_THEME_PHP.'page.php');
  67. }
  68. ?>
  69. <!-- Footer -->
  70. <?php include(PATH_THEME_PHP.'sidebar.php') ?>
  71. <div class="credits section">
  72. <div class="credits-inner section-inner">
  73. <p class="credits-left">
  74. <span>publishing with <a href="https://www.bludit.com/">Bludit CMS</a> <?php echo $Site->footer() ?></span>
  75. </p>
  76. <p class="credits-right">
  77. <span>Lingonberry by <a href="http://www.andersnoren.se">Anders Noren</a> - </span><span>Ported by <a href="http://www.iamnobuna.ga">Hakim Zulkufli</a> -//- </span><a class="tothetop">Hoch </a>
  78. </p>
  79. <div class="clear"></div>
  80. <div class="license-img">
  81. <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">
  82. <img alt="CC License " src="<?php echo(HTML_PATH_UPLOADS.'/cc.png')?>" />
  83. <img alt="BY" src="<?php echo(HTML_PATH_UPLOADS.'/by.png')?>" />
  84. </a>
  85. </div>
  86. <div class="license-text">
  87. Soweit nicht anders vermerkt, stehen die Inhalte unter der <a rel="license" href="http://creativecommons.org/licenses/by/4.0/deed.de">Creative Commons Attribution 4.0 International License</a>.
  88. </div>
  89. </div> <!-- /credits-inner -->
  90. </div> <!-- /credits -->
  91. <!-- Plugins Site Body End -->
  92. <?php Theme::plugins('siteBodyEnd') ?>
  93. <!-- Javascript -->
  94. <?php Theme::javascript(array(
  95. 'flexslider.min.js',
  96. 'global.js'
  97. )); ?>
  98. </body>
  99. </html>