Example #1
0
            </div>
            <div class="new-content" style="float: left; width: 60%">
                <p class="font-bold font13"><?php 
echo JLayoutHelper::render('joomla.content.blog_style_default_item_title1', $this->item);
?>
                    - <?php 
echo JLayoutHelper::render('joomla.content.info_block.create_date1', $this->item);
?>
                </p>
                <p><?php 
if (!$params->get('show_intro')) {
    ?>
                        <?php 
    echo $this->item->event->afterDisplayTitle;
    ?>
                    <?php 
}
?>
                    <?php 
echo $this->item->event->beforeDisplayContent;
?>
 <?php 
echo JString::sub_string($this->item->introtext, 170);
?>
</p>
            </div>
        </div>


        <?php 
echo $this->item->event->afterDisplayContent;
Example #2
0
?>
    </div>

    <div class="col-md-4">
        <h4 class="color-blue" style="height:20px">VIETNAM  FEATURES</h4>
        <div class="list_news" style="margin: 0; padding: 10px 0; border-top: 3px solid #006699">
            <?php 
foreach ($this->featureds as $item1) {
    ?>
                <div class="list_feature">
                    <div class="one_feature" style="margin: 10px 0">
                        <?php 
    echo JLayoutHelper::render('joomla.content.intro_image1_featured', $item1);
    ?>
                        <p class="font-bold font13 margintop5" style="margin-bottom: 0"><?php 
    echo JLayoutHelper::render('joomla.content.blog_style_default_item_title1', $item1);
    ?>
</p>
                        <p style="margin:0; padding: 0"><?php 
    echo JString::sub_string($item1->introtext, 70);
    ?>
</p>
                    </div>
                </div>
            <?php 
}
?>
        </div>
    </div>

</div>