diff options
Diffstat (limited to 'src/partials.php')
| -rw-r--r-- | src/partials.php | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/partials.php b/src/partials.php new file mode 100644 index 0000000..c5170af --- /dev/null +++ b/src/partials.php @@ -0,0 +1,31 @@ +<?php +function html_navigation_bar() +{ + echo '' ?> + <section class="navbar"> + <h1>AlrightTV</h1> + <div class="links"> + <a href="/emotes" class="button">Emotes</a> + <a href="/emotes/upload.php" class="button">Upload</a> + <a href="/login" class="button">Log in...</a> + </div> + </section> + <?php ; +} + +function html_navigation_search() +{ + echo '' ?> + <section class="box"> + <div class="box navtab"> + Search... + </div> + <div class="box content"> + <form action="/emotes/search.php" method="get"> + <input type="text" name="q" style="padding:4px;"><br> + <button type="submit" style="width:100%;margin-top:6px;">Find</button> + </form> + </div> + </section> + <?php ; +}
\ No newline at end of file |
