<?php $this->load->view('includes/header'); ?>
<div class="page-title">                    
  <h2><span ></span><?php echo $heading_title; ?></h2>
</div>
<div class="page-content-wrap"> 
  <div class="fix"></div>
  <div class="row">
    <div class="col-md-12">
      <?php if ($this->session->flashdata('success')) { ?>
        <div class="alert alert-info">
          <?php echo $this->session->flashdata('success'); ?>
        </div>
      <?php } ?>
      <div class="panel panel-default">
        <div class="panel-body">
          <?php echo validation_message(); ?>
          <?php echo form_open('sitepanel/setting/edit_config/', 'class="form-horizontal"'); ?> 
          <div class="form-group">
            <label class="col-md-4 col-xs-12 control-label"><span class="required">*</span>E-Mail</label>
            <div class="col-md-4 col-xs-12">
              <input type="text" name="admin_email" class="form-control" value="<?php echo set_value('admin_email', $admin_info->admin_email); ?>" />                                                    
            </div>
          </div>
          <div class="form-group">
            <label class="col-md-4 col-xs-12 control-label"><span class="required">*</span>Phone No.</label>
            <div class="col-md-4 col-xs-12">
              <input type="text" name="admin_phone" class="form-control" value="<?php echo set_value('admin_phone', $admin_info->phone); ?>" />                                                    
            </div>
          </div>
          <div class="form-group">
            <label class="col-md-4 col-xs-12 control-label"><span class="required">*</span>Address</label>
            <div class="col-md-4 col-xs-12">
              <input type="text" name="address" class="form-control" value="<?php echo set_value('address', $admin_info->address); ?>" />                                                    
            </div>
          </div>
          <div class="form-group">
            <label class="col-md-4 col-xs-12 control-label"><span class="required">**</span>Facebook Link</label>
            <div class="col-md-4 col-xs-12">
              <input type="text" name="facebook" class="form-control" value="<?php echo set_value('facebook', $admin_info->facebook); ?>" />                                                    
            </div>
          </div>
          <div class="form-group">
            <label class="col-md-4 col-xs-12 control-label"><span class="required">**</span>Twitter Link</label>
            <div class="col-md-4 col-xs-12">
              <input type="text" name="twitter" class="form-control" value="<?php echo set_value('twitter', $admin_info->twitter); ?>" />                                                    
            </div>
          </div>
          <div class="form-group">
            <label class="col-md-4 col-xs-12 control-label"><span class="required">**</span>Linkedin Link</label>
            <div class="col-md-4 col-xs-12">
              <input type="text" name="linkedin" class="form-control" value="<?php echo set_value('linkedin', $admin_info->linkedin); ?>" />                                                    
            </div>
          </div>
          <div class="form-group">
            <label class="col-md-4 col-xs-12 control-label"><span class="required">**</span>Youtube Channel Link</label>
            <div class="col-md-4 col-xs-12">
              <input type="text" name="youtube" class="form-control" value="<?php echo set_value('youtube', $admin_info->youtube); ?>" />                                                    
            </div>
          </div>
          <div class="form-group">
            <label class="col-md-4 col-xs-12 control-label"><span class="required">**</span>WhatsApp Number</label>
            <div class="col-md-4 col-xs-12">
              <input type="text" name="whatsapp" class="form-control" value="<?php echo set_value('whatsapp', $admin_info->whatsapp); ?>" />                                                    
            </div>
          </div>

          <div class="form-group">
            <div class="col-md-8">
              <input type="submit" class="btn bg-red pull-right" value="Update Info"  />
            </div>
          </div>
          <?php echo form_close(); ?>
        </div>
      </div>
    </div>
  </div>
</div>


<?php $this->load->view('includes/footer'); ?>