Файл: tyde/www/application/views/code/view.php
Строк: 28
<!-- View code {{ -->
<div class="uk-container-center ui-margins">
<div class="ui-box">
<?php if ($this->uauth->isAuth() AND $this->uauth->get('id') == 1): ?>
<span class="uk-icon-minus-square"></span> <a href="<?php echo site_url('code/del/'.$id) ?>">Снести эту хуйню</a><hr>
<?php endif; ?>
<strong>Код:</strong>
<pre class="brush: <?php echo xss_clean(strtolower($lang)) ?>"><?php echo htmlspecialchars($code); ?></pre>
Добавлено юзером: <span class="uk-icon-user"></span> <strong><?php echo $this->uauth->loginById($user) ?></strong><br>
<span class="uk-icon-clock-o"></span> <?php echo date('d.m.Y в H:i', $time) ?>
<?php if (!empty($comment)): ?>
<hr>Комментарий: <?php echo $comment; ?>
<?php endif; ?>
</div>
</div>
<!-- }} View code -->
<script type="text/javascript" src="<?php echo base_url('web/js/scripts/shCore.js') ?>"></script>
<script type="text/javascript" src="<?php echo base_url('web/js/scripts/shBrush'.$lang.'.js') ?>"></script>
<script type="text/javascript">SyntaxHighlighter.all();</script>