예제 #1
0
        <div id="<?php 
    echo Pages::getTranslit($item->title);
    ?>
" class="royalSlider default with-thumbs">
            <ul class="royalSlidesContainer dragme grab-cursor">

                <?php 
    for ($i = 1; $i < 16; $i++) {
        ?>
                    <?php 
        $slide = "slide_" . $i . "";
        if ($item->{$slide} !== "") {
            ?>
                            <li class="royalSlide <?php 
            echo Pages::getTranslit($item->title) . "-" . $count;
            ?>
" rel="<?php 
            echo "group" . $count;
            ?>
" data-glisse-big="<?php 
            echo $item->{$slide};
            ?>
" src="<?php 
            echo $item->{$slide};
            ?>
"  data-thumb="<?php 
            echo $item->{$slide};
            ?>
" data-src="<?php 
            echo $item->{$slide};
예제 #2
0
파일: _view.php 프로젝트: smokeelow/faicore
<div id="news-<?php 
echo Pages::getTranslit($data->title);
?>
" class="news-item">

    <div class="news-title">
        <div class="date">
            <?php 
foreach ($this->getDate($data->date) as $item) {
    ?>
                <div><?php 
    echo $item;
    ?>
</div>
            <?php 
}
?>
        </div>

        <h1 class="title">
            <?php 
echo CHtml::encode($data->title);
?>
        </h1>

        <div class="clear"></div>
    </div>

    <div  class="news-content">
        <div class="news-img">
            <img width="200" height="130" src="<?php