Mini Shell

Direktori : /home/emypro/www/en/
Upload File :
Current File : /home/emypro/www/en/index-bkp-2018-06-26.php

<?php include('header.php') ?>
<div id="banner-carousel" class="carousel slide hidden-xs" data-ride="carousel">
	<section id="banner" class="carousel-inner">
		<?php $banners = new Banner() ?>
		<?php $n = 0 ?>
		<?php foreach($banners->findAll() as $banner): ?>
		<div class="item banner-item <?= $n ? '' : 'active' ?>">
			<img src="<?= URL_IMG .'banners/'. $banner->image ?>" alt="">
			<div class="carousel-caption">
				<p><?= $banner->title ?></p>
				<p>
					<a href="<?= $banner->link ?>" class="caption-button">
						Read more
					</a>
				</p>
			</div>
		</div>
		<?php $n++ ?>
		<?php endforeach ?>
	</section>
	<a class="left carousel-control" href="#banner-carousel" role="button" data-slide="prev">
    	<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
    	<span class="sr-only">Previous</span>
  	</a>
  	<a class="right carousel-control" href="#banner-carousel" role="button" data-slide="next">
    	<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
    	<span class="sr-only">Next</span>
  	</a>
</div>
<div class="blue-wrapper">
	<b>Welcome to</b> Emypro Brazil
</div>
<div id="mvv" class="container-fluid">
	<div class="container">
		<div class="row">
			<div class="col-sm-4">
				<h3><b>Mission</b></h3>
				<p align="justify">To perform engineering services with the highest quality within the standards of safety, human health and environmental management, generating value to our customers and shareholders.</p>
			</div>
			<div class="col-sm-4">
				<h3><b>Vision</b></h3>
				<p align="justify">To be recognized as a reference model in industrial assembly technology, being in the next 5 years among the top 20 most profitable companies in the sector.</p>
			</div>
			<div class="col-sm-4">
				<h3><b>Values</b></h3>
				<p align="justify">We believe that sustainable development, human resources valorization and ethical behavior are essential to achieve higher levels of excellence.</p>
			</div>
		</div>
	</div>
</div>
<div id="posts-list">
	<div class="container">
		<?php $noticias = new Noticia() ?>
		<?php $noticiasAll = $noticias->findAll('created', 'desc', 4) ?>
		<?php if($noticiasAll): ?>
		<div class="row">
			<div class="col-sm-12">
				<h3 class="text-center">Latest News</h3>
			</div>
		</div>
		<?php foreach(array_chunk($noticiasAll, 2) as $row): ?>
			<div class="row">
			<?php foreach($row as $noticia): ?>
				<div class="col-sm-6">
					<a href="<?= URL_APP ?>en/noticia/<?= Helper::slugify($noticia->title) .'/'. $noticia->id ?>">
						<div class="thumbnail">
							<img src="<?= URL_IMG .'noticias/'. $noticia->image ?>" class="img-responsive" alt="">
							<div class="caption">
								<h4><?= $noticia->title ?></h4>
							</div>
						</div>
					</a>
				</div>
			<?php endforeach ?>
			</div>
		<?php endforeach ?>		
		<?php endif ?>
	</div>
</div>
<?php include('footer.php') ?>

Zerion Mini Shell 1.0