{dede:php}require_once(DEDEMEMBER."/config.php");$uid = $cfg_ml->M_LoginID;if(!$uid){echo '<div><a class="login-button" href="/member/login.php">登录</a>|<a class="join-button" href="/member/index_do.php?fmdo=user&dopost=regnew">注册</a></div>';}else{echo ' <div><a class="login-button" href="'. $cfg_memberurl.'/index.php">'.$uid.'</a>|<a class="join-button" href="/member/index_do.php?fmdo=login&dopost=exit">登出</a></div>';}{/dede:php}