Files
Culidore/tabelrecept.php
2017-03-14 12:57:44 +01:00

37 lines
1015 B
PHP

<table class="receptentabellen" style="cursor:pointer" id="tabrec<?= $xrec ?>">
<tr>
<td colspan="2"><?= htmlspecialchars($row['naam'], ENT_QUOTES, 'UTF-8'); ?></td>
</tr>
<tr>
<td colspan="2"><?= $newformat ?></td>
</tr>
<tr>
<td colspan="2"><img id="fotosss" width="150px" height="150px" src="<?= $row['foto'] ?>"</td>
</tr>
<tr>
<td colspan="2">Gepublished door: <?= htmlspecialchars($row['Username'], ENT_QUOTES, 'UTF-8'); ?></td>
</tr>
<tr>
<td colspan="2"><?= htmlspecialchars($row['omschrijving'], ENT_QUOTES, 'UTF-8'); ?></td>
</tr>
<tr>
<td>
<?php
for ($x = 0; $x < $row['prijs']; $x++) {
echo '<div class="ratrat"><img width="20px" height="20px" src="star.png"></div>';
}
?>
</td>
<td>
<?php
for ($x = 0; $x < $row['rating']; $x++) {
echo '<div class="ratrat"><img width="20px" height="20px" src="star.png"></div>';
}
?>
</td>
</table>