View file dportal_0.2/news/inci.php

File size: 449B
<?
include 'dan.php';

$ss = @file("$dir_razd/news");
$strok = sizeof($ss);
$strok=$strok-1;

$narnews=@file("$dir_razd/news");
 $narnews=explode("<br/>", trim($narnews[$strok]));
 $narnews[0]= date("d.m, H:i", $narnews[0]);

 
  print"<img src=\"$dir_razd/info.png\" alt=\".\"/> <a href=\"$dir_razd/index.php?ver=$ver&amp;pas=$pas&amp;login=$login\">Новости сайта</a> <small>($narnews[0])<br/> $narnews[1]</small><br/><hr/>";
  
  
?>