Advertisement
Guest User

Untitled

a guest
Sep 21st, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.55 KB | None | 0 0
  1. function SEA_GlitchPotionsUpdateRewards()
  2. {
  3. $rewards = unserialize(fBGetRewardStore('rewards'));
  4. $reward = array();
  5. $reward = array('rewardLink' => $amf2->_bodys[0]->_value['data'][$key]['collectionCounters'][0]['link'], '75' => trim($amf2->_bodys[0]->_value['data'][$key]['collectionCounters'][0]['collectable']),'timestamp' => time());
  6. $rewards[] = $reward;
  7. $uSQL = "INSERT OR REPLACE INTO rewardstore(userid, storetype, content) values('" . $_SESSION['userId'] . "','rewards', '" . serialize($rewards) . "')";
  8.  $_SESSION['vRewardStoreDB']->exec($uSQL);
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement