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

📄 new.php

📁 900mm天空下载小偷系统最终修正版 很好的下载系统
💻 PHP
字号:
<?
####################################################################################################
#                                900mm(900mm天空软件下载小偷系统)                                  #
#--------------------------------------------------------------------------------------------------#
#                               主页: http://www.900mm.com/                                       #
#                             演示:http://www.900mm.com/free8/down/                               #
#--------------------------------------------------------------------------------------------------#
#                                                                                                  #
#                                          此程序 为免费程序,您可以任意传播和使用她,除了界面       #
#             上的美化外,您不得对此程序的其他部分作任何修改.(不支持界面美化,现在界面我             #
#             觉得作为网站管理员使用应该可以了).本软件为免费软件.本人不承担由本软件带              #
#             来的任何损失!                                                                        #
#--------------------------------------------------------------------------------------------------#
#                          此程序采用文本数据库,需要 PHP(4.1.0以上版本)支持.                       #
#--------------------------------------------------------------------------------------------------#
#                                          版权信息不得删除                                        #
#--------------------------------------------------------------------------------------------------#
#                                   版权所有 *梦幻星空*工作室                                      #
#                                    Copyright (C) 2005-2008 *梦幻星空*                            #
#                  Powered by: *梦幻星空*(E-mail:webmaster@900mm.com QQ:304949475)                 #
#--------------------------------------------------------------------------------------------------#
####################################################################################################
require './file/commom.php';
if($id){
	$file=$db ->open("${id}.html","cache/new_${id}.php","new");
	if(isset($file)){
		$file=str_replace("<font color=#000000>★</font>","",$file);
		$file=str_replace("../soft/","download.php?soft=",$file);
		$file=str_replace(".html","",$file);
                $file=str_replace("<br>","",$file);
                $softtitle= $db -> cut($file,"<title>天空软件站","</title>");
		$nowdo= $db -> cut($file,"您的位置:","</TD></TR>");
		$nowdo=str_replace("soft_sort","type.php",$nowdo);
		$nowdo=str_replace("href='sort","href='list.php?id=sort",$nowdo);
		$nowdo=str_replace("../index","index.php",$nowdo);
		$nowdo=str_replace("../sort/sort","list.php?id=sort",$nowdo);
		$nowdo=str_replace("href=\"00\"","href=\"new.php?id=00\"",$nowdo);
			
		


		$top10= $db -> cut($left,"<tr><td align='left'>","<br></td></tr>");
		$top10=str_replace("../soft/","index.php",$top10);
		$soft=$db -> cut($file,"<td vAlign=top width=540>","<center><table width=\"760\">");
                $soft=str_replace("width=540","width=100%'",$soft);
                $soft=str_replace("width='540'","width=100%'",$soft);
		$soft=str_replace("width=355","width=355 class='listtd'",$soft);
		$soft=str_replace("HREF='sort","HREF='list.php?id=sort",$soft);
		$soft=str_replace("href=sort","href=list.php?id=sort",$soft);
		$soft=str_replace("value='sort","value='list.php?id=sort",$soft);
		$soft=str_replace("../sort/s","list.php?id=s",$soft);
		$soft=str_replace("<td align=left width=415>","<td align=left width=415 class='listtd'>",$soft);
                $soft=str_replace("<option value='wz'>软件资讯</option>","",$soft);
                $soft=str_replace("<option value='qd'>精彩动画</option>","",$soft);
$soft=str_replace("onChange='javascript:window.open(this.options[this.selectedIndex].value,\"_top\")'","onchange=\"if(this.options[this.selectedIndex].value != '') {window.location=('new.php?id='+this.options[this.selectedIndex].value+'') }\"",$soft);

	
		$gctop10= $db -> cut($file,"<font color=ffffff><b>国产软件本周下载TOP10</b></font>","<tr><td align='center' height='20' bgcolor='#000000'>");
		$gctop10= $db -> cut($gctop10,"<tr><td align='left'>","<tr><td align='center' height='20' bgcolor='#000000'>");
                $gctop10=str_replace("</td></tr>","",$gctop10);
		$gwtop10= $db -> cut($file,"国外软件本周下载TOP10","<tr><td align='center' height='20' bgcolor='#000000'>");
		$gwtop10= $db -> cut($gwtop10,"<tr><td align='left'>","<tr><td align='center' height='20' bgcolor='#000000'>");	
		$gwtop10=str_replace("</td></tr>","",$gwtop10);
		$hhbdtop10= $db -> cut($file,"汉化补丁本周下载TOP10","<tr><td align='center' height='20' bgcolor='#000000'>");
		$hhbdtop10= $db -> cut($hhbdtop10,"<tr><td align='left'>","<tr><td align='center' height='20' bgcolor='#000000'>");
                $hhbdtop10=str_replace("</td></tr>","",$hhbdtop10);
		$top10= $db -> cut($file,"全部软件本周下载TOP10","</table>");
		$top10= $db -> cut($top10,"<tr><td align='left'>","</td>");
                $top10=str_replace("</td></tr>","",$top10);
		$nowdo=$db -> add_str($nowdo);
		$gctop10=$db -> add_str($gctop10);
		$gwtop10=$db -> add_str($gwtop10);
		$hhbdtop10=$db -> add_str($hhbdtop10);
		$top10=$db -> add_str($top10);
		$soft=$db -> add_str($soft);		$data="<?\n\$softtitle=\"$softtitle\";\n\$nowdo=\"$nowdo\";\n\$gctop10=\"$gctop10\";\n\$gwtop10=\"$gwtop10\";\n\$hhbdtop10=\"$hhbdtop10\";\n\$top10=\"$top10\";\n\$soft=\"$soft\";\n?>";
		$db -> writetofile("cache/new_${id}.php",$data);
		
	}else{
		include "cache/new_${id}.php";
	}
		$softtitle=$db -> un_str($softtitle);
                $nowdo=$db -> un_str($nowdo);
		$gctop10=$db -> un_str($gctop10);
		$gwtop10=$db -> un_str($gwtop10);
		$hhbdtop10=$db -> un_str($hhbdtop10);
		$top10=$db -> un_str($top10);
		$soft=$db -> un_str($soft);
}
include $db -> template('new');
?>

⌨️ 快捷键说明

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