View file modules/kabinet/podarki_count.php

File size: 267B
<?php
$friens_f = @file($dob_url.'/data/users/'.$login.'_podarki.php');
$friends_count_1 = count($friens_f);
unset($friends);

for($i=2; $i < $friends_count_1 - 2; $i++)
 {
  $friends[] = $friens_f[$i];
 }
$fr_count_1 = count($friends);
echo $fr_count_1;
?>