Ejemplo n.º 1
0
                                                </div>
                                            </div>
                                             
                                        <?php 
    }
    ?>
                                    </div>
                                </div>
                            </div>
                        </div>
                </div>
            </div>
    <?php 
}
?>
<div class="page-home">
    <?php 
foreach ($items_videos as $category) {
    ?>
        <?php 
    showBlockHome($category['videos'], $category['title'], $category['link']);
    ?>
    <?php 
}
?>
    <?php 
showBlockHome($items_news, "Tin tức", Router::buildLink('articles'), "tintuc");
?>
</div>
       
     
Ejemplo n.º 2
0
                                        <?php 
    }
    ?>
                                    </div>
                                </div>
                            </div>
                        </div>
                </div>
            </div>
    <?php 
}
?>
 

<div class="page-home">
    <?php 
foreach ($items_videos as $category) {
    ?>
        <?php 
    showBlockHome($category['videos'], $category['title'], $category['link']);
    ?>
    <?php 
}
?>
    
    <?php 
showBlockHome($items_news, "Tin tức", Yii::app()->createUrl("articles/"), "article");
?>
</div>