帝国cms自定义页面id获取动态id获取:
修改  functions.php

//生成自定义页面

function ReUserpage

 增加一行 

$GLOBALS['curpageid'] = $id;

在模板里调用 $GLOBALS['curpageid'] 即可