{dede:global.cfg_mb_open runphp=yes}require_once(DEDEMEMBER."/config.php");$uid = $cfg_ml->M_LoginID;@me = ($uid) ? @me=$uid:@me='游客';{/dede:global.cfg_mb_open} |
<?php require_once(dirname(__FILE__)."/../include/common.inc.php"); require_once(DEDEMEMBER."/config.php"); $uid = $cfg_ml->M_LoginID; $uid = ($uid) ? $uid : '游客'; echo "document.write('".$uid."');"; exit(); |
<script src="{dede:field name='phpurl'/}/uid.php" language="javascript"></script> |