ok
Direktori : /home/pequenacapitolio/www/ |
Current File : /home/pequenacapitolio/www/include_destaque.php |
<?php $destaque = $conn->query("SELECT * FROM destaque WHERE id_categoria =1 ORDER BY iddestaque DESC"); ?> <style type="text/css"> .tp-mask-wrap{ } .tp-bgimg { /*-webkit-filter: brightness(57%);*/ /*filter: brightness(0.7);*/ } .tp-parallax-wrap{ width: 100%; padding-top: 3%; } .tp-loop-wrap { width: 100% !important; } #rev_slider_2_1 .t2:before, #rev_slider_2_1 .t2:after { border-color: transparent !important; } #rev_slider_2_1 .thim-link-slider:after, #rev_slider_2_1 .thim-link-slider:before{ top: 78%; } } } </style> <div id="main-content" class="main-content"> <div id="home-main-content" class="home-main-content home-1" style=";"> <div style="background: rgba(0,0,0,0.8);"> <div id="rev_slider_2_1_wrapper" class="rev_slider_wrapper fullscreen-container no-mask-bg" data-alias="home-3" data-source="gallery" style="padding:0px;background-image:url('');background-repeat:no-repeat;background-size:cover;background-position:center center;background-filter: brightness(0.4);"> <!-- START REVOLUTION SLIDER 5.4.7.4 fullscreen mode --> <div id="rev_slider_2_1" class="rev_slider fullscreenbanner" style="display:none;" data-version="5.4.7.4"> <ul> <!-- SLIDE --> <?php while ($det = $destaque->fetch(PDO::FETCH_OBJ)) {?> <li data-index="rs-<?php echo $det->iddestaque ?>" data-transition="fade" data-slotamount="default" data-hideafterloop="0" data-hideslideonmobile="off" data-easein="default" data-easeout="default" data-masterspeed="300" data-thumb="images/slides/h3-slider3-100x50.jpg" data-rotate="0" data-saveperformance="off" data-title="Slide" data-param1="" data-param2="" data-param3="" data-param4="" data-param5="" data-param6="" data-param7="" data-param8="" data-param9="" data-param10="" data-description=""> <!-- MAIN IMAGE --> <img style="filter: brightness(0.4);" src="administrador/uploads/imagens/<?php echo $det->foto ?>" alt="" data-bgposition="center center" data-bgfit="cover" data-bgrepeat="no-repeat" class="rev-slidebg" data-no-retina> <!-- LAYERS --> <!-- LAYER NR. 7 --> <h1 class="tp-caption tp-resizeme" id="slide-<?php echo $det->iddestaque ?>-layer-1" data-x="['center','center','center','center']" data-hoffset="['0','0','0','0']" data-y="['middle','middle','middle','middle']" data-voffset="['-60','-60','-60','-60']" data-fontsize="['45',45,'45','45']" data-width="none" data-height="none" data-whitespace="normal" data-type="text" data-responsive_offset="on" data-frames='[{"from":"x:{-250,250};y:{-150,150};rX:{-90,90};rY:{-90,90};rZ:{-360,360};sX:0;sY:0;opacity:0;","speed":1500,"to":"o:1;","delay":300,"ease":"Power3.easeInOut"},{"delay":"wait","speed":100,"to":"opacity:0;","ease":"Power2.easeIn"}]' data-textAlign="['center','center','center','center']" data-paddingtop="[0,0,0,0]" data-paddingright="[0,0,0,0]" data-paddingbottom="[0,0,0,0]" data-paddingleft="[0,0,0,0]" style="z-index: 11; white-space: normal; font-size: 34px; font-weight: 700; color: rgba(255,255,255,1);max-width: 80% !important;"> <?php echo $det->titulo ?></h1> <!-- LAYER NR. 8 --> <br> <br> <p class="tp-caption tp-resizeme thim-link-slider" id="slide-<?php echo $det->iddestaque ?>-layer-2" data-x="['center','center','center','center']" data-hoffset="['0','0','0','0']" data-y="['middle','middle','middle','middle']" data-voffset="['5','5','5','5']" data-width="none" data-height="none" data-type="text" data-responsive_offset="on" data-frames='[{"from":"y:bottom;rX:-20deg;rY:-20deg;rZ:0deg;","speed":1500,"to":"o:1;","delay":900,"ease":"Power3.easeOut"},{"delay":"wait","speed":300,"to":"y:[-100%];","mask":"x:inherit;y:inherit;s:inherit;e:inherit;","ease":"nothing"}]' data-textAlign="['center','center','center','center']" data-paddingtop="[0,0,0,0]" data-paddingright="[0,0,0,0]" data-paddingbottom="[0,0,0,0]" data-paddingleft="[0,0,0,0]" style="z-index: 12;white-space: normal !important;text-align: center ; font-size: 20px; line-height: 22px; font-weight: 400; color: rgba(255,255,255,1);max-width: 80% !important;"> <br><?php echo $det->subtitulo ?></p> <!-- LAYER NR. 9 --> <div class="tp-caption tp-resizeme thim-link-slider t2" id="slide-<?php echo $det->iddestaque ?>-layer-3" data-x="['center','center','center','center']" data-hoffset="['0','0','0','0']" data-y="['middle','middle','middle','middle']" data-voffset="['60','60','60','60']" data-width="none" data-height="none" data-whitespace="nowrap" data-type="text" data-responsive_offset="on" data-frames='[{"from":"y:bottom;rX:-20deg;rY:-20deg;rZ:0deg;","speed":1500,"to":"o:1;","delay":900,"ease":"Power3.easeOut"},{"delay":"wait","speed":100,"to":"opacity:0;","ease":"nothing"}]' data-textAlign="['left','left','left','left']" data-paddingtop="[0,0,0,0]" data-paddingright="[0,0,0,0]" data-paddingbottom="[0,0,0,0]" data-paddingleft="[0,0,0,0]" style="z-index: 13; white-space: nowrap; font-size: 15px; font-weight: 700; color: rgba(255,255,255,1);text-transform:uppercase;padding-top: 1% !important"> <a class="desth" href="contato.php" style=";background-color: #4ea709;padding: 15px;text-transform: none">Fale com a gente</a></div> </li> <?php }?> <!-- SLIDE --> <!-- SLIDE --> </ul> <div class="tp-bannertimer tp-bottom" style="visibility: hidden !important;"></div> </div> </div> </div> <style type="text/css"> .desth:hover{ color: #fff !important; } </style>