📄 download.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($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> ","",$file);
$file=str_replace("<li type=circle>","<li>",$file);
$file=str_replace("images/","image/",$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);
$relatesoft= $db -> cut($file,"<b><br>相关软件:</b></td></tr>","</td></tr>");
$relatesoft=str_replace("<tr><td>","",$relatesoft);
$softtitle= $db -> cut($file,"<title>天空软件站","</title>");
$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);
$softfile=str_replace("<br><b>软件介绍:</b>","",$softfile);
$softfile=str_replace("<b>","<span>",$softfile);
$softfile=str_replace("</b>","</span>",$softfile);
$rjjj=$db -> cut($file,"软件介绍","我来说两句");
$rjjj=$db -> cut($rjjj,"</script>","<script");
$down=$db -> cut($file,"<table align=center border=0 width=540 borderColorDark=#ffffff borderColorLight=#ffffff cellPadding=0 cellSpacing=0>","<script language=javascript");
$down=$db -> cut($down,"<td ","</td>");
$down=str_replace("width=118>","",$down);
$down=str_replace("width=120>","",$down);
$down=str_replace("http://count.skycn.com/s0ftdownlOad.php?id=${soft}&url=","",$down);
$down=str_replace("<img","<li><img",$down);
$down=str_replace("<br>","</li>",$down);
$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);
$relatesoft = $db -> add_str($relatesoft);
$data="<?\n\n\$nowdo=\"$nowdo\";\n\$relatesoft=\"$relatesoft\";\n\$top10=\"$top10\";\n\$softtitle=\"$softtitle\";\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);
$relatesoft = $db -> un_str($relatesoft);
$top10 = $db -> un_str($top10);
$softtitle = $db -> un_str($softtitle);
$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 + -