<form action="#" method="post" class="setting-siteInfo-container tab-container">
   <div class="row">
      <div class="col-md-6">
         <h5><?php echo $wo['lang']['site_title_name'];?></h5>
         <div class="form-group">
            <input type="text" name="siteName" class="form-control" placeholder="<?php echo $wo['lang']['site_name'];?>" value="<?php echo $wo['config']['siteName'];?>">
         </div>
         <div class="form-group">
            <input type="text" name="siteTitle" class="form-control" placeholder="<?php echo $wo['lang']['site_title'];?>" value="<?php echo $wo['config']['siteTitle'];?>">
         </div>
      </div>
      <div class="col-md-6">
         <h5><?php echo $wo['lang']['site_keywords_description'];?></h5>
         <div class="form-group">
            <input type="text" name="siteKeywords" class="form-control" placeholder="<?php echo $wo['lang']['site_keywords'];?>" value="<?php echo $wo['config']['siteKeywords'];?>">
         </div>
         <div class="form-group">
            <input type="text" name="siteDesc" class="form-control" placeholder="<?php echo $wo['lang']['site_description'];?>" value="<?php echo $wo['config']['siteDesc'];?>">
         </div>
      </div>
      <div class="col-md-6">
         <h5><?php echo $wo['lang']['site_email'];?></h5>
         <div class="form-group">
            <input type="text" name="siteEmail" class="form-control" placeholder="<?php echo $wo['lang']['site_email'];?>" value="<?php echo $wo['config']['siteEmail'];?>">
         </div>
      </div>
      <div class="col-md-6">
         <h5><?php echo $wo['lang']['site_lang'];?></h5>
         <select name="siteLang" class="form-control">
            <?php
               foreach (Wo_GetLanguages() as $lang) {
                  
                 $languages = str_replace(".php","",$lang);
                  
                 $languages_name = ucfirst(strtolower($languages));
                  
                 $selected_lang = ($languages == $wo['config']['defualtLang']) ? ' selected' : '';
                  
               ?>
            <option value="<?php echo $languages;?>"<?php echo $selected_lang;?> ><?php echo $languages_name;?></option>
            <?php
               }
                  
               ?>
         </select>
      </div>
      <div class="clear"></div>
   </div>
   <hr>
   <div class="form-group">
      <div class="row">
         <div class="col-sm-3 pull-left">
            <button type="submit" name="save_setting" id="save-setting" class="form-control btn-main-color btn-main">
            <i class="fa fa-floppy-o progress-icon" data-icon="floppy-o"></i> <?php echo $wo['lang']['save'];?>
            </button>
         </div>
         <div class="setting-saved-update-alert"></div>
      </div>
   </div>
</form>
<script type="text/javascript">
$(function() {
    $('form.setting-siteInfo-container').ajaxForm({
      url: Wo_Ajax_Requests_File() + '?f=admin_setting&s=update_site_information',
      beforeSend: function() {
        Wo_progressIconLoader($('form.setting-siteInfo-container').find('button'));
      },
      success: function(data) {
        if (data.status == 200) {
          $('.setting-saved-update-alert').hide().fadeIn(200).html("<i class='fa fa-check'></i> <?php echo $wo['lang']['saved'];?>").delay(2000).fadeOut(200);
        } 
        Wo_progressIconLoader($('form.setting-siteInfo-container').find('button'));
      }
    });
});
</script>