Exemplo n.º 1
0
    echo $this->moderatorFilters['reset'];
    ?>
" class="btn btn-default"><span class="glyphicon glyphicon-remove"></span></a>
                </form>
            </div>
        <?php 
}
// Список объявлений
if (!empty($advertisement)) {
    foreach ($advertisement as $advRow) {
        //$created =
        ?>
                <article class="list-row row">
                    <div class="col-xs-12">
                        <?php 
        if (cot_module_active('files') && cot_files_count('advboard', $advRow->id, '', 'images') > 0) {
            $file = cot_files_get('advboard', $advRow->id, '');
            $thumb = cot_files_thumb($file, 195, 130, 'crop');
            ?>
                        <div class="pull-left marginright10 marginbottom10">
                            <a href="<?php 
            echo $advRow->url;
            ?>
" title="<?php 
            echo htmlspecialchars($advRow->title);
            ?>
" rel="bookmark"
                               class="thumbnail"><img alt="<?php 
            echo htmlspecialchars($advRow->title);
            ?>
" src="<?php 
Exemplo n.º 2
0
                <?php 
echo $advert->text;
?>
                <div class="clearfix"></div>
                <?php 
// Виджет файлов (вложений)
if (cot_module_active('files')) {
    if (cot_files_count('advboard', $advert->id, '', 'images') > 0) {
        ?>
                        <div class="margintop20"><?php 
        echo cot_files_gallery('advboard', $advert->id);
        ?>
</div>
                    <?php 
    }
    if (cot_files_count('advboard', $advert->id, '', 'files') > 0) {
        ?>
                        ?>
                        <div class="margintop20">
                            <div class="strong"><?php 
        echo cot::$L['Files'];
        ?>
</div>
                            <?php 
        echo cot_files_downloads('advboard', $advert->id, '');
        ?>
                        </div>
                    <?php 
    }
}
?>