View file forum/privat.php

File size: 716B
<?php
#_________________________________________________
#
#              Автор скрипта:    Mackler aka Intell
#                     e-mail:    [email protected]
#                        ICQ:    531710
#                    WAPsite:    http://mackler.info
#_________________________________________________

if ( !isset($direct1)) { $direct1 ="mail";}
$in = @file("$direct1/$login.in");
$in_vsego =count($in) /4 ;
if ( $in_vsego !=0)
{ $i =3; $new =0;
  while (isset($in[$i]))
      {  $in[$i] = substr( $in[$i] , 0 , 3 );
        if ( $in[$i] =="new") { $new++;}
        $i =$i +4;
       }
}
else { $new =0;}

//===============================================================
?>