alliance_stat.php: fix database and logic errors
alliance_stat.php: fix database and logic errors

* If the player did not have a role within the given alliance (i.e.
  an admin editing the alliance description), then the database query
  would have no records and accessing fields would fail.

* If the player viewing the page was not in the alliance (i.e. has the
  admin permission to edit alliance descriptions), but was the leader
  of their own alliance, they would incorrectly have been allowed to
  edit the chat server options.

hemberger/smr,smrealms/smr,smrealms/smr,hemberger/smr,hemberger/smr,smrealms/smr,hemberger/smr