<?php
/**
  * Ahead WebSoft Technologies Pvt Ltd.
  * @copyright  Copyright 2006-2026 Ahead WebSoft Technologies Pvt Ltd.
  * @license    https://www.socialengine.com/policies
*/
?>

<div class="search_tabs_container">
  <div id="searchform" class="core_search_form">
    <?php echo $this->form->render(); ?>
  </div>
  <div class="search_tabs sidebar_tabs">
    <ul>
      <?php foreach($this->options as $key=>$options){ ?>
      <li>
        <a href="<?php echo $this->url."?query=".$this->query."&type=".$key; ?>" class="search-tab<?php echo $this->type == $key ? ' active' : '' ?>" data-tab="<?php echo $key; ?>"><i class="item_icon_<?php echo $key; ?>"></i><span><?php echo $options; ?></span></a>
      </li>
      <?php } ?>
    </ul>
  </div>
</div>
