亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

方便實(shí)用的PHP生成靜態(tài)頁面類(非smarty)第2/2頁

 更新時(shí)間:2008年11月14日 12:25:17   作者:  
不喜歡Smarty,直接寫了一個(gè)生成靜態(tài)的類,方便簡單實(shí)用,希望大家繼續(xù)完善。

復(fù)制代碼 代碼如下:

//------------------靜態(tài)生成----
$MyMake=new Makehtml;
$MyMake->MbUrl="News_Show.shtml";
$MyMake->Readfile();
$THTml=$MyMake->AllHtml;
$shuzu1=array();
$shuzu2=array();
$shuzu1[0]="<=\$keybord\$>";
$shuzu1[1]="<=\$description\$>";
$shuzu1[2]="<=\$title\$>";
$shuzu1[3]="<=\$Title1\$>";
$shuzu1[4]="<\$=Bid\$>";
$shuzu1[5]="<\$=Id\$>";
$shuzu1[6]="<=\$Contentb\$>";
$shuzu1[7]="<\$=BigId\$>";
$shuzu1[8]="<=\$Date\$>";
$shuzu1[9]="<=\$City\$>";
$shuzu1[10]="<=\$SmallId\$>";
$shuzu1[11]="<=\$CityId\$>";
$shuzu1[12]="width=\"100%\"";
$MyMake->OutUrl="News_show_1.shtml";
$shuzu2[0]="數(shù)組0";
$shuzu2[1]="數(shù)組1";
$shuzu2[2]="數(shù)組2";
$shuzu2[3]="數(shù)組3";
$shuzu2[4]="數(shù)組4";
$shuzu2[5]="數(shù)組5";
$shuzu2[6]="數(shù)組6";
$shuzu2[7]="數(shù)組7";
$shuzu2[8]="數(shù)組8";
$shuzu2[9]="數(shù)組9";
$shuzu2[10]="數(shù)組10";
$shuzu2[11]="數(shù)組11";
$shuzu2[12]="width=\"95%\"";
$MyMake->Replacehtml($shuzu1,$shuzu2);
$MyMake->SaveFile();
//------------------靜態(tài)生成完成-----------

相關(guān)文章

最新評論