mirror of
https://github.com/manuelkasper/AS-Stats.git
synced 2025-02-20 11:44:12 +08:00
use getHTML* function
This commit is contained in:
parent
0d5a6b0dc7
commit
3162e367b7
11
www/top.php
11
www/top.php
@ -88,12 +88,11 @@ echo join(" | ", $htmllinks);
|
||||
</div>
|
||||
</th>
|
||||
<td>
|
||||
<?php if ($showv6): ?>
|
||||
<a href="history.php?v=4&as=<?php echo $as; ?>" target="_blank"><img alt="AS graph" src="gengraph.php?as=<?php echo $as; ?>&width=<?php echo $top_graph_width ?>&height=<?php echo $top_graph_height ?>&v=4&nolegend=1&dname=<?php echo rawurlencode("AS" . $as . " - " . $asinfo['descr'] . " - IPV4"); ?>&start=<?php echo $start; ?>&end=<?php echo $end; ?>" width="<?php echo $top_graph_width ?>" height="<?php echo $top_graph_height ?>" border="0" /></a>
|
||||
<a href="history.php?v=6&as=<?php echo $as; ?>" target="_blank"><img alt="AS graph" src="gengraph.php?as=<?php echo $as; ?>&width=<?php echo $top_graph_width ?>&height=<?php echo $top_graph_height ?>&v=6&nolegend=1&dname=<?php echo rawurlencode("AS" . $as . " - " . $asinfo['descr'] . " - IPV6"); ?>&start=<?php echo $start; ?>&end=<?php echo $end; ?>" width="<?php echo $top_graph_width ?>" height="<?php echo $top_graph_height ?>" border="0" /></a>
|
||||
<?php else: ?>
|
||||
<a href="history.php?as=<?php echo $as; ?>" target="_blank"><img alt="AS graph" src="gengraph.php?as=<?php echo $as; ?>&width=<?php echo $top_graph_width ?>&height=<?php echo $top_graph_height ?>&nolegend=1&dname=<?php echo rawurlencode("AS" . $as . " - " . $asinfo['descr'] . ""); ?>&start=<?php echo $start; ?>&end=<?php echo $end; ?>" width="<?php echo $top_graph_width ?>" height="<?php echo $top_graph_height ?>" border="0" /></a>
|
||||
<?php endif; ?>
|
||||
<?php
|
||||
echo getHTMLUrl($as, 4, $asinfo['descr'], $start, $end);
|
||||
if ($showv6)
|
||||
echo getHTMLUrl($as, 6, $asinfo['descr'], $start, $end);
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php $i++; endforeach; ?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user