From 37b0c9b4aaadb958022a44d24a239203fddde23a Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Sun, 25 Sep 2022 13:50:22 +0200 Subject: [PATCH] debug --- index.php | 4 ++-- methods/schulzeResults.php | 10 +++++++++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/index.php b/index.php index 2d47531..72577b8 100644 --- a/index.php +++ b/index.php @@ -1,5 +1,5 @@
'); -require_once './footer.html'; +require_once 'footer.html'; ?> diff --git a/methods/schulzeResults.php b/methods/schulzeResults.php index 1e40860..0a3a790 100644 --- a/methods/schulzeResults.php +++ b/methods/schulzeResults.php @@ -75,7 +75,15 @@ class schulze return $w; } - function result($v) + function paires($w) + { + foreach($w as $votes) + { + + } + } + + function result($d) { $ncandidats = $this->ncandidats; for ($i=1;$i<=$ncandidats;$i++)