1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
<?php
use \lithium\security\Auth;
/**
* 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 src="/js/jquery-1.6.1.min.js" type="text/javascript"></script>
<?php echo $this->html->style(array('jquery.tagsinput')); ?>
<?= $this->html->script("/js/jquery.tagsinput.min.js"); ?>
<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 -->
<?php
//Get the current user from the session
$user = Auth::check('default');
//If their is data (the user has logged in)
if ($user) {
echo $this->_render('element', 'authnav', compact('user'));
}
else {
echo $this->_render('element', 'normalnav', compact('user'));
}
?>
<br class="cl" />
</header>
<!-- end header -->
<div id="page">
<?php echo $this->content(); ?>
</div>
<!-- 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" />
</footer>
<!-- footer end -->
<!-- Javascript at the bottom for fast page loading -->
<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>
|