blob: 28eeeffd07736b846c263d318d074e038aa27bb3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<nav>
<ul id="nav">
<li class="current"><a href="/users/feed">Home</a></li>
<li><a href="about.html">Anime</a></li>
<li><a href="about.html">Manga</a></li>
<li><a href="portfolio.html">Stuff</a>
<li><a href="contact.html">Contact Us</a></li>
<li><a href="#login" rel="prettyPhoto">Login</a></li>
</ul>
</nav>
<?= $this->form->create(null, array('url' => '/search/index/anime', 'class' => 'search', 'method' => 'get')); ?>
<?= $this->form->text('search', array('value' => 'Search...', 'onFocus' => 'clearDefault(this)', 'style' => 'width: 200px')); ?>
<button class="search" type="submit">Go</button>
<?= $this->form->end(); ?>
<div id="login" style="display: none;">
<h2>Login</h2>
<?= $this->form->create(null, array('url' => '/login', 'id' => 'login')); ?>
<?= $this->form->field('username', array('type' => 'textbox')); ?>
<?= $this->form->field('password', array('type' => 'password')); ?>
<?= $this->form->submit('Login'); ?>
<?= $this->form->end(); ?>
</div>
|