![]() |
#2
|
|||
|
|||
![]()
Well my suggestion after looking at the levelup and reward function would be.
after the line Code:
$rewardstatus = reward($id, $type, $nextlevel, $owner); if true then get the promocode from the adopt. sql command: Code:
"SELECT * FROM ".$GLOBALS['prefix']."levels WHERE adoptiename='$type' and thisislevel='$nextlevel'" Code:
$promocode=@mysql_result($result, 0,"promocode"); <a href='promo.php?promocode=".$promocode."'>HERE IS A LINK TO PROMOCODE: $promocode</a> Code:
$article_content = "<img src='".$image."'><br>".$lang_gave."".$name." one ".$lang_unit.".<br>".$lang_levelup_encourage; Code:
$article_content = $article_content . "<div align='center'><br />You have earned ". grabanysetting('rewardmoney') ." ". grabanysetting('cost') ." for leveling up this adoptable. <br />You now have {$GLOBALS['money']} ".grabanysetting('cost')."</div>"; |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help with levelup in 1.3.3? | Infernette | Questions and Supports | 1 | 03-25-2013 05:47 PM |
Levelup Problems? | Tequila | Questions and Supports | 4 | 11-18-2011 11:52 PM |
help with levelup.php please | Sensacionsk8 | Questions and Supports | 7 | 02-27-2011 01:44 PM |
help me with levelup.php | Sensacionsk8 | Questions and Supports | 0 | 02-23-2011 05:48 PM |
levelup issue | ipman | Questions and Supports | 8 | 01-26-2011 09:33 AM |
What's New? |
What's Hot? |
What's Popular? |