Example #1
0
$displayAllLink = $html->getQueryString(array("firstLetter" => "all"));
//---- Output HTML
$html->printHeader();
# Print table with hosts
?>
<p>Total hosts: <?php 
print $hostsCount;
?>
 (<a href="<?php 
print $displayAllLink;
?>
">display all</a>)</p>

<div class="paging">
<?php 
print $html->alphabeticPaging();
?>
</div>

<?php 
$html->printHosts($hosts);
?>

<div class="paging">
<?php 
print $html->alphabeticPaging();
?>
</div>

<?php 
$html->printFooter();