View file views/vigner/footer.tpl

File size: 1.03Kb
<?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 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="stat">
<?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>

</body>
</html>