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++)