diff options
author | Michael Francis <edude03@gmail.com> | 2011-05-28 13:28:16 -0400 |
---|---|---|
committer | Michael Francis <edude03@gmail.com> | 2011-05-28 13:28:16 -0400 |
commit | 2389d66da849798f8d4ec5f10e3b07c11da49185 (patch) | |
tree | e22556d12982395b469a23420c662662e3e064cc /views/layouts/default.html.php | |
download | otakuhub-2389d66da849798f8d4ec5f10e3b07c11da49185.tar.xz |
Initial Commit
Diffstat (limited to 'views/layouts/default.html.php')
-rw-r--r-- | views/layouts/default.html.php | 129 |
1 files changed, 129 insertions, 0 deletions
diff --git a/views/layouts/default.html.php b/views/layouts/default.html.php new file mode 100644 index 0000000..30f38c6 --- /dev/null +++ b/views/layouts/default.html.php @@ -0,0 +1,129 @@ +<?php +/** + * Lithium: the most rad php framework + * + * @copyright Copyright 2010, Union of RAD (http://union-of-rad.org) + * @license http://opensource.org/licenses/bsd-license.php The BSD License + */ +?> +<!doctype html> +<html> +<head> + <?php echo $this->html->charset();?> + <title>OtakuHub > <?php echo $this->title(); ?></title> + <?php echo $this->html->style(array('style', 'base', 'grid')); ?> + <?php echo $this->html->style(array('themes/light', 'themes/green')); ?> + <?php echo $this->html->style(array('prettyPhoto')); ?> + + + <script type="text/javascript" > + function clearDefault(el) { + if (el.defaultValue==el.value) el.value = "" + } + function resetValue(el) { + el.value = "Search..." + } + </script> + <?php echo $this->html->link('Icon', null, array('type' => 'icon')); ?> +</head> +<!-- start header --> +<div id="wrapper"> + <header> + <!-- logo --> + <h1 id="logo"><a href="/">Kameleon</a></h1> + <!-- nav --> + <nav> +<ul id="nav"> + <li class="current"><a href="/users/feed">Home</a></li> + <li><a href="about.html">Anime</a> + <ul> + <li><a href="about.html">Top Anime</a></li> + <li><a href="#">recomendations</a> + </ul> + <li><a href="about.html">Manga</a> + <ul> + <li><a href="about.html">Top Manga</a></li> + <li><a href="#">recomendations</a> + </ul> + </li> + </li> + <li><a href="portfolio.html">Stuff</a> + + <ul> + <li><a href="portfolio.html">3 Column Portfolio</a></li> + <li><a href="portfolio-list.html">Portfolio List</a></li> + </ul> + + </li> + <li><a href="services.html">Foo</a> + <ul> + <li><a href="pricing.html">Pricing Table</a></li> + </ul> + </li> + <li><a href="contact.html">Contact Us</a></li> + <li><a href="/login?iframe=true&width=100%&height=600px" rel="prettyPhoto[iframes]">Login</a></li> + <li> + <?= $this->form->create(null, array('url' => '/search/index/anime', 'class' => 'search', 'style' => 'height:20px', 'method' => 'get')); ?> + <?= $this->form->text('search', array('value' => 'Search...', 'onFocus' => 'clearDefault(this)', 'class' => 'sidebar-search', 'style' => 'width:200px')); ?> + <button class="search" type="submit">Go</button> + <br class="cl"/> + <?= $this->form->end(); ?> + </li> +</ul> +<br class="cl" /> + </nav> + <br class="cl" /> + </header> + <!-- end header --> + <div id="page"> + <?php echo $this->content(); ?> + </div> + <br class="cl" /> + <!-- footer Start --> + <footer> + <ul class="footer-nav"> + <li><a href="index.html">Home</a> |</li> + <li><a href="about.html">About</a> |</li> + <li><a href="portfolio.html">Terms of Use</a> |</li> + <li><a href="portfolio.html">Terms of Use</a> |</li> + <li><a href="contact.html">Contact</a></li> + </ul> + <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> + <br class="cl" /> + </div> + </footer> + <!-- footer end --> + </div> + <!-- Javascript at the bottom for fast page loading --> + <script src="/js/jquery-1.6.1.min.js" type="text/javascript"></script> + <script src="/js/jquery.tools.min.js" type="text/javascript"></script> + <script src="/js/jquery.lightbox-0.5.min.js" type="text/javascript"></script> + <script src="/js/jquery.form.js" type="text/javascript"></script> + <script src="/js/cufon-yui.js" type="text/javascript"></script> + <script src="/js/Aller.font.js" type="text/javascript"></script> + <script src="/js/jquery.tipsy.js" type="text/javascript"></script> + <script src="/js/functions.js" type="text/javascript"></script> + <?= $this->html->script("/js/jquery.anchor.js"); ?> + <?= $this->html->script("/js/jquery.prettyPhoto.js"); ?> + +<script type="text/javascript" charset="utf-8"> + $(document).ready(function(){ + $("a[rel^='prettyPhoto']").prettyPhoto(); + }); +</script> + + <?php echo $this->scripts(); ?> + <script type="text/javascript"> + $(document).ready(function(){ + setTimeout(function(){ + $(".flash-message").fadeOut("slow", function () { + $(".flash-message").remove(); + }); }, 2000); + }); + </script> + + <!--[if lt IE 7 ]> + <script src="js/dd_belatedpng.js"></script> + <![endif]--> +</body> +</html> |