View file admin/referer.php
<? include "../head.php"; ?> <link rel="stylesheet" href="../style.css" type="text/css"/> <div class="cont"> <div class="title"><div class="tleft">Админка</div></div> <div class="ct"> <a href="?s=1">Очистить</a> <br> <? { if($s == 1) { $fp = fopen("../data/ref.txt", 'a'); ftruncate($fp, 0); } } ?> <? include "../data/ref.txt"; ?> <BR><a href="index.php">Админка</a><BR> <a href="../index.php">На главную</a> </div> </div> <? include "../foot_admin.php"; ?>