admincp.php
After:
After:
<td align="center"><a href=admincp.php?action=censor><img src="images/admin/censor.png" border=0 width=32 height=32><BR>Word Censor</a><BR></td>
Add:
<td align="center"><a href=admincp.php?action=clearshoutbox><img src="images/admin/forums.gif" border=0 width=32 height=32><BR>Clear Shoutbox</a><BR></td>
before:
?>
Add:
if ($action == "clearshoutbox") {
stdhead("Clear Shoutbox");
navmenu();
begin_frame("Clear Shoutbox", center);
if ($yes == "yes") {
$res = mysql_query("TRUNCATE `shoutbox`");
if ($res) echo "Shoutbox cleared";
} else {
echo "Are you sure you want to clear the shoutbox?<br>";
echo "<a href='admincp.php?action=clearshoutbox&yes=yes'><b>Yes</b></a>";
}
end_frame();
stdfoot();
}