时间:2021-07-01 10:21:17 帮助过:31人阅读
- <br>
- <br>
- <!--?php<br /-->
- if(isset($_SESSION['username']))<br>
- {<br>
- echo "";<br>
- echo "<ul><li>我的帐号</li>";<br>
- echo "<li>退出</li></ul>";<br>
- echo "登录为 ".$_SESSION['username']."";<br>
- }<br>
- else<br>
- {<br>
- echo "";<br>
- echo "<ul><li>登录</li>";<br>
- echo "<li>注册</li></ul>";<br>
- }<br>
- <br>
- ?><br>