Например так:
<table>
<?php foreach ($items as $item):?>
<tr>
<td>
<?php echo date("d.m.Y", strtotime($item['date']));?>
</td>
<td>
<a href="/item/item.php?item_id=<?php echo $item['id']?>">
<img src="/images/<?php echo$item['image'];?>" class="small-image">
</a>
</td>
<td>
<a href="/item/item.php?item_id=<?php echo $item['id']?>">
<?php echo mb_strimwidth($item['name'], 0, 30, "...");?>
</a>
</td>
<td>
<?php echo number_format($item['price'],0,"."," ");?> руб.
</td>
<td>
<?php echo $item['categoryname'];?>
</td>
<td>
<img src="../images/eye.png" title="Просмотров объявления"> <?php echo $item['views'];?>
</td>
</tr>
<?php endforeach;?>
</table>