';
$aff_astable .= '
';
$aff_astable .= '
' . $img_flag . ' AS' . $as . ': ' . $asinfo['descr'] . '';
$aff_astable .= '
In the last '. $label . '
';
$aff_astable .= '
IPv4: ~ '.format_bytes($nbytes[0]).' in / ' . format_bytes($nbytes[1]) . '
';
if ($showv6) {
$aff_astable .= '
IPv6: ~ '.format_bytes($nbytes[2]).' in / ' . format_bytes($nbytes[3]) . '
';
}
// CUSTOM LINKS
$htmllinks = array();
foreach ($customlinks as $linkname => $url) {
$url = str_replace("%as%", $as, $url);
$htmllinks[] = "
" . htmlspecialchars($linkname) . "\n";
}
$aff_astable .= '
' . join(" | ", $htmllinks) . '';
// RANK
$aff_astable .= '
';
$aff_astable .= '#' . ($i+1);
$aff_astable .= '
';
$aff_astable .= '
';
if ($showv6) { $col = "5"; } else { $col="10"; }
$aff_astable .= '
';
$aff_astable .= '';
$aff_astable .= getHTMLUrl($as, 4, $asinfo['descr'], $start, $end, $peerusage, $selected_links);
$aff_astable .= '';
$aff_astable .= '
';
if ($showv6) {
$aff_astable .= '
';
$aff_astable .= '';
$aff_astable .= getHTMLUrl($as, 6, $asinfo['descr'], $start, $end, $peerusage, $selected_links);
$aff_astable .= '';
$aff_astable .= '
';
}
$aff_astable .= '
';
$aff_astable .= '