Files
anpdf/app/views/blocks/auth.phtml
Andrey Kuvshinov 803dc29d37 add test_client_hash
2020-05-29 20:34:26 +03:00

10 lines
289 B
PHTML

<?$checklogin = check_login_kuri();?>
<div id="auth">
<?if ($checklogin['error'] == 'client not found'):?>
<a href="<?=SITE?>login">Войти</a>
<?else:?>
<?=$checklogin['clientmail']?>
<a href="<?=SITE?>out">Выйти</a>
<?endif?>
</div>