CODE
<?php
echo "<table cellpadding='2'>";
foreach($this->citylist as $key => $value) {
echo "<tr>
<td class='obrazek' rowspan='3'><a href='<?php $this->url(array('controller'=>'sale', 'action'=>'list', 'id' => '".$value->id."'));'><img src='/sala/public/img/background/obrazek.jpg'></a></td>
<td class='table1'width='150'>Miasto:".$value->miasto."</td>
</tr>
<tr>
<td class='table1'>Miasto:".$value->miasto."</td>
</tr>
<tr>
<td class='table1'>Miasto:".$value->miasto."</td>
</tr>";
}
echo "</table>";
?>
echo "<table cellpadding='2'>";
foreach($this->citylist as $key => $value) {
echo "<tr>
<td class='obrazek' rowspan='3'><a href='<?php $this->url(array('controller'=>'sale', 'action'=>'list', 'id' => '".$value->id."'));'><img src='/sala/public/img/background/obrazek.jpg'></a></td>
<td class='table1'width='150'>Miasto:".$value->miasto."</td>
</tr>
<tr>
<td class='table1'>Miasto:".$value->miasto."</td>
</tr>
<tr>
<td class='table1'>Miasto:".$value->miasto."</td>
</tr>";
}
echo "</table>";
?>