Autor Wątek: e-weblink i PHP-Fusion 6  (Przeczytany 1552 razy)

Offline dariush

  • Młody user
  • *
  • Wiadomości: 21
  • Reputacja: 0
e-weblink i PHP-Fusion 6
« dnia: Styczeń 15, 2010, 23:51:34 »
Witam,

Mam problem z dodaniem e-weblinka do PHP-Fusion 6.01.6.

Interesuje mnie dodanie kodu w footer.php ,,,, Calość wygląda tak:

Cytuj
<?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();


?>