403Webshell
Server IP : 112.74.42.100  /  Your IP : 216.73.216.142
Web Server : nginx/1.20.2
System : Linux iZwz96lx4pjqiy84w4hni7Z 5.10.134-17.3.al8.x86_64 #1 SMP Thu Oct 31 14:29:57 CST 2024 x86_64
User : www ( 1000)
PHP Version : 8.0.26
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 : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /www/wwwroot/sanxuany.cn/wp-content/themes/WebStack-1.1824/templates/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/wwwroot/sanxuany.cn/wp-content/themes/WebStack-1.1824/templates/bulletin.php
<?php 
/*
 * @Theme Name:WebStack
 * @Theme URI:https://www.iotheme.cn/
 * @Author: iowen
 * @Author URI: https://www.iowen.cn/
 * @Date: 2019-02-22 21:26:02
 * @LastEditors: iowen
 * @LastEditTime: 2021-08-22 23:05:51
 * @FilePath: \WebStack\templates\bulletin.php
 * @Description: 
 */
if ( ! defined( 'ABSPATH' ) ) { exit; } ?>
<?php if( io_get_option('bulletin')) : ?>
<div id="bulletin_box" class="panel">
    <div class="d-flex text-muted">
		<div><i class="fa fa-volume-up" style="line-height:25px"></i></div>
        <div class="bulletin mx-1 mx-md-2">
            <ul class="bulletin-ul">
				<?php 
					$args = array(
						'post_type' => 'bulletin', 
						'posts_per_page' => io_get_option('bulletin_n')
					);
					query_posts($args); while ( have_posts() ) : the_post();
				?>
				<?php the_title( sprintf( '<li class="scrolltext-title overflowClip_1"><a href="%s" rel="bulletin">', esc_url( get_permalink() ) ), '</a> ('. get_the_time('m/d').')</li>' ); ?>
				<?php endwhile; ?>
				<?php wp_reset_query(); ?>
            </ul>
		</div>
        <a title="关闭" href="javascript:;" rel="external nofollow"  onClick="$('#bulletin_box').slideUp('slow');" style="margin-left:auto"><i class="fa fa-remove" style="line-height:25px"></i></a>
    </div>
</div>
<script> 
$(document).ready(function(){ 
	var ul = $(".bulletin-ul");
	var li = ul.children();
	if(li.length > 1){
		var liHight = $(li[0]).height();
		setInterval('AutoScroll(".bulletin",'+liHight+')',4000);
	}
});
function AutoScroll(obj,hight){ 
    $(obj).find("ul:first").animate({marginTop:"-"+hight+"px"},500,function(){ 
        $(this).css({marginTop:"0px"}).find("li:first").appendTo(this); 
    }); 
} 
</script>
<?php endif; ?> 

Youez - 2016 - github.com/yon3zu
LinuXploit