菜鸟开源,更多应用场景,更好适应移动设备阅读! 注册

登录信息代码

用户名:cainiao2025

SQL学习交流  | 阅读: 187

发表:湖南  2025/8/18 9:13:21

未关注

<%if (user.Logined)
                                                  { %>
                           
                           
                        <a  href="users.aspx?yhm=<%=user["user"] %>" class="text-decoration-none text-white" title="前往<%=user["user"] %> 的主页" >  <span  style=" background:#0c8b06;  border-radius: 5px; padding:3px; box-sizing: border-box;width:40px;height:40px;">  欢迎:<%=user["name"] %></span></a>   &nbsp;&nbsp;<a href="?act=loginout" class=" text-decoration-none text-white " title="您已登录,点击退出"> 
                                   <span   style=" background:#0c8b06;  border-radius: 5px; padding:3px; box-sizing: border-box;width:40px;height:40px;">退出</span>
                                </a> <%}                            
                                        else
                                        { %>
                              <a href="/zc.aspx" class=" text-decoration-none text-white " title="注册用户!"> 
                                   <span   style=" background:#0c8b06;  border-radius: 5px; padding:3px; box-sizing: border-box;width:40px;height:40px;">注册</span>
                                </a>
                                 <a href="/user/Login.aspx" class=" text-decoration-none text-white " title="登录后享更多功能!"> 
                                   <span   style=" background:#000000;  border-radius: 5px; padding:3px; box-sizing: border-box;width:40px;height:40px;">登录</span>
                                </a>
                                          <%} %>

【评论】

【免登录留言】

 
上一篇:   Bootstrap5 表格
下一篇:   菜鸟开源,更好适应移动设备阅读!