如何解密eval(base64_decode(,被天书难住了,求高手解答 ,谢了
发布网友
发布时间:2022-06-04 17:44
我来回答
共1个回答
热心网友
时间:2023-10-30 03:15
function get_UId_by_CateId($CateId,$TB='proct_category'){global $db;$UId=$db->get_value($TB,"CateId='$CateId'",'UId');return $UId?$UId.$CateId.',':'-1,-1,';}
function get_FUId_by_UId($UId){$arr_UId=explode(',',$UId);array_pop($arr_UId);array_pop($arr_UId);$UId=implode(',',$arr_UId).',';return $UId;}
function get_CateId_by_UId($UId){$arr_UId=explode(',',$UId);$CateId=$arr_UId[count($arr_UId)-2];return $CateId;}
function get_top_CateId_by_UId($UId){$arr_UId=explode(',',$UId);return $arr_UId[1];}
function get_search_where_by_CateId($CateId,$TB='proct_category'){$allCateId=get_AllSubCateId_by_UId(get_UId_by_CateId($CateId,$TB),$TB).','.$CateId;return"CateId in($allCateId)";}
function get_station_path($str,$category='',$TB='proct_category',$pchar=' > '){global $db;if(substr($str,0,2)=='0,'){$UId=$str;$where="CateId in({$str}0)";}else{$UId=get_UId_by_CateId($str,$TB);$where="CateId in({$UId}0)";}
if(!is_array($category)){$cate_ary=$db->get_all($TB,$where);for($i=0;$i<count($cate_ary);$i++){$all_category[$cate_ary[$i]['CateId']]=$cate_ary[$i];}}
$arr_UId=@explode(',',$UId);$station_path='';for($i=1;$i<count($arr_UId)-1;$i++){$url=get_url($TB,$all_category[$arr_UId[$i]]);$station_path.="$pchar<a href='$url'>{$all_category[$arr_UId[$i]]['Category']}</a>";}
return $station_path;}
参考资料:完整版:http://1000eb.com/ei7h