HEX
Server: nginx/1.28.1
System: Linux 10-41-63-61 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64
User: www (1001)
PHP: 7.4.33
Disabled: 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
Upload Files
File: //www/备份的/www.zgesad.info/js/main.js


TouchSlide({
    slideCell:"#picScroll",
    titCell:".hd ul", //开启自动分页 autoPage:true ,此时设置 titCell 为导航元素包裹层
    autoPage:true, //自动分页
    pnLoop:"false", // 前后按钮不循环
    switchLoad:"_src", //切换加载,真实图片路径为"_src"
    effect:"leftLoop"
});

$(function(){
    $(".m-menu .tit").click(function(){
        $(".m-menu .tit span").toggleClass("mm").siblings(".m-menu .tit span").removeClass("mm")
        // 修改数字控制速度, slideUp(500)控制卷起速度
        $(".m-con").animate({
            height:'toggle'
        });
    })
})


$(function(){
    $(".subNav").click(function(){
        $(this).toggleClass("currentDd").siblings(".subNav").removeClass("currentDd")
        $(this).toggleClass("currentDt").siblings(".subNav").removeClass("currentDt")

        // 修改数字控制速度, slideUp(500)控制卷起速度
        $(this).next(".navContent").slideToggle(500).siblings(".navContent").slideUp(500);
    })
})




$(".sea").click(function () {
    $(".sea-con").animate({
        height:'toggle'
    });
});
$(".menu").click(function () {
    $(".menu-con").animate({
        height:'toggle'
    });
});


$("#top").click(function(){$("body,html").animate({scrollTop:0},1000)});

$(function(){
    $('.messageBtn').click(function(E){
        E.preventDefault();
        $(this).parents('form').submit();
    });

    $('.messageReplyBtn').click(function(E){
        E.preventDefault();
        $(this).parents('form.messageReplyFrom').submit();
    });

    $(".searchBtn").click(function(E){
        E.preventDefault();
        $(this).parents('form').submit();
    });
});
$('.aqdiantl').click(function(){
		 $(this).next('.aqdianb').slideToggle();
		 $(this).toggleClass('aqdiantlh');
	});
	
// 計算點擊次數
function update_click_num(url_return, id){
	$.ajax({
		'type' : 'post',
		'url' : '/contact/update_click_num',
		'data' : {
			'id' : id,
		},
		'dataType' : 'json',
		'success' : function () {
			document.location.href=url_return;
		},'eroor' :	function () {
			document.location.href=url_return;
		}
	});
}