summaryrefslogtreecommitdiff
path: root/Config.BigLine.php
diff options
context:
space:
mode:
authorHugues Hiegel <hugues@hiegel.fr>2009-05-27 15:43:09 +0200
committerHugues Hiegel <hugues@hiegel.fr>2009-05-27 15:43:09 +0200
commitbaffc2d1f698056f2df0a02b7bea04317bc06eb5 (patch)
tree5ccd90f27c8c17aa9f455511bed559e7da67a5e1 /Config.BigLine.php
parent14fdad085440068cf9ba850e42916a39310979b8 (diff)
[NEW] new «Big Line» badge, with bested stuff from Classic Badges
Diffstat (limited to 'Config.BigLine.php')
-rw-r--r--Config.BigLine.php63
1 files changed, 63 insertions, 0 deletions
diff --git a/Config.BigLine.php b/Config.BigLine.php
new file mode 100644
index 0000000..f4db19b
--- /dev/null
+++ b/Config.BigLine.php
@@ -0,0 +1,63 @@
+<?
+
+define(TRUENESS, 4000);
+define(CACHE, (3600*48));
+define(WIDTH, 300);
+define(HEIGHT, 50);
+putenv("GDFONTPATH=/usr/share/fonts/truetype");
+
+define(CACHE_FOLDER, "/var/cache/www/Lastfm");
+
+include("Config.mysql");
+
+$Styles = array ("Modern" => "It_wasn_t_me",
+ "Letters" => "JackOLantern",
+ "Romantic" => "Shelley_Volante",
+ "Elegant" => "ITCEdScr",
+ "Screamy" => "Junkyard",
+ "Girlie" => "girlw___",
+ "Funny" => "PenguinAttack",
+ "Curly" => "Curlz___",
+ "Ruritania"=> "Ruritania",
+ "Simple" => "Georgia",
+ "Morpheus" => "Morpheus",
+ "Flamy" => "Baileysc",
+ "FaceLift" => "facerg__",
+ "TypeO" => "typeo___",
+ "Grindy" => "Jack_the_Hipper",
+ "Horrorful"=> "horrh___"
+ );
+
+$Colors = array(
+ "Black" => 0x000000,
+ "Red" => 0xd11f3c,
+ "Green" => 0x32dc32,
+ "Yellow" => 0xdcdc32,
+ "Blue" => 0x3232dc,
+ "LightBlue" => 0x6666aa,
+ "Gray" => 0xdcdcdc,
+ "White" => 0xffffff
+ );
+
+$Types = array(
+ "TotalTracks" => "Total tracks_",
+ "TotalAlbums" => "Total albums_",
+ "TracksPerDay" => "Daily tracks_",
+ "TracksPerWeek" => "Weekly tracks_",
+ "TracksPerMonth" => "Monthly tracks_",
+ "AlbumsPerDay" => "Daily albums_",
+ "AlbumsPerWeek" => "Weekly albums_",
+ "AlbumsPerMonth" => "Monthly albums_",
+ "Since" => "Since",
+ "Trueness" => "Trueness",
+ );
+
+$Description = array("Trueness" => "<a href=\"http://www.last.fm/group/true+listener\">What's the heck is this </a> ?");
+
+// DEFAULT VALUES //
+if ($user == "") $user="gugusse";
+if (!array_key_exists($style, $Styles)) $style="TypeO";
+if (!array_key_exists($color, $Colors)) $color="Black";
+//if (!array_key_exists($type, $Types)) { $type="UNAVAILABLE" ; $color="Black" ; $username="gugusse" ; }
+
+?>