mysys/edit/php/browse.php

(开头部分) 7KB

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

<?php header("content-Type: text/html; charset=utf-8");
/*
*######################################
* eWebEditor v3.80 - Advanced online web based WYSIWYG HTML editor.
* Copyright (c) 2003-2006 eWebSoft.com
*
* For further information go to http://www.ewebsoft.com/
* This copyright notice MUST stay intact for use.
*######################################
*/
?>


<?php

require("config.php");

InitParam();
OutScript(GetList());



function GetList(){
	$s_List = "";
	$s_Url = "";

	if ($GLOBALS["sDir"] != "") {
		if (strrpos($GLOBALS["sDir"], "/") !== false) {
			$s_Url = substr($GLOBALS["sDir"], 0, strrpos($GLOBALS["sDir"], "/"));
		}else{
			$s_Url = "";
		}

		$s_List = $s_List."<tr onclick='doRowClick(this)' onmouseover='doRowOver(this)' onmouseout='doRowOut(this)' isdir='true' path='".$s_Url."'>".
			"<td><img border=0 src='../sysimage/file/parentfolder.gif'></td>".
			"<td>..</td>".
			"<td>&nbsp;</td>".
			"</tr>";
	}

	if ($handle = opendir($GLOBALS["sCurrDir"])) {
		while (false !== ($file = readdir($handle))) {
			$sFileType = filetype($GLOBALS["sCurrDir"]."/".$file);
			switch ($sFileType){
			case "dir":
				if (($file!=".")&&($file!="..")){
					$oDirs[] = $file;
				}
				break;
			case "file":
				$oFiles[] = $file;
				break;
			default:
			}
		}
	}

	if (isset($oDirs)){
		foreach( $oDirs as $oDir){
			if($GLOBALS["sDir"] == ""){
后面还有 293 行代码,购买后查看完整代码

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

AI 解读 AI

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

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