ok
Direktori : /home/viveiroimperium/www/ |
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 projetos WHERE id_projeto=$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['titulo_projeto']; ?></h3> </div> <ul> <li class="home-bread">Home</li> <li class="home-bread"> Projeto </li> <li><?php echo $projeto_row['titulo_projeto']; ?></li> </ul> </div> </div> </div> </div> </div> <!-- END Header --> <!-- Start portfolio Area --> <div class="project-area project-area-2 area-padding"> <div class="container"> <div class="row"> <div class="col-md-12 col-sm-12 col-xs-12"> <div class="section-headline text-center"> <h3><?php echo $projeto_row['titulo_projeto']; ?></h3> <p><?php echo $projeto_row['texto_projeto']; ?></p> </div> </div> </div> <div class="row"> <div class="project-content all-project"> <!-- single-awesome-project start --> <?php $sql = $db->select("SELECT * FROM img_projetos WHERE tipo='$id' "); while($row = $db->expand($sql)){ echo ' <div class="col-md-4 col-sm-6 col-xs-12"> <div class="single-awesome-project"> <div class="awesome-img"> <a href="#"> <img src="img/project/'.$row['img'].'" alt="" /> </a> <div class="add-actions text-center"> <a class="venobox" data-gall="myGallery" href="img/project/'.$row['img'].'"> <i class="port-icon icon icon-picture"></i> </a> </div> </div> </div> </div> '; } ?> <!-- single-awesome-project end --> </div> </div> </div> <!-- End main content --> </div> <?php require_once 'includes/footer.php'; ?>