Sort:  

Yes I know, but surely there is a better way of checking a user's role instead of duplicating all the code?

Now that you mentioned, it can be done with a function that takes the role as the parameter :D i will do that.

Coin Marketplace

STEEM 0.26
TRX 0.20
JST 0.038
BTC 96591.19
ETH 3584.60
USDT 1.00
SBD 3.76