diff --git a/sponsor_main.php b/sponsor_main.php index c028d4e..c679734 100644 --- a/sponsor_main.php +++ b/sponsor_main.php @@ -47,7 +47,7 @@ // echo "
".i18n("Level")." | "; + echo "".i18n("Description / Benefits")." | \n"; + echo "".i18n("Range")." | \n"; + echo "\n"; + $first=true; + while($r=mysql_fetch_object($q)) { + echo "|
---|---|---|---|
"; + if($total>=$r->min && $total<=$r->max) { + echo "".i18n("You are here"); + echo " >>"; + echo ""; + } + echo " | "; + echo "$r->level | "; + echo "$r->description | "; + echo ""; + if($first) { + echo format_money($r->min)."+"; + $first=false; + } + else + echo format_money($r->min)."-".format_money($r->max); + + echo " | "; + } echo "