fisier); $numefis = $numefis[0].".txt"; $numefis = "/var/www/html/referat-gimnaziu.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."referat-gimnaziu.ro/functii/cautare.php"); $content = highlight_cautare($content, $ses_referat_search); } include "htm_citeste.php"; ?>