Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
[mod]header more fancy :D
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / v2.08 / v2 Only Mods Complete

Unknown User
2008-03-12 23:08:34
I used a code from a torrentstrike Theme and a Tbdev mod of showing user class image!

here it goes:

in your header.php find:

<?

if (!$CURUSER){

echo "[<a href=\"account-login.php\" class=link2>". LOGIN . "</a>]<B> or </B>[<a href=\"account-signup.php\" class=link2>" . SIGNUP . "</a>]&nbsp;&nbsp;";

}else{

print ("".LOGGEDINAS.": ".$CURUSER["username"]."");

echo " [<a href=\"account-logout.php\" class=link2>".LOGOUT."</a>]&nbsp;&nbsp;";

if ($CURUSER["control_panel"]=="yes") {



}



//check for new pm's

$res = mysql_query("SELECT COUNT(*) FROM messages WHERE receiver=" . $CURUSER["id"] . " and unread='yes' AND location IN ('in','both')") or print(mysql_error());

$arr = mysql_fetch_row($res);

$unreadmail = $arr[0];

if ($unreadmail){

print("<font color=#FF0000><B>New PM (<a href=mailbox.php?inbox class=link2>$unreadmail</a>)</b></a></font>&nbsp;&nbsp;");

}else{

print("[<a href=mailbox.php class=link2>Messages</a>]&nbsp;&nbsp;");

}

//end check for pm's

}

?>


and replace by:

<?
if (!$CURUSER){

echo "[<a href=\"account-login.php\" class=link2>". LOGIN . "</a>]<B> or </B>[<a href=\"account-signup.php\" class=link2>" . SIGNUP . "</a>]&nbsp;&nbsp;";

}

?>

<?if($CURUSER){?>

<td class="info" height="0" align="left" valign="left">

<?

$time = date("H");

if(($time >= 6) && ($time < 12)){ $hai = "GOOD MORNING"; }

if(($time >= 12) && ($time < 19)){ $hai = "GOOD AFTERNOON"; }

if(($time >= 18) && ($time < 24)){ $hai = "GOOD NIGHT"; }

if(($time >= 0) && ($time < 6)){ $hai = "GOOD MORNING"; }

?>

<?

$usrclass =  "&nbsp;<img src=".get_user_class_image($CURUSER['class']).">&nbsp;";

print("&nbsp;&nbsp;<b>$hai</b>,&nbsp;<font color=gray><b>$CURUSER[username]</b></font>&nbsp;<font color=white>

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=2111"]pic.rar[/url]

pic.rar
Download
ex.JPG
ex.JPG
Unknown User
2012-08-03 07:01:24
merci pour se mod très interessant fonctionne très bien

[size=12px]- ENGLISH ONLY (NO EXCEPTIONS)[/size]  :lol:

thank you for biting very interesting works fine
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 9
  • Members: 0
  • Guests online: 9
  • Comments: 3
  • Messages: 1,728