FreeBSD s15.mydevil.net 14.1-RELEASE-p4 FreeBSD 14.1-RELEASE-p4 #3 releng/14.1-n267709-86d01789bf41-dirty: Thu Sep 5 04:26:54 CEST 2024 root@pkg1.admin.net.pl:/usr/obj/usr/src/amd64.amd64/sys/devil amd64
Apache/N-G-I-N-X-htaccess-support
: 128.204.218.142 | : 18.119.127.230
Cant Read [ /etc/named.conf ]
?8.1.30
art
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
home /
art /
domains /
rotarycup.pl /
public_html /
wp-content /
themes /
sportcenter /
inc /
starter /
[ HOME SHELL ]
Name
Size
Permission
Action
functions-admin.php
6.71
KB
-rw-r--r--
leaf-core.php
8.97
KB
-rw-r--r--
leaf-menu-walker.php
8.11
KB
-rw-r--r--
mobile-detect.php
43.05
KB
-rw-r--r--
twenty-core.php
17.55
KB
-rw-r--r--
widget_param.php
9.86
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : twenty-core.php
<?php /** * @since Twenty Twelve 1.0 * */ /* Echo meta data tags */ function leafcolor_meta_tags(){ $description = get_bloginfo('description'); if(is_single()){ global $post; $description = $post->post_excerpt; ?> <meta property="og:title" content="<?php echo get_the_title($post->ID);?>"/> <meta property="og:url" content="<?php echo get_permalink($post->ID);?>"/> <meta property="og:image" content="<?php echo wp_get_attachment_url(get_post_thumbnail_id($post->ID)); ?>"/> <meta property="og:type" content=""/> <meta property="og:description" content="<?php echo esc_attr($description);?>"/> <meta property="og:site_name" content="<?php echo esc_attr(get_bloginfo('name'));?>"/> <?php } ?> <meta property="description" content="<?php echo esc_attr($description);?>"/> <?php } /** * add home link. */ function leafcolor_page_menu_args( $args ) { if ( ! isset( $args['show_home'] ) ) $args['show_home'] = true; return $args; } add_filter( 'wp_page_menu_args', 'leafcolor_page_menu_args' ); if ( ! function_exists( 'leafcolor_content_nav' ) ) : /** * Displays navigation to next/previous pages when applicable. * * @since Twenty Twelve 1.0 */ function leafcolor_content_nav( $html_id, $custom_query=false ) { global $wp_query; $current_query = $wp_query; if($custom_query){ $current_query = $custom_query; } if ( $current_query->max_num_pages > 1 ) : ?> <nav id="<?php echo esc_attr($html_id); ?>" class="default-paging" role="navigation"> <div class="default-nav-item nav-previous alignleft"><?php next_posts_link( esc_html__( '← Older posts', 'sportcenter' ),$current_query->max_num_pages ); ?></div> <div class="default-nav-item nav-next alignright"><?php previous_posts_link( esc_html__( 'Newer posts →', 'sportcenter' ) ); ?></div> <div class="clearfix"></div> </nav><!-- #.navigation --> <?php endif; } endif; if ( ! function_exists( 'leafcolor_comment' ) ) : /** * Template for comments and pingbacks. * * To override this walker in a child theme without modifying the comments template * simply create your own leafcolor_comment(), and that function will be used instead. * * Used as a callback by wp_list_comments() for displaying the comments. */ function leafcolor_comment( $comment, $args, $depth ) { $GLOBALS['comment'] = $comment; switch ( $comment->comment_type ) : case 'pingback' : case 'trackback' : // Display trackbacks differently than normal comments. ?> <li <?php comment_class(); ?> id="comment-<?php comment_ID(); ?>"> <p><?php _e( 'Pingback:', 'sportcenter' ); ?> <?php comment_author_link(); ?> <?php edit_comment_link( __( '(Edit)', 'sportcenter' ), '<span class="edit-link">', '</span>' ); ?></p> <?php break; default : // Proceed with normal comments. global $post; ?> <li <?php comment_class(); ?> id="li-comment-<?php comment_ID(); ?>"> <article id="comment-<?php comment_ID(); ?>" class="comment"> <div class="avatar-wrap"> <?php if(isset($__check_retina)&&$__check_retina){ echo get_avatar( $comment, 80); } else { echo get_avatar( $comment, 80); } ?> </div> <div class="comment-meta comment-author"> <section class="comment-edit"> <?php printf( '<cite class="fn h5 font-2">%1$s</cite> ', get_comment_author_link()); ?> <?php comment_reply_link( array_merge( $args, array( 'reply_text' => __( 'Reply', 'sportcenter' ), 'after' => ' <span></span>', 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?> <!-- .reply --> <?php printf( '<time datetime="%2$s">%3$s</time>', esc_url( get_comment_link( $comment->comment_ID ) ), get_comment_time( 'c' ), /* translators: 1: date, 2: time */ sprintf( __( '%1$s at %2$s ', 'sportcenter' ), get_comment_date(), get_comment_time() ) );?> <?php edit_comment_link( __( 'Edit', 'sportcenter' ), '<p class="edit-link">', '</p>' ); ?> </section> <div class="comment-content"> <?php if ( '0' == $comment->comment_approved ) : ?> <p class="comment-awaiting-moderation"><?php _e( 'Your comment is awaiting moderation.', 'sportcenter' ); ?></p> <?php endif; ?> <?php comment_text(); ?> </div><!-- .comment-content --> </div><!-- .comment-meta --> </article><!-- #comment-## --> <?php break; endswitch; // end comment_type check } endif; if(!function_exists('alter_comment_form_fields')){ function alter_comment_form_fields($fields){ $commenter = wp_get_current_commenter(); $user = wp_get_current_user(); $user_identity = $user->exists() ? $user->display_name : ''; $req = get_option( 'require_name_email' ); $aria_req = ( $req ? " aria-required='true'" : '' ); $fields['author'] = '<div class="cm-form-info"><div class="comment-author-field"><div class="auhthor login"><p class="comment-form-author"><input id="author" name="author" type="text" placeholder="'.($req ? '' : '').__('Your Name *','sportcenter').'" value="' . esc_attr( $commenter['comment_author'] ) . '" size="100"' . $aria_req . ' /></p></div>'; $fields['email'] = '<div class="email login"><p class="comment-form-email"><input id="email" placeholder="'.($req ? '' : '').__('Your Email *','sportcenter').'" name="email" type="text" value="' . esc_attr( $commenter['comment_author_email'] ) . '" size="100"' . $aria_req . ' /></p></div>'; //removes email field $fields['url'] = '<div class="url login"><p class="comment-form-url"><input id="url" placeholder="'.__('Your Website','sportcenter').'" name="url" type="text" value="' . esc_attr( $commenter['comment_author_url'] ) . '" size="100" /></p></div></div></div>'; return $fields; } add_filter('comment_form_default_fields','alter_comment_form_fields'); } //change comment form if(!function_exists('comment_form_leaf_custom')){ function comment_form_leaf_custom( $args = array(), $post_id = null ) { if ( null === $post_id ) $post_id = get_the_ID(); else $id = $post_id; $commenter = wp_get_current_commenter(); $user = wp_get_current_user(); $user_identity = $user->exists() ? $user->display_name : ''; $args = wp_parse_args( $args ); if ( ! isset( $args['format'] ) ) $args['format'] = current_theme_supports( 'html5', 'comment-form' ) ? 'html5' : 'xhtml'; $req = get_option( 'require_name_email' ); $aria_req = ( $req ? " aria-required='true'" : '' ); $html5 = 'html5' === $args['format']; $fields = array( 'author' => '<p class="comment-form-author">' . '<label for="author">' . __( 'Name','sportcenter' ) . ( $req ? ' <span class="required">*</span>' : '' ) . '</label> ' . '<input id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30"' . $aria_req . ' /></p>', 'email' => '<p class="comment-form-email"><label for="email">' . __( 'Email','sportcenter' ) . ( $req ? ' <span class="required">*</span>' : '' ) . '</label> ' . '<input id="email" name="email" ' . ( $html5 ? 'type="email"' : 'type="text"' ) . ' value="' . esc_attr( $commenter['comment_author_email'] ) . '" size="30"' . $aria_req . ' /></p>', 'url' => '<p class="comment-form-url"><label for="url">' . __( 'Website','sportcenter' ) . '</label> ' . '<input id="url" name="url" ' . ( $html5 ? 'type="url"' : 'type="text"' ) . ' value="' . esc_attr( $commenter['comment_author_url'] ) . '" size="30" /></p>', ); $required_text = sprintf( ' ' . __('Required fields are marked %s','sportcenter' ), '<span class="required">*</span>' ); /** * Filter the default comment form fields. * * @since 3.0.0 * * @param array $fields The default comment fields. */ $fields = apply_filters( 'comment_form_default_fields', $fields ); $defaults = array( 'fields' => $fields, 'comment_field' => '<p class="comment-form-comment"><label for="comment">' . __( 'Comment', 'sportcenter' ) . '</label> <textarea id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea></p>', 'must_log_in' => '<p class="must-log-in">' . sprintf( __( 'You must be <a href="%s">logged in</a> to post a comment.' ,'sportcenter' ), wp_login_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ) . '</p>', 'logged_in_as' => '<p class="logged-in-as">' . sprintf( __( 'Logged in as <a href="%1$s">%2$s</a>. <a href="%3$s" title="Log out of this account">Log out?</a>','sportcenter'), get_edit_user_link(), $user_identity, wp_logout_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) ) ) . '</p>', 'comment_notes_before' => '<p class="comment-notes">' . __( 'Your email address will not be published.','sportcenter' ) . ( $req ? $required_text : '' ) . '</p>', 'comment_notes_after' => '', 'id_form' => 'commentform', 'id_submit' => 'submit', 'title_reply' => esc_html__( 'Leave a Reply','sportcenter' ), 'title_reply_to' => esc_html__( 'Leave a Reply to %s','sportcenter' ), 'cancel_reply_link' => esc_html__( 'Cancel reply','sportcenter' ), 'label_submit' => esc_html__( 'Submit ›' ,'sportcenter'), 'format' => 'xhtml', ); /** * Filter the comment form default arguments. * * Use 'comment_form_default_fields' to filter the comment fields. * * @since 3.0.0 * * @param array $defaults The default comment form arguments. */ $args = wp_parse_args( $args, apply_filters( 'comment_form_defaults', $defaults ) ); ?> <?php if ( comments_open( $post_id ) ) : ?> <?php /** * Fires before the comment form. * * @since 3.0.0 */ do_action( 'comment_form_before' ); ?> <div id="respond" class="comment-respond"> <div class="author-current"> <?php $user_ID = get_current_user_id(); if(isset($__check_retina) && $__check_retina){ echo get_avatar( $comment, 80); } else { echo get_avatar( $user_ID,80); } ?> </div> <h3 id="reply-title" class="comment-reply-title"><?php comment_form_title( $args['title_reply'], $args['title_reply_to'] ); ?> <small><?php cancel_comment_reply_link( $args['cancel_reply_link'] ); ?></small></h3> <?php if ( get_option( 'comment_registration' ) && !is_user_logged_in() ) : ?> <?php echo wp_kses_post($args['must_log_in']); ?> <?php /** * Fires after the HTML-formatted 'must log in after' message in the comment form. * * @since 3.0.0 */ do_action( 'comment_form_must_log_in_after' ); ?> <?php else : ?> <form action="<?php echo site_url( '/wp-comments-post.php' ); ?>" method="post" id="<?php echo esc_attr( $args['id_form'] ); ?>" class="comment-form"<?php if($html5){?> novalidate <?php } ?>> <?php /** * Fires at the top of the comment form, inside the <form> tag. * * @since 3.0.0 */ do_action( 'comment_form_top' ); ?> <?php if ( is_user_logged_in() ) : ?> <?php /** * Filter the 'logged in' message for the comment form for display. * * @since 3.0.0 * * @param string $args['logged_in_as'] The logged-in-as HTML-formatted message. * @param array $commenter An array containing the comment author's username, email, and URL. * @param string $user_identity If the commenter is a registered user, the display name, blank otherwise. */ echo apply_filters( 'comment_form_logged_in', $args['logged_in_as'], $commenter, $user_identity ); ?> <?php /** * Fires after the is_user_logged_in() check in the comment form. * * @since 3.0.0 * * @param array $commenter An array containing the comment author's username, email, and URL. * @param string $user_identity If the commenter is a registered user, the display name, blank otherwise. */ do_action( 'comment_form_logged_in_after', $commenter, $user_identity ); ?> <?php else : ?> <?php echo wp_kses_post($args['comment_notes_before']); ?> <?php /** * Fires before the comment fields in the comment form. * * @since 3.0.0 */ do_action( 'comment_form_before_fields' ); /** * Fires after the comment fields in the comment form. * * @since 3.0.0 */ do_action( 'comment_form_after_fields' ); ?> <?php endif; ?> <?php /** * Filter the content of the comment textarea field for display. * * @since 3.0.0 * * @param string $args['comment_field'] The content of the comment textarea field. */ echo apply_filters( 'comment_form_field_comment', $args['comment_field'] ); ?> <?php echo wp_kses_post($args['comment_notes_after']); if (!is_user_logged_in() ) : foreach ( (array) $args['fields'] as $name => $field ) { /** * Filter a comment form field for display. * * The dynamic portion of the filter hook, $name, refers to the name * of the comment form field. Such as 'author', 'email', or 'url'. * * @since 3.0.0 * * @param string $field The HTML-formatted output of the comment form field. */ echo apply_filters( "comment_form_field_{$name}", $field ) . "\n"; } endif; ?> <p class="form-submit"> <input name="submit" type="submit" id="<?php echo esc_attr( $args['id_submit'] ); ?>" value="<?php echo esc_attr( $args['label_submit'] ); ?>" /> <?php comment_id_fields( $post_id ); ?> </p> <?php /** * Fires at the bottom of the comment form, inside the closing </form> tag. * * @since 1.5.2 * * @param int $post_id The post ID. */ do_action( 'comment_form', $post_id ); ?> </form> <?php endif; ?> </div><!-- #respond --> <?php /** * Fires after the comment form. * * @since 3.0.0 */ do_action( 'comment_form_after' ); else : /** * Fires after the comment form if comments are closed. * * @since 3.0.0 */ do_action( 'comment_form_comments_closed' ); endif; } } //end if ( ! function_exists( 'leafcolor_entry_meta' ) ) : /** * Prints HTML with meta information for current post: categories, tags, permalink, author, and date. * * Create your own leafcolor_entry_meta() to override in a child theme. */ function leafcolor_entry_meta() { // Translators: used between list items, there is a space after the comma. $categories_list = get_the_category_list( __( ', ', 'sportcenter' ) ); // Translators: used between list items, there is a space after the comma. $tag_list = get_the_tag_list( '', __( ', ', 'sportcenter' ) ); $date = sprintf( '<a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s">%4$s</time></a>', esc_url( get_permalink() ), esc_attr( get_the_time() ), esc_attr( get_the_date( 'c' ) ), esc_html( date_i18n(get_option('date_format') ,strtotime(get_the_date())) ) ); $author = sprintf( '<span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s" rel="author">%3$s</a></span>', esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), esc_attr( sprintf( __( 'View all posts by %s', 'sportcenter' ), get_the_author() ) ), get_the_author() ); // Translators: 1 is category, 2 is tag, 3 is the date and 4 is the author's name. if ( $tag_list ) { $utility_text = __( 'This entry was posted in %1$s and tagged %2$s on %3$s<span class="by-author"> by %4$s</span>.', 'sportcenter' ); } elseif ( $categories_list ) { $utility_text = __( 'This entry was posted in %1$s on %3$s<span class="by-author"> by %4$s</span>.', 'sportcenter' ); } else { $utility_text = __( 'This entry was posted on %3$s<span class="by-author"> by %4$s</span>.', 'sportcenter' ); } printf( $utility_text, $categories_list, $tag_list, $date, $author ); } endif; /** * Add postMessage support for site title and description for the Theme Customizer. * * @since Twenty Twelve 1.0 * * @param WP_Customize_Manager $wp_customize Theme Customizer object. * @return void */ function leafcolor_customize_register( $wp_customize ) { $wp_customize->get_setting( 'blogname' )->transport = 'postMessage'; $wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage'; } add_action( 'customize_register', 'leafcolor_customize_register' ); /** * Binds JS handlers to make Theme Customizer preview reload changes asynchronously. * * @since Twenty Twelve 1.0 */ function leafcolor_customize_preview_js() { wp_enqueue_script( 'leafcolor-customizer', get_template_directory_uri() . '/js/theme-customizer.js', array( 'customize-preview' ), '20120827', true ); } add_action( 'customize_preview_init', 'leafcolor_customize_preview_js' ); if(!function_exists('get_dynamic_sidebar')){ function get_dynamic_sidebar($index = 1){ $sidebar_contents = ""; ob_start(); dynamic_sidebar($index); $sidebar_contents = ob_get_clean(); return $sidebar_contents; } }
Close