Witam,
Mam problem z dodaniem e-weblinka do PHP-Fusion 6.01.6.
Interesuje mnie dodanie kodu w footer.php ,,,, Calość wygląda tak:
<?php
if (!defined("IN_FUSION")) { header("Location: index.php"); exit; }
render_footer(false);
echo "</body>\n</html>\n";
if (iADMIN) {
$result = dbquery("DELETE FROM ".$db_prefix."flood_control WHERE flood_timestamp < '".(time()-360)."'");
$result = dbquery("DELETE FROM ".$db_prefix."thread_notify WHERE notify_datestamp < '".(time()-1209600)."'");
$result = dbquery("DELETE FROM ".$db_prefix."vcode WHERE vcode_datestamp < '".(time()-360)."'");
$result = dbquery("DELETE FROM ".$db_prefix."new_users WHERE user_datestamp < '".(time()-86400)."'");
}
mysql_close();
ob_end_flush();
?>