ok

Mini Shell

Direktori : /home/viveiroimperium/www/
Upload File :
Current File : /home/viveiroimperium/www/servicos.php

<?php require_once 'includes/topo.php'; ?>
<?php require_once 'includes/header.php'; ?>
        <!-- Start Bottom Header -->

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

?>


        <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 $servico_row['titulo_servico']; ?></h3>
                            </div>
                            <ul>
                                <li class="home-bread">Home</li>
                                <li class="home-bread">&nbsp;&nbsp;&nbsp;&nbsp;Serviços</li>
                                <li><?php echo $servico_row['titulo_servico']; ?></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">
                           <!-- strat single area -->
                           
                            <div class="single-page-head">
                                <div class="download-btn">
                                    <h4>Downloads</h4>
                                    <div class="about-btn">


                                        <?php if(!empty($servico_row['titulo_pdf1'])) { 
                                        echo '    
                                        <a href="documentos/'.$servico_row['doc1'].'" target="_blanck" class="down-btn"><i class="fa fa-file-pdf-o"></i>'.$servico_row['titulo_pdf1'].'</a>
                                        ';}
                                        ?>

                                         <?php if(!empty($servico_row['titulo_pdf2'])) { 
                                        echo '    
                                        <a href="documentos/'.$servico_row['doc2'].'" target="_blanck" class="down-btn"><i class="fa fa-file-pdf-o"></i>'.$servico_row['titulo_pdf2'].'</a>
                                        ';}
                                        ?>

                                         <?php if(!empty($servico_row['titulo_pdf3'])) { 
                                        echo '    
                                        <a href="documentos/'.$servico_row['doc3'].'" target="_blanck" class="down-btn"><i class="fa fa-file-pdf-o"></i>'.$servico_row['titulo_pdf3'].'</a>
                                        ';}
                                        ?>

                                         <?php if(!empty($servico_row['titulo_pdf4'])) { 
                                        echo '    
                                        <a href="documentos/'.$servico_row['doc4'].'" target="_blanck" class="down-btn"><i class="fa fa-file-pdf-o"></i>'.$servico_row['titulo_pdf4'].'</a>
                                        ';}
                                        ?>


                                      

                                    </div>
                                </div>
                            </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 $servico_row['img_servico']; ?>" alt="">
                                    </div>
                                </div>
                            </div>
                            <!-- strat single page -->
                            <!-- single-well end-->
                            <div class="col-md-12 col-sm-12 col-xs-12">
                                <div class="single-well">
                                    <a href="#">
                                        <h3><?php echo $servico_row['titulo_servico']; ?></h3>
                                    </a>
                                    <p><?php echo nl2br($servico_row['texto_servico']); ?></p>
                                </div>
                            </div>
                        </div>
                        <!-- end Row -->
                 <?php
                    if($servico_row['img_car_1'] != ''){
                       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/'.$servico_row['img_car_1'].'" 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 '<p>'.nl2br($servico_row['sub_titulo1']).'</p>';
                                    echo '<p>'.nl2br($servico_row['sub_texto1']).'</p>';
                                    
                                echo '</div>';
                           echo ' </div>';
                        echo '</div>';
                        }if($servico_row['img_car_2'] != ''){
                       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/'.$servico_row['img_car_2'].'" 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 '<p>'.nl2br($servico_row['sub_titulo2']).'</p>';
                                    echo '<p>'.nl2br($servico_row['sub_texto2']).'</p>';
                                    
                                echo '</div>';
                           echo ' </div>';
                        echo '</div>';
                        }
                        if($servico_row['img_car_3'] != ''){
                       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/'.$servico_row['img_car_3'].'" 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 '<p>'.$servico_row['sub_titulo3'].'</p>';
                                    echo '<p>'.nl2br($servico_row['sub_texto3']).'</p>';

                                    
                                echo '</div>';
                           echo ' </div>';
                        echo '</div>';
                        }
                        if($servico_row['img_car_4'] != ''){
                       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/'.$servico_row['img_car_4'].'" 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 '<p>'.nl2br($servico_row['sub_titulo4']).'</p>';
                                    echo '<p>'.nl2br($servico_row['sub_texto4']).'</p>';
                                    
                                echo '</div>';
                           echo ' </div>';
                        echo '</div>';
                        }

                       ?>                        

                        <!-- end Row -->
                        <div class="row mar-row">
                            <!-- End single page -->
                            <div class="col-md-6 col-sm-12 col-xs-12">
                                <div class="tab-menu">
                                     <!-- Nav tabs -->
                                    <ul class="nav nav-tabs" role="tablist">
                                        <li class="active"><a href="#p-view-1" role="tab" data-toggle="tab">Problema</a></li>
                                        <li><a href="#p-view-2" role="tab" data-toggle="tab">Penalidade</a></li>
                                        <li><a href="#p-view-3" role="tab" data-toggle="tab">Solução</a></li>
                                    </ul>
                                </div>
                                <div class="tab-content">
                                    <div class="tab-pane active" id="p-view-1">
                                        <div class="tab-inner">
                                            <div class="event-content head-team">
                                                <h5>Problema</h5>
                                                <p><?php echo $servico_row['texto1']; ?></p>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="tab-pane" id="p-view-2">
                                        <div class="tab-inner">
                                            <div class="event-content head-team">
                                                <h5>Penalidade</h5>
                                                <p><?php echo $servico_row['texto2']; ?></p>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="tab-pane" id="p-view-3">
                                        <div class="tab-inner">
                                            <div class="event-content head-team">
                                                <h5>Solução</h5>
                                                <p><?php echo $servico_row['texto3']; ?></p>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <!-- end column -->
                            <div class="col-md-6 col-sm-12 col-xs-12">
                                <div class="single-page">
                                    <div class="page-img elec-page">
                                        <img src="img/service/<?php echo $servico_row['foto3']; ?>" alt="">
                                    </div>
                                </div>
                            </div>
                            <!-- end column -->
                        </div>
                    
           
                    </div>



                    
                </div>
            </div>
        </div>
        <!-- End page Area -->

        

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



Zerion Mini Shell 1.0