Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- foreach ($ft as $fts) {
- $cont = 1;
- ?>
- <table width="100%" border="1">
- $resto = $cont % 2;
- if ($resto != 0) {
- <tr>
- <th>
- <img style="height: 50%; width: 50%;" src="assets/img/fotos_preliminares/<?=$fts['img']; ?>" class="img-responsive">
- <div class="well" style="width: 50%;">
- <?=str_replace('.jpeg', '', $fts['texto']); ?>
- </div>
- </th>
- } else {
- <th>
- <img style="height: 50%; width: 50%;" src="assets/img/fotos_preliminares/<?=$fts['img']; ?>" class="img-responsive">
- <div class="well" style="width: 50%;">
- <?=str_replace('.jpeg', '', $fts['texto']); ?>
- </div>
- </th>
- </tr>
- }
- </table>
- <div class="col-sm-6">
- </div>
- <?php
- $cont ++;
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement