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/TempParts/Links/ |
Upload File : |
<?php
use B2\Modules\Templates\Modules\Links;
use B2\Modules\Common\Links as LinkAction;
b2_redirect_404('links');
$term = get_queried_object();
$term_id = $term->term_id;
$paged = get_query_var('paged');
$paged = $paged ? $paged : 1;
get_header();
$opt = LinkAction::get_default_settings($term_id);
$opt['post_paged'] = $paged;
$html = new Links();
$data = $html->init($opt,0);
?>
<div class="b2-single-content wrapper">
<div id="links" class="content-area links wrapper">
<main id="main" class="site-main">
<div id="primary-home" class="content-area">
<?php if(!$data && !$opt['link_show_children']){ ?>
<div class="box" style="width:100%"><?php echo B2_EMPTY; ?></div>
<?php }else{
echo '<div class="link-breadcrumb b2-hover mg-b">'.LinkAction::link_breadcrumb().'</div>'.$data;
$childrens = LinkAction::get_children_cat($term_id,-1);
if(!empty($childrens) && $opt['link_show_children']){
foreach ($childrens as $k => $v) {
$html = new Links();
$arg = LinkAction::get_default_settings($v->term_id);
echo $html->init($arg,$k+1);
}
}
} ?>
</div>
</main>
</div>
</div>
<?php
get_footer();