BigMax1 good to see your coding better with torrenttrader code them the tbv you tryed to code
[/url]
function get_ratio_color($ratio) {
if ($ratio < 0.1) return "#ff0000";
if ($ratio < 0.2) return "#ee0000";
if ($ratio < 0.3) return "#dd0000";
if ($ratio < 0.4) return "#cc0000";
if ($ratio < 0.5) return "#bb0000";
if ($ratio < 0.6) return "#aa0000";
if ($ratio < 0.7) return "#990000";
if ($ratio < 0.8) return "#880000";
if ($ratio < 0.9) return "#770000";
if ($ratio < 1) return "#660000";
return "#000000";
}
you can change colors as you like
//Invite Tree
$LANG["NOT_ALLOW"] = "You are not allow to see other user's trees!";
$LANG["NO_INVITEES_FOUND"] = "This member doesn't have invitee.";
$LANG["NO_INVITEES_CURUSER"] = "You don't have invitee.";
$LANG["INVITE_TREE_FOR"] = "Invite Tree for ";
$LANG["MY_INVITE_TREE"] = "My Invitees";
$LANG["PENDING_ACCOUNT[0]"] = " account";
$LANG["PENDING_ACCOUNT[1]"] = " accounts";
$LANG["WAIT_VALID"] = " waiting for confirmation";
$LANG["EMAIL_SENT_TO"] = "Email Addressee";
$LANG["INVITE_DATE"] = "Date Invitation";
$LANG["AVAILABLE_TO"] = "Valid until";
$LANG["TIME_REMAINDER"] = "Remaining Time";
$LANG["INVITED"] = " invited ";
$LANG["YOU_INVITE"] = "You invited ";
$LANG["PERSON[0]"] = " Person";
$LANG["PERSON[1]"] = " Persons";
$LANG["INSCRIPTION"] = "Inscription";
$LANG["BACK_TO_PROFIL"] = "Back to User Profile";
french.php
//Invite Tree
$LANG["NOT_ALLOW"] = "Vous n'avez pas la permission de voir les invités des autres!";
$LANG["NO_INVITEES_FOUND"] = "Ce membre n'a aucun invité.";
$LANG["NO_INVITEES_CURUSER"] = "Vous n'avez aucun invité.";
$LANG["INVITE_TREE_FOR"] = "Invités de ";
$LANG["MY_INVITE_TREE"] = "Mes invités";
$LANG["PENDING_ACCOUNT[0]"] = " compte";
$LANG["PENDING_ACCOUNT[1]"] = " comptes";
$LANG["WAIT_VALID"] = " en attente de validation";
$LANG["EMAIL_SENT_TO"] = "Email destinataire";
$LANG["INVITE_DATE"] = "Date d'invitation";
$LANG["AVAILABLE_TO"] = "Valable jusqu'au";
$LANG["TIME_REMAINDER"] = "Temps restant";
$LANG["INVITED"] = " a invité ";
$LANG["YOU_INVITE"] = "Vous avez invité ";
$LANG["PERSON[0]"] = " personne";
$LANG["PERSON[1]"] = " personnes";
$LANG["INSCRIPTION"] = "Inscription";
$LANG["BACK_TO_PROFIL"] = "Retour au profil du membre";
"Tiloup, post: 88367":Thanks you AjuriS :)
..error >>
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct() [<a href='datetime.--construct'>datetime.--construct</a>]: Failed to parse time string (---) at position 0 (-): Unexpected character' in /home/xxxx/xxx/backend/functions.php:736 Stack trace: #0 /home/xxxx/xxxx/backend/functions.php(736): DateTime->__construct('---', Object(DateTimeZone)) #1 /home/xxx/xxxx/invitetree.php(125): utc_to_tz('---') #2 {main} thrown in /home/xxxx/xxxxx/backend/functions.php on line 736 :(
"ArcticWolf, post: 88381":where can i find this code ?.................. the original tbdev was ugly but it showed an true tree and not just the people someone invited.
No users online
Torrents
Members
Online