summaryrefslogtreecommitdiff
path: root/src/emotes/multiple_page.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/emotes/multiple_page.php')
-rw-r--r--src/emotes/multiple_page.php37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/emotes/multiple_page.php b/src/emotes/multiple_page.php
new file mode 100644
index 0000000..e46c7ab
--- /dev/null
+++ b/src/emotes/multiple_page.php
@@ -0,0 +1,37 @@
+<html>
+
+<head>
+ <title>AlrightTV</title>
+ <link rel="stylesheet" href="/static/style.css">
+</head>
+
+<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>";
+ }
+ } else {
+ // info
+ echo "";
+ }
+ ?>
+ </div>
+ </section>
+ </main>
+ </div>
+ </div>
+</body>
+
+</html> \ No newline at end of file