Ejemplo n.º 1
0
												<span><img src="<?php 
        echo Yii::app()->request->baseUrl;
        ?>
/images/icon-hour.svg" alt="Hora" class="to-svg"></span>
												<?php 
        echo $eventItem->hour_event;
        ?>
											</p>
										</td>
										<td>
											<p>
												<?php 
        if ($eventItem->great_event == 1) {
            ?>
													<a href="<?php 
            echo $this->createUrl('eventos/' . $eventItem->event_categories_id_category . '_' . MyMethods::normalizarUrl($eventItem->eventCategoriesIdCategory->name_category) . '?event=' . $eventItem->id_event);
            ?>
"><?php 
            echo MyMethods::myStrtoupper($eventItem->title_event);
            ?>
</a>
												<?php 
        } else {
            echo MyMethods::myStrtoupper($eventItem->title_event);
        }
        ?>
											</p>
										</td>
										<td>
											<p class="icon-line">
												<span><img src="<?php 
Ejemplo n.º 2
0
						<h2 class="events-category__title"><?php 
    echo MyMethods::myStrtoupper($category['category']->name_category);
    ?>
</h2>
						<ul>
							<?php 
    foreach ($category['events'] as $key => $event) {
        ?>
								<li><?php 
        echo MyMethods::myStrtoupper($event->title_event);
        ?>
</li>
							<?php 
    }
    ?>
						</ul>
						<div class="btn-right">
							<a href="<?php 
    echo $this->createUrl('eventos/' . $category['category']->id_category . '_' . MyMethods::normalizarUrl($category['category']->name_category));
    ?>
" class="btn btn-yellow">VER MÁS</a>
						</div>
					</article>
				<?php 
}
?>
			</section>
		</div>

		<?php 
$this->renderPartial('//layouts/__sponsors');
Ejemplo n.º 3
0
		<header class="title-page title-page__orange">
			<h1>NOTICIAS</h1>
		</header>
		<div class="limiter-container">
			<section class="news line-box">
				<?php 
foreach ($news as $key => $new) {
    ?>
					<article class="line new">
						<a href="<?php 
    echo $this->createUrl('noticia/' . $new->id_new . '_' . MyMethods::normalizarUrl($new->title_new));
    ?>
" class="post">
							<figure class="post-image js-resizing" data-resizing="9/12">
								<img src="<?php 
    echo Yii::app()->request->baseUrl;
    ?>
/images/news/<?php 
    echo $new->image_new;
    ?>
" alt="<?php 
    echo $new->title_new;
    ?>
">
							</figure>
							<header class="post-header">
								<h2 class="post-title"><?php 
    echo $new->title_new;
    ?>
</h2>
								<p class="post-content">
Ejemplo n.º 4
0
		<header class="title-page title-page__purple">
			<h1>ARTISTAS</h1>
		</header>
		<div class="limiter-container">
			<section class="artists line-box">
				<?php 
foreach ($artists as $key => $artist) {
    ?>
					<article class="artists__item artists__item__<?php 
    echo $artist->color_artist;
    ?>
 line">
						<a href="<?php 
    echo $this->createUrl('artista/' . $artist->id_artist . '_' . MyMethods::normalizarUrl($artist->name_artist));
    ?>
">
							<figure class="artist-image js-resizing" data-resizing="1">
								<img src="<?php 
    echo Yii::app()->request->baseUrl;
    ?>
/images/artists/350x350/<?php 
    echo $artist->image_artist;
    ?>
" alt="<?php 
    echo $artist->name_artist;
    ?>
">
							</figure>
							<h2 class="artist-name"><?php 
    echo MyMethods::myStrtoupper($artist->name_artist);
    ?>