<?php
  /**
   * F.A.Q. Page
   *
   * @package Wojo Framework
   * @author wojoscripts.com
   * @copyright 2017
   * @version $Id: _faq.tpl.php, v1.00 2017-05-05 10:12:05 gewa Exp $
   */
  if (!defined("_WOJO"))
      die('Direct access to this location is not allowed.');
?>
<div class="padding">
  <h1><?php echo $this->row->title;?></h1>
  <div class="wojo big space divider"></div>
  <?php echo $this->row->body;?>
  <div class="wojo big space divider"></div>
  <?php if($this->questions):?>
  <div class="row gutters" id="questions">
    <div class="columns screen-30 tablet-30 mobile-hide phone-hide">
      <div class="ref"></div>
    </div>
    <div class="columns screen-70 tablet-70 mobile-100 phone-100">
      <?php foreach($this->questions as $row):?>
      <article class="wojo attached segment">
        <h3>
          <?php echo Url::out_url($row->question);?>
        </h3>
        <div class="content3"><?php echo $row->answer;?></div>
      </article>
      <?php endforeach;?>
    </div>
  </div>
  <?php endif;?>
</div>