raylu 14 жил өмнө
parent
commit
a4c75f37d8

+ 3 - 2
views/anime/view.html.php

@@ -67,7 +67,7 @@ Members: <?= $anime->mal_score ?>
 <p>
 <a href="/anime/cast/<?= $anime->special_id ?>" onclick="return toggleCast()">Cast &#x2193;</a>
 </p>
-<p><table>
+<table>
 <?php foreach($anime->cast as $char): ?>
 	<tr>
 		<td colspan="3">
@@ -84,7 +84,8 @@ Members: <?= $anime->mal_score ?>
 		<?php endforeach; ?>
 	<?php endif; ?>
 <?php endforeach; ?>
-</table></p>
+</table>
+<br>
 <p id="castlink">
 <a href="" onclick="return toggleCast()">Cast &#x2191;</a>
 </p>

+ 5 - 3
views/elements/animetable.html.php

@@ -1,7 +1,9 @@
 <table>
-<th>Title</th>
-<th>Date</th>
-<th>Type</th>
+<tr>
+	<th>Title</th>
+	<th>Date</th>
+	<th>Type</th>
+</tr>
 <?php foreach ($anime as $a): ?>
 	<tr>
 		<td>

+ 4 - 2
views/elements/kdramatable.html.php

@@ -1,6 +1,8 @@
 <table>
-<th>Title</th>
-<th>Date</th>
+<tr>
+	<th>Title</th>
+	<th>Date</th>
+</tr>
 <?php foreach ($kdrama as $k): ?>
 	<tr>
 		<td>

+ 5 - 3
views/elements/mangatable.html.php

@@ -1,7 +1,9 @@
 <table>
-<th>Title</th>
-<th>Date</th>
-<th style="width: 200px">Type</th>
+<tr>
+	<th>Title</th>
+	<th>Date</th>
+	<th style="width: 200px">Type</th>
+</tr>
 <?php foreach ($manga as $m): ?>
 	<tr>
 		<td>

+ 1 - 1
views/elements/search.html.php

@@ -1,5 +1,5 @@
 <?= $this->form->create(null, array('method' => 'get', 'class' => 'search')); ?>
-	<?= $this->form->text('q'); ?>
+	<?= $this->form->text('q', array('id' => 'q')); ?>
 	<?= $this->form->select('type', array(''  => 'All',
 								  		  'anime'  => 'Anime',
 								  		  'manga'  => 'Manga',