AVRIL_START_JANCOKALIVEAVRIL_END_JANCOK
| Server IP : dzynews.com / Your IP : 216.73.217.105 Web Server : nginx/1.30.3 System : Linux cloud-tdkldl-avd6 5.15.0-91-generic #101-Ubuntu SMP Tue Nov 14 13:30:08 UTC 2023 x86_64 User : www ( 1000) PHP Version : 8.2.31 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 : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wwwroot/dzynews.com/wp-content/themes/archive-document/User/ |
Upload File : |
<?php
use B2\Modules\Common\Comment;
$user_id = get_query_var('author');
$paged = get_query_var('b2_paged');
$paged = $paged ? $paged : 1;
$number = 10;
$pagename = get_query_var('b2_user_page');
$data = Comment::get_user_comment_list(array('user_id'=>$user_id,'paged'=>$paged,'number'=>$number));
?>
<div class="author-comment-list">
<div class="box b2-radius b2-pd mg-b">
<ul>
<?php
if(empty($data['data'])){
echo B2_EMPTY;
}else{
foreach ($data['data'] as $k => $v) {
?>
<li>
<div class="author-comment-date"><?php echo $v['comment_date']; ?></div>
<div class="author-comment-content b2-radius">
<?php if($v['comment_img']){ ?><div class="comment-img-box"><img class="comment-img b2-radius" src="<?php echo $v['comment_img']; ?>" /></div><?php } ?>
<div class="author-comment-content-text"><?php echo $v['comment_content']; ?></div>
</div>
<div class="author-comment-post"><a href="<?php echo $v['post_link'];?>"><?php echo b2_get_icon('b2-external-link-line').$v['post_title']; ?></a></div>
</li>
<?php
}
}
?>
</ul>
</div>
<?php if(ceil($data['count']/$number) > 0){ ?>
<div class="b2-pagenav author-comment box b2-radius b2-pd" ref="authorCommentSettings" data-settings='<?php echo json_encode(array('user_id'=>$user_id,'paged'=>$paged,'number'=>$number),true); ?>'>
<page-nav ref="commentPageNav" paged="<?php echo $paged; ?>" navtype="authorComments" pages="<?php echo ceil($data['count']/$number); ?>" type="p" :box="selecter" :opt="options" :api="api" url="<?php echo get_author_posts_url($user_id).'/'.$pagename; ?>" title=""></page-nav>
</div>
<?php } ?>
</div>