📄 type.php
字号:
<?
require './commom.php';
if(!$s){
$file=$db -> open("soft_sort.html","cache/soft_sort.php","sort");
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("href=\"sort","href=\"list.php?id=sort",$file);
$file=str_replace("../word","type",$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);
$type= $db -> cut($file,"<table width=\"760\" cellspacing=\"1\" cellpadding=\"5\" align=\"center\" border=\"0\" bgcolor=\"#FFFFFF\">","<center><table width=\"760\">");
$type=str_replace("#EBEFFA","ffffff",$type);
$type=$db -> add_str($type);
$db -> writetofile("cache/soft_sort.php","<?\n\$type=\"$type\";\n?>");
}else{
include "cache/soft_sort.php";
}
}else{
if($get || $az || $offset){
$pages="get=$get&az=$az&offset=$offset";
}
if($pages){
$url="word.php?s=$s&".$pages;
$cache="cache/${s}_${get}_${az}_${offset}.php";
}else{
$url="word.php?s=$s";
$cache="cache/$s.php";
}
$type=$db -> open($url,$cache);
if(isset($type)){
$type=str_replace("<font color=#000000>★</font>","<IMG border=0 height=12 src='images/page1.gif' width=10>",$type);
$type=str_replace("../soft/","download.php?soft=",$type);
$type=str_replace("soft/","download.php?soft=",$type);
$type=str_replace("href=\"sort","href=\"list.php?id=sort",$type);
$type=str_replace("../word","type",$type);
$type=str_replace("article/","article.php?soft=",$type);
$type=str_replace("<img src='../images/","<img src='images/",$type);
$type=str_replace("flash/","flash.php?soft=",$type);
$type=str_replace(".html","",$type);
$type=$db -> cut($type,"您的位置:","<hr noshade size=\"2\" width=\"760\">");
$nowdo=explode("</TD>",$type);
$type=$nowdo[1];
$nowdo=$nowdo[0];
$nowdo=str_replace("list.php?id=sort/soft_sort","type.php",$nowdo);
$nowdo=str_replace("index","index.php",$nowdo);
$type=$db -> cut($type,"</TABLE>","<center><table width=\"760\">");
$type=str_replace("<TABLE width=760 border=0 cellPadding=0 cellSpacing=0>","<TABLE width=760 border=0 cellPadding=3 cellSpacing=3 bgcolor=ffffff>",$type);
$type=str_replace("href='sort/","href='list.php?id=",$type);
$type=str_replace("word.","type.",$type);
$type=$db -> add_str($type);
$nowdo=$db -> add_str($nowdo);
$db -> writetofile($cache,"<?\n\$type=\"$type\";\$nowdo=\"$nowdo\";\n?>");
}else{
include $cache;
}
}
$nowdo=$db -> un_str($nowdo);
$type=$db -> un_str($type);
include $db -> template('type');
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -