webmain/public/fileopen.html

(开头部分) 3KB

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

<html lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title><?=$da['filename']?></title>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/js.js"></script>
<style>
pre span{color:#999999}
pre font{color:blue}
table {
  border-spacing: 0;
  border-collapse: collapse;
}
</style>
<script>
var fileext ='<?=$da['fileext']?>';
function resize(){
	var hei = winHb()-40;
	$('#lineheihtss').css('height',''+hei+'px');
	
	$('#content').css('height',''+(hei-10)+'px');
	$('#content').css('width',''+(winWb()-62)+'px');
}
function initbody(){
	resize();
	$(window).resize(resize);
	$('#content').scroll(scrollss);
	
	var cont = get('content').innerHTML;
	var arr = cont.split("\n"),i,s1='';
	for(i=0;i<arr.length;i++){
		if(i>0)s1+='<br>';
		s1+=''+(i+1)+'';
	}
	$('#lineheiht').html(s1+'<br>&nbsp;');
	
	var sphe = ',php,js,java,';

	if(sphe.indexOf(','+fileext+',')>-1){
		var rNote = /(\/\*(.|\s)*?\*\/)/g;
		var emu		= cont.match(rNote),st1;
		if(emu != null){
			for(i=0;i<emu.length; i++){
				st1=emu[i];
				cont = cont.replace(st1,'<span>'+st1+'</span>');
			}
		}
		get('content').innerHTML=phpjcq(cont,fileext);
	}
	if(fileext=='conf')confini(cont,'#');
	if(fileext=='ini')confini(cont,';');
}
function phpjcq(cont, lx){
	if(lx=='php'){
		var jcz = 'include_once,$_GET,isset,unset,explode,foreach,isempt,if,else,extends,require,public,function,protected,array,return,echo,private,exit,is_numeric,property_exists,this'.split(','),i,reg;
		for(i=0;i<jcz.length;i++){
			reg = new RegExp(jcz[i], 'g');
			cont = cont.replace(reg,'<font>'+jcz[i]+'</font>');
		}
后面还有 54 行代码,购买后查看完整代码

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

AI 解读 AI

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

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