Размер файла: 1.07Kb
<?php if(ROUTE_MODULE != 'user'): ?>
<div class="block">
<span style="font-size: 11px;">
<?php if(USER_ID == -1): ?>
<a href="<?php echo a_url('user/login') ?>">Вход</a> | <a href="<?php echo a_url('user/registration') ?>">Регистрация</a>
<?php else: ?>
[<a href="<?php echo a_url('user/profile') ?>"><?php echo $user['username'] ?></a>] [<a href="<?php echo a_url('user/exit') ?>">x</a>]
<?php endif; ?>
</span>
</div>
<?php endif; ?>
<?php if(modules::is_active_module('ads_manager')) echo ads_manager::get_ads_block('all_pages_down', '<div class="block" style="Font-size: 11px;">', '</div>') ?>
<?php if(!empty($GLOBALS['CONFIG']['system']['footer_codes_index']) or !empty($GLOBALS['CONFIG']['system']['footer_codes_other_pages'])): ?>
<div class="block">
<?php
if(ROUTE_MODULE == 'index_page') echo $GLOBALS['CONFIG']['system']['footer_codes_index'];
else echo $GLOBALS['CONFIG']['system']['footer_codes_other_pages'];
?>
</div>
<?php endif; ?>
<div class="foot">
© <?php echo $GLOBALS['CONFIG']['system']['system_title'] ?>
<!-- copyright -->
</div>
</body>
</html>