Yes last "if" for TESTNET. right?
But how much can be released all the coins?
Yes last "if" for TESTNET. right? lol

no the last if isn't for testnet. It sets the block reward to 400 coin (as the dev think for blocks between 31k and 50k) but the dev messed the source and now in the OP writes that the last POW block is 50000 which is not true.
I can't answer to your second question because i can't understand it