File size: 1.09Kb
<?php if(ROUTE_MODULE != 'user'): ?>
<div class="menu">
<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 echo ads_manager::get_ads_block('all_pages_down', '<div class="rekl">', '</div>') ?>
</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">
© <a href="<?php echo URL ?>"><?php echo $GLOBALS['CONFIG']['system']['system_title'] ?></a>::Design by <a href="http://wapdiz.ru">Mad</a>
<!-- copyright -->
</div>
</body>
</html>