Concerns about battles

The battle is “offline” and the game submit the result each time the player destroy a turret right? If someone use some stuff to change the spell cooldown will the sever know? 

Yes it will. This has been one of the older “cheats” that people used. Fishy cooldowns are recognized by the servers and players who manipulate them are banned.