ok
Direktori : /home/viveiroimperium/www/ |
Current File : /home/viveiroimperium/www/arborizacao.php |
<?php require_once 'includes/topo.php'; ?> <?php require_once 'includes/header.php'; ?> <!-- Start Bottom Header --> <div class="page-area"> <div class="breadcumb-overlay"></div> <div class="container"> <div class="row"> <div class="col-md-12 col-sm-12 col-xs-12"> <div class="breadcrumb text-center"> <div class="section-headline white-headline text-center"> <h3>Arborização Urbana</h3> </div> <ul> <li class="home-bread">Home</li> <li>Arborização Urbana</li> </ul> </div> </div> </div> </div> </div> <!-- END Header --> <!-- Start Service area --> <div class="services-area area-padding"> <div class="container"> <div class="row"> <div class="all-services"> <!-- Start services --> <?php $sql = $db->select("SELECT * FROM plantas WHERE tipo=2"); while($row = $db->expand($sql)){ echo '<div class="col-md-4 col-sm-4 col-xs-12">'; echo ' <div class="single-service">'; echo ' <a class="service-image" href="detalhes-plantas/'.$row['id'].'/'.normaliza($row['nome_planta']).'">'; echo ' <img src="img/service/'.$row['img'].'" alt="">'; echo ' </a>'; echo ' <div class="service-content">'; echo ' <h4>'.$row['nome_planta'].'</h4>'; echo ' <p>'.substr($row['texto_planta'], 0, 140).'</p>'; echo ' <a class="service-btn" href="detalhes-plantas/'.$row['id'].'/'.normaliza($row['nome_planta']).'">Veja mais</a>'; echo ' </div>'; echo ' </div>'; echo '</div>'; } ?> </div> </div> </div> </div> <!-- End Service area --> <?php require_once 'includes/footer.php'; ?>