1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
<?
define("TRUENESS", 4000);
define("CACHE", (3600*48));
define("WIDTH", 200);
define("HEIGHT", 50);
#putenv("GDFONTPATH=/usr/share/fonts/truetype");
putenv("GDFONTPATH=fonts");
define("CACHE_FOLDER", "cache");
include("Config.mysql.php");
$Styles = array (
"Astonished" => "Astonish",
"Broken" => "Broken15",
"Curly" => "Curlz___",
"DirtyEgo" => "Dirtyego",
"DisgustingBehaviour" => "Disgb___",
"DayOfTheTentacle" => "dott",
"DownCome" => "Downcome",
"FaceLift" => "facerg__",
"Flamy" => "Baileysc",
"Funny" => "PenguinAttack",
"Girlie" => "girlw___",
"Grindy" => "Jack_the_Hipper",
"Guilty" => "Guilty__",
"Hooper"=> "Hooper_D",
"Horrorful"=> "horrh___",
"HorsePuke" => "Horsp___",
"Letters" => "JackOLantern",
"MaxRhodes" => "Maxrhode",
"MemoryLapses" => "Memol___",
"MisProject" => "Misproje",
"Modern" => "It_wasn_t_me",
"Morpheus" => "Morpheus",
"Nails" => "Nails___",
"Nasty" => "Nasty___",
"Pastelaria" => "Pastelar",
"Porcelain" => "Porcelai",
"PrintError" => "Prine___",
"Rochester" => "Rocheste",
"Romantic" => "Shelley_Volante",
"Ruritania"=> "Ruritania",
"Screamy" => "Junkyard",
"Selfish" => "Selfish_",
"Shortcut" => "Shortcut",
"Simple" => "Georgia",
"TypeO" => "typeo___"
);
$Colors = array(
"Black" => 0x000000,
"Red" => 0xd11f3c,
"Green" => 0x32dc32,
"Yellow" => 0xdcdc32,
"Blue" => 0x3232dc,
"LightBlue" => 0x6666aa,
"Gray" => 0xdcdcdc,
"White" => 0xffffff
);
$Types = array(
"TracksPerDay" => "Daily tracks_",
"TracksPerWeek" => "Weekly tracks_",
"TracksPerMonth" => "Monthly tracks_",
"TotalTracks" => "Total tracks_",
"AlbumsPerDay" => "Daily albums_",
"AlbumsPerWeek" => "Weekly albums_",
"AlbumsPerMonth" => "Monthly albums_",
"TotalAlbums" => "Total albums_",
"Since" => "Since",
"Trueness" => "Trueness",
);
// DEFAULT VALUES //
if (!isset($user) || $user == "") $user="gugusse";
if (!array_key_exists($style, $Styles)) $style="Astonished";
if (!array_key_exists($color, $Colors)) $color="Black";
//if (!array_key_exists($type, $Types)) { $type="UNAVAILABLE" ; $color="Black" ; $username="gugusse" ; }
?>
|