<?php
global $kippis_sidebar_enable_left;
global $kippis_sidebar_enable_right;
global $kippis_sidebars_left;
global $kippis_sidebars_right;
if ($kippis_sidebar_enable_left && (!$kippis_sidebars_right)) {
  ?>
  <div id="sidebar-left" class="sidebar">
    <?php dynamic_sidebar('sidebar-left'); ?>
  </div>
  <?php
}
if ($kippis_sidebar_enable_right && ($kippis_sidebars_left)) {
  ?>
  <div id="sidebar-right" class="sidebar">
    <?php dynamic_sidebar('sidebar-right'); ?>
  </div>
  <?php
}

