VisitorFlow($arr_action); /** * Assign header and footer tpl file */ $content['metaheader'] = TPL_VISITOR."metaheader.tpl"; $content['header'] = TPL_VISITOR."header.tpl"; $content['footer'] = TPL_VISITOR."footer.tpl"; $content['right'] = TPL_VISITOR."right.tpl"; /** * Display the content on template */ $tpl_obj = new Template(); foreach($content as $key => $value) { $tpl_obj->assign($key,$value); } if( $arr_action[1] != "add_person" && $arr_action[1] !="remove_person" && $arr_action[1]!="rss") { $tpl_obj->showTemplate('visitor.tpl',2); } ?>