explict listing

This commit is contained in:
Serghey Rodin 2012-05-20 18:23:49 +03:00
commit d59de4c125
18 changed files with 196 additions and 13 deletions

View file

@ -2,6 +2,7 @@
<?php
foreach ($data as $key => $value) {
++$i;
?>
<tr class="data-row">
@ -49,3 +50,16 @@ foreach ($data as $key => $value) {
}
?>
</table>
<table class="data-count">
<tr>
<td><i>
<?php
if ( $i == 1) {
echo "1 ip address ";
} else {
echo "$i ip addresses ";
}
?>
listed</i></td>
</tr>
</table>