<{php}> global $xoopsTpl; $url="http://".$_SERVER["HTTP_HOST"].$_SERVER['REQUEST_URI']; $xoopsTpl->assign('now_url',$url); <{/php}>