PHPWind门户模式中不同栏目定义不同头部的方法
PHPWind门户模式中不同栏目定义不同头部的方法
先看pw common.php的代码
function getAreaSrcTpl($template,$EXT='htm'){ global $db_tplstyle,$area_indextpl; if ($template=='header' || $template=='footer') { $srcTpl = M_P."themes/$area_indextpl/$template.$EXT"; } else { $src…