diff options
author | Hugues Hiegel <hugues@hiegel.fr> | 2008-06-20 01:19:13 +0200 |
---|---|---|
committer | Hugues Hiegel <hugues@hiegel.fr> | 2008-06-20 01:19:13 +0200 |
commit | 676e04c96ef76b1063b714679a7b2f0025caf782 (patch) | |
tree | 7c2da1c64af500f2bc02f3839cbeb0a55057282a | |
parent | 47eff0618affdc11b1e9be174c81e3323801902c (diff) |
Badges v3 on the way...
-rw-r--r-- | Badges_v3.php | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/Badges_v3.php b/Badges_v3.php index c8e43d3..c56db86 100644 --- a/Badges_v3.php +++ b/Badges_v3.php @@ -7,9 +7,7 @@ $pathinfo=explode("/", $Pathinfo); $script=explode("/", $_SERVER['SCRIPT_NAME']); $username=$pathinfo[1]; -$type=$pathinfo[2]; -$style=$pathinfo[3]; -$color=$pathinfo[4]; +$hash=$pathinfo[2]; include("Config.php"); @@ -86,6 +84,27 @@ class Text { } +/*----------------------------------------------------------- + + Ok, now we are ready. + + The idea of this version is to let the Last.fm user + decide exactly what she/he does wants the badge to show + up. + + I should offer the way to compute stats values, and get + their result into a string. + + To get stats, we should limit to one user. So we get the + username first. + Then we propose to the user a bunch of results, such as, + for example, + + + -----------------------------------------------------------*/ + + + $Line1 = new Text; $Line2 = new Text; |