blob: 92a4a6a7fd2cb866bca092a8a3a4cf0262b3068a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<h1>Suppliers</h1>
<? if (!empty($suppliers)): ?>
<table width="100%">
<tr>
<th width="33%">Name</th>
<th>Info</th>
</tr>
<? foreach ($suppliers AS $row): ?>
<? $supplier = $row['Supplier'] ?>
<tr>
<td><b><a href="<?=$supplier->getViewUrl()?>"><?=$supplier->get('name')?></a></b></td>
<td><?=$supplier->get('description')?></td>
</p>
<? endforeach ?>
</table>
<? else: ?>
<b>No suppliers found.</b>
<? endif ?>
|