View file obnulref.php
<? session_start(); $title="Установка\n"; include ("header.php"); echo $div["header"]; echo "<b>Установка</b>"; echo $div["end"]; echo $div["ten"]; $qi = mysql_query("select * from `uzvers`"); while($row=mysql_fetch_array($qi)) { $n=$row['id']; @mysql_query("UPDATE `uzvers` SET `col`='0' where `id`='$n'"); } echo "Рейтинг рефералов успешно обнулен"; echo $div["end"]; include ("footer.php"); ?>