//底部链接02 $foot02 = $MyArticle->getArticleList(); $foot02_title = $MyArticle->getCateTitle(); $MyArticle->CateId = FOOT03; //底部链接03 $foot03 = $MyArticle->getArticleList(); $foot03_title = $MyArticle->getCateTitle(); $MyArticle->CateId = FOOT04; //底部链接04 $foot04 = $MyArticle->getArticleList(); $foot04_title = $MyArticle->getCateTitle(); //各个地方的连接 //获取对应专题的信息 $MySpecial = new Special(); $MySpecial->id = $specialid; $MySpecial->getURLById(); $special_url1 = $MySpecial->url1; $special_url2 = $MySpecial->url2; $special_url3 = $MySpecial->url3; $special_url4 = $MySpecial->url4; $special_url5 = $MySpecial->url5; $special_html = $MySpecial->html; //顶部链接 $contents = str_replace("{topurl}", $topurl, $contents); //底部连接01-04 $contents = str_replace("{foot01}", $foot01, $contents); $contents = str_replace("{foot01_title}", $foot01_title, $contents); $contents = str_replace("{foot02}", $foot02, $contents); $contents = str_replace("{foot02_title}", $foot02_title, $contents); $contents = str_replace("{foot03}", $foot03, $contents); $contents = str_replace("{foot03_title}", $foot03_title, $contents);