Файл: Arhmobi_esdcms/sys/themes/default_full/tpl/listing.post.tpl.php
Строк: 39
<?
$classes = array('post', 'clearfix');
if ($highlight) {
$classes[] = 'highlight';
}
if ($image) {
$classes[] = 'image';
}
if ($icon || $icon_class) {
$classes[] = 'icon';
}
if ($time) {
$classes[] = 'time';
}
if ($actions) {
$classes[] = 'actions';
}
if ($counter) {
$classes[] = 'counter';
}
if ($bottom) {
$classes[] = 'bottom';
}
if ($content) {
$classes[] = 'content';
}
?>
<div id="<?= $id ?>"
class="<?= implode(' ', $classes) ?>"
data-ng-controller="ListingPostCtrl"
data-post-url="<?= $url ?>">
<div class="post_image"><img src="<?= $image ?>" alt=""></div>
<div class="post_head">
<span class="post_icon">
<? if ($icon_class) { ?>
<span class="<?= $icon_class ?>"></span>
<? } else { ?>
<img src="<?= $icon ?>" alt="">
<? } ?>
</span>
<a class="post_title" <?php if ($url) { ?>href="<?= $url ?>"<?php } ?>><?= $title ?></a>
<span
class="post_actions"><?= $this->section($actions,
'<a href="{url}"><img src="{icon}" alt="" /></a>') ?></span>
<span class="post_counter"><?= $counter ?></span>
<span class="post_time"><?= $time ?></span>
</div>
<div class="post_content"><?= $content ?></div>
<div class="post_bottom"><?= $bottom ?></div>
</div>