|
#11
|
|||
|
|||
looks nice..thank you
|
#12
|
||||
|
||||
Thanks 4 the great theme
|
#13
|
||||
|
||||
u super
very thank you |
#14
|
||||
|
||||
how does one make this theme wider over all. and add side columns.
__________________
"FFS PPL READ GOD DAMMIT, WHAT AM I GOOGLE?" "I Kill You!" simples
|
#15
|
||||
|
||||
that would be hard to do you well need to competely rewrite the theme header
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent Do not ask me to make a mod for any other source Do not Ask me to setup your site. I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum My Current Demo is here http://demo.btmanager.org/ |
#16
|
|||
|
|||
thank you for the themes for this code as well
|
#17
|
||||
|
||||
ok well how do we make this wider. its so narrow, especially now with new torrent table added.
__________________
"FFS PPL READ GOD DAMMIT, WHAT AM I GOOGLE?" "I Kill You!" simples
|
#18
|
||||
|
||||
the header is One large image with html incoded into it you would have to resize the image and resized the blank images so that they align the links with the image
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent Do not ask me to make a mod for any other source Do not Ask me to setup your site. I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum My Current Demo is here http://demo.btmanager.org/ |
#19
|
||||
|
||||
slite header change
edited my main.php to look more like tleech as shown below.
open tleech/main.php find Code:
if ($user->user) { print("<table style=\"width: 100%;\" border=\"1\" cellpadding=\"0\" cellspacing=\"0\"><tr><td class=\"bottom\"> <div align=\"center\"><font class=\"pmbtcopyright\">"); if ($arr["downloaded"] == 0) $userratio = "∞"; else { if ($user->uploaded > 0) { $ratio = number_format($user->uploaded / $user->downloaded, 2); if ($user->downloaded == 0) $userratio = "8"; elseif ($ratio < 0.1) $userratio = "<font color=\"#ff0000\">" . $ratio . "</font>"; elseif ($ratio < 0.2) $userratio = "<font color=\"#ee0000\">" . $ratio . "</font>"; elseif ($ratio < 0.3) $userratio = "<font color=\"#dd0000\">" . $ratio . "</font>"; elseif ($ratio < 0.4) $userratio = "<font color=\"#cc0000\">" . $ratio . "</font>"; elseif ($ratio < 0.5) $userratio = "<font color=\"#bb0000\">" . $ratio . "</font>"; elseif ($ratio < 0.6) $userratio = "<font color=\"#aa0000\">" . $ratio . "</font>"; elseif ($ratio < 0.7) $userratio = "<font color=\"#990000\">" . $ratio . "</font>"; elseif ($ratio < 0.8) $userratio = "<font color=\"#880000\">" . $ratio . "</font>"; elseif ($ratio < 0.9) $userratio = "<font color=\"#770000\">" . $ratio . "</font>"; elseif ($ratio < 1) $userratio = "<font color=\"#660000\">" . $ratio . "</font>"; else $userratio = "<font color=\"#00FF00\">". $ratio . "</font>"; } } print(_btwelcomebk.", <a href=\"user.php?op=profile&id=$user->id\">$user->name</a>".$usrclass); if($user->invites == 0) print(", you have no invite "); else print(", you have ".$user->invites." <a href=\"invite.php\">invites</a> "); print("<img src=\"./themes/".$theme."/pics/download.gif\" border=\"0\" alt=\"Downloaded\" align=\"middle\" /> <font color=\"red\">".mksize($user->downloaded)."</font>"); print(" <img src=\"./themes/".$theme."/pics/upload.gif\" border=\"0\" alt=\"Uploaded\" align=\"middle\" /> <font color=\"green\">".mksize($user->uploaded)."</font>"); print(" <img src=\"./themes/".$theme."/pics/pic_ratio.gif\" border=\"0\" alt=\"Ratio\" align=\"middle\" /> ".$userratio." "); print("</font></div></td></tr></table>\n"); } } Code:
if ($user->user) { print("<table cellpadding=4 cellspacing=1 border=0 style=width:95%> <tr> <td ><table style=width:100% cellspacing=0 cellpadding=0 border=1> <tr> <td class=bottom align=left>"); $sql = "SELECT seedbonus, avatar, uploaded, downloaded, ratio, invites, can_do, level, uploaded/downloaded AS ratio FROM ".$db_prefix."_users WHERE id = '".$user->id."';"; $res = $db->sql_query($sql); list ($seedbonus, $avatar, $uploaded, $downloaded, $invites, $can_do, $level, $ratio) = $db->sql_fetchrow($res); if ($user->uploaded > 0) { $ratio = number_format($user->uploaded / $user->downloaded, 2); if ($user->downloaded == 0) $userratio = "8"; elseif ($ratio < 0.1) $userratio = "<font color=\"#ff0000\">" . $ratio . "</font>"; elseif ($ratio < 0.2) $userratio = "<font color=\"#ee0000\">" . $ratio . "</font>"; elseif ($ratio < 0.3) $userratio = "<font color=\"#dd0000\">" . $ratio . "</font>"; elseif ($ratio < 0.4) $userratio = "<font color=\"#cc0000\">" . $ratio . "</font>"; elseif ($ratio < 0.5) $userratio = "<font color=\"#bb0000\">" . $ratio . "</font>"; elseif ($ratio < 0.6) $userratio = "<font color=\"#aa0000\">" . $ratio . "</font>"; elseif ($ratio < 0.7) $userratio = "<font color=\"#990000\">" . $ratio . "</font>"; elseif ($ratio < 0.8) $userratio = "<font color=\"#880000\">" . $ratio . "</font>"; elseif ($ratio < 0.9) $userratio = "<font color=\"#770000\">" . $ratio . "</font>"; elseif ($ratio < 1) $userratio = "<font color=\"#660000\">" . $ratio . "</font>"; else $userratio = "<font color=\"#00FF00\">". $ratio . "</font>"; } print("<span class=smallfont>welcome back</font>, <u><a href=\"user.php?op=profile&id=$user->id\">$user->name</a></u> ".$usrclass); print("[<a href=\"user.php?op=logout\"><font color=white>logout</font></a>]<BR>"); print("<font color=lawngreen>Ratio:</font> <font colorwhite> ".$userratio." </font> <font color=green>Uploaded:</font> <font color=\"white\">".mksize($user->uploaded)."</font> <font color=red>Downloaded:</font> <font color=\"white\">".mksize($user->downloaded)."</font> <font color=lawngreen>Bonus:</font> <font color=red>[</font><a href='mybonus.php'>".$user->seedbonus."</a><font color=red>]</font></span></td>"); print("<td class=bottom align=right><span class=smallfont>The time is now: " . gmdate(" H:i:s", time()) . "<br/><span class=smallfont><a href=pm.php><img height=14px style=border:none alt=inbox title=inbox src=http://www.torrentleech.org/pic/pn_inbox.gif></a> Inbox</span><span class=smallfont> <a href=pm.php><img height=14px style=border:none alt=sentbox title=sentbox src=http://www.torrentleech.org/pic/pn_sentbox.gif></a> Sentbox</span> <a href=pm.php><img style=border:none alt=Buddylist title=Buddylist src=http://www.torrentleech.org/pic/buddylist.gif></a> </span></td> </tr> </table></table>\n"); }
__________________
"FFS PPL READ GOD DAMMIT, WHAT AM I GOOGLE?" "I Kill You!" simples
|
#20
|
|||
|
|||
error
a news main.php!
|
Tags |
20 , forum , pmbt , tleech , tracker |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[PMBT 2.x]Add last forum posts to index | joeroberts | Mods & Themes | 3 | 16th July 2013 04:01 |
[pmbt 2.0.4]problem with tracker settings | ferdis | BT.Manager (phpMyBitTorrent) | 4 | 12th September 2009 15:17 |
[PMBT 2.0]Add user for tracker! | LoaT | BT.Manager (phpMyBitTorrent) | 1 | 2nd February 2009 03:12 |
[PMBT 2.x] Adding tracker stats to forum | joeroberts | Mods & Themes | 0 | 17th January 2009 21:33 |
Sync Forum users with tracker | KM4 | Torrent Strike | 1 | 4th November 2008 12:23 |