diff options
| author | ilotterytea <iltsu@alright.party> | 2025-04-19 21:13:24 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-04-19 21:13:24 +0500 |
| commit | cb345c3415b6a09a12b794904bbd85ef7c67af7e (patch) | |
| tree | 7f0b497653ed5b17c56a495c9d09a46bf29cee84 /src/emotes/multiple_page.php | |
| parent | a7e961bcd2f1e8d98f2ffbb5ff37c2e7f9b981d1 (diff) | |
feat: navigation bar and sidebar
Diffstat (limited to 'src/emotes/multiple_page.php')
| -rw-r--r-- | src/emotes/multiple_page.php | 44 |
1 files changed, 25 insertions, 19 deletions
diff --git a/src/emotes/multiple_page.php b/src/emotes/multiple_page.php index e46c7ab..8e2b4d7 100644 --- a/src/emotes/multiple_page.php +++ b/src/emotes/multiple_page.php @@ -8,26 +8,32 @@ <body> <div class="container"> <div class="wrapper"> - <main class="content"> - <section class="box"> - <div class="box navtab"> - <?php echo isset($emotes) ? "Emotes" : "Emote" ?> - </div> - <div class="box content items"> - <?php - if (isset($emotes)) { - foreach ($emotes as $e) { - echo "<a class=\"box emote\" href=\"/emotes/" . $e->get_id() . "\">"; - echo "<img src=\"/static/userdata/emotes/" . $e->get_id() . "/2x." . $e->get_ext() . "\" alt=\"" . $e->get_code() . "\"/>"; - echo "<p>" . $e->get_code() . "</p>"; - echo "</a>"; + <?php html_navigation_bar(); ?> + <main class="page"> + <section class="sidebar"> + <?php html_navigation_search(); ?> + </section> + <section class="content"> + <section class="box"> + <div class="box navtab"> + <?php echo isset($emotes) ? "Emotes" : "Emote" ?> + </div> + <div class="box content items"> + <?php + if (isset($emotes)) { + foreach ($emotes as $e) { + echo "<a class=\"box emote\" href=\"/emotes/" . $e->get_id() . "\">"; + echo "<img src=\"/static/userdata/emotes/" . $e->get_id() . "/2x." . $e->get_ext() . "\" alt=\"" . $e->get_code() . "\"/>"; + echo "<p>" . $e->get_code() . "</p>"; + echo "</a>"; + } + } else { + // info + echo ""; } - } else { - // info - echo ""; - } - ?> - </div> + ?> + </div> + </section> </section> </main> </div> |
