$pageID , "siteinfo" => $siteinfo, "sitename" => $sitename, "user_ip" => $_SERVER['REMOTE_ADDR'], "menu" => showmenu($pageID) ); $tplname= CModel($_SERVER["SCRIPT_NAME"]); callview($viewdata,$tplname); ?>