<script type="text/javascript" src="<?php echo base_url();?>assets/js/settings.js"></script>
<aside class="right-side">
	<section class="content-header">
        <div class="title_bar">
            <h1 class="major_txt_color">Basic Settings View</h1>
            <div class="breadcrumb_container"><?php echo breadcrumb_links();?></div>
        </div>
    </section>
	<section class="content">
        <div class="row">
           
            <div class="col-xs-12">
                <?php if (in_array(3, $permission)) {?>
                    <h3 style="margin-top: 0; margin-right: 5px; width: 100%; display: inline-block;">
                        <a class="label btn btn-primary float-rht edit" href="<?php echo $edit_link?>"><span>Edit</span></a>
                    </h3>
                <?php }?>
                <div class="box box-danger">
                    <div class="box-body table-responsive">
                        <div class="col-md-6">
                            <div class="form-group">
                                <span class="first-coln">Temple Name</span>
                                <span class="seperator">:</span>
                                <span class="second-coln">
                                    <?php echo text($setting->temple_name);?>
                                </span>
                            </div>
                            
                            <div class="form-group">
                                <span class="first-coln">Temple Name (T)</span>
                                <span class="seperator">:</span>
                                <span class="second-coln">
                                    <?php echo (!empty($setting->tamil_name)) ? '<span class="lang-tamil">' . $setting->tamil_name . '</span>' : 'N/A';?>
                                </span>
                            </div>
                            
                            <div class="form-group">
                                <span class="first-coln">Registration Number</span>
                                <span class="seperator">:</span>
                                <span class="second-coln">
                                    <?php echo text($setting->reg_no);?>
                                </span>
                            </div>
                            
                            <div class="form-group">
                                <span class="first-coln">Email</span>
                                <span class="seperator">:</span>
                                <span class="second-coln">
                                    <?php echo text($setting->comp_email);?>
                                </span>
                            </div>
                            
                            <div class="form-group">
                                <span class="first-coln">Website</span>
                                <span class="seperator">:</span>
                                <span class="second-coln">
                                    <?php echo text($setting->website_url);?>
                                </span>
                            </div>
                            
                            
                        </div>
                        
                        <div class="col-md-6">
                            <div class="form-group">
                                <span class="first-coln">Address</span>
                                <span class="seperator">:</span>
                                <span class="second-coln">
                                    <?php echo nl2br(text($setting->address));?>
                                </span>
                            </div>
                            
                            <div class="form-group">
                                <span class="first-coln">Contact Name</span>
                                <span class="seperator">:</span>
                                <span class="second-coln">
                                    <?php echo text($setting->contact_name);?>
                                </span>
                            </div>
                            
                            <div class="form-group">
                                <span class="first-coln">Contact Email</span>
                                <span class="seperator">:</span>
                                <span class="second-coln">
                                    <?php echo text($setting->contact_email);?>
                                </span>
                            </div>
                            
                            <div class="form-group">
                                <span class="first-coln">Contact Number</span>
                                <span class="seperator">:</span>
                                <span class="second-coln">
                                    <?php echo text($setting->contact_no);?>
                                </span>
                            </div>
                            
                            <div class="form-group">
                                <span class="first-coln">Contact Fax</span>
                                <span class="seperator">:</span>
                                <span class="second-coln">
                                    <?php echo text($setting->fax);?>
                                </span>
                            </div>
                        </div>
                    </div>
                    
                    <div class="box-footer float-clear"></div>
                </div>
            </div>
        </div><!-- /.row -->
    </section><!-- /.content -->
</aside>