예제 #1
0
<?php

/* ====================
[BEGIN_COT_EXT]
Hooks=page.tags
Tags=page.tpl:{PAGE_COMMENTS},{PAGE_COMMENTS_DISPLAY},{PAGE_COMMENTS_COUNT},{PAGE_COMMENTS_RSS}
[END_COT_EXT]
==================== */
/**
 * Comments system for Cotonti
 *
 * @package Comments
 * @copyright (c) Cotonti Team
 * @license https://github.com/Cotonti/Cotonti/blob/master/License.txt
 */
defined('COT_CODE') or die('Wrong URL');
require_once cot_incfile('comments', 'plug');
//$rowe_urlp = empty($pag['page_alias']) ? array('c' => $pag['page_cat'], 'id' => $pag['page_id']) : array('c' => $pag['page_cat'], 'al' => $pag['page_alias']);
$t->assign(array('PAGE_COMMENTS' => cot_comments_link('page', $pageurl_params, 'page', $pag['page_id'], $pag['page_cat'], $pag), 'PAGE_COMMENTS_DISPLAY' => cot_comments_display('page', $pag['page_id'], $pag['page_cat']), 'PAGE_COMMENTS_COUNT' => cot_comments_count('page', $pag['page_id'], $pag), 'PAGE_COMMENTS_RSS' => cot_url('rss', 'm=comments&id=' . $pag['page_id'])));
<?php

/* ====================
[BEGIN_COT_EXT]
Hooks=polls.view.tags
Tags=polls.tpl:{POLLS_COMMENTS},{POLLS_COMMENTS_DISPLAY}
[END_COT_EXT]
==================== */
/**
 * Comments system for Cotonti
 *
 * @package Comments
 * @copyright (c) Cotonti Team
 * @license https://github.com/Cotonti/Cotonti/blob/master/License.txt
 */
defined('COT_CODE') or die('Wrong URL');
require_once cot_incfile('comments', 'plug');
$t->assign(array('POLLS_COMMENTS' => cot_comments_link('polls', 'id=' . $id, 'polls', $id), 'POLLS_COMMENTS_COUNT' => cot_comments_count('polls', $id), 'POLLS_COMMENTS_DISPLAY' => cot_comments_display('polls', $id)));
예제 #3
0
<?php

/* ====================
[BEGIN_COT_EXT]
Hooks=page.list.tags
Tags=page.list.tpl:{LIST_COMMENTS},{LIST_COMMENTS_DISPLAY}
[END_COT_EXT]
==================== */
/**
 * Comments system for Cotonti
 *
 * @package Comments
 * @copyright (c) Cotonti Team
 * @license https://github.com/Cotonti/Cotonti/blob/master/License.txt
 */
defined('COT_CODE') or die('Wrong URL');
require_once cot_incfile('comments', 'plug');
$t->assign(array('LIST_COMMENTS' => cot_comments_link('page', 'c=' . $c, 'page', $c), 'LIST_COMMENTS_COUNT' => cot_comments_count('page', $c), 'LIST_COMMENTS_DISPLAY' => cot_comments_display('page', $c, $c)));
예제 #4
0
" class="btn btn-danger btn-sm confirmLink">
                        <span class="glyphicon glyphicon-trash"></span> <?php 
    echo cot::$L['Delete'];
    ?>
</a>
                </div>
            </div>

        </div>

        <?php 
}
if (!empty($commentsLink)) {
    ?>
            <div class="margintop20"><?php 
    echo cot_comments_display('advboard', $advert->id, $advert->category);
    ?>
</div>
        <?php 
}
/**
 * @todo Тут похожие объявления
 */
?>
    </div>


    <aside class="col-xs-12 col-sm-4">
        <?php 
if ($this->category['config']['compareOn']) {
    echo advboard_controller_Widget::compare();