<div class="col-md-8">
  <!-- Horizontal Form -->
  <div class="box box-info">
    <div class="box-header with-border">
      <h3 class="box-title">Aparence</h3>
       <form role="form" method="POST" enctype="multipart/form-data">
        <div class="box-body">
          <div class="form-group">            
        
          <div class="form-group">
              <label>Logo</label>   
             <span class="inline-help">Recommendation image size: 406 x 70 pixels</span>
          	<div class="text-center"  style="width:200px;background-color:#3C8DBC;padding:20px;;margin:20px 0 20px 0;">
            	<img style="width:100%" src="<?php echo base_url(); ?><?php echo config_item("logo"); ?>">
            	</div>
            </div>
            <input type="file" class="form-control"  name="image">
            <input type="hidden" class="form-control hide" value="1"  name="save">
            <span class="inline-help">Max file size: <?php echo (ini_get('post_max_size')); ?></span>
          </div>  
          <div class="form-group">
           <label>Default Language</label>   
          <select required class="select2" style="width:100%" name="default_lang">
            <?php foreach ($langs as $key => $value) {
              ?>
              <option <?php if($value->code == config_item("default_lang")){ echo 'selected'; } ?> value="<?php echo $value->code; ?>"><?php echo $value->name; ?></option>
              <?php
            }
            ?>
          </select>
          </div>
        </div><!-- /.box-body -->
        <div class="box-footer">          
             <button type="submit" name="submit" class="btn btn-primary pull-right">Save</button>
        </div>
      </form>
    </div><!-- /.box-header -->
   </div>
</div>

