PHP Code:
<?php
/**
**************************
** TBVERSION Version: 1.0 **
**************************
** http://www.ml407-source.com
** https://github.com/Cod3r/TBVERSION
** Licence Info: GPL
** Copyright (C) 2015 TBVERSION v1.0
** A bittorrent tracker source based on TBDev.net/tbsource/bytemonsoon.
** Project Leaders: Cod3r.
**/
require_once("backend/functions.php");
dbconn(true);
loggedinonly(true);
stdhead("Home");
if (file_exists("check.php") && $CURUSER["class"] == 8) {
show_error_msg("WARNING", "Check.php still exists, please delete or rename the file as it could pose a security risk<BR><BR><a href=check.php>View Check.php</a> - Use to check your config!<BR><BR>",0);
}
if ((!$site_config['CTRACKER']) && ($CURUSER["class"] == 8)) {
show_error_msg("WARNING", "<center>Tracker Protection disabled<br />U can enable from config file<br><a href=\"http://www.cback.de/\"><img border=\"0\" alt=\"Cback Protection!\" title=\"Cback Protection!\" src=\"images/ctracker2.png\"/></a></center><br><font color=red>This message is visibile just for Administrators</font>",0);
}
$browser = $_SERVER['HTTP_USER_AGENT'];
$SITENAME = $site_config['SITENAME'];
if(preg_match("/MSIE/i",$browser)){
begin_frame("" . WARNING . "");
echo '<center><img border="0" src="images/warning.png"/></center>';
echo '<center><font size=\"+2\"><b>Warning!</b></color></font></center>';
echo '<center><br />It appears as though you are running Internet Explorer this site was <b>NOT</b> intended to be viewed with internet explorer and chances are it will not look right and may not even function correctly.</center>';
echo '<center><br />But if you still want to use Internet Explorer then use Internet Explorer 7.</center>';
echo '<center>'.$SITENAME.' suggests that you browse happy and consider switching to one of the many better alternatives.</center>';
echo '<center><br /><a href="http://www.mozilla.com/firefox/"><img border="0" alt="Get Firefox!" title="Get Firefox!" src="images/firefox.png"/></a></center>';
echo '<center><br /><strong>Get a SAFER browser !</strong></center>';
end_frame();
}
if ($site_config['SITENOTICEON']){
begin_frame("" . NOTICE . "");
echo stripslashes($site_config['SITENOTICE']);
end_frame();
}
if ($site_config['NEWSON']){
begin_frame("News");
$res = mysql_query("SELECT * FROM news WHERE ADDDATE(added, INTERVAL 45 DAY) > '".get_date_time()."' ORDER BY added DESC LIMIT 10");
if (mysql_num_rows($res) > 0){
print("<table width=100% border=0 cellspacing=0 cellpadding=0><tr><td>\n<ul>");
$news_flag = 0;
while($array = mysql_fetch_array($res)) {
$user = mysql_fetch_assoc(mysql_query("SELECT username FROM users WHERE id = $array[userid]"));
$numcomm = number_format(get_row_count("comments", "WHERE news='".$array['id']."'"));
if ($news_flag < 2) {
print("<br /><a href=\"javascript: klappe_news('a".$array['id']."')\"><img border=\"0\" src=\"".$site_config["SITEURL"]."/images/minus.gif\" id=\"pica".$array['id']."\" alt=\"Show/Hide\">");
print(" <b>". $array['title'] . "</b></a> - <B>Posted:</B> " . date("d-M-y", utc_to_tz_time($array['added'])) . " <B>By:</B> $user[username]");
print("<div id=\"ka".$array['id']."\" style=\"display: block;\"> ".format_comment($array["body"],0)." <BR><BR>Comments (<a href=comments.php?type=news&id=".$array['id'].">".$numcomm."</a>)</div><br> ");
$news_flag = ($news_flag + 1);
} else {
print("<br /><a href=\"javascript: klappe_news('a".$array['id']."')\"><img border=\"0\" src=\"".$site_config["SITEURL"]."/images/plus.gif\" id=\"pica".$array['id']."\" alt=\"Show/Hide\">");
print(" <b>". $array['title'] . "</b></a> - <B>Posted:</B> " . date("d-M-y",utc_to_tz_time($array['added'])) . " <B>By:</B> $user[username]");
print("<div id=\"ka".$array['id']."\" style=\"display: none;\"> ".format_comment($array["body"],0)." <BR><BR>Comments (<a href=comments.php?type=news&id=".$array['id'].">".number_format($numcomm)."</a>)</div><br> ");
}
}
print("</ul></td></tr></table>\n");
} else {
echo "<br /><b>No news currently at this time</b>";
}
end_frame();
}
begin_frame("Thank You To The Following Members For Supporting");
$res = mysql_query("SELECT * FROM users WHERE donated ='yes' ORDER BY donated DESC, username LIMIT 10") or sqlerr();
if($i==0)
echo '</marquee></tr></td><td><tr><marquee scrollAmount=2 onMouseover="this.scrollAmount=0" onMouseout="this.scrollAmount=2" scrolldelay="0" direction=MARQUEE BEHAVIOR=ALTERNATE> <table"right">';
$i=20;
$sql = "SELECT id, username, donated FROM users WHERE donated != '' ORDER BY donated DESC ";
$mysql_result=mysql_query($sql);
while ($row=mysql_fetch_array($mysql_result)) {
$id = $row['id'];
$username = $row['username'];
$donated = $row['donated'];
echo "<a href='account-details.php?id=$id'><font color='green'>".$username."<img src='images/star.gif' border='0'></a> <strong></strong> ";
$i++;
}
end_frame();
if ($site_config['SHOUTBOX']) {
if ($CURUSER["viewshoutbox"] == "yes") {
if($CURUSER["shoutboxbanned"]=="yes") {
begin_frame("Disabled");
echo "<font size='2'><center><b><font color=#FF0000>Your shoutbox rights have been takin away. If you fill like it was an error then please PM staff</font> <br><br></b></center>";
echo "</form><br />";
end_frame();
}
} else {
begin_frame("Shoutbox");
echo '<IFRAME name="shout_frame" src="'.$site_config["SITEURL"].'/shoutbox.php" frameborder="0" marginheight="0" marginwidth="0" width="99%" height="650" width=350 scrolling="no" align="middle"></IFRAME>';
echo "(Shoutbox will auto-refresh every 60 secs)<br />";
end_frame();
}
}
begin_frame("" . ONLINE_USERS . "");
echo "<div align='left'>" . $activepeople . "</div>";
$file = "".$site_config["cache_dir"]."/cache_usersonlineblock.txt";
$expire = 10; // time in seconds
if (file_exists($file) && filemtime($file) > (time() - $expire)) {
$usersonlinerecords = unserialize(file_get_contents($file));
} else {
$usersonlinequery = mysql_query("SELECT id, username, class, donated FROM users WHERE privacy !='strong' AND UNIX_TIMESTAMP(" . get_dt_num() . ") - UNIX_TIMESTAMP(users.last_access) < 900");
while ($usersonlinerecord = mysql_fetch_array($usersonlinequery) ) {
$usersonlinerecords[] = $usersonlinerecord;
}
$OUTPUT = serialize($usersonlinerecords);
$fp = fopen($file,"w");
fputs($fp, $OUTPUT);
fclose($fp);
}
if ($usersonlinerecords == ""){
echo "No Users Online";
} else {
echo "<center><b><font color=#00FFFF>Member</font> | <font color=#8E35EF>Power User</font> | <font color=#00FF00>Com VIP</font> | <font color=#C7A317>VIP</font> | <font color=#0000FF>Uploader</font> |<font color=#FF8040>Moderator</font> | <font color=#0FDDAF>Super Moderator</font> | <font color=#660000>Administrator</font> | <font color=#6B6B6B>Sysop</font> | <font color=#FF0000>Owner</font><br><img src=\"images/warned.gif\"><font color=#008000> Warning</font> | <img src=\"images/star.gif\"><font color=#008000> Donator</font> <br><br></b></center>";
echo "<div align='left'>" . $todayactive . "</div>";
foreach ($usersonlinerecords as $user) {
switch($user["class"]) {
case 1:
$color = "#00FFFF";// user
break;
case 2:
$color = "#8E35EF";// power user
break;
case 3:
$color = "#00FF00";// extreme user
break;
case 4:
$color = "#C7A317";// VIP
break;
case 5:
$color = "#0000FF";// DJ
break;
case 6:
$color = "#FF8040";// uploader
break;
case 7:
$color = "#0FDDAF";//moderator
break;
case 8:
$color = "#660000";//Administrator
break;
case 9:
$color = "#6B6B6B";// Sysop
break;
case 10:
$color = "#FF0000";// Owner
break;
}
$bimg2 = @mysql_fetch_array(@mysql_query("SELECT avatar FROM users WHERE id=$user[id]"));
$avatar = ("$bimg2[avatar]");
if (!$avatar) {
$avatar = "images/default_avatar.gif";
}
if ($user["donated"] > 0) {
$star = " <img src='images/star.gif' border='0'>";
} else {
$star = "";
}
print("<a href=\"account-details.php?id=".$user["id"]."\"><font style=\" color:".$color."\">".$user["username"]."</font></a>$star, ");
}
$warned = $arr["warned"] == "yes";
if ($warned) {
$todayactive .= "<img src='images/warned.gif'>";
}
}
end_frame();
begin_frame("$members2 Users Online Last 24 Hours");
echo "<center><b><font color=#00FFFF>Member</font> | <font color=#8E35EF>Power User</font> | <font color=#00FF00>Com VIP</font> | <font color=#C7A317>VIP</font> | <font color=#0000FF>Uploader</font> |<font color=#FF8040>Moderator</font> | <font color=#0FDDAF>Super Moderator</font> | <font color=#660000>Administrator</font> | <font color=#6B6B6B>Sysop</font> | <font color=#FF0000>Owner</font><br><img src=\"images/warned.gif\"><font color=#008000> Warning</font> | <img src=\"images/star.gif\"><font color=#008000> Donator</font> <br><br></b></center>";
$resew = mysql_query("SELECT id, username, class, donated, warned FROM users WHERE UNIX_TIMESTAMP(" . get_dt_num() . ") - UNIX_TIMESTAMP(last_access) < 86400 ORDER BY username");
while ($arr = mysql_fetch_assoc($resew)) {
if ($todayactive)
$todayactive .= ", ";
switch ($arr["class"]){
case 10:
$arr["username"] = "<font color=#FF0000>" . $arr["username"] . "</font>";
break;
case 9:
$arr["username"] = "<font color=#6B6B6B>" . $arr["username"] . "</font>";
break;
case 8:
$arr["username"] = "<font color=#660000>" . $arr["username"] . "</font>";
break;
case 7:
$arr["username"] = "<font color=#0FDDAF>" . $arr["username"] . "</font>";
break;
case 6:
$arr["username"] = "<font color=#FF8040>" . $arr["username"] . "</font>";
break;
case 5:
$arr["username"] = "<font color=#0000FF>" . $arr["username"] . "</font>";
break;
case 4:
$arr["username"] = "<font color=#C7A317>" . $arr["username"] . "</font>";
break;
case 3:
$arr["username"] = "<font color=#00FF00>" . $arr["username"] . "</font>";
break;
case 2:
$arr["username"] = "<font color=#8E35EF>" . $arr["username"] . "</font>";
break;
case 1:
$arr["username"] = "<font color=#00FFFF>" . $arr["username"] . "</font>";
break;
}
$donator = $arr["donated"] > 0;
if ($CURUSER) {
$todayactive .= "<a href=account-details.php?id=" . $arr["id"] . ">" . $arr["username"] . "</a></a>";
} else {
$todayactive .= "<a href=account-details.php?id=" . $arr["id"] . ">" . $arr["username"] . "</a></a>";
}
if ($donator) {
$todayactive .= "<img src='images/star.gif'>";
}
$warned = $arr["warned"] == "yes";
if ($warned) {
$todayactive .= "<img src='images/warned.gif'>";
}
$usersactivetoday++;
}
echo "<div align='left'>" . $todayactive . "</div>";
echo "<br />";
end_frame();
if (!$site_config["MEMBERSONLY"] || $CURUSER) {
begin_frame("Latest 15 Torrents");
$news = mysql_query("SELECT id, name, added, image1, image2, seeders, leechers FROM torrents WHERE banned = 'no' AND visible='yes' ORDER BY torrents.id DESC LIMIT 15"); ///limi$
if (mysql_num_rows($news) > 0) {
print("<marquee scrollAmount='3' onMouseover=this.scrollAmount=0 onMouseout=this.scrollAmount=3 scrolldelay=0 direction=MARQUEE BEHAVIOR=ALTERNATE><table align='center' cellpadding='0' cellspacing='0' width='100%' border='0'><tr>");
while ($row2 = mysql_fetch_array($news, MYSQL_NUM)) {
$tor = $row2[0];
$altname = $row2['1'];
$where = "WHERE banned = 'no' AND visible='yes' AND torrents.id='$tor'";
$res = mysql_query("SELECT torrents.id, torrents.image1, torrents.image2, torrents.added, torrents.seeders, torrents.leechers, categories.name AS cat_name FROM torrents LEFT JOIN categories ON torrents.category = categories.id $where $orderby $limit");
$row = mysql_fetch_array($res);
$cat = $row['cat_name'];
$img1 = "<a href='{$site_config[SITEURL]}/torrents-details.php?id=$row[id]'><img class=glossy border='0'src='uploads/images/{$row[image1]}' alt=\"$altname / $cat\" height=140 width=100></a><br>".$row['seeders']." <font color=green><b>S</b></font> and ".$row['leechers']." <font color=red><b>L</b></font>";
if ($row["image1"] != "") {
print("<td align=center>". $img1 ."</td><td> </td>");
}
}
print("</tr></table></marquee>");
}
end_frame();
}
if ($site_config["MEMBERSONLY"]) {
loggedinonly();
if($CURUSER["view_torrents"]=="no")
show_error_msg("Error","You do not have permission to view torrents",1);
}
$subbanned = mysql_query("SELECT id FROM users WHERE id=$CURUSER[id] AND downloadbanned='no' LIMIT 1") or err('Tracker error (1)');
if (mysql_num_rows($subbanned) < 1){
stdhead("Download Banned");
begin_frame("You are Banned from downloading Torrents ");
echo "<center><br><BR><B>A Admin has banned you from downloading Torrents.<br><b>";
echo "<br />If you have any complaints, contact us :<ahref=mailto:". $site_config['SITEEMAIL'] .">". $site_config['SITEEMAIL'] ."</a><br><br /></center>";
end_frame();
stdfoot();
exit;
}
stdhead("Today's Torrents");
begin_frame("Today's Torrents");
$date_time=get_date_time(gmtime()-(3600*24)); // the 24 is the hours you want listed
$catresult = mysql_query("SELECT id, name FROM categories ORDER BY sort_index");
while($cat = mysql_fetch_array($catresult)) {
$orderby = "ORDER BY torrents.id DESC"; //Order
$where = "WHERE banned = 'no' AND category='$cat[id]' AND visible='yes'";
$query = "SELECT torrents.id, torrents.category, torrents.leechers, torrents.nfo, torrents.seeders, torrents.name, torrents.times_completed, torrents.size, torrents.added, torrents.comments, torrents.numfiles, torrents.filename, torrents.owner, torrents.external, torrents.freeleech, categories.name AS cat_name, categories.parent_cat AS cat_parent, categories.image AS cat_pic, users.username, users.privacy FROM torrents LEFT JOIN categories ON category = categories.id LEFT JOIN users ON torrents.owner = users.id $where AND torrents.added>='$date_time' $orderby $limit";
$res = mysql_query($query);
$numtor = mysql_num_rows($res);
if ($numtor != 0) {
echo "<b><a href=torrents.php?cat=".$cat[id].">$cat[name]</a></B>";
list($pagertop, $pagerbottom, $limit) = pager(1000, $count, "torrents.php?" . $addparam); //adjust pager to match LIMIT
torrenttable($res);
echo "<br />";
}
}
end_frame();
if (!$site_config["MEMBERSONLY"] || $CURUSER) {
}
if ($site_config['DISCLAIMERON']){
begin_frame("" . DISCLAIMER . "");
?>
<marquee onmouseover="this.stop()" onmouseout="this.start()" behavior="scroll" scrollamount="1" height="90" width="100%" direction="up" loop="true">
<?php echo stripslashes($site_config['DISCLAIMERTXT']); ?>
</marquee>
<?php
end_frame();
}
stdfoot();
?>
Bump: bug fix account.php
replace this code
PHP Code:
<table class="row1" cellpadding="10" border="0" width="100%"><tr><td> <td width="50%" valign="top" align="left"></td><img src="images/li2.gif" border="0" /> <b><?php print("".USERNAME.""); ?>:</b><?php print("" . $CURUSER["username"] . "\n"); ?><br /><img src="images/li2.gif" border="0" /> <b><?php print("".WORD_CLASS.""); ?>:</b><?php echo $CURUSER["level"]; ?><br /><img src="images/li2.gif" border="0" /> <b><?php print("".EMAIL.""); ?>:</b><?php print("" . $CURUSER["email"] . "\n"); ?><br /><img src="images/li2.gif" border="0" /> <b><?php print("".ACCOUNT_JOINED.""); ?>:</b><?php print("" . utc_to_tz($CURUSER["added"]) . "\n"); ?><br /><img src='images/li2.gif' border='0' /> <b><?php print("".AGE.""); ?>:</b> <?php print("" . $CURUSER["age"] . "\n"); ?><br /><img src="images/li2.gif" border='0' /> <b><?php print("".GENDER.""); ?>:</b> <?php print("" . $CURUSER["gender"] . "\n"); ?><br /><img src='images/li2.gif' border='0' /> <b><?php print("".CLIENT.""); ?>:</b> <?php print("" . $CURUSER["client"] . "\n"); ?><br /><img src='images/li2.gif' border='0' /> <b><?php print("".DONATED.""); ?>:</b>€ <?php print("" . $CURUSER["donated"] . "\n");?><br /><img src='images/li2.gif' border='0' /> <b><?php print("".CUSTOMTITLE.""); ?>:</b><?php print("" . strip_tags($CURUSER["title"]) . "\n"); ?><br /><img src='images/li2.gif' border='0' /> <b><?php print("".ACCOUNT_PRIVACY_LV.""); ?>:</b><?php print("" . $CURUSER["privacy"] . "\n"); ?><br /><img src='images/li2.gif' border='0' /> <b><?php print("".SIGNATURE.""); ?>:</b><?php echo $usersignature; ?><br /><img src='images/li2.gif' border='0' /> <b><?php print("".ACCOUNT_PASSKEY.""); ?>:</b><?php print("" . $CURUSER["passkey"] . "\n"); ?><br /><img src='images/li2.gif' border='0' /> <b><?php print("".ACCOUNT_IP.""); ?>:</b><?php print("" . $CURUSER["ip"] . "\n"); ?><br /><img src='images/li2.gif' border='0' /> <b><?php print("".INVITES.""); ?>:</b><?php print("" . $CURUSER["invites"] . "\n"); ?><br />
Bump: bug fix account.php
replace this code
Code:
<table class="row1" cellpadding="10" border="0" width="100%">
<tr>
<td>
<td width="50%" valign="top" align="left"></td><img src="images/li2.gif" border="0" />
<b><?php print("".USERNAME.""); ?>:</b><?php print("" . $CURUSER["username"] . "\n"); ?><br /><img src="images/li2.gif" border="0" />
<b><?php print("".WORD_CLASS.""); ?>:</b><?php echo $CURUSER["level"]; ?><br /><img src="images/li2.gif" border="0" />
<b><?php print("".EMAIL.""); ?>:</b><?php print("" . $CURUSER["email"] . "\n"); ?><br /><img src="images/li2.gif" border="0" />
<b><?php print("".ACCOUNT_JOINED.""); ?>:</b><?php print("" . utc_to_tz($CURUSER["added"]) . "\n"); ?><br /><img src='images/li2.gif' border='0' />
<b><?php print("".AGE.""); ?>:</b> <?php print("" . $CURUSER["age"] . "\n"); ?><br /><img src="images/li2.gif" border='0' />
<b><?php print("".GENDER.""); ?>:</b> <?php print("" . $CURUSER["gender"] . "\n"); ?><br /><img src='images/li2.gif' border='0' />
<b><?php print("".CLIENT.""); ?>:</b> <?php print("" . $CURUSER["client"] . "\n"); ?><br /><img src='images/li2.gif' border='0' />
<b><?php print("".DONATED.""); ?>:</b>€ <?php print("" . $CURUSER["donated"] . "\n");?><br /><img src='images/li2.gif' border='0' />
<b><?php print("".CUSTOMTITLE.""); ?>:</b><?php print("" . strip_tags($CURUSER["title"]) . "\n"); ?><br /><img src='images/li2.gif' border='0' />
<b><?php print("".ACCOUNT_PRIVACY_LV.""); ?>:</b><?php print("" . $CURUSER["privacy"] . "\n"); ?><br /><img src='images/li2.gif' border='0' />
<b><?php print("".SIGNATURE.""); ?>:</b><?php echo $usersignature; ?><br /><img src='images/li2.gif' border='0' />
<b><?php print("".ACCOUNT_PASSKEY.""); ?>:</b><?php print("" . $CURUSER["passkey"] . "\n"); ?><br /><img src='images/li2.gif' border='0' />
<b><?php print("".ACCOUNT_IP.""); ?>:</b><?php print("" . $CURUSER["ip"] . "\n"); ?><br /><img src='images/li2.gif' border='0' />
<b><?php print("".INVITES.""); ?>:</b><?php print("" . $CURUSER["invites"] . "\n"); ?><br />
Bump: bug fix account.php
replace this code
Code:
<table class="row1" cellpadding="10" border="0" width="100%">
<tr>
<td>
<td width="50%" valign="top" align="left"></td><img src="images/li2.gif" border="0" />
<b><?php print("".USERNAME.""); ?>:</b><?php print("" . $CURUSER["username"] . "\n"); ?><br /><img src="images/li2.gif" border="0" />
<b><?php print("".WORD_CLASS.""); ?>:</b><?php echo $CURUSER["level"]; ?><br /><img src="images/li2.gif" border="0" />
<b><?php print("".EMAIL.""); ?>:</b><?php print("" . $CURUSER["email"] . "\n"); ?><br /><img src="images/li2.gif" border="0" />
<b><?php print("".ACCOUNT_JOINED.""); ?>:</b><?php print("" . utc_to_tz($CURUSER["added"]) . "\n"); ?><br /><img src='images/li2.gif' border='0' />
<b><?php print("".AGE.""); ?>:</b> <?php print("" . $CURUSER["age"] . "\n"); ?><br /><img src="images/li2.gif" border='0' />
<b><?php print("".GENDER.""); ?>:</b> <?php print("" . $CURUSER["gender"] . "\n"); ?><br /><img src='images/li2.gif' border='0' />
<b><?php print("".CLIENT.""); ?>:</b> <?php print("" . $CURUSER["client"] . "\n"); ?><br /><img src='images/li2.gif' border='0' />
<b><?php print("".DONATED.""); ?>:</b>€ <?php print("" . $CURUSER["donated"] . "\n");?><br /><img src='images/li2.gif' border='0' />
<b><?php print("".CUSTOMTITLE.""); ?>:</b><?php print("" . strip_tags($CURUSER["title"]) . "\n"); ?><br /><img src='images/li2.gif' border='0' />
<b><?php print("".ACCOUNT_PRIVACY_LV.""); ?>:</b><?php print("" . $CURUSER["privacy"] . "\n"); ?><br /><img src='images/li2.gif' border='0' />
<b><?php print("".SIGNATURE.""); ?>:</b><?php echo $usersignature; ?><br /><img src='images/li2.gif' border='0' />
<b><?php print("".ACCOUNT_PASSKEY.""); ?>:</b><?php print("" . $CURUSER["passkey"] . "\n"); ?><br /><img src='images/li2.gif' border='0' />
<b><?php print("".ACCOUNT_IP.""); ?>:</b><?php print("" . $CURUSER["ip"] . "\n"); ?><br /><img src='images/li2.gif' border='0' />
<b><?php print("".INVITES.""); ?>:</b><?php print("" . $CURUSER["invites"] . "\n"); ?><br />
Bump: bug fix account.php
replace this code
Code:
<table class="row1" cellpadding="10" border="0" width="100%">
<tr>
<td>
<td width="50%" valign="top" align="left"></td><img src="images/li2.gif" border="0" />
<b><?php print("".USERNAME.""); ?>:</b><?php print("" . $CURUSER["username"] . "\n"); ?><br /><img src="images/li2.gif" border="0" />
<b><?php print("".WORD_CLASS.""); ?>:</b><?php echo $CURUSER["level"]; ?><br /><img src="images/li2.gif" border="0" />
<b><?php print("".EMAIL.""); ?>:</b><?php print("" . $CURUSER["email"] . "\n"); ?><br /><img src="images/li2.gif" border="0" />
<b><?php print("".ACCOUNT_JOINED.""); ?>:</b><?php print("" . utc_to_tz($CURUSER["added"]) . "\n"); ?><br /><img src='images/li2.gif' border='0' />
<b><?php print("".AGE.""); ?>:</b> <?php print("" . $CURUSER["age"] . "\n"); ?><br /><img src="images/li2.gif" border='0' />
<b><?php print("".GENDER.""); ?>:</b> <?php print("" . $CURUSER["gender"] . "\n"); ?><br /><img src='images/li2.gif' border='0' />
<b><?php print("".CLIENT.""); ?>:</b> <?php print("" . $CURUSER["client"] . "\n"); ?><br /><img src='images/li2.gif' border='0' />
<b><?php print("".DONATED.""); ?>:</b>€ <?php print("" . $CURUSER["donated"] . "\n");?><br /><img src='images/li2.gif' border='0' />
<b><?php print("".CUSTOMTITLE.""); ?>:</b><?php print("" . strip_tags($CURUSER["title"]) . "\n"); ?><br /><img src='images/li2.gif' border='0' />
<b><?php print("".ACCOUNT_PRIVACY_LV.""); ?>:</b><?php print("" . $CURUSER["privacy"] . "\n"); ?><br /><img src='images/li2.gif' border='0' />
<b><?php print("".SIGNATURE.""); ?>:</b><?php echo $usersignature; ?><br /><img src='images/li2.gif' border='0' />
<b><?php print("".ACCOUNT_PASSKEY.""); ?>:</b><?php print("" . $CURUSER["passkey"] . "\n"); ?><br /><img src='images/li2.gif' border='0' />
<b><?php print("".ACCOUNT_IP.""); ?>:</b><?php print("" . $CURUSER["ip"] . "\n"); ?><br /><img src='images/li2.gif' border='0' />
<b><?php print("".INVITES.""); ?>:</b><?php print("" . $CURUSER["invites"] . "\n"); ?><br />
Bump: bug fix account.php
replace this code
Code:
<table class="row1" cellpadding="10" border="0" width="100%">
<tr>
<td>
<td width="50%" valign="top" align="left"></td><img src="images/li2.gif" border="0" />
<b><?php print("".USERNAME.""); ?>:</b><?php print("" . $CURUSER["username"] . "\n"); ?><br /><img src="images/li2.gif" border="0" />
<b><?php print("".WORD_CLASS.""); ?>:</b><?php echo $CURUSER["level"]; ?><br /><img src="images/li2.gif" border="0" />
<b><?php print("".EMAIL.""); ?>:</b><?php print("" . $CURUSER["email"] . "\n"); ?><br /><img src="images/li2.gif" border="0" />
<b><?php print("".ACCOUNT_JOINED.""); ?>:</b><?php print("" . utc_to_tz($CURUSER["added"]) . "\n"); ?><br /><img src='images/li2.gif' border='0' />
<b><?php print("".AGE.""); ?>:</b> <?php print("" . $CURUSER["age"] . "\n"); ?><br /><img src="images/li2.gif" border='0' />
<b><?php print("".GENDER.""); ?>:</b> <?php print("" . $CURUSER["gender"] . "\n"); ?><br /><img src='images/li2.gif' border='0' />
<b><?php print("".CLIENT.""); ?>:</b> <?php print("" . $CURUSER["client"] . "\n"); ?><br /><img src='images/li2.gif' border='0' />
<b><?php print("".DONATED.""); ?>:</b>€ <?php print("" . $CURUSER["donated"] . "\n");?><br /><img src='images/li2.gif' border='0' />
<b><?php print("".CUSTOMTITLE.""); ?>:</b><?php print("" . strip_tags($CURUSER["title"]) . "\n"); ?><br /><img src='images/li2.gif' border='0' />
<b><?php print("".ACCOUNT_PRIVACY_LV.""); ?>:</b><?php print("" . $CURUSER["privacy"] . "\n"); ?><br /><img src='images/li2.gif' border='0' />
<b><?php print("".SIGNATURE.""); ?>:</b><?php echo $usersignature; ?><br /><img src='images/li2.gif' border='0' />
<b><?php print("".ACCOUNT_PASSKEY.""); ?>:</b><?php print("" . $CURUSER["passkey"] . "\n"); ?><br /><img src='images/li2.gif' border='0' />
<b><?php print("".ACCOUNT_IP.""); ?>:</b><?php print("" . $CURUSER["ip"] . "\n"); ?><br /><img src='images/li2.gif' border='0' />
<b><?php print("".INVITES.""); ?>:</b><?php print("" . $CURUSER["invites"] . "\n"); ?><br />