<?php
/*
Copyright (©) 2003-2014 Teus Benschop.

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
?>
<?php if ($this->height1 > 0) { ?>
  <div class="center" style="height: <?php echo $this->height1 ?>">
    <?php if ($this->width11 > 0) { ?>
      <iframe src="<?php echo $this->url11 ?>" style="width: <?php echo $this->width11 ?>; height: 100%"></iframe>
    <?php } ?>
    <?php if ($this->width12 > 0) { ?>
      <iframe src="<?php echo $this->url12 ?>" style="width: <?php echo $this->width12 ?>; height: 100%"></iframe>
    <?php } ?>
    <?php if ($this->width13 > 0) { ?>
      <iframe src="<?php echo $this->url13 ?>" style="width: <?php echo $this->width13 ?>; height: 100%"></iframe>
    <?php } ?>
    <?php if ($this->width14 > 0) { ?>
      <iframe src="<?php echo $this->url14 ?>" style="width: <?php echo $this->width14 ?>; height: 100%"></iframe>
    <?php } ?>
    <?php if ($this->width15 > 0) { ?>
      <iframe src="<?php echo $this->url15 ?>" style="width: <?php echo $this->width15 ?>; height: 100%"></iframe>
    <?php } ?>
  </div>
<?php } ?>

<?php if ($this->height2 > 0) { ?>
  <div class="center" style="height: <?php echo $this->height2 ?>">
    <?php if ($this->width21 > 0) { ?>
      <iframe src="<?php echo $this->url21 ?>" style="width: <?php echo $this->width21 ?>; height: 100%"></iframe>
    <?php } ?>
    <?php if ($this->width22 > 0) { ?>
      <iframe src="<?php echo $this->url22 ?>" style="width: <?php echo $this->width22 ?>; height: 100%"></iframe>
    <?php } ?>
    <?php if ($this->width23 > 0) { ?>
      <iframe src="<?php echo $this->url23 ?>" style="width: <?php echo $this->width23 ?>; height: 100%"></iframe>
    <?php } ?>
    <?php if ($this->width24 > 0) { ?>
      <iframe src="<?php echo $this->url24 ?>" style="width: <?php echo $this->width24 ?>; height: 100%"></iframe>
    <?php } ?>
    <?php if ($this->width25 > 0) { ?>
      <iframe src="<?php echo $this->url25 ?>" style="width: <?php echo $this->width25 ?>; height: 100%"></iframe>
    <?php } ?>
  </div>
<?php } ?>

<?php if ($this->height3 > 0) { ?>
  <div class="center" style="height: <?php echo $this->height3 ?>">
    <?php if ($this->width31 > 0) { ?>
      <iframe src="<?php echo $this->url31 ?>" style="width: <?php echo $this->width31 ?>; height: 100%"></iframe>
    <?php } ?>
    <?php if ($this->width32 > 0) { ?>
      <iframe src="<?php echo $this->url32 ?>" style="width: <?php echo $this->width32 ?>; height: 100%"></iframe>
    <?php } ?>
    <?php if ($this->width33 > 0) { ?>
      <iframe src="<?php echo $this->url33 ?>" style="width: <?php echo $this->width33 ?>; height: 100%"></iframe>
    <?php } ?>
    <?php if ($this->width34 > 0) { ?>
      <iframe src="<?php echo $this->url34 ?>" style="width: <?php echo $this->width34 ?>; height: 100%"></iframe>
    <?php } ?>
    <?php if ($this->width35 > 0) { ?>
      <iframe src="<?php echo $this->url35 ?>" style="width: <?php echo $this->width35 ?>; height: 100%"></iframe>
    <?php } ?>
  </div>
<?php } ?>
