My code is here:
case \'get_inv\': if(!$user) exit(json_encode(array(\'success\'=>false, \'error\'=>\'You must login to access the deposit.\')));