Mini Shell

Direktori : /home/emypro/www/
Upload File :
Current File : /home/emypro/www/noticia.php

<?php include('header.php') ?>
<?php 
$noticias = new Noticia();
$noticia = $noticias->find($_GET['id']);
?>
<div class="blue-wrapper">
	<b><?= $noticia->title ?></b>
</div>
<div id="pages" class="container">
	<div id="posts-list">
		<div class="container">
			<div class="row">
				<div class="col-sm-12">
					<ol class="breadcrumb">
						<li><a href="<?= URL_APP ?>">Home</a></li>
						<li><a href="<?= URL_APP ?>noticias">Notícias</a></li>
						<li class="active">Notícia</li>
					</ol>
					<div class="thumbnail">
						<img src="<?= URL_IMG .'noticias/'. $noticia->image ?>" class="img-responsive" alt="">
					</div>
					<?= $noticia->body ?>

					<br>

					<?php 
						if(isset($_GET['id']) && $_GET['id'] == '4') :
							for ($i=1; $i < 7; $i++) :
					?>
					
						<p style="text-align: center;">
							<img src=http://www.emypro.com.br/img/noticias/outubrorosa/<?php echo $i; ?>.jpg style="display: inline; max-width: 600px;" class=img-responsive >
						</p>


					<?php	
							endfor;				
						endif;
					?>


					<?php 
						if(isset($_GET['id']) && $_GET['id'] == '5') :
							for ($i=1; $i < 20; $i++) :
					?>
					
						<p style="text-align: center;">
							<img src=http://www.emypro.com.br/img/noticias/novembroazul/<?php echo $i; ?>.jpg style="display: inline; max-width: 600px;" class=img-responsive >
						</p>


					<?php	
							endfor;				
						endif;
					?>


				</div>
			</div>
		</div>
	</div>
</div>
<?php include('footer.php') ?>

Zerion Mini Shell 1.0