mirror of
https://github.com/manuelkasper/AS-Stats.git
synced 2025-02-20 11:44:12 +08:00
Merge pull request #11 from nshopik/master
Better colors for linkgraphs
This commit is contained in:
commit
e9877dcde9
@ -22,6 +22,7 @@ $asset_cache_life ="604800"; # 604800 seconds = 7 days
|
||||
$customlinks = array(
|
||||
'PeeringDB' => 'http://www.peeringdb.com/view.php?asn=%as%',
|
||||
'robtex' => 'http://www.robtex.com/as/as%as%.html'
|
||||
'HE' => 'http://bgp.he.net/AS%as%'
|
||||
);
|
||||
|
||||
?>
|
||||
|
@ -8,7 +8,7 @@
|
||||
require_once('func.inc');
|
||||
|
||||
$numtop = 10;
|
||||
$ascolors = array("D41C0E", "E45605", "FECF12", "2FA11C", "19BB7C", "0A4484", "0A7484", "4CB4C4", "971928", "1f348c");
|
||||
$ascolors = array("A6CEE3", "1F78B4", "B2DF8A", "33A02C", "FB9A99", "E31A1C", "FDBF6F", "FF7F00", "CAB2D6", "6A3D9A");
|
||||
|
||||
$link = $_GET['link'];
|
||||
if (!preg_match("/^[0-9a-zA-Z][0-9a-zA-Z\-_]+$/", $link))
|
||||
|
Loading…
x
Reference in New Issue
Block a user