mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-17 19:23:27 +02:00
* moved some more pages to twig
* moved online, movies, google_analytics code, faq, experience_table, downloads to twig * added new global variabl to twig (status) * removed some unused page (custom.php) * automatically append trailing slash at config.item_images_url * moved downloads from clients.halfaway.net to tibia-clients.com * show some more info on monster loot (currently only on TFS 0.3 and those that use item.id in monster files instead of item name) * some more unimportant fixes
This commit is contained in:
@@ -21,11 +21,8 @@ There are no movies added yet.
|
||||
echo ' You can add new movies in phpmyadmin under ' . TABLE_PREFIX . 'movies table.';
|
||||
return;
|
||||
}
|
||||
|
||||
echo $twig->render('movies.html.twig', array(
|
||||
'movies' => $movies
|
||||
));
|
||||
?>
|
||||
<div style="text-align: center;">
|
||||
<?php foreach($movies as $movie): ?>
|
||||
<?php echo $movie['title']; ?><br/>
|
||||
Author: <?php echo $movie['author']; ?><br/>
|
||||
<iframe width="560" height="315" src="https://www.youtube.com/embed/<?php echo $movie['youtube_id']; ?>" frameborder="0" allowfullscreen></iframe><br/><br/>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user