<aside class="right-side">
    <section class="content-header">
        <div class="title_bar">
            <h1 class="major_txt_color">Volunteer View</h1>
            <div class="breadcrumb_container"><?php echo breadcrumb_links();?></div>
        </div>
    </section>
    <section class="content">
        <div class="row">
            <div class="col-xs-12">
                <div class="box box-danger">
                    <div class="box-body">
                        <div class="col-xs-12">
                            <div class="col-md-6">
                                <div class="form-group">
                                    <span class="first-coln">Name</span>
                                    <span class="seperator">:</span>
                                    <span class="second-coln"><?php echo text($volunteer->name);?></span>
                                </div>
                                <div class="form-group">
                                    <span class="first-coln">Contact No</span>
                                    <span class="seperator">:</span>
                                    <span class="second-coln"><?php echo text($volunteer->phone);?></span>
                                </div>
                                
                                <div class="form-group">
                                    <span class="first-coln">Email</span>
                                    <span class="seperator">:</span>
                                    <span class="second-coln"><?php echo text($volunteer->email);?></span>
                                </div>
                                
                                <!--<div class="form-group">
                                    <span class="first-coln">BLK</span>
                                    <span class="seperator">:</span>
                                    <span class="second-coln"><?php echo text($volunteer->blk);?></span>
                                </div>-->
                            </div>  
                            
                            <div class="col-md-6">
                                <!--<div class="form-group">
                                    <span class="first-coln">Unit No</span>
                                    <span class="seperator">:</span>
                                    <span class="second-coln"><?php echo text($volunteer->unit_no);?></span>
                                </div>-->
                                <div class="form-group">
                                    <span class="first-coln">Address</span>
                                    <span class="seperator">:</span>
                                    <span class="second-coln"><?php echo text(nl2br($volunteer->address));?></span>
                                </div>
                                
                                <div class="form-group float-clear">
                                    <span class="first-coln">Photo</span>
                                    <span class="seperator">:</span>
                                    <span class="second-coln">
                                        <?php
                                            if( !empty( $volunteer->image ) ) :
                                                ?>
                                                    <div class="img-view-preview">
                                                        <img src="<?php echo base_url() . VOL_DIR . $volunteer->image; ?>" >
                                                    </div>
                                                <?php
                                            else :
                                                echo 'Not available';
                                            endif;
                                        ?>
                                    </span>    
                                        
                                </div>
                                
                                <div class="form-group">
                                    <span class="first-coln">Status</span>
                                    <span class="seperator">:</span>
                                    <span class="second-coln"><?php echo ($volunteer->status_str);?>
                                    </span>
                                </div>
                                
                            </div>
                        </div>
                        <div class="box-footer form-actions float-clear"></div>
                    </div><!-- /.box-body -->
                </div><!-- /.box -->
            </div><!-- /.col-xs-12 -->
        </div><!-- /.row -->
    </section><!-- /.content -->
</aside>