"> = $min && $key <= $max) { $old = fopen ("entries.db", "r"); $old2 = fread ($old, filesize ("entries.db")); fclose ($old); $tosplit = "|"; $contarr = explode($tosplit,$val); $name = $contarr[0]; $comment = $contarr[1]; $website = $contarr[2]; $date = $contarr[3]; $ip = $contarr[4]; if ($website == "http://" || $website == "") { echo "$name$spacer $comment
"; } else { echo "$name$spacer $comment
"; } } $count++; } if ($min > 0) { $n_max = $max - 10; $n_min = $min - 10; } if ($count > $max) { $n_max = $max + 10; $n_min = $min + 10; } } if ($show == "all") { $limits = $limit-1; if ($max) {} else { $max="$limits"; } if ($min) {} else { $min="0"; } $tag = file ("entries.db"); $count = "0"; while (list ($key, $val) = each ($tag)) { if ($key >= $min && $key <= $max) { $old = fopen ("entries.db", "r"); $old2 = fread ($old, filesize ("entries.db")); fclose ($old); $tosplit = "|"; $contarr = explode($tosplit,$val); $name = $contarr[0]; $comment = $contarr[1]; $website = $contarr[2]; $date = $contarr[3]; $ip = $contarr[4]; if ($website == "http://" || $website == "") { echo "$name$spacer $comment
"; } else { echo "$name$spacer $comment
"; } } $count++; } echo "
"; if ($count == "0") { echo "
there is 0 entries in total"; } if ($count == "1") { echo "
there is 1 entry in total"; } if ($count >= "2") { echo "
there is $count entries in total

"; } if ($min > 0) { $n_max = $max - $limit; $n_min = $min - $limit; echo "back "; } if ($count > $max) { $n_max = $max + $limit; $n_min = $min + $limit; echo "more"; } echo "
tagger version two
"; } ?>