Home > Article > Web Front-end > How to get the example code of member status on dedecms page_javascript skills
Example code of how to get member status on dedecms page
I made a corporate website a few days ago, and added member information to the navigation bar, such as:
Logged in: Display: Welcome
The code is as follows:
require_once(DEDEMEMBER."/config.php");
$uid = $cfg_ml->M_LoginID;
if(!$uid){
echo '
}else{
echo '
';
}
{/dede:php}
The above example code of how to obtain the membership status on the dedecms page is all the content shared by the editor. I hope it can give you a reference, and I hope you will support Script Home more.