<div class="col-sm-10">
    <div class="row ">
        <div class="col-sm-12 padding-zero " style="margin-top:5px ">
            <div class="col-sm-12 ">
                <div class="col-sm-6 col-sm-offset-3">
                    <form action="#" method="post">
                        <div class="input-group">
                            <input type="text" class="form-control"  placeholder="Search here..." aria-describedby="basic-addon1">
                            <span class="input-group-addon" id="basic-addon1"><i class="fa fa-search"></i></span>
                        </div>
                    </form>
                </div>
            </div>
        </div>
        <div class="col-sm-12 ">
            <div class="col-sm-12" ><br>  <hr></div>
            <div class="col-sm-12" >
                <div class="col-sm-12 gray_ttc" style="border-bottom: 2px solid #8CC73F;padding-top: 10px;padding-bottom: 10px;font-weight: bold">
                    <div class="col-sm-2">Organization Name</div>
                    <div class="col-sm-1 text-center">Total Course</div>
                    <div class="col-sm-2 text-center">Total Amount</div>
                    <div class="col-sm-2 text-center">TT Amount</div>
                    <div class="col-sm-2 text-center">Student Paid Amount</div>
                    <div class="col-sm-1 text-center">User Amount</div>
                    <div class="col-sm-1 text-center">Net Earning</div>
                    <div class="col-sm-1 text-center">Action</div>
                </div>
                <div class="col-sm-12"><br></div> 

                <?php
                if (isset($organization_info)) {
                    foreach ($organization_info as $value) {
                        ?>
                        <div class="col-sm-12 gray_ttc " style="padding-top: 10px;padding-bottom: 10px;font-family: Times New Roman, Times, serif;">
                            <div class="col-sm-2">
                                <a href="<?php echo base_url($value->url) ?>" target="_blank"><?php echo "$value->person_first_name $value->person_last_name" ?></a>
                            </div>
                            <div class="col-sm-1 text-center"><?php echo count(explode(',', $course_id[$value->person_id])) ?></div>
                            <div class="col-sm-2 text-center"><?php echo round($total_amount[$value->person_id]) ?></div>
                            <div class="col-sm-2 text-center"><?php echo round($tt_amount[$value->person_id]) ?></div>
                            <div class="col-sm-2 text-center"><?php echo round($paid_amount[$value->person_id]) ?></div>
                            <div class="col-sm-1 text-center"><?php echo round($revenue_amount[$value->person_id]) ?></div>
                            <div class="col-sm-1 text-center"><?php echo round($net_earning[$value->person_id]) ?></div>
                            <div class="col-sm-1 text-center" >
                                <a href="<?php echo base_url('admin/account/view-course/' . $value->url); ?>"><i class="fa  fa-th" title="View Details"></i></a>
                                <span>&nbsp;</span>
                            </div>
                        </div>
                        <?php
                    }
                }
                ?>
            </div>
        </div>
    </div>
</div>