<?php
include "config.php";
?>
<!-- <h6 class="" style="height:auto;color:#003e80 !important;font-size:0.8rem" id="overallBase"><span class="boldC">Sample Size:</span> 1200</h6> -->
<!-- <li class="app-sidebar__heading" style="color:#003e80 !important">Applied Filters</li>   -->
<!-- <textarea class="paraX" style="height:auto;max-width:200px;word-wrap:break-word;display:none">Filters:All Selected</textarea> -->
<!-- <h6 class="paraY" style="height:auto;color:#003e80 !important;font-size:0.8rem">Filters:All Selected</h6> -->


<!-- <li class="app-sidebar__heading" style="color:#003e80 !important">Filters</li> -->
<input type="hidden" value="" id="cond">

<div class="btn-actions-pane-right mt-4">
    <div role="group" class="btn-group-sm btn-group text-center" style="display:block">
        <button class="btn-transition btn btn-outline-success btn-sm" onclick="flagConstruct()">&nbsp;&nbsp;Apply&nbsp;&nbsp;</button>
    </div>
</div>

<fieldset style="width:200px;border:1px solid #1F74BA !important" id="zoneField">
    <legend style="font-size: 12px">Zone</legend>
    <select id="zone" class="form-control" multiple="multiple" style="height:35px;margin-top:-10px;font-size:0.8rem !important;border: 1px solid grey !important">
        <?php 
            foreach($zone as $key => $value){
                echo '<option value="'.($key+1).'" data-name="'.$value.'">'.$value.'</option>';	
            }
        ?>
    </select>
</fieldset>

<fieldset style="width:200px;border:1px solid #1F74BA !important" id="tierField">
    <legend style="font-size: 12px">Tier</legend>
    <select id="tier" class="form-control" multiple="multiple" style="height:35px;margin-top:-10px;font-size:0.8rem !important;border: 1px solid grey !important">
        <?php 
            foreach($tier as $key => $value){
                echo '<option value="'.($key).'" data-name="'.$value.'">'.$value.'</option>';	
            }
        ?>
    </select>
</fieldset>

<fieldset style="width:200px;border:1px solid #1F74BA !important" id="architectField">
    <legend style="font-size: 12px">Good Architect</legend>
    <select id="architect" class="form-control" multiple="multiple" style="height:35px;margin-top:-10px;font-size:0.8rem !important;border: 1px solid grey !important">
        <?php 
            foreach($architect as $key => $value){
                echo '<option value="'.($key+1).'" data-name="'.$value.'">'.$value.'</option>';	
            }
        ?>
    </select>
</fieldset>

<fieldset style="width:200px;border:1px solid #1F74BA !important" id="accountField">
    <legend style="font-size: 12px">Account type</legend>
    <select id="account" class="form-control" multiple="multiple" style="height:35px;margin-top:-10px;font-size:0.8rem !important;border: 1px solid grey !important">
        <?php 
            foreach($account as $key => $value){
                echo '<option value="'.($key+1).'" data-name="'.$value.'">'.$value.'</option>';	
            }
        ?>
    </select>
</fieldset>



