代码拉取完成,页面将自动刷新
同步操作将从 Birth/栀子花授权系统 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
<?php
$is_defend=true;
include_once './includes/common.php';
$addsalt=md5(mt_rand(0,999).TIMESTAMP);
@header('Content-Type: text/html; charset=UTF-8');
$_SESSION['addsalt']=$addsalt;
include_once(SYSTEM_ROOT."hieroglyphy.class.php");
$x = new hieroglyphy();
$addsalt_js = $x->hieroglyphyString($addsalt);
if($conf['cdnserver']==1){
$cdnserver = '//cdn.qqzzz.net/';
}else{
$cdnserver = null;
}
if($conf['ui_bing']==1){
$background_image='//cdn.qqzzz.net/assets/img/background/'.rand(1,19).'.jpg';
$conf['ui_background']=3;
}elseif($conf['ui_bing']==2){
if(date("Ymd")==$conf['ui_bing_date']){
$background_image=$conf['ui_backgroundurl'];
if(checkmobile()==true)$background_image=str_replace('1920x1080','768x1366',$background_image);
}else{
$url = 'http://cn.bing.com/HPImageArchive.aspx?format=js&idx=0&n=1';
$bing_data = get_curl($url);
$bing_arr=json_decode($bing_data,true);
if (!empty($bing_arr['images'][0]['url'])) {
$background_image='//cn.bing.com'.$bing_arr['images'][0]['url'];
saveSetting('ui_backgroundurl', $background_image);
saveSetting('ui_bing_date', date("Ymd"));
$CACHE->clear();
if(checkmobile()==true)$background_image=str_replace('1920x1080','768x1366',$background_image);
}
}
$conf['ui_background']=3;
}else{
$background_image='assets/img/bj.png';
}
if($conf['ui_background']==0)
$repeat='background-repeat:repeat;';
elseif($conf['ui_background']==1)
$repeat='background-repeat:repeat-x;
background-size:auto 100%;';
elseif($conf['ui_background']==2)
$repeat='background-repeat:repeat-y;
background-size:100% auto;';
elseif($conf['ui_background']==3)
$repeat='background-repeat:no-repeat;
background-size:100% 100%;';
if($conf['maintain_open']==1){
sysmsge('当前站点维护中,请谅解',true);
}else{
$mod = isset($_GET['mod'])?$_GET['mod']:'index';
$loadfile = Template::load($mod);
include $loadfile;
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。