<?php $this->load->view('admin/header'); ?>
<div class="wrapper">
<?php $this->load->view('admin/top'); ?>
<?php $this->load->view('admin/side'); ?>
<div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
      <h1>
        <?php echo $page_title; ?>
      </h1>
    </section>

    <!-- Main content -->
    <section class="content">

      <!-- Default box -->
      <div class="box">
		<?php echo form_open('#', array('class'=>'form-horizontal'));?>
        <div class="box-header with-border">
          <h3 class="box-title"><?php echo $page_title; ?></h3>

          <div class="box-tools pull-right">
            <button type="button" class="btn btn-box-tool" data-widget="collapse" data-toggle="tooltip" title="Collapse">
              <i class="fa fa-minus"></i></button>
            <button type="button" class="btn btn-box-tool" data-widget="remove" data-toggle="tooltip" title="Remove">
              <i class="fa fa-times"></i></button>
          </div>
        </div>
        <div class="box-body">
			<table class="table table-striped">
				<thead>
                </thead>
                <tbody>
					<?php 
						$this->db->from('client');
						$this->db->where('client_id',$client_id);
						$this->db->where('status','yes');
						$religion_list = $this->db->get();
							if($religion_list->num_rows()>0){
								foreach($religion_list->result() as $row){
									echo "<tr><td><b>Name</b></td><td>".$row->name."(".$row->client_code.")</td></tr>";
									echo "<tr><td><b>Mobile No</b></td><td>".$row->mobile_no."</td></tr>";
									echo "<tr><td><b>Email Id</b></td><td>".$row->email_id."</td></tr>";
									echo "<tr><td><b>Address</b></td><td>".$row->address."</td></tr>";
								}
									
							}
					?>
                </tbody>
            </table>
        </div>
        <!-- /.box-body -->
        <div class="box-footer">
          <a href="<?php echo base_url(); ?>studio/client_list" class="btn btn-primary">Back</a>
        </div>
		<?php echo form_close();?>
        <!-- /.box-footer-->
      </div>
      <!-- /.box -->

    </section>
    <!-- /.content -->
  </div>
 <?php $this->load->view('admin/footer'); ?>