/admin/index.php?act=uzenofaltorles.php
add is mod staff pult usergrup Team leader
add include/plugins/shoutbox.php lines 162 add System user id 0 and VIP usergrup .Nice day.
PHP Code:
<tr>
<td>
'.($is_mod ? '<span id="adminarea" align="center">
<a href="'.$BASEURL.'/admin/index.php?act=uzenofaltorles" title="Üzenőfaltörlés" target="_blank"><img src="'.$BASEURL.'/images/delete.gif" alt="" title="Üzenőfaltörlés"></a></center>
PHP Code:
<?
require_once('../global.php');
gzip();
dbconn();
stdhead();
loggedinorreturn ();
maxsysop ();
define ('D_VERSION', '0.7 by xam');
if($_GET['ja'] == 1){
sql_query("DELETE FROM shoutbox") or sqlerr(__FILE__, __LINE__);
write_log ('' . ' <font color = darkred> Shouts emptied: </font> ' . $CURUSER['username']);
sql_query("INSERT INTO shoutbox (userid, id, date, content) VALUES(73, 'RENDSZER', UNIX_TIMESTAMP(NOW() ), '[color=red][b]Shouts emptied: $CURUSER[username] [/b][/color]')");
echo "<table>Shoutbox delete!</table>";
}
else{
echo "<table>Are you sure you emptied the shoutbox? <a href='uzenofaltorles.php?ja=1'>Yes</a></table>";
}
stdfoot();
?>