<?=sprintf(gettext('Statistics unavailable because ntpq and ntpdc queries are disabled in the %sNTP service settings%s.'),'<a href="services_ntpd.php">','</a>')?>
</td></tr>
<?phpelseif(count($ntpq_servers)==0):?>
<tr><tdclass="listlr"colspan="11"align="center">
<?=sprintf(gettext('No peers found, %sis the ntp service running%s?'),'<a href="status_services.php">','</a>')?>
<h3><?=gettext("Network Time Protocol Status");?></h3>
</header>
<divclass="content-box-main">
<divclass="table-responsive">
<tableclass="table table-striped">
<thead>
<tr>
<th><?=gettext("Status");?></th>
<th><?=gettext("Server");?></th>
<th><?=gettext("Ref ID");?></th>
<th><?=gettext("Stratum");?></th>
<th><?=gettext("Type");?></th>
<th><?=gettext("When");?></th>
<th><?=gettext("Poll");?></th>
<th><?=gettext("Reach");?></th>
<th><?=gettext("Delay");?></th>
<th><?=gettext("Offset");?></th>
<th><?=gettext("Jitter");?></th>
</tr>
</thead>
<tbody>
<?php
if(isset($config['ntpd']['noquery'])):?>
<tr>
<tdcolspan="11">
<?=sprintf(gettext('Statistics unavailable because ntpq and ntpdc queries are disabled in the %sNTP service settings%s.'),'<a href="services_ntpd.php">','</a>')?>
</td>
</tr>
<?php
elseif(count($ntpq_servers)==0):?>
<tr>
<tdcolspan="11">
<?=sprintf(gettext('No peers found, %sis the ntp service running%s?'),'<a href="status_services.php">','</a>')?>