Beispiel #1
0
<?php

echo $this->widget('application.apps.frontend.components.Categories', array(), TRUE);
$this->widget('application.extensions.Breadcrumbs.Breadcrumbs', array('params' => array('model' => $model)));
?>

<section>
    <main role="main" class="all">
        <div class="container video-caption">
            <h1><?php 
echo Pages::getTitle();
?>
</h1>
        </div>
    </main>
    <div class="news-block">
        <main role="main" class="all">
            <div class="container news-all">
                <figure>
                    <?php 
if (!empty($model->image)) {
    echo '<img src="/uploads/filestorage/press/elements/small-' . $model->id . '.' . $model->image . '">';
}
?>
                </figure>
                <article>
                    <p><?php 
echo Press::model()->getDate($model->maindate);
?>
</p>
                    <blockquote>
Beispiel #2
0
<?php

echo $this->widget('application.apps.frontend.components.Categories', array(), TRUE);
$this->widget('application.extensions.Breadcrumbs.Breadcrumbs', array('params' => array('model' => $model)));
?>

<h1 class="lined nopaddingtop" style="margin-top: 10px;"><?php 
echo Pages::getTitle($model->id);
?>
</h1>

<div>
<?php 
echo $model->content;
?>
</div>
<div class="clearfix"></div>

<?php 
echo $modelTabs;
?>



<?php 
if (!empty($modelCatalog)) {
    ?>
    <div class="tovar_container tovar_container2">
        <div class="block_name">Популярные товары</div>
    <?php 
    foreach ($modelCatalog as $data) {