Files
anpdf/app/views/blocks/auth.phtml

9 lines
250 B
PHTML
Raw Normal View History

2020-05-12 21:34:52 +03:00
<?$checklogin = check_login_kuri();?>
2020-05-18 18:03:51 +03:00
2020-05-12 21:15:26 +03:00
<div id="auth">
2020-05-12 21:34:52 +03:00
<?if ($checklogin['error'] == 'client not found'):?>
2020-05-12 21:21:00 +03:00
<a href="<?=SITE?>login">Войти</a>
2020-05-12 21:15:26 +03:00
<?else:?>
2020-05-12 21:21:00 +03:00
<a href="<?=SITE?>out">Выйти</a>
2020-05-12 21:15:26 +03:00
<?endif?>
</div>