EOF; function DirCnt($oga) { $i=0; $handle=opendir($oga); while (false!=($file = readdir($handle))) { if (preg_match("/^1[89]/", $file)) { $i++; } if (preg_match("/\.pdf$/i", $file)) { $i++; } } closedir($handle); return($i); } function EditGA($xga) { $xga=preg_replace("/A000/","A ",$xga); $xga=preg_replace("/A00/","A ",$xga); $xga=preg_replace("/A0/","A ",$xga); return($xga); } function dojava() { global $js; if($js) { printf("\n"); printf("
\n"); printf("

%s: %s

\n", $mes, $tot); printf("
\n"); include("footing.inc"); ?>