Просмотр файла views/rapsite/footer.tpl

Размер файла: 1.16Kb
<?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') ?>">Выход</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"><div class="foot_copy">
    © <a href="<?php echo URL ?>"><?php echo $GLOBALS['CONFIG']['system']['system_title'] ?></a><a href="http://wapdiz.ru">Design by Mad</a>
    <!-- copyright -->
</div>
</div>

</body>
</html>