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/ |
Upload File : |
<?php
use B2\Modules\Common\Post;
/**
* 文章内容页
*/
$post_id = get_the_id();
$post_meta = Post::post_meta($post_id);
$excerpt = get_post_field('post_excerpt');
?>
<article class="single-article b2-radius box">
<?php do_action('b2_single_article_before'); ?>
<header class="entry-header">
<div class="mg-b">
<?php echo B2\Modules\Templates\Modules\Posts::get_post_cats('target="__blank"',$post_meta,array('cats'),'post_3'); ?>
</div>
<h1><?php echo get_the_title(); ?></h1>
<div id="post-meta">
<ul class="post-meta">
<li class="single-date">
<?php echo $post_meta['date']; ?>
</li>
<li class="single-like">
<?php echo b2_get_icon('b2-heart-fill'); ?><span v-text="postData.up"></span>
</li>
<li class="single-eye">
<?php echo b2_get_icon('b2-eye-fill'); ?><span v-text="postData.views"></span>
</li>
</ul>
<div class="post-user-info">
<div class="post-meta-left">
<div class="avatar-parent"><img class="avatar b2-radius" src="<?php echo $post_meta['user_avatar']; ?>" /><?php echo $post_meta['user_title'] ? $post_meta['verify_icon'] : ''; ?></div>
<div class="post-user-name"><a class="" href="<?php echo $post_meta['user_link']; ?>"><?php echo $post_meta['user_name']; ?></a><span class="user-title"><?php echo $post_meta['user_title']; ?></span></div>
</div>
<div class="post-meta-right">
<div class="" v-if="self == false" v-cloak>
<button @click="followingAc" class="author-has-follow" v-if="following"><?php echo __('取消关注','b2'); ?></button>
<button @click="followingAc" v-else><?php echo b2_get_icon('b2-add-line').__('关注','b2'); ?></button>
<button class="empty" @click="dmsg()"><?php echo __('私信','b2'); ?></button>
</div>
</div>
</div>
</div>
</header>
<div class="entry-content">
<?php do_action('b2_single_post_content_before'); ?>
<?php if($excerpt){ ?>
<div class="content-excerpt">
<?php echo get_the_excerpt(); ?>
</div>
<?php } ?>
<?php the_content(); ?>
<?php do_action('b2_single_post_content_after'); ?>
</div>
<?php do_action('b2_single_article_after'); ?>
</article>