From c753e163902fc1dbf256236bcb316c49294c0104 Mon Sep 17 00:00:00 2001 From: quenousimporte Date: Thu, 7 Mar 2024 14:59:06 +0100 Subject: [PATCH] remove: footer --- index.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/index.php b/index.php index 216497a..4251a25 100644 --- a/index.php +++ b/index.php @@ -109,10 +109,7 @@ $content = file_get_contents($dir . '/' . $title); } - $lines = substr_count($content, "\r\n") + 1; - $words = $lines + substr_count($content, " "); - $rows = max(20, $lines) * 2; - $length = strlen($content); + $rows = max(20, substr_count($content, "\r\n")) * 2; require('note.php'); @@ -140,8 +137,6 @@ } echo '
'; } - - echo '' . $title . ' - ' . $now . ' - ' . $length . 'c - ' . $words . 'w - ' . $lines . 'l '; } else if ($nextpage == 'home') {