示例#1
0
                    <?php 
                if ($foto->estado == 1) {
                    ?>
                        <li class="thumbnail">
                            <a href="<?php 
                    echo $foto->imagen;
                    ?>
"  rel ='gallery' title = '<?php 
                    echo $articulo->nombre;
                    ?>
' alt='<?php 
                    echo $articulo->nombre;
                    ?>
'>
                                <?php 
                    echo Myhtml::img($foto->imagen, array('width' => '110', 'height' => '110', 'class' => 'btn detalles_foto', 'data-content' => "Dimensiones: {$foto->dimension->descipcion}<br/>Seccion: {$articulo->seccion->descripcion}", 'alt' => $foto->imagen, 'data-original-title' => $foto->imagen));
                    ?>
                            </a>
                            <br/>
                            <br/>
                            <table class="table table-bordered">
                                <tbody>
                                <tr>
                                    <td><strong>Medida</strong></td>
                                    <td><?php 
                    echo $foto->dimension->descipcion;
                    ?>
</td>
                                </tr>
                                <tr>
                                    <td><strong>P&aacute;gina</strong></td>
示例#2
0
            </td>

			<td>



                <?php 
        if ($articulo->fotos) {
            ?>
                    <ul class="thumbnails" data-toggle="modal-gallery" data-target="#modal-gallery">
                        <?php 
            foreach ($articulo->fotos as $foto) {
                ?>
                        <li class="thumbnail">
                            <?php 
                echo Myhtml::img($foto->imagen, array('width' => '110', 'height' => '110', 'class' => 'detalle', 'data-content' => "Dimensiones:{$foto->dimension->descipcion}<br/>Seccion:deportes", 'alt' => $foto->imagen, 'data-original-title' => $foto->imagen));
                ?>

                            <div class="btn-group">
                                <a href="<?php 
                echo Myhtml::img_watermark($foto->imagen);
                ?>
" class='btn detalles_foto' rel ='gallery' title = '<?php 
                echo $articulo->nombre;
                ?>
' alt='<?php 
                echo $articulo->nombre;
                ?>
'>
                                    <i class="icon-eye-open"></i>
                                </a>