Файл: DESURE-dcms-f12de01ac63e/sys/themes/default_mobile/tpl/listing.post.tpl.php
Строк: 40
<?
$post_time = $time ? '<span class="time">' . $time . '</span>' : '';
$post_counter = $counter ? '<span class="counter">' . $counter . '</span>' : '';
$post_actions = '<span class="actions">' . $this->section($actions, '<a href="{url}"><img src="{icon}" alt="" /></a>') . '</span>';
?>
<?= ($url ? '<a href="' . $url . '" class="' : '<div class="') . 'post' . ($highlight ? ' highlight' : '') . '" id="' . $id . '">' ?>
<table cellspacing="0" cellpadding="0" width="100%">
<? if ($image) { ?>
<tr>
<td class="image" rowspan="4">
<img src="<?= $image ?>" alt=""/>
</td>
<td class="title">
<?= $title ?>
<?= $post_counter ?>
</td>
<td class="right">
<?= $post_time ?>
<?= $post_actions ?>
</td>
</tr>
<? } elseif ($icon) { ?>
<tr>
<td class="icon">
<? if ($icon_class) { ?>
<span class="<?= $icon_class ?>"></span>
<? } else { ?>
<img src="<?= $icon ?>" alt=""/>
<? } ?>
</td>
<td class="title">
<?= $title ?>
<?= $post_counter ?>
</td>
<td class="right">
<?= $post_time ?>
<?= $post_actions ?>
</td>
</tr>
<? } else { ?>
<tr>
<td class="title">
<?= $title ?>
<?= $post_counter ?>
</td>
<td class="right">
<?= $post_time ?>
<?= $post_actions ?>
</td>
</tr>
<? } ?>
<? if ($content) { ?>
<tr>
<td class="content" colspan="10">
<?= $content ?>
</td>
</tr>
<? } ?>
<? if ($bottom) { ?>
<tr>
<td class="bottom" colspan="10">
<?= $bottom ?>
</td>
</tr>
<? } ?>
</table>
<?=
$url ? '</a>' : '</div>'?>