default.html.php 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. <?php
  2. /**
  3. * Lithium: the most rad php framework
  4. *
  5. * @copyright Copyright 2010, Union of RAD (http://union-of-rad.org)
  6. * @license http://opensource.org/licenses/bsd-license.php The BSD License
  7. */
  8. ?>
  9. <!doctype html>
  10. <html>
  11. <head>
  12. <?php echo $this->html->charset();?>
  13. <title>OtakuHub > <?php echo $this->title(); ?></title>
  14. <?php echo $this->html->style(array('style', 'base', 'grid')); ?>
  15. <?php echo $this->html->style(array('themes/light', 'themes/green')); ?>
  16. <?php echo $this->html->style(array('prettyPhoto')); ?>
  17. <script type="text/javascript" >
  18. function clearDefault(el) {
  19. if (el.defaultValue==el.value) el.value = ""
  20. }
  21. function resetValue(el) {
  22. el.value = "Search..."
  23. }
  24. </script>
  25. <?php echo $this->html->link('Icon', null, array('type' => 'icon')); ?>
  26. </head>
  27. <!-- start header -->
  28. <div id="wrapper">
  29. <header>
  30. <!-- logo -->
  31. <h1 id="logo"><a href="/">Kameleon</a></h1>
  32. <!-- nav -->
  33. <nav>
  34. <ul id="nav">
  35. <li class="current"><a href="/users/feed">Home</a></li>
  36. <li><a href="about.html">Anime</a>
  37. <ul>
  38. <li><a href="about.html">Top Anime</a></li>
  39. <li><a href="#">recomendations</a>
  40. </ul>
  41. <li><a href="about.html">Manga</a>
  42. <ul>
  43. <li><a href="about.html">Top Manga</a></li>
  44. <li><a href="#">recomendations</a>
  45. </ul>
  46. </li>
  47. </li>
  48. <li><a href="portfolio.html">Stuff</a>
  49. <ul>
  50. <li><a href="portfolio.html">3 Column Portfolio</a></li>
  51. <li><a href="portfolio-list.html">Portfolio List</a></li>
  52. </ul>
  53. </li>
  54. <li><a href="services.html">Foo</a>
  55. <ul>
  56. <li><a href="pricing.html">Pricing Table</a></li>
  57. </ul>
  58. </li>
  59. <li><a href="contact.html">Contact Us</a></li>
  60. <li><a href="/login?iframe=true&width=100%&height=600px" rel="prettyPhoto[iframes]">Login</a></li>
  61. <li>
  62. <?= $this->form->create(null, array('url' => '/search/index/anime', 'class' => 'search', 'style' => 'height:20px', 'method' => 'get')); ?>
  63. <?= $this->form->text('search', array('value' => 'Search...', 'onFocus' => 'clearDefault(this)', 'class' => 'sidebar-search', 'style' => 'width:200px')); ?>
  64. <button class="search" type="submit">Go</button>
  65. <br class="cl"/>
  66. <?= $this->form->end(); ?>
  67. </li>
  68. </ul>
  69. <br class="cl" />
  70. </nav>
  71. <br class="cl" />
  72. </header>
  73. <!-- end header -->
  74. <div id="page">
  75. <?php echo $this->content(); ?>
  76. </div>
  77. <br class="cl" />
  78. <!-- footer Start -->
  79. <footer>
  80. <ul class="footer-nav">
  81. <li><a href="index.html">Home</a> |</li>
  82. <li><a href="about.html">About</a> |</li>
  83. <li><a href="portfolio.html">Terms of Use</a> |</li>
  84. <li><a href="portfolio.html">Terms of Use</a> |</li>
  85. <li><a href="contact.html">Contact</a></li>
  86. </ul>
  87. <p>Copyright ©2011, <a href="http://www.melenion.org">Melenion Dev Studios</a> Designed by: <a href="http://www.mudodesigns.com">Chris Mooney</a></p>
  88. <br class="cl" />
  89. </div>
  90. </footer>
  91. <!-- footer end -->
  92. </div>
  93. <!-- Javascript at the bottom for fast page loading -->
  94. <script src="/js/jquery-1.6.1.min.js" type="text/javascript"></script>
  95. <script src="/js/jquery.tools.min.js" type="text/javascript"></script>
  96. <script src="/js/jquery.lightbox-0.5.min.js" type="text/javascript"></script>
  97. <script src="/js/jquery.form.js" type="text/javascript"></script>
  98. <script src="/js/cufon-yui.js" type="text/javascript"></script>
  99. <script src="/js/Aller.font.js" type="text/javascript"></script>
  100. <script src="/js/jquery.tipsy.js" type="text/javascript"></script>
  101. <script src="/js/functions.js" type="text/javascript"></script>
  102. <?= $this->html->script("/js/jquery.anchor.js"); ?>
  103. <?= $this->html->script("/js/jquery.prettyPhoto.js"); ?>
  104. <script type="text/javascript" charset="utf-8">
  105. $(document).ready(function(){
  106. $("a[rel^='prettyPhoto']").prettyPhoto();
  107. });
  108. </script>
  109. <?php echo $this->scripts(); ?>
  110. <script type="text/javascript">
  111. $(document).ready(function(){
  112. setTimeout(function(){
  113. $(".flash-message").fadeOut("slow", function () {
  114. $(".flash-message").remove();
  115. }); }, 2000);
  116. });
  117. </script>
  118. <!--[if lt IE 7 ]>
  119. <script src="js/dd_belatedpng.js"></script>
  120. <![endif]-->
  121. </body>
  122. </html>