edited scrit/dropdown.js
and replace that part which is described here
And I apologize if everyone is spelling mistake in the translation.
And this is the mod you enter the page logba is excreted intact in the staff who chat to the user's name
PHP Code:
var menu2=new Array();
menu2[0]='<a href="' + baseurl + '/admin/index.php">' + l_staffpanel + '</a>'
menu2[1]='<a href="' + baseurl + '/admin/index.php?act=statistics">' + l_trackerstats + '</a>'
menu2[2]='<a href="' + baseurl + '/addpartner.php">" Banners "</a>'
menu2[3]='<a href="' + baseurl + '/stafffalurit.php">" Staff chat empity "</a>'
if (typeof menu3 == "undefined")
{
var menu3=new Array();
}
menu3[0]='<a href="' + baseurl + '/admin/index.php">' + l_staffpanel + '</a>'
menu3[1]='<a href="' + baseurl + '/admin/settings.php">' + l_trackersettings + '</a>'
menu3[2]='<a href="' + baseurl + '/admin/index.php?act=statistics">' + l_trackerstats + '</a>'
menu3[3]='<a href="' + baseurl + '/addpartner.php">Banners</a>'
menu3[4]='<a href="' + baseurl + '/stafffalurit.php">Staff chat empity</a>'
php name stafffalurit.php
PHP Code:
Staff Chat empty! You can close this window!
<?
require_once 'global.php';;
dbconn ();
loggedinorreturn ();
maxsysop ();
define ('D_VERSION', '0.7 by xam');
sql_query("DELETE FROM staffshoutbox")or sqlerr(__FILE__, __LINE__);
write_log ('' . '<font color = darkred> A Staff chat empity by: </font> ' . $CURUSER['username']);
$text = "[color=red][b] Staff-chat delete![/b][/color]";
$userid=$CURUSER["id"];
$username=$CURUSER["username"];
$date=sqlesc(time());
@sql_query("INSERT INTO staffshoutbox (id, userid, username, date, text) VALUES ('id'," . sqlesc($userid) . ", " . sqlesc($username) . ", $date, " . sqlesc($text) . ")") or sqlerr(__FILE__, __LINE__);
?>