getName()); $email = unserialize($_SESSION['user'])->getEmail(); return $reply = '

Bienvenido '.$name.' a tu Panel de Usuario.


'.strftime("%A %e de %B de %Y | %H:%M").'


Usuario: '.$name.'

Email: '.$email.'

'."\n"; } //Manage the user account. static function manage(){ require_once('./includes/formChangePass.php'); require_once('./includes/formChangeEmail.php'); require_once('./includes/formChangeName.php'); $formCN = new FormChangeName(); $htmlFormChangeName = $formCN->gestiona(); $formCP = new FormChangePass(); $htmlFormChangePass = $formCP->gestiona(); $formCE = new FormChangeEmail(); $htmlFormChangeEmail = $formCE->gestiona(); return $reply = '

Cambiar nombre de usuario

'.$htmlFormChangeName.'

Cambiar contraseña

'.$htmlFormChangePass.'

Cambiar email de usuario

'.$htmlFormChangeEmail.'
'."\n"; } //User purchase history. static function purchases(){ return $reply = '

Aquí el historial de compras


'."\n"; } //User payment details static function payment(){ return $reply = '

Aquí los datos de pago


'."\n"; } //Delete user account. static function delete(){ return $reply = '

Aquí el formulario para eliminar cuenta


'."\n"; } } ?>