extends/ex_fun.php

(开头部分) 1KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<?php
function myDiy($str){
	echo myDiy();
}
 
if(!function_exists("checkSafeContent")){
	function checkSafeContent(){
		
	}
	function checkSafeFile($file){
		
	}
}
 
function pay_type_list($moneypay=1,$un=array()){
	$data=array();
	 
	if(!INWEIXIN && ALIPAY){
		$data['alipay']="支付宝";
	}
	if(MONEYPAY && $moneypay){
		$data['moneypay']='余额支付';
	}
	if(INWEIXIN && WXPAY){
		$data['wxpay']="微信支付";
	}
	
 
	
	if(!empty($un)){
		$data=array_diff_key($data,$un);
	}
	return $data;
}
function hex2rgb($hexColor) {
		$hexColor=$color = str_replace('#', '', $hexColor);
		if (strlen($color) > 3) {
			$rgb = array(
				'r' => hexdec(substr($color, 0, 2)),
				'g' => hexdec(substr($color, 2, 2)),
				'b' => hexdec(substr($color, 4, 2))
			);
		} else {
			$color = $hexColor;
			$r = substr($color, 0, 1) . substr($color, 0, 1);
			$g = substr($color, 1, 1) . substr($color, 1, 1);
			$b = substr($color, 2, 1) . substr($color, 2, 1);
			$rgb = array(
				'r' => hexdec($r),
				'g' => hexdec($g),
				'b' => hexdec($b)
			);
		}
		return $rgb;
	}
	
function gps_set($lat,$lng){
	setcookie("ck_latlng",$lat."-".$lng,time()+3600*24*14,"/",DOMAIN);
}

后面还有 28 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。