private.php

<?php


// $sys = $lia->get('User.System');
// $lia->view('User.Link',['urls'=>'login','text'=>'Login Here'])
if ($user->isGuest()){
    $lia->error(403, "You are not logged in. ".$this->link('login','Login Here'));
    return;
}

?>
<h1>
    Account for <b><?=$user->name?></b>
</h1>
<p>Logged in with <strong><?=$user->email?></strong>. User accounts cannot be edited at this time.</p>
<p>
<a href="<?=$package->url('/logout/')?>">Logout</a>
</p>
<p>
  <a href="<?=$package->url('/change-password/')?>">Change Password</a>
</p>
<p>Contact <?=$package->get('Support.name')?>, 
    at <a href="mailto:<?=$package->get('Support.email')?>"><?=$package->get('Support.email')?></a> if you have any questions about or problems with your acccount. 
</p>

<?php //=$this->links(['password.reset','Reset Password'],['logout', 'Logout'], ['help', 'Help']);?>
<?php //=$this->links('password.reset', 'logout', 'help');?>