From 676e04c96ef76b1063b714679a7b2f0025caf782 Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Fri, 20 Jun 2008 01:19:13 +0200 Subject: Badges v3 on the way... --- Badges_v3.php | 25 ++++++++++++++++++++++--- 1 file 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; -- cgit v1.2.3