
<style>

#testimoniales{
		border:1px solid #99F;
		background:url('{$TEMPLATE_URL}/img/testimoniales_bg.jpg') center;
	}
	.testimonial{
		margin:0px;
		border-radius:0px;
		overflow:hidden;
		padding:10px 26px 70px 26px !important;
		color:#fff !important;
		text-shadow: 0px 1px 1px #7e70e4;
		
		}
		
		.testnombre{
		color:#fff !important;
			text-shadow: 0px 1px 1px #7e70e4;
			font-size:14px;
			font-weight:bold;
			float:right;
			font-style: italic;
			}
</style>
    
<?php
			$query = "SELECT * FROM
				 testimoniales
				 ORDER BY RAND() LIMIT 1";
			$testimoniales = $engine->DB->QueryToArray($query);
?>
        <div id="testimoniales">
			<?php if(isset($testimoniales)): foreach ($testimoniales as $testimonial):?>
                <div class="testimonial">
                	<img src="{$TEMPLATE_URL}/img/testimonial-pic.png"> <?=$testimonial['testimonial']?> <img src="{$TEMPLATE_URL}/img/testimonial-pic2.png">
                	<div class="testnombre"><?=$testimonial['nombre']?></div>
                </div>
                
			<?php endforeach; endif;?> 
        <img style="top:-40px; position:relative; display: block; margin-left: auto; margin-right: auto; max-width:100%; height:auto; padding:0px;" src="http://afterfuture.net/media/img/garantias.png" alt="">
		</div>