<?php

if (! defined('ABSPATH')) exit;

function docuchat_register_module()
{
?>
<div class="docuchatMain_container_body_content"> 
  <div class="docuchatMain_container_body_content_paragrap">
    <h1>
      <?php
      echo esc_html__('Configuration with ai server process', 'docu-chat');
      ?>
    </h1>
    <h3><?php
        echo  esc_html__("This plugin connects to an external server that uses artificial intelligence to process your users' questions, based on the documents you provide. To ensure data privacy and security, each user receives a unique token and key. This service is completely ", 'docu-chat');
        ?>  
         <i><?php
        echo  esc_html__("FREE", 'docu-chat');
        ?> </i>
         <?php
        echo  esc_html__(", funded by community donations. Your data is used exclusively for plugin functionality, always respecting your privacy.", 'docu-chat');
        ?> </h3>
  </div>
  <form id="register_form" class="docuchatMain_container_body_content_form">

    <input type="email" name="email" placeholder="<?php echo esc_attr('Email', 'docu-chat');  ?>" required>
    <input type="text" name="web_ip" value="101.23.46.79">
    <input type="text" name="url" value="<?php echo esc_attr(get_bloginfo('url')); ?>">
    <div class="docuchatMain_container_body_content_form_Checkbox">
      <input type="checkbox" name="acept" id="acept" required>
      <label for="acept">
        <?php
        echo  esc_html__(
          'Accept send data to external server',
          'docu-chat'
        ); ?></label>
        <br> 
        <input type="checkbox" name="subscribe" id="subscribe">
        <label for="subscribe">
        <?php
        echo  esc_html__(
          "Accept if you agree to receive news about new features and updates.",
          "docu-chat"
        ); ?></label>
      <?php wp_nonce_field( 'register' ); ?>
    </div>
    <input type="submit" value=<?php echo esc_attr('Register', 'docu-chat');  ?> class="docuchatMain_container_body_content_form_submit">
  </form>
      </div>

  


<?php
}
