$width = (int) $_GET['width']; } if (isset($_GET['height'])) { $height = (int) $_GET['height']; } $v6_el = ""; if (@$_GET['v'] == 6) { $v6_el = "v6_"; } if (isset($_GET['peerusage']) && $_GET['peerusage'] == '1') { $peerusage = 1; } else { $peerusage = 0; } $knownlinks = getknownlinks(); $rrdfile = getRRDFileForAS($as, $peerusage); if ($compat_rrdtool12) { /* cannot use full-size-mode - must estimate height/width */ $height -= 65; $width -= 81; if ($vertical_label) { $width -= 16; } } $cmd = "{$rrdtool} graph - " . "--slope-mode --alt-autoscale -u 0 -l 0 --imgformat=PNG --base=1000 --height={$height} --width={$width} " . "--color BACK#ffffff00 --color SHADEA#ffffff00 --color SHADEB#ffffff00 "; if (!$compat_rrdtool12) { $cmd .= "--full-size-mode "; } if ($vertical_label) { if ($outispositive) { $cmd .= "--vertical-label '<- IN | OUT ->' ";
echo join(" | ", $htmllinks); ?> </div> <?php } ?> <div class="rank"> #<?php echo $i + 1; ?> </div> </th> <td> <?php $rrdfile = getRRDFileForAS($as); if (file_exists($rrdfile)) { ?> <?php if ($showv6) { ?> <a href="history.php?as=<?php echo $as; ?> " target="_blank"><img alt="AS graph" src="gengraph.php?as=<?php echo $as; ?> &width=<?php echo $asset_graph_width; ?> &height=<?php