diff options
author | Michael Francis <edude03@gmail.com> | 2011-06-20 22:10:37 -0400 |
---|---|---|
committer | Michael Francis <edude03@gmail.com> | 2011-06-20 22:10:37 -0400 |
commit | b3178389a36c78aded751c3ecc3113cd3334bd90 (patch) | |
tree | e9e0467a405d90876430643892bc8e0dd151c149 /views | |
parent | 248c8cd1138bb9e16138acf04ba6e4f943b41e89 (diff) | |
download | otakuhub-b3178389a36c78aded751c3ecc3113cd3334bd90.tar.xz |
Created anime view, (to depreciate contentList)
Diffstat (limited to 'views')
-rw-r--r-- | views/anime/view.html.php | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/views/anime/view.html.php b/views/anime/view.html.php new file mode 100644 index 0000000..4a3b8c9 --- /dev/null +++ b/views/anime/view.html.php @@ -0,0 +1,68 @@ +<h2 class="ribbon full"><?= $content->title ?></h2> +<div class="triangle-ribbon"></div> +<br class="cl" /> + +<div class="container_12"> +<!-- Start Sidebar --> +<div class="grid_4" id="sidebar"> +<img src="<?=$content->image ?>" > + +<h2 class="ribbon"> Alternative Titles </h2> +<hr/> +<p> +<?php if(isset($content->alternative_titles)) : ?> +<?php foreach($content->alternative_titles as $title): ?> + <?= $title ?> +<?php endforeach; ?> +<?php endif; ?> +</p> +<h2> Information </h2> +<span> Type: <?= $content->view_type ?> </span> +Episodes: <?= $content->episode_count ?><br/> +Status: <?= $content->status ?><br/> +Aired: <?= $content->aired ?><br/> +Producers: <?php foreach($content->producers as $producer): ?> +<a href="/producer/view/<?= $producer ?>"><?= $producer ?></a>, +<?php endforeach; ?><br/> +Genres: <?php foreach($content->genres as $genres): ?> +<a href="/genres/view/<?= $genres ?>"><?= $genres ?></a>, +<?php endforeach ?><br/> +Duration: <?= $content->episode_duration ?><br/> +Rating: <?= $content->rating ?><br/> + +<h2 class="ribbon">Statistics</h2> +Score: <br/> +Ranked: <br/> +Popularity: <br/> +Members:<br/> +Favorited by: over 9000 Users<br/> + +<h2 class="ribbon"> My Info </h2> +<hr/> +<!-- End Sidebar --> +</div> +<div class="grid_8" id="content"> +<!-- Start Content --> +<h2>Synopsis</h2> +<hr/> +<?= $content->synopsis ?> + +<h2>Related Animes</h2> +<hr/> + +<h2>Characters And VA's </h2> +<hr/> +<?php foreach($content->cast as $char): ?> +<?= $char->character ?> +<?= $char->role ?> +Played by: + <?php if (isset($char->people)): ?> + <?php foreach($char->people as $actor): ?> + <?= $actor->name ?> + <?= $actor->language ?> + <?php endforeach; ?> + <?php endif; ?> +<?php endforeach; ?> +</div> +<br class="cl"/> +</div>
\ No newline at end of file |