Uname: Linux yisu-647059427c03a 3.10.0-862.14.4.el7.x86_64 #1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64
Software: nginx/1.22.1
PHP version: 7.3.31 [ PHP INFO ] PHP os: Linux
Server Ip: 103.146.158.90
Your Ip: 216.73.216.141
User: www (1000) | Group: www (1000)
Safe Mode: OFF
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

name : main.js.下载
jQuery(document).ready(function($){
     
	//nav 
	$("#mnavh").click(function() {
        $("#starlist").toggle();
        $("#mnavh").toggleClass("open");
        $(".sub").hide();
        //$(".sub").first().show();
    });
			
    // var obj=null;
    // var As=document.getElementById('starlist').getElementsByTagName('a');
    // obj = As[0];
    // for(i=1;i<As.length;i++){if(window.location.href.indexOf(As[i].href)>=0)
    // obj=As[i];}
    // obj.id='selected';
	
	 $(window).scroll(function() {
        var h = $("body").height() - window.getHeight();
        //console.log(h);
        if ($(window).scrollTop() > 28 && h > 120) {
            $(".topnav").addClass("is-fixed").find("").fadeOut(400);			
		

        } else if ($(window).scrollTop() < 28) {
            $(".topnav").removeClass("is-fixed").find("").fadeIn(400);
		

        }
    });
 
	


  //nav menu
  
  $(".menu").click(function(event) {	
  $(this).children('.sub').slideToggle();
  $(this).siblings('.menu').children('.sub').slideUp('');	
   event.stopPropagation()
   });
   $(".menu a").click(function(event) {
   event.stopPropagation(); 
   });
   $(".sub li").click(function(event) {
   event.stopPropagation(); 
   });
	
	//toolbar	
	$(".toolbar-open").click(function(){
	$(".toolbar-open").addClass("openviewd");
	$(".toolbar").addClass("closed");
	});
	
    $("#closed").click(function(){
	$(".toolbar-open").removeClass("openviewd");
	$(".toolbar").removeClass("closed");
	});	
	

	
	    //scroll to top
        var offset = 300,
        offset_opacity = 1200,
        scroll_top_duration = 700,
        $back_to_top = $('.icon-top');
		
    $(window).scroll(function () {
        ($(this).scrollTop() > offset) ? $back_to_top.addClass('cd-is-visible') : $back_to_top.removeClass('cd-is-visible cd-fade-out');
        if ($(this).scrollTop() > offset_opacity) {
            $back_to_top.addClass('cd-fade-out');
        }
    });
   
    $back_to_top.on('click', function (event) {
        event.preventDefault();
        $('body,html').animate({
                scrollTop: 0,
            }, scroll_top_duration
        );
    });
	
	
//search
	$(".is-search").click(function() {
        $(".search-page").toggle();
    });	
	$(".go-left").click(function() {
        $(".search-page").toggle();
    });
	


 $(".endmenu li a").each(function(){
       $this = $(this);
       if($this[0].href==String(window.location)){
        $this.parent().addClass("act");
      }    
  });


  $('.input_submit').click(function(event){
    event.preventDefault();
    var val = $('.input_text').val() ? $('.input_text').val() : $('.input_text').eq(1).val()
    window.location.href= "/s.html?keywords="+val
})	

	
	
	
});

    window.getHeight = function() {
    if (window.innerHeight != undefined) {
        return window.innerHeight;
    } else {
        var B = document.body
          , D = document.documentElement;
        return Math.min(D.clientHeight, B.clientHeight);
    }
}




© 2026 GrazzMean