·$notenum" . substr($source, $r + 2); #-- add "footnote" to the end of the wiki page source if ($notenum==1) { $source .= "\n----"; } $source .= "\n" . "·$notenum ". $footnote . "\n
"; } } ?>