$act = strtolower(APP_NAME).'_'.strtolower(MODULE_NAME); $navClass[$act]='current';$aClass[$act]='app'; $act = strtolower(APP_NAME); $navClass[$act]='current';$aClass[$act]='app';
{:Addons::hook('show_ad_space', array('place'=>'home_weibo_top'))}
//出现注册提示的页面 $show_register_tips = array('public/Profile','public/Topic','weiba/Index','channel/Index','public/Index','people/Index'); if(!$mid && in_array(APP_NAME.'/'.MODULE_NAME,$show_register_tips)){ $registerConf = model('Xdata')->get('admin_Config:register'); }