Well first, we have to make the script check if the clicker is the owner before giving out the money and if it's not, don't give any.
open your levelup.php
find this code around line 231 - 236
PHP Code:
// Start Rewards
// ************************************************
//Get currency on level up
Add below
PHP Code:
if($owner == $loggedinname)
{
After that, find this
PHP Code:
$article_content = $article_content . "<div align='center'><br />You have earned ". $amount ." Dollars for leveling up this Adoptable. <br />You now have " . $newbalance . " Dollars.</div>";
below that, add the closing curly bracket
hope this solves your problem :)