function commentCount($n) { $comments_path = ""; if($file = @fopen($comments_path . "comments/$n.comment", 'r')) { $thisFile = fread($file, '1000000'); $thisFile = explode("\n", trim($thisFile)); fclose($file); $comments = sizeof($thisFile); if($comments == 1) {$comments .= " Kommentar";} else {$comments .= " Kommentare";} } else { $comments = "0 Kommentare"; } return $comments; } ?> \n\r"; ?>
|
vorherige Seite | nächste Seite Zufallsgenerator | alle Wellenbrecher |