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\User;
$user_id = get_query_var('author');
$paged = get_query_var('b2_paged');
$pagename = get_query_var('b2_user_page');
$sub = get_query_var('b2_user_page_sub');
$sub = $sub ? $sub : 'post';
$paged = $paged ? $paged : 1;
$collections = User::get_user_favorites_list($user_id,$paged,15,$sub);
$post_type = b2_post_types();
if(!b2_get_option('newsflashes_main','newsflashes_open')){
unset($post_type['newsflashes']);
}
if(!b2_get_option('shop_main','shop_open')){
unset($post_type['shop']);
}
if(!b2_get_option('circle_main','circle_open')){
unset($post_type['circle']);
}
if(!b2_get_option('ask_main','ask_open')){
unset($post_type['ask']);
}
if(!b2_get_option('infomation_main','infomation_open')){
unset($post_type['infomation']);
}
?>
<div class="collections-menu box b2-radius mg-b">
<ul>
<?php
foreach ($post_type as $k => $v) {
?>
<li><a class="<?php if($sub == $k) echo 'current'; ?> b2-radius" href="<?php echo get_author_posts_url($user_id).'/'.$pagename.'/'.$k; ?>"><?php echo $v; ?></a></li>
<?php
}
?>
</ul>
</div>
<div class="author-follow" id="author-collections" ref="authorFollow" data-paged="<?php echo $paged; ?>" data-sub="<?php echo $sub; ?>" data-pages="<?php echo $collections['pages']; ?>">
<ul class="collections-post-list box b2-radius b2-pd">
<div class="button empty b2-loading empty-page text"></div>
</ul>
<div class="b2-pagenav" v-show="pages > 0">
<page-nav ref="commentPageNav" paged="<?php echo $paged; ?>" navtype="authorComments" pages="<?php echo $collections['pages']; ?>" type="p" box=".author-follow ul" :opt="options" :api="api" url="<?php echo get_author_posts_url($user_id).'/'.$pagename.'/'.$sub; ?>" title=""></page-nav>
</div>
</div>