assign("restrict_menu",$restrict_menu); $smarty->assign("isIE",$isIE); $smarty->assign('css_need_to_include',$css_need_to_include); $smarty->assign("file",$file); $smarty->assign("module",$module); $smarty->assign("site_url",$site_url); $smarty->assign("SUPPORT_EMAIL", $SUPPORT_EMAIL); $smarty->assign("PLAY_MUSIC_BACKGROUND", $PLAY_MUSIC_BACKGROUND); //$smarty_array = array_merge($smarty_array,array("module","script","include_script","include_script_template","action","file","site_path","site_url","secure_url","ajax_url","admin_url","num_totrec","site_js_url","COMPANY_COPYRIGHTS","SITE_TITLE","SITE_MAINTANANCE_TEXT","USER_PAGE_LIMIT")); $smarty_array = array_merge($smarty_array,array("module","script","include_script","include_script_template","action","file","site_path","site_url","secure_url","ajax_url","admin_url","num_totrec","site_js_url","COMPANY_COPYRIGHTS","SITE_TITLE","SITE_MAINTANANCE_TEXT","USER_PAGE_LIMIT")); for($k=0;$kassign($smarty_array[$k],$$smarty_array[$k]); } $smarty->display("template.tpl"); # ---------------------------------------------------- unset($obj); unset($smarty); ?>