Commit inicial - WordPress Análisis de Precios Unitarios

- WordPress core y plugins
- Tema Twenty Twenty-Four configurado
- Plugin allow-unfiltered-html.php simplificado
- .gitignore configurado para excluir wp-config.php y uploads

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-11-03 21:04:30 -06:00
commit a22573bf0b
24068 changed files with 4993111 additions and 0 deletions

View File

@@ -0,0 +1,74 @@
<?php
/**
* Provide a admin area view for the plugin
*
* This file is used to markup the admin-facing aspects of the plugin.
*
* @link https://raiolanetworks.es
* @since 1.0.0
*
* @package Wp_Database_Tools
* @subpackage Wp_Database_Tools/admin/partials
*/
$settings_page = $this->get_settings_pages();
$detail_page = ( isset( $_GET['details'] ) ) ? $_GET['details'] : null;
$has_details_table = isset( $this->database->get_general_data()[ $detail_page ] );
$data = $has_details_table ? $this->database->get_general_data()[ $detail_page ] : $this->database->get_general_data();
?>
<!-- This file should primarily consist of HTML with a little bit of PHP. -->
<div id="<?php echo $this->plugin_name; ?>-admin" role="main">
<div id="wpbody-content">
<div id="wpheader" class="<?php echo $this->plugin_name; ?>-header ml--20">
<?php require plugin_dir_path( __FILE__ ) . 'components/' . $this->plugin_name . '-admin-component-header.php'; ?>
<?php require plugin_dir_path( __FILE__ ) . 'components/' . $this->plugin_name . '-admin-component-navigation.php'; ?>
</div>
<div class="wrap">
<!-- For display notices -->
<h2></h2>
<div id="poststuff">
<div id="post-body" class="metabox-holder md_col-2">
<div id="post-body-content">
<!-- LICENSE -->
<div class="inside">
<div class="bg-white br-10 px-30 py-20">
<?php if ( $settings_page['force_execute_scanner'] == 'YES' ) : ?>
<?php include plugin_dir_path( __FILE__ ) . 'sections/' . $this->plugin_name . '-section-scanner-execute.php'; ?>
<?php else : ?>
<?php if ( $has_details_table ) : ?>
<?php include plugin_dir_path( __FILE__ ) . 'sections/' . $this->plugin_name . '-section-details.php'; ?>
<?php else : ?>
<?php include plugin_dir_path( __FILE__ ) . 'sections/' . $this->plugin_name . '-section-general.php'; ?>
<?php endif; ?>
<?php endif; ?>
</div>
</div>
<!-- SIDEBAR -->
<div id="modal-container" class="">
<?php require plugin_dir_path( __FILE__ ) . 'components/' . $this->plugin_name . '-admin-component-modal.php'; ?>
</div>
</div>
<!-- SIDEBAR -->
<div id="postbox-container-1" class="postbox-container">
<?php require plugin_dir_path( __FILE__ ) . 'components/' . $this->plugin_name . '-admin-component-sidebar.php'; ?>
</div>
</div>
<br class="clear">
</div>
</div>
</div>
</div>