View file admin/news/admin.php
<? include "ini.php"; include "tmp/head.php"; if($id==add){echo""; $open=fopen("news.dat","w"); fwrite($open,"$date:::::$novost"); fclose($open); echo'Добавлено ! <a href="../admin.php?base">Вернуться</a> в админ панель'; }; include "tmp/foot.php"; ?>