Update func.inc.php

when displaying pool stats for a given host, discarded shares ratio was calculated in the wrong way. instead of the ratio of discarded / accepted you had discarded / getwork in your code. I changed that. Now ratio of discarded shares is consistent for host, devices and pools...
Merge pull request #3 from arijan/patch-1

Update func.inc.php