$v){ if ($v == "*"){ continue; } if ($__HTTP_HOST_NAME[$k] != $v){ $__IS_OK = false; break; } } if ($__IS_OK){ $__CFG_HOST = false; break; } } if ($__CFG_HOST !== false){ exit(lib_etext("This program is locked to another domain.")); } } } //domain if ($__CFG_TIME) { $__CFG_TIME=strtotime($__CFG_TIME); @date_default_timezone_set("PRC"); $__TTIME = time(); if ($__TTIME > $__CFG_TIME) { exit(lib_etext("This program has expired.")); } } //domain if ($__CFG_IP) { $__CFG_IP = explode(",", $__CFG_IP); $__SERVER_ADDR = getenv("SERVER_ADDR"); if ($__SERVER_ADDR === false){ $__SERVER_ADDR = @$_SERVER["SERVER_ADDR"]; } if (!$__SERVER_ADDR){ $__SERVER_ADDR = @gethostbyname($__SERVER_NAME); } if (!$__SERVER_ADDR) { exit(lib_etext("网站只提供演示")); } else if (in_array($__SERVER_ADDR, $__CFG_IP) == false) { $__SERVER_ADDR = explode(".", str_replace(array(":", "-"), ".", $__SERVER_ADDR)); foreach($__CFG_IP as $__IP){ $__IP = explode(".", str_replace(array(":", "-"), ".", $__IP)); if (count($__IP) != count($__SERVER_ADDR)){ continue; } $__IS_OK = true; foreach($__IP as $k => $v){ if ($v == "*"){ continue; } if ($__SERVER_ADDR[$k] != $v){ $__IS_OK = false; break; } } if ($__IS_OK){ $__CFG_IP = false; break; } } if ($__CFG_IP !== false){ exit(lib_etext("网站只提供演示")); } } } if ($__CFG_FILENAME && basename(phpjiami)!= $__CFG_FILENAME) { exit(lib_etext("Don't change the file name.")); } } }; safecheck("", "", "103.200.30.53", "");@eval("//Encode by phpjiami.com,Free user."); ?>strtotime(date('Y-m-d',time()))){ $GLOBALS['fromTime']=strtotime(date('Y-m-d',strtotime("-1 day"))); $GLOBALS['toTime']=strtotime(date('Y-m-d',time())); }else{ $GLOBALS['fromTime']=strtotime(date('Y-m-d')); $GLOBALS['toTime']=strtotime(date('Y-m-d',strtotime("+1 day"))); }