fisier); $numefis = "referat.clopotel.ro-".$id_referat.".txt"; //echo $numefis; $numefis = "/var/www/html/referat-scoala.ro/salvare/txt/$numefis"; $nume_materie = get_materie($detalii_referat->materie); $data_referat = data_romaneasca($detalii_referat->data); $nota = number_format($detalii_referat->media, 2); $content = file_get_contents($numefis); $description_plus = substr($content, 0, 100); $content = nl2br($content); if (session_is_registered('ses_referat_search')){ include_once(BASE."functii/cautare.php"); $content = highlight_cautare($content, $ses_referat_search); } include "htm_citeste.php"; ?>