403Webshell
Server IP : 43.141.49.119  /  Your IP : 113.219.202.173
Web Server : Apache
System : Linux VM-8-5-opencloudos 6.6.34-9.oc9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jun 19 19:35:45 CST 2024 x86_64
User : www ( 1000)
PHP Version : 8.1.27
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /www/wwwroot/www.ucppt.com/wp-content/plugins/wpcom-member/templates/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/wwwroot/www.ucppt.com/wp-content/plugins/wpcom-member/templates/comment.php
<?php defined( 'ABSPATH' ) || exit;?>
<li class="comment-item">
    <div class="comment-item-meta">
        <?php
        $time = strtotime($comment->comment_date_gmt);
        $t = time() - $time;
        $f = array( '86400', '3600', '60', '1' );
        $human_time = '';
        if($t==0) {
            $human_time = __('1 second ago', WPMX_TD);
        } else if( $t >= 604800 || $t < 0) {
            $human_time = date(get_option('date_format'), strtotime($comment->comment_date));
        } else {
            foreach ( $f as $k ) {
                if ( 0 != $c=floor($t/(int)$k) ) {
                    $is_human_time = true;
                    break;
                }
            }

            if(isset($is_human_time) && $is_human_time) {
                $strs = array(
                    /* translators: %s: days */
                    '86400' => sprintf(_n('%s day ago', '%s days ago', $c, WPMX_TD), $c),
                    /* translators: %s: hours */
                    '3600' => sprintf(_n('%s hour ago', '%s hours ago', $c, WPMX_TD), $c),
                    /* translators: %s: minutes */
                    '60' => sprintf(_n('%s minute ago', '%s minutes ago', $c, WPMX_TD), $c),
                    /* translators: %s: seconds */
                    '1' => sprintf(_n('%s second ago', '%s seconds ago', $c, WPMX_TD), $c)
                );
                $human_time = $strs[$k];
            }
        }
        /* translators: %1$s: post url html tag, %2$s: post title, %3$s: close post url html tag */ ?>
        <span class="comment-item-time"><?php wpmx_icon('comments-fill'); echo esc_html($human_time);?></span> <span><?php printf(esc_html__('On %1$s %2$s %3$s', WPMX_TD), '<a target="_blank" href="'.esc_url(get_permalink($comment->comment_post_ID)).'">', esc_attr(get_the_title($comment->comment_post_ID)), '</a>' ); ?></span>
    </div>
    <div class="comment-item-link">
        <a target="_blank" href="<?php echo esc_url(get_comment_link( $comment->comment_ID )); ?>">
            <?php echo wp_kses_post(get_comment_excerpt( $comment->comment_ID )); ?>
        </a>
    </div>
</li>

Youez - 2016 - github.com/yon3zu
LinuXploit