Quote:
Originally Posted by demonbogdan
sorry man.. i edit the footer :)
pls help me
appear another error when i try to give a pm mass
Code:
Fatal error: Call to undefined function sqlesc() in /home/demon/public_html/torrent/admin/files/staffmess.php on line 36
|
remove line 36
Code:
$dt = sqlesc(get_date_time());
Quote:
Originally Posted by demonbogdan
Code:
Fatal error: Cannot redeclare get_elapsed_time() (previously declared in /home/demon/public_html/torrent/votesview.php:16) in /home/demon/public_html/torrent/include/functions.php on line 72
|
remove from line 16-35
Code:
function get_elapsed_time($ts)
{
$mins = floor((gmtime() - $ts) / 60);
$hours = floor($mins / 60);
$mins -= $hours * 60;
$days = floor($hours / 24);
$hours -= $days * 24;
$weeks = floor($days / 7);
$days -= $weeks * 7;
$t = "";
if ($weeks)
return "$weeks week" . ($weeks > 1 ? "s" : "");
if ($days)
return "$days day" . ($days > 1 ? "s" : "");
if ($hours)
return "$hours hour" . ($hours > 1 ? "s" : "");
if ($mins)
return "$mins min" . ($mins > 1 ? "s" : "");
return "< 1 min";
}
__________________
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/