<div class="col-md-6">
    <div class="row">
        <div class="col-md-5"><h3>Bahraich District</h3></div>
        <div class="col-md-3">
            <a href="<?= base_url('dashboard_single?distrcitId=बहराइच') ?>" class="btn btn-primary">Detail Single User</a>

        </div>
        <div class="col-md-3">
            <a href="<?= base_url('dashboard_group?distrcitId=बहराइच') ?>" class="btn btn-primary">Detail Group User</a>

        </div>
    </div>
    
   
        <hr>
    <p class="font-weight-bold">Session and Activity</p>
    <hr>
    <div class="row">
        <div class="col-md-3"><p>By</p></div>
        <div class="col-md-3"><p>Session</p></div>
        <div class="col-md-3"><p>Module</p></div>
        <div class="col-md-3"><p>Submodule</p></div>

    </div>
    <div class="row">
        <div class="col-md-3"><p>Group</p></div>
        <div class="col-md-3"><p><?= $behraich['session_count'] ?></p></div>
        <div class="col-md-3"><p><?= $behraich['module_count'] ?></p></div>
        <div class="col-md-3"><p><?= $behraich['sub_module_count'] ?></p></div>

    </div>
     <div class="row">
        <div class="col-md-3"><p>Single</p></div>
        <div class="col-md-3"><p><?= $behraich['session_count_s'] ?></p></div>
        <div class="col-md-3"><p><?= $behraich['module_count_s'] ?></p></div>
        <div class="col-md-3"><p><?= $behraich['sub_module_count_s'] ?></p></div>

    </div>
     <div class="row">
        <div class="col-md-3"><p>Total</p></div>
        <div class="col-md-3"><p><?= $behraich['session_count_s']+$behraich['session_count'] ?></p></div>
        <div class="col-md-3"><p><?= $behraich['module_count_s']+$behraich['module_count'] ?></p></div>
        <div class="col-md-3"><p><?= $behraich['sub_module_count_s']+$behraich['sub_module_count'] ?></p></div>

    </div>
    <hr>
    <p class="font-weight-bold">Single Mode</p>
    <hr>

    <div class="row">
        <div class="col-md-3"><p>By</p></div>
        <div class="col-md-3"><p>User&nbsp;Count</p></div>
        <div class="col-md-3"><p>Male&nbsp;Count</p></div>
        <div class="col-md-3"><p>Female&nbsp;Count</p></div>

    </div>
    <div class="row">
        <div class="col-md-3"><p><?= $single_b[0]['by'] ?></p></div>
        <div class="col-md-3"><p><?= $single_b[0]['user'] ?></p></div>
        <div class="col-md-3"><p><?= $single_b[0]['male'] ?></p></div>
        <div class="col-md-3"><p><?= $single_b[0]['female'] ?></p></div>

    </div>
    <div class="row">
        <div class="col-md-3"><p><?= $single_b[1]['by'] ?></p></div>
        <div class="col-md-3"><p><?= $single_b[1]['user'] ?></p></div>
        <div class="col-md-3"><p><?= $single_b[1]['male'] ?></p></div>
        <div class="col-md-3"><p><?= $single_b[1]['female'] ?></p></div>

    </div>
    <div class="row">
        <div class="col-md-3"><p><?= $single_b[2]['by'] ?></p></div>
        <div class="col-md-3"><p><?= $single_b[2]['user'] ?></p></div>
        <div class="col-md-3"><p><?= $single_b[2]['male'] ?></p></div>
        <div class="col-md-3"><p><?= $single_b[2]['female'] ?></p></div>

    </div>
    <div class="row">
        <div class="col-md-3"><p>Total</p></div>
        <div class="col-md-3"><p><?= $single_b[0]['user'] + $single_b[1]['user'] + $single_b[2]['user'] ?></p></div>
        <div class="col-md-3"><p><?= $single_b[0]['male'] + $single_b[1]['male'] + $single_b[2]['male'] ?></p></div>
        <div class="col-md-3"><p><?= $single_b[0]['female'] + $single_b[1]['female'] + $single_b[2]['female'] ?></p></div>

    </div>
    <hr>
    <p class="font-weight-bold">Group Mode</p>
    <hr>
    <div class="row">
        <div class="col-md-2"><p>By</p></div>
        <div class="col-md-2"><p>Group&nbsp;</p></div>
        <div class="col-md-2"><p>Women&nbsp;</p></div>
        <div class="col-md-2"><p>Man&nbsp;</p></div>
        <div class="col-md-2"><p>Boy&nbsp;</p></div>
        <div class="col-md-2"><p>Girl&nbsp;</p></div>
    </div>
    <div class="row">
        <div class="col-md-2"><p><?= $group_b[0]['by'] ?></p></div>
        <div class="col-md-2"><p><?= $group_b[0]['group'] ?></p></div>
        <div class="col-md-2"><p><?= $group_b[0]['women'] ?></p></div>
        <div class="col-md-2"><p><?= $group_b[0]['men'] ?></p></div>
        <div class="col-md-2"><p><?= $group_b[0]['boy'] ?></p></div>
        <div class="col-md-2"><p><?= $group_b[0]['girl'] ?></p></div>
    </div>
    <div class="row">
        <div class="col-md-2"><p><?= $group_b[1]['by'] ?></p></div>
        <div class="col-md-2"><p><?= $group_b[1]['group'] ?></p></div>
        <div class="col-md-2"><p><?= $group_b[1]['women'] ?></p></div>
        <div class="col-md-2"><p><?= $group_b[1]['men'] ?></p></div>
        <div class="col-md-2"><p><?= $group_b[1]['boy'] ?></p></div>
        <div class="col-md-2"><p><?= $group_b[1]['girl'] ?></p></div>
    </div>
    <div class="row">
        <div class="col-md-2"><p><?= $group_b[2]['by'] ?></p></div>
        <div class="col-md-2"><p><?= $group_b[2]['group'] ?></p></div>
        <div class="col-md-2"><p><?= $group_b[2]['women'] ?></p></div>
        <div class="col-md-2"><p><?= $group_b[2]['men'] ?></p></div>
        <div class="col-md-2"><p><?= $group_b[2]['boy'] ?></p></div>
        <div class="col-md-2"><p><?= $group_b[2]['girl'] ?></p></div>
    </div>


    <div class="row">
        <div class="col-md-2"><p>Total</p></div>
        <div class="col-md-2"><p><?= $group_b[2]['group'] + $group_b[1]['group'] + $group_b[0]['group'] ?></p></div>
        <div class="col-md-2"><p><?= $group_b[2]['women'] + $group_b[1]['women'] + $group_b[0]['women'] ?></p></div>
        <div class="col-md-2"><p><?= $group_b[2]['men'] + $group_b[1]['men'] + $group_b[0]['men'] ?></p></div>
        <div class="col-md-2"><p><?= $group_b[2]['boy'] + $group_b[1]['boy'] + $group_b[0]['boy'] ?></p></div>
        <div class="col-md-2"><p><?= $group_b[2]['girl'] + $group_b[1]['girl'] + $group_b[0]['girl'] ?></p></div>
    </div>

    <hr><!-- comment -->
    <div class="row">
        <div class="col-md-3">

        </div>
        
        <div class="col-md-3">

        </div>
    </div>
</div>