ok

Mini Shell

Direktori : /home/viveiroimperium/www/
Upload File :
Current File : /home/viveiroimperium/www/mudas-nativas.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>Mudas Florestais Nativas</h3>
                            </div>
                            <ul>
                                <li class="home-bread">Home</li>
                                <li>Mudas Nativas</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 -->
                         <div class="col-md-4 col-sm-4 col-xs-12">
                            <div class="single-service">
                                <a class="service-image" href="lista-plantas-nativas/7/lista">
                                    <img src="img/service/planta23.jpg" alt="">
                                </a>
                                <div class="service-content">
                                    <h4>Lista de Espécies Nativas</h4>
                                    <p>Veja a lista completa de mudas nativas disponivéis em nosso viveiro. mais de 600 espécies diferenças em nosso banco.</p>
                                    <a class="service-btn" href="lista-plantas-nativas/7/lista">Veja mais</a>
                                </div>
                            </div>
                        </div>

                        <?php
                        
                        $sql = $db->select("SELECT * FROM plantas WHERE tipo=1");
                        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'; ?>

Zerion Mini Shell 1.0