View file views/night/footer.tpl

File size: 1.06Kb
<?php if(ROUTE_MODULE != 'user'): ?>
<div class="aut">
<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="rekl">', '</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">
    <b> © <?php  echo $GLOBALS['CONFIG']['system']['system_title']  ?></b>
    <!-- copyright -->
</div>

</div>

</body>
</html>