天空下载小偷PHP版,更新了CACHE程式段

源代码在线查看: top.php

软件大小: 96 K
上传用户: wzy1
关键词: CACHE PHP 更新
下载地址: 免注册下载 普通下载 VIP

相关代码

								require './commom.php';
				
				if($id){
					$topfile="${id}.html";
					$cache="cache/top_${id}.php";
				}else{
					$topfile="top_000000_a.html";
					$cache="cache/top_000000_a.php";
				}
					$file= $db -> open($topfile,$cache,'top');
					if(isset($file)){
						$file=str_replace("★","",$file);
						$file=str_replace("../soft/","download.php?soft=",$file);
						$file=str_replace("../article/","article.php?soft=",$file);
						$file=str_replace("../flash/","flash.php?soft=",$file);
						$file=str_replace("value='top","value='top.php?id=top",$file);
						$file=str_replace("../sort/","list.php?id=",$file);
						
						$file=str_replace(".html","",$file);
						$file= $db -> cut($file,"您的位置:","");
						$file= $db -> cut($file,"","")."";
						$file=$db -> add_str($file);
						$db -> writetofile($cache,"");
					}else{
						include $cache;
					}
					$file=$db -> un_str($file);
					include $db -> template('top');
				
				
				?>
				
				
							

相关资源