Added season and episode numbers on hover

This commit is contained in:
2024-04-26 02:08:45 +02:00
parent 5ca5dad63b
commit 0c603146ba
2 changed files with 30 additions and 1 deletions
+4 -1
View File
@@ -50,7 +50,10 @@ $table = $conn->query("SELECT * FROM user" . $user_id . " ORDER BY name;");
$i = 0;
while($row = $table->fetch_assoc()):
?>
<div><img src='https://image.tmdb.org/t/p/original<?php echo $row["poster"];?>' class='poster' alt='<?php echo $row["name"];?>' onclick='openPopup(<?php echo $i;?>)'></div>
<div class='entry'>
<img src='https://image.tmdb.org/t/p/original<?php echo $row["poster"];?>' class='poster' alt='<?php echo $row["name"];?>' onclick='openPopup(<?php echo $i;?>)'>
<div class='info'>Season <span><?php echo $row["season"]; ?></span><br>Episode <span><?php echo $row["episode"]; ?></span> </div>
</div>
<div id='popup<?php echo $i;?>' class='popup'>
<div class='popup-content'>