⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 download.php

📁 天空下载小偷PHP版,更新了CACHE程式段
💻 PHP
字号:
<?
require './commom.php';

if($soft){
	$file=$db -> open("${soft}.html","cache/${soft}.php","soft");
	if(isset($file)){
		$file=str_replace("<font color=#000000>★</font>","<IMG border=0 height=12 src='images/page1.gif' width=10>",$file);
		$file=str_replace("../soft/","download.php?soft=",$file);
		$file=str_replace("article/","article.php?soft=",$file);
		$file=str_replace("<img src='../images/","<img src='images/",$file);
		$file=str_replace("flash/","flash.php?soft=",$file);
		$file=str_replace(".html","",$file);
		$file=str_replace("<font color=red>点击这里成为正版用户</font>==>","",$file);
		$file=str_replace("<br><b>在线注册:</b>&nbsp;&nbsp;","",$file);
		$nowdo=  $db ->cut($file,"您的位置:","</td>");
		$nowdo=str_replace("soft_sort","type.php",$nowdo);
		$nowdo=str_replace("../sort/s","list.php?id=s",$nowdo);
		$nowdo=str_replace("href='sort","href='list.php?id=sort",$nowdo);
		$nowdo=str_replace("../index","index.php",$nowdo);
		$nowdo=str_replace("../sort/type.php","type.php",$nowdo);
		
		$top10= $db -> cut($file,"TOP10</b></font>","<br></td></tr>");
		$top10= $db -> cut($top10,"<tr><td align='left'>","</td>");
		$softname=$db -> cut($file,"<td bgcolor='#DFE6EE' align='center' height='25'>","</td>");
		$softfile=$db -> cut($file,"<b>软件大小","</td><td width=285")."<br><b>". $db ->cut($file,"</table><table><tr><td><b>","<iframe");	
		$softfile=str_replace("<br><br>","<br>",$softfile);
		$softfile=str_replace("../softimg","softimg",$softfile);
		
		$rjjj=$db -> cut($file,"软件介绍","我来说两句");
		$rjjj=$db -> cut($rjjj,"</script>","<script");
		$down=$db -> cut($file,"<TR><td width=120>","</td>");
		$nowdo = $db -> add_str($nowdo);
		$top10 = $db -> add_str($top10);
		$softname = $db -> add_str($softname);
		$softfile = $db -> add_str($softfile);
		$down = $db -> add_str($down);
		$rjjj = $db -> add_str($rjjj);
		$data="<?\n\n\$nowdo=\"$nowdo\";\n\$top10=\"$top10\";\n\$softname=\"$softname\";\n\$softfile=\"$softfile\";\n\$down=\"$down\";\n\$rjjj=\"$rjjj\";\n\n?>";
		$db -> writetofile("cache/${soft}.php",$data);
	}else{
		include "cache/${soft}.php";
	}
		$nowdo = $db -> un_str($nowdo);
		$top10 = $db -> un_str($top10);
		$softname = $db -> un_str($softname);
		$softfile = $db -> un_str($softfile);
		$down = $db -> un_str($down);
		$rjjj = $db -> un_str($rjjj);
	include $db -> template('download');
		
}
?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -