Cache $f = trim(curPageName(), ".php"); $q = substr($_SERVER["REQUEST_URI"],strrpos($_SERVER["SCRIPT_NAME"],"/")+1); $q = substr($q ,strrpos(curPageName(),".php")+5); $trans = array ("=" => "", "&" => ""); $q = strtr($q,$trans); $cache_filename = "cache/$f/{$q}/$f-{$q}.html"; $target = "cache/$f"; if(!is_dir($target)){ if( !mkdir($target, 0777) ){ echo "fail cache"; } } $target = "cache/$f/{$q}"; if(!is_dir($target)){ if( !mkdir($target, 0777) ){ echo "fail cache"; } } if(update_cache("$f/{$q}/$f-{$q}.html",180)){ if(file_exists($cache_filename)){require($cache_filename);exit(); }else{ob_start("cache_callback");$cacheon = rand(0,100);} } //---> ?> 2011凱渥夢幻之星Catwalk Competition
';}else{echo ' ';} echo '';}else{echo '';}?>