View file katrinka.ru/admin/top0.php

File size: 361B
<?php
  include '../wap/config.php';
	include 'acl.php';
	list ($uid, $pl) = priv_level();
	if ($pl!=4) exit;
    if (!($conn=pg_connect("host=$dbhost port=$dbport dbname=$dbname user=$dbuser password=$dbpass"))) {
      echo ("пЫЙВЛБ РПДЛМАЮЕОЙС Л вд!\n");
    };
    pg_query($conn,"update midi set dlcount=0");
	pg_close($conn);

	header("Location: /");	
?>