Esempio n. 1
0
<ul class="prom">
    <?php 
foreach ($posts as $item) {
    ?>
    <li>
        <p class="ttl"><?php 
    echo $item->title;
    ?>
</p>
        <p class="info"><?php 
    echo Str::words(strip_tags(WebAPL\Shortcodes::strip($item->text)), 40);
    ?>
</p>
        <a href="<?php 
    echo $page_url;
    ?>
?item=<?php 
    echo $item['uri'];
    ?>
"></a>
    </li>
    <?php 
}
?>
</ul>

<div class="clearfix"></div>


<?php 
if (method_exists($posts, 'links')) {
Esempio n. 2
0
    <?php 
if ($post->show_pcomment) {
    ?>
        <div class='live_comment' data-pid="news<?php 
    echo $post->id;
    ?>
">
            <?php 
    echo WebAPL\Shortcodes::execute($post->text);
    ?>
        </div>
    <?php 
} else {
    ?>
        <div><?php 
    echo WebAPL\Shortcodes::execute($post->text);
    ?>
</div>
    <?php 
}
?>

    <div class="clearfix"></div>

    <?php 
Event::fire('post_bottom_container', $post);
?>

    <?php 
if ($post->have_socials) {
    ?>
Esempio n. 3
0
        <?php 
if ($post->show_pcomment) {
    ?>
            <div class='live_comment' data-pid="news<?php 
    echo $post->id;
    ?>
">
                <?php 
    echo WebAPL\Shortcodes::execute($post->text, [$post, ['post' => $post]]);
    ?>
            </div>
        <?php 
} else {
    ?>
            <div><?php 
    echo WebAPL\Shortcodes::execute($post->text, ['post' => $post]);
    ?>
</div>
        <?php 
}
?>

        <?php 
echo View::make('sections.elements.socials');
?>
        <div class="hr_grey"></div>
        <?php 
echo View::make('sections.elements.comments');
?>

    </div>
Esempio n. 4
0
?>
    </p>
    <?php 
if (strtotime($post->created_at)) {
    ?>
        <div class='data'>
            <p class="nr"><?php 
    echo date('d-m-Y, H:i', strtotime($post->created_at));
    ?>
</p>
        </div>
    <?php 
}
?>
    <div class='p_i ldm_li'><?php 
echo WebAPL\Shortcodes::execute($post->text, array('post' => $post));
?>
</div>
    <?php 
if (strtotime($post->date_point)) {
    ?>
    <div class="ldm_middle">
        <p class="tda">
            <?php 
    echo varlang('termen-limita');
    ?>
 : <span><?php 
    echo date('d-m-Y, H:i', strtotime($post->date_point));
    ?>
</span>
        </p>