setState('yaamp-wallet', $user->username); $recents[$user->username] = $user->username; $coin = getdbo('db_coins', $user->coinid); if($coin) echo << $(function() { $('#favicon').remove(); $('head').append(''); }); END; if(empty($user->hostaddr) && !$this->admin) { $user->hostaddr = $_SERVER['REMOTE_ADDR']; $user->save(); } } $username = $user? $user->username: ''; if(!controller()->admin) setcookie('wallets', serialize($recents), time()+60*60*24*30, '/'); echo <<