ok

Mini Shell

Direktori : /home/viveiroimperium/www/
Upload File :
Current File : /home/viveiroimperium/www/-detalhes-projeto.php

<?php require_once 'includes/topo.php'; ?>
<?php require_once 'includes/header.php'; ?>


<?php
                        
    $sql = $db->select("SELECT * FROM plantas WHERE id=$id");
    $projeto_row = $db->expand($sql)

?>
    

        <!-- 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><?php echo $projeto_row['nome_planta']; ?></h3>
                            </div>
                            <ul>
                                <li class="home-bread">Home</li>
                                <li class="home-bread">&nbsp;&nbsp;&nbsp;Projeto </li>
                                <li><?php echo $projeto_row['nome_planta']; ?></li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- END Header -->
        <!-- End services Area -->
        <div class="single-services-page area-padding">
            <div class="container">
                <div class="row">
                    <div class="col-md-3 col-sm-4 col-xs-12">
                        <div class="page-head-left">
                           
                    <?php
                        
                        $sql = $db->select("SELECT * FROM projetos LIMIT 5");
                        while($row = $db->expand($sql)){
                            
                        echo '<div class="col-md-12 col-sm-12 col-xs-12">';
                         echo '   <div class="single-service">';
                        echo '        <a class="service-image" href="#">';
                         echo '           <img src="img/service/'.$row['img'].'" alt="">';
                         echo '       </a>';
                         echo '       <div class="service-content">';
                         echo '           <h4>'.$row['nome_planta'].'</h4>';
                        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>
                    <!-- End left sidebar -->

                    <!-- Start service page -->
                    <div class="col-md-9 col-sm-8 col-xs-12">
                        <div class="row">
                            <div class="col-md-12 col-sm-12 col-xs-12">

                        
                                <div class="single-page">
                                    <div class="page-img elec-page">
                                        <img src="img/service/<?php echo $planta_row['img']; ?>">
                                    </div>
                                </div>
                            </div>
                            <!-- strat single page -->
                            <!-- single-well end-->
                            <div class="col-md-12 col-sm-12 col-xs-12">
                                <div class="single-well">
                                    
                                        <h3><?php echo $planta_row['nome_planta']; ?></h3>
                                    
                                    <p><?php echo $planta_row['texto_planta']; ?></p>
                                </div>
                            </div>
                        </div>
                        
                        <!-- end Row -->
                    <?php
                    if($planta_row['detalhe_img'] != ''){
                       echo '<div class="row mar-row">';
                            
                            echo '<div class="col-md-6 col-sm-12 col-xs-12">';
                               echo ' <div class="single-page">';
                                    echo '<div class="page-img elec-page">';
                                       echo ' <img src="img/service/'.$planta_row['detalhe_img'].'" alt="">';
                                    echo '</div>';
                                echo '</div>';
                            echo '</div>';
                            echo '<div class="col-md-6 col-sm-12 col-xs-12">';
                                echo '<div class="single-well">';
                                    
                                    echo '<h4>Características</h4>';
                                    
                                    echo '<p>Veja as características desta planta, como solo, tempo de crescimento, cor, adubo, etc.</p>';
                                    echo '<ul class="marker-list">';
                                        echo '<li>'.$planta_row['car1'].'</li>';
                                        echo '<li>'.$planta_row['car2'].'</li>';
                                        echo '<li>'.$planta_row['car3'].'</li>';
                                        echo '<li>'.$planta_row['car4'].'</li>';
                                    echo '</ul>';
                                echo '</div>';
                           echo ' </div>';
                        echo '</div>';
                        }else{

                        }

                       ?>
                       
                        <!-- end Row -->
                    </div>
                </div>
            </div>
        </div>
        <!-- End page Area -->

        
<?php require_once 'includes/footer.php'; ?>

Zerion Mini Shell 1.0