我要实现的是,在页面顶部有个会员登录框,登录成功后 显示会员用户名,会员等级等信息。现在会员登录成功后 还是显示登录框。
只拷了以下代码,“登录状态模板”其他的代码不知道怎么使用。 麻烦高手帮忙解答一下吧,谢谢!
<table width="950" border="1" cellpadding="0" cellspacing="0" bordercolor="#F5DACD"> <form name=login method=post action=".../e/enews/index.php"> <input type=hidden name=enews value=login> <input type=hidden name=prtype value=1> <tr> <td width="49%" align="center" bgcolor="#FBEFE9">用户名 <input name="username" type="text" size="8"> 密码 <input name="password" type="password" size="8"> <select name="lifetime" id="lifetime"> <option value="0">不保存</option> <option value="3600">一小时</option> <option value="86400">一天</option> <option value="2592000">一个月</option> <option value="315360000">永久</option> </select> <input type="submit" name="Submit" value="登陆"> <input type="button" name="Submit2" value="注册" onClick="window.open('../register');"></td> </tr> </form> </table>
|