Files
anpdf/app/views/blocks/auth.phtml
2020-05-18 18:03:51 +03:00

9 lines
250 B
PHTML

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