示例#1
0
"><?php 
    echo $v->title;
    ?>
</a>
                    </div>
                    <div class="row-fluid en-box-feature "><!-- .en-box-feature -->
                        <div class="row-fluid">
                            <div class="span8 offset2" >
                                <a href="<?php 
    echo Yii::app()->getBaseUrl(true) . "/" . $this->root_slug . "/" . $root->slug . "-" . $root->id . "/lop/" . $v->slug . "-" . $v->id . ".html";
    ?>
" class="thumbnail" title="<?php 
    echo $v->title;
    ?>
" ><img class="" src="<?php 
    echo Libraries::getImage('a');
    ?>
" /></a>
                            </div>
                        </div>
                        <div class="row-fluid box-feature">
                            <?php 
    echo $v->desc;
    ?>
                        </div> 
                    </div><!-- end .en-box-feature -->
                </div><!-- end .en-box //ngu phap -->
                <?php 
}
?>
        </div>
示例#2
0
?>
            </div><!-- end content -->
        </div><!-- end header-at-->
        <div class='row-fluid body-at container'>	
            <div id="page-wrapper" class="re_span9">
                <div id="page-obj">
                    <div id="en-left" class="page-wrapper-top">
                        <div class="row-fluid  ">
                        </div>   
                        <?php 
foreach ($items as $k => $v) {
    ?>
                            <div class='crow-fluid new-list relative margin_topbot10'>
                                <div class="span2" >
                                    <img src="<?php 
    echo Libraries::getImage($v->content);
    ?>
" title="<?php 
    echo $v->title;
    ?>
"/>
                                </div><!-- end .span3 -->
                                <div class="span10">
                                    <a title ="<?php 
    echo $v->title;
    ?>
"href="<?php 
    echo Yii::app()->getBaseUrl(true) . "/tin-tuc/" . $root->slug . "-" . $root->id . "/" . $v->slug . "-" . $v->id . ".html";
    ?>
" title="<?php 
    echo $v->title;
示例#3
0
    $data = $cate;
    $cat = 1;
}
$i = 1;
foreach ($data as $row) {
    ?>

    <div class="row-fluid en-box-feature <?php 
    if ($i == count($data)) {
        echo 'no_border';
    }
    ?>
"><!-- .en-box-feature -->
        <?php 
    if ($row->image == '' & $cat == 0) {
        $row->image = Libraries::getImage($row->content);
    }
    ?>
        <img class="en-box-img span4" title="<?php 
    echo $row->title;
    ?>
"  src="<?php 
    echo Libraries::validateURL($row->image);
    ?>
">

        
          <!-- <?php 
    echo Yii::app()->createUrl('listen/view', array('slug' => 'tieu-de-bai-hoc', 'id' => 13));
    ?>
 -->