blob: 495e315636bb4f8a20ad07bb56f53a6f68b891a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
<?php
$maxCnt = 0;
foreach ($this->images as $base => $cpus) {
$maxCnt = max($maxCnt, count($cpus));
}
?>
<div class="controls">
<?= $this->tabs ?>
<h1>CPUs</h1>
</div>
<div class="content">
<table style="width: 100%;">
<tr>
<th style="width: 15em;"> </th>
<th>CPUs</th>
</tr>
<?php foreach ($this->images as $base => $cpus): ?>
<tr>
<th style="vertical-align: top; text-align: right; padding-right: 2em;"><?= $this->escape($base) ?></th>
<td>
<?php foreach ($cpus as $num => $img): ?>
<div style="width: 53px; float: left;"><img src="<?= $img ?>" /><!--<br />CPU <?= $num ?>--></div>
<?php endforeach ?>
</td>
</tr>
<?php endforeach ?>
</table>
</div>
|