<?php

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

require_once plugin_dir_path(__FILE__) . './docuchat_gofoundme_layout.php';
require_once plugin_dir_path(__FILE__) . '../../utils/docuchat_get_image_from_name.php';

function docuchat_submenu_delete_data_from_server(){
   ?>
    <section class="docuchatMain">
      <div class="docuchatMain_container">
        <div class="docuchatMain_container_trashWrapper">

     
        <div class="docuchatMain_container_delete_left">
         <h3>
             <?php echo esc_html__('This action remove all data of DocuChat, are you sure?', 'docu-chat'); ?>
         </h3> 
         <span><?php echo esc_html__('The PDF vector and registration will be deleted. This is recommended if you plan to create a new account in the future, or if you are deleting the plugin now.', 'docu-chat'); ?></span>
          
            <button class="docuchatMain_container_delete_left_button"><?php echo esc_attr('Delete Acount', 'docu-chat'); ?></button>
           
        </div>
        <div class="docuchatMain_container_delete_right">
        <?php echo wp_get_attachment_image( docuchat_get_image_from_name('robotTrash'), 'full',  false, array('style' => 'width: 80%; height: auto;')); ?>
        </div>
        </div>
        <div class="delete_acount_responses">
        </div>
        <div class="delete_acount_footer">
        <?php docuchat_gofoundme_layout(); ?>
        </div>
      </div>
    </section>
   <?php
}