From a7e961bcd2f1e8d98f2ffbb5ff37c2e7f9b981d1 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sat, 19 Apr 2025 20:48:00 +0500 Subject: feat: show emotes --- src/emote.php | 36 +++++++++++++++++++ src/emotes/multiple_page.php | 37 ++++++++++++++++++++ src/emotes/single_page.php | 82 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 155 insertions(+) create mode 100644 src/emote.php create mode 100644 src/emotes/multiple_page.php create mode 100644 src/emotes/single_page.php (limited to 'src') diff --git a/src/emote.php b/src/emote.php new file mode 100644 index 0000000..5d39e42 --- /dev/null +++ b/src/emote.php @@ -0,0 +1,36 @@ +id = $id; + $this->code = $code; + $this->ext = $ext; + $this->created_at = $created_at; + } + + function get_id() + { + return $this->id; + } + + function get_code() + { + return $this->code; + } + + function get_ext() + { + return $this->ext; + } + + function get_created_at() + { + return $this->created_at; + } +} 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 @@ + + + + AlrightTV + + + + +
+
+
+
+ +
+ get_id() . "\">"; + echo "get_id() . "/2x." . $e->get_ext() . "\" alt=\"" . $e->get_code() . "\"/>"; + echo "

" . $e->get_code() . "

"; + echo ""; + } + } else { + // info + echo ""; + } + ?> +
+
+
+
+
+ + + \ No newline at end of file diff --git a/src/emotes/single_page.php b/src/emotes/single_page.php new file mode 100644 index 0000000..254e0e9 --- /dev/null +++ b/src/emotes/single_page.php @@ -0,0 +1,82 @@ + + + + AlrightTV + + + + +
+
+
+
+ +
+
+ <?php echo $emote->get_code() ?> + <?php echo $emote->get_code() ?> + <?php echo $emote->get_code() ?> +
+
+
+ +
+
+
+ + +
+
+
+
+ + + +
+
+ + + +
+ Report + emote +
+
+ +
+ + + + + + + + + +
Uploader' . "someone" . ', '; + echo date("d M Y", $emote->get_created_at()); + ?>
RatingNot rated
+
+ +
+
+

Added in channels

+ +
+
+
+
+
+ + + \ No newline at end of file -- cgit v1.2.3