<?php
    $errors = $this->session->userdata('errors');
    if (isset($errors)) {
        ?>
        <script>
            swal ( "Oops" ,  "<?php echo $errors ?>" ,  "error" )
        </script>
        <?php echo $errors ?>
        <?php
        $this->session->unset_userdata('errors');
    }
    $error = $this->session->userdata('error');
    if (isset($error)) {
        ?>
         <script>
            swal ( "Oops" ,  "<?php echo $error ?>" ,  "error" )
        </script>
        <?php
        $this->session->unset_userdata('error');
    }
    $success = $this->session->userdata('success');
    if (isset($success)) {
        ?>
         <script>
            swal({
          title: "Done!",
          text: "<?php echo $success ?>",
          icon: "success",
        });
        </script>
        <?php
        $this->session->unset_userdata('success');
    }
    ?>
  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
      <div class="container-fluid">
        <div class="row mb-2">
          <div class="col-sm-6">
            <h1>Tools SEO</h1>
          </div>
          <div class="col-sm-6">
            <ol class="breadcrumb float-sm-right">
              <li class="breadcrumb-item"><a href="<?php echo admin_url() ?>admin">Home</a></li>
              <li class="breadcrumb-item"><a href="#">Frontend Setting</a></li>
              <li class="breadcrumb-item active">Tools SEO</li>
            </ol>
          </div>
        </div>
      </div><!-- /.container-fluid -->
    </section>

    <!-- Main content -->
    <section class="content">
      <div class="container-fluid">
        <div class="row">
          <div class="col-sm-12">
            <div class="card card-default">
              <div class="card-header">
               <h3 class="card-title">Update Tools SEO</h3>
              </div>
              <!-- /.card-header -->
               <?php echo form_open('admin/frontend_setting/update_tool_seo'); ?>
                  <div class="card-body">
                     <div class="row">
                        <div class="col-md-12">
                           <div class="form-group">
                              <label for="inputEmail" class="col-sm-12 col-form-label">SERP Tool Meta Title</label>
                              <div class="col-sm-12">
                                 <input type="text" class="form-control"  name="serp_tool_meta_title" placeholder="Enter Meta Title" value="<?php echo $tool_seo->serp_tool_meta_title ?>">
                              </div>
                           </div>
                        </div>
                        <div class="col-md-6">
                           <div class="form-group">
                              <label for="inputEmail" class="col-sm-12 col-form-label">SERP Tool Meta Description</label>
                              <div class="col-sm-12">
                                 <textarea type="text" class="form-control"  name="serp_tool_meta_description" placeholder="Enter Meta Description" ><?php echo $tool_seo->serp_tool_meta_description ?></textarea>
                              </div>
                           </div>
                        </div>
                        <div class="col-md-6">
                           <div class="form-group">
                              <label for="inputEmail" class="col-sm-12 col-form-label">SERP Tool Meta Keywords</label>
                              <div class="col-sm-12">
                                 <textarea type="text" class="form-control"  name="serp_tool_meta_keywords" placeholder="Enter Meta Keywords" ><?php echo $tool_seo->serp_tool_meta_keywords ?></textarea>
                              </div>
                           </div>
                        </div>
                        <div class="col-md-12">
                           <div class="form-group">
                              <label for="inputEmail" class="col-sm-12 col-form-label">SERP Tool Schema</label>
                              <div class="col-sm-12">
                                 <textarea type="text" class="form-control"  name="serp_tool_scheme" placeholder="Enter Scheme" ><?php echo $tool_seo->serp_tool_scheme ?></textarea>
                              </div>
                           </div>
                        </div>
                        <div class="col-md-12">
                           <div class="form-group text-center">
                              ===================
                           </div>
                        </div>

                        <div class="col-md-12">
                           <div class="form-group">
                              <label for="inputEmail" class="col-sm-12 col-form-label">Slug Generator Meta Title</label>
                              <div class="col-sm-12">
                                 <input type="text" class="form-control"  name="slug_meta_title" placeholder="Enter Meta Title" value="<?php echo $tool_seo->slug_meta_title ?>">
                              </div>
                           </div>
                        </div>
                        <div class="col-md-6">
                           <div class="form-group">
                              <label for="inputEmail" class="col-sm-12 col-form-label">Slug Generator Meta Description</label>
                              <div class="col-sm-12">
                                 <textarea type="text" class="form-control"  name="slug_meta_description" placeholder="Enter Meta Description" ><?php echo $tool_seo->slug_meta_description ?></textarea>
                              </div>
                           </div>
                        </div>
                        <div class="col-md-6">
                           <div class="form-group">
                              <label for="inputEmail" class="col-sm-12 col-form-label">Slug Generator Meta Keywords</label>
                              <div class="col-sm-12">
                                 <textarea type="text" class="form-control"  name="slug_meta_keywords" placeholder="Enter Meta Keywords" ><?php echo $tool_seo->slug_meta_keywords ?></textarea>
                              </div>
                           </div>
                        </div>
                        <div class="col-md-12">
                           <div class="form-group">
                              <label for="inputEmail" class="col-sm-12 col-form-label">Slug Schema</label>
                              <div class="col-sm-12">
                                 <textarea type="text" class="form-control"  name="slug_scheme" placeholder="Enter Scheme" ><?php echo $tool_seo->slug_scheme ?></textarea>
                              </div>
                           </div>
                        </div>
                        <div class="col-md-12">
                           <div class="form-group text-center">
                              ===================
                           </div>
                        </div>

                        <div class="col-md-12">
                           <div class="form-group">
                              <label for="inputEmail" class="col-sm-12 col-form-label">Sitemap Meta Title</label>
                              <div class="col-sm-12">
                                 <input type="text" class="form-control"  name="sitemap_meta_title" placeholder="Enter Meta Title" value="<?php echo $tool_seo->sitemap_meta_title ?>">
                              </div>
                           </div>
                        </div>
                        <div class="col-md-6">
                           <div class="form-group">
                              <label for="inputEmail" class="col-sm-12 col-form-label">Sitemap Meta Description</label>
                              <div class="col-sm-12">
                                 <textarea type="text" class="form-control"  name="sitemap_meta_description" placeholder="Enter Meta Description" ><?php echo $tool_seo->sitemap_meta_description ?></textarea>
                              </div>
                           </div>
                        </div>
                        <div class="col-md-6">
                           <div class="form-group">
                              <label for="inputEmail" class="col-sm-12 col-form-label">Sitemap Meta Keywords</label>
                              <div class="col-sm-12">
                                 <textarea type="text" class="form-control"  name="sitemap_meta_keywords" placeholder="Enter Meta Keywords" ><?php echo $tool_seo->sitemap_meta_keywords ?></textarea>
                              </div>
                           </div>
                        </div>
                        <div class="col-md-12">
                           <div class="form-group">
                              <label for="inputEmail" class="col-sm-12 col-form-label">Sitemap Schema</label>
                              <div class="col-sm-12">
                                 <textarea type="text" class="form-control"  name="sitemap_scheme" placeholder="Enter Scheme" ><?php echo $tool_seo->sitemap_scheme ?></textarea>
                              </div>
                           </div>
                        </div>
                        <div class="col-md-12">
                           <div class="form-group text-center">
                              ===================
                           </div>
                        </div>

                        <div class="col-md-12">
                           <div class="form-group">
                              <label for="inputEmail" class="col-sm-12 col-form-label">UTM Builder Meta Title</label>
                              <div class="col-sm-12">
                                 <input type="text" class="form-control"  name="utm_meta_title" placeholder="Enter Meta Title" value="<?php echo $tool_seo->utm_meta_title ?>">
                              </div>
                           </div>
                        </div>
                        <div class="col-md-6">
                           <div class="form-group">
                              <label for="inputEmail" class="col-sm-12 col-form-label">UTM Builder Meta Description</label>
                              <div class="col-sm-12">
                                 <textarea type="text" class="form-control"  name="utm_meta_description" placeholder="Enter Meta Description" ><?php echo $tool_seo->utm_meta_description ?></textarea>
                              </div>
                           </div>
                        </div>
                        <div class="col-md-6">
                           <div class="form-group">
                              <label for="inputEmail" class="col-sm-12 col-form-label">UTM Builder Meta Keywords</label>
                              <div class="col-sm-12">
                                 <textarea type="text" class="form-control"  name="utm_meta_keywords" placeholder="Enter Meta Keywords" ><?php echo $tool_seo->utm_meta_keywords ?></textarea>
                              </div>
                           </div>
                        </div>
                        <div class="col-md-12">
                           <div class="form-group">
                              <label for="inputEmail" class="col-sm-12 col-form-label">UTM Builder Schema</label>
                              <div class="col-sm-12">
                                 <textarea type="text" class="form-control"  name="utm_scheme" placeholder="Enter Scheme" ><?php echo $tool_seo->utm_scheme ?></textarea>
                              </div>
                           </div>
                        </div>
                        <div class="col-md-12">
                           <div class="form-group text-center">
                              ===================
                           </div>
                        </div>

                        <div class="col-md-12">
                           <div class="form-group">
                              <label for="inputEmail" class="col-sm-12 col-form-label">Word Counter Meta Title</label>
                              <div class="col-sm-12">
                                 <input type="text" class="form-control"  name="word_c_meta_title" placeholder="Enter Meta Title" value="<?php echo $tool_seo->word_c_meta_title ?>">
                              </div>
                           </div>
                        </div>
                        <div class="col-md-6">
                           <div class="form-group">
                              <label for="inputEmail" class="col-sm-12 col-form-label">Word Counter Meta Desciprtion</label>
                              <div class="col-sm-12">
                                 <textarea type="text" class="form-control"  name="word_c_meta_description" placeholder="Enter Meta Desciprtion" ><?php echo $tool_seo->word_c_meta_description ?></textarea>
                              </div>
                           </div>
                        </div>
                        <div class="col-md-6">
                           <div class="form-group">
                              <label for="inputEmail" class="col-sm-12 col-form-label">Word Counter Meta Keywords</label>
                              <div class="col-sm-12">
                                 <textarea type="text" class="form-control"  name="word_c_meta_keywords" placeholder="Enter Meta Keywords" ><?php echo $tool_seo->word_c_meta_keywords ?></textarea>
                              </div>
                           </div>
                        </div>
                        <div class="col-md-12">
                           <div class="form-group">
                              <label for="inputEmail" class="col-sm-12 col-form-label">Word Counter Schema</label>
                              <div class="col-sm-12">
                                 <textarea type="text" class="form-control"  name="word_c_scheme" placeholder="Enter Scheme" ><?php echo $tool_seo->word_c_scheme ?></textarea>
                              </div>
                           </div>
                        </div>
                        <div class="col-md-12">
                           <div class="form-group text-center">
                              ===================
                           </div>
                        </div>

                        <div class="col-md-12">
                           <div class="form-group">
                              <label for="inputEmail" class="col-sm-12 col-form-label">Character Counter Meta Title</label>
                              <div class="col-sm-12">
                                 <input type="text" class="form-control"  name="ch_counter_meta_title" placeholder="Enter Meta Title" value="<?php echo $tool_seo->ch_counter_meta_title ?>">
                              </div>
                           </div>
                        </div>
                        <div class="col-md-6">
                           <div class="form-group">
                              <label for="inputEmail" class="col-sm-12 col-form-label">Character Counter Meta Desciprtion</label>
                              <div class="col-sm-12">
                                 <textarea type="text" class="form-control"  name="ch_counter_meta_description" placeholder="Enter Meta Desciprtion" ><?php echo $tool_seo->ch_counter_meta_description ?></textarea>
                              </div>
                           </div>
                        </div>
                        <div class="col-md-6">
                           <div class="form-group">
                              <label for="inputEmail" class="col-sm-12 col-form-label">Character Counter Meta Keywords</label>
                              <div class="col-sm-12">
                                 <textarea type="text" class="form-control"  name="ch_counter_meta_keywords" placeholder="Enter Meta Keywords" ><?php echo $tool_seo->ch_counter_meta_keywords ?></textarea>
                              </div>
                           </div>
                        </div>
                        <div class="col-md-12">
                           <div class="form-group">
                              <label for="inputEmail" class="col-sm-12 col-form-label">Character Counter Schema</label>
                              <div class="col-sm-12">
                                 <textarea type="text" class="form-control"  name="ch_counter_scheme" placeholder="Enter Scheme" ><?php echo $tool_seo->ch_counter_scheme ?></textarea>
                              </div>
                           </div>
                        </div>
                        <div class="col-md-12">
                           <div class="form-group text-center">
                              ===================
                           </div>
                        </div>

                        <div class="col-md-12">
                           <div class="form-group">
                              <label for="inputEmail" class="col-sm-12 col-form-label">Speed Test Meta Title</label>
                              <div class="col-sm-12">
                                 <input type="text" class="form-control"  name="speed_meta_title" placeholder="Enter Meta Title" value="<?php echo $tool_seo->speed_meta_title ?>">
                              </div>
                           </div>
                        </div>
                        <div class="col-md-6">
                           <div class="form-group">
                              <label for="inputEmail" class="col-sm-12 col-form-label">Speed Test Meta Desciprtion</label>
                              <div class="col-sm-12">
                                 <textarea type="text" class="form-control"  name="speed_meta_description" placeholder="Enter Meta Desciprtion" ><?php echo $tool_seo->speed_meta_description ?></textarea>
                              </div>
                           </div>
                        </div>
                        <div class="col-md-6">
                           <div class="form-group">
                              <label for="inputEmail" class="col-sm-12 col-form-label">Speed Test Meta Keywords</label>
                              <div class="col-sm-12">
                                 <textarea type="text" class="form-control"  name="speed_meta_keywords" placeholder="Enter Meta Keywords" ><?php echo $tool_seo->speed_meta_keywords ?></textarea>
                              </div>
                           </div>
                        </div>
                        <div class="col-md-12">
                           <div class="form-group">
                              <label for="inputEmail" class="col-sm-12 col-form-label">Speed Test Schema</label>
                              <div class="col-sm-12">
                                 <textarea type="text" class="form-control"  name="speed_scheme" placeholder="Enter Scheme" ><?php echo $tool_seo->speed_scheme ?></textarea>
                              </div>
                           </div>
                        </div>
                        <div class="col-md-12">
                           <div class="form-group text-center">
                              ===================
                           </div>
                        </div>

                        <div class="col-md-12">
                           <div class="form-group">
                              <label for="inputEmail" class="col-sm-12 col-form-label">Image Compressor Meta Title</label>
                              <div class="col-sm-12">
                                 <input type="text" class="form-control"  name="image_meta_title" placeholder="Enter Meta Title" value="<?php echo $tool_seo->image_meta_title ?>">
                              </div>
                           </div>
                        </div>
                        <div class="col-md-6">
                           <div class="form-group">
                              <label for="inputEmail" class="col-sm-12 col-form-label">Image Compressor Meta Desciprtion</label>
                              <div class="col-sm-12">
                                 <textarea type="text" class="form-control"  name="image_meta_description" placeholder="Enter Meta Desciprtion" ><?php echo $tool_seo->image_meta_description ?></textarea>
                              </div>
                           </div>
                        </div>
                        <div class="col-md-6">
                           <div class="form-group">
                              <label for="inputEmail" class="col-sm-12 col-form-label">Image Compressor Meta Keywords</label>
                              <div class="col-sm-12">
                                 <textarea type="text" class="form-control"  name="image_meta_keywords" placeholder="Enter Meta Keywords" ><?php echo $tool_seo->image_meta_keywords ?></textarea>
                              </div>
                           </div>
                        </div>
                        <div class="col-md-12">
                           <div class="form-group">
                              <label for="inputEmail" class="col-sm-12 col-form-label">Image Compressor Schema</label>
                              <div class="col-sm-12">
                                 <textarea type="text" class="form-control"  name="image_scheme" placeholder="Enter Scheme" ><?php echo $tool_seo->image_scheme ?></textarea>
                              </div>
                           </div>
                        </div>
                        <div class="col-md-12">
                           <div class="form-group text-center">
                              ===================
                           </div>
                        </div>

                        <div class="col-md-12">
                           <div class="form-group">
                              <label for="inputEmail" class="col-sm-12 col-form-label">Ad Preview Meta Title</label>
                              <div class="col-sm-12">
                                 <input type="text" class="form-control"  name="g_add_meta_title" placeholder="Enter Meta Title" value="<?php echo $tool_seo->g_add_meta_title ?>">
                              </div>
                           </div>
                        </div>
                        <div class="col-md-6">
                           <div class="form-group">
                              <label for="inputEmail" class="col-sm-12 col-form-label">Ad Preview Meta Desciprtion</label>
                              <div class="col-sm-12">
                                 <textarea type="text" class="form-control"  name="g_add_meta_description" placeholder="Enter Meta Desciprtion" ><?php echo $tool_seo->g_add_meta_description ?></textarea>
                              </div>
                           </div>
                        </div>
                        <div class="col-md-6">
                           <div class="form-group">
                              <label for="inputEmail" class="col-sm-12 col-form-label">Ad Preview Meta Keywords</label>
                              <div class="col-sm-12">
                                 <textarea type="text" class="form-control"  name="g_add_meta_keywords" placeholder="Enter Meta Keywords" ><?php echo $tool_seo->g_add_meta_keywords ?></textarea>
                              </div>
                           </div>
                        </div>
                        <div class="col-md-12">
                           <div class="form-group">
                              <label for="inputEmail" class="col-sm-12 col-form-label">Ad Preview Schema</label>
                              <div class="col-sm-12">
                                 <textarea type="text" class="form-control"  name="g_add_scheme" placeholder="Enter Scheme" ><?php echo $tool_seo->g_add_scheme ?></textarea>
                              </div>
                           </div>
                        </div>
                        <div class="col-md-12">
                           <div class="form-group text-center">
                              ===================
                           </div>
                        </div>

                        <div class="col-md-12">
                           <div class="form-group">
                              <label for="inputEmail" class="col-sm-12 col-form-label">Twitter Post Meta Title</label>
                              <div class="col-sm-12">
                                 <input type="text" class="form-control"  name="twitter_meta_title" placeholder="Enter Meta Title" value="<?php echo $tool_seo->twitter_meta_title ?>">
                              </div>
                           </div>
                        </div>
                        <div class="col-md-6">
                           <div class="form-group">
                              <label for="inputEmail" class="col-sm-12 col-form-label">Twitter Post Meta Desciprtion</label>
                              <div class="col-sm-12">
                                 <textarea type="text" class="form-control"  name="twitter_meta_description" placeholder="Enter Meta Desciprtion" ><?php echo $tool_seo->twitter_meta_description ?></textarea>
                              </div>
                           </div>
                        </div>
                        <div class="col-md-6">
                           <div class="form-group">
                              <label for="inputEmail" class="col-sm-12 col-form-label">Twitter Post Meta Keywords</label>
                              <div class="col-sm-12">
                                 <textarea type="text" class="form-control"  name="twitter_meta_keywords" placeholder="Enter Meta Keywords" ><?php echo $tool_seo->twitter_meta_keywords ?></textarea>
                              </div>
                           </div>
                        </div>
                        <div class="col-md-12">
                           <div class="form-group">
                              <label for="inputEmail" class="col-sm-12 col-form-label">Twitter Post Schema</label>
                              <div class="col-sm-12">
                                 <textarea type="text" class="form-control"  name="twitter_scheme" placeholder="Enter Scheme" ><?php echo $tool_seo->twitter_scheme ?></textarea>
                              </div>
                           </div>
                        </div>
                        <div class="col-md-12">
                           <div class="form-group text-center">
                              ===================
                           </div>
                        </div>

                        <div class="col-md-12">
                           <div class="form-group">
                              <label for="inputEmail" class="col-sm-12 col-form-label">Tool Recomm Post Meta Title</label>
                              <div class="col-sm-12">
                                 <input type="text" class="form-control"  name="tool_meta_title" placeholder="Enter Meta Title" value="<?php echo $tool_seo->tool_meta_title ?>">
                              </div>
                           </div>
                        </div>
                        <div class="col-md-6">
                           <div class="form-group">
                              <label for="inputEmail" class="col-sm-12 col-form-label">Tool Recomm Meta Desciprtion</label>
                              <div class="col-sm-12">
                                 <textarea type="text" class="form-control"  name="tool__meta_description" placeholder="Enter Meta Desciprtion" ><?php echo $tool_seo->tool__meta_description ?></textarea>
                              </div>
                           </div>
                        </div>
                        <div class="col-md-6">
                           <div class="form-group">
                              <label for="inputEmail" class="col-sm-12 col-form-label">Tool Recomm Meta Keywords</label>
                              <div class="col-sm-12">
                                 <textarea type="text" class="form-control"  name="tool_meta_keywords" placeholder="Enter Meta Keywords" ><?php echo $tool_seo->tool_meta_keywords ?></textarea>
                              </div>
                           </div>
                        </div>
                        <div class="col-md-12">
                           <div class="form-group">
                              <label for="inputEmail" class="col-sm-12 col-form-label">Tool Recomm Schema</label>
                              <div class="col-sm-12">
                                 <textarea type="text" class="form-control"  name="tool_scheme" placeholder="Enter Scheme" ><?php echo $tool_seo->tool_scheme ?></textarea>
                              </div>
                           </div>
                        </div>

                        <div class="col-md-12">
                           <div class="form-group">
                              <div class="col-sm-12">
                                 <button type="submit" class="btn btn-success">Update</button>
                              </div>
                           </div>
                        </div>
                     </div>
                  </div>
               <?php echo form_close() ?>
            </div>
         </div>
      </div>
   </section>
    
</div>
