<form name=login method=post action="[!--news.url--]e/enews/index.php"> <input type=hidden name=enews value=login> <input type=hidden name=ecmsfrom value=9> <p>用户名:<input name="username" type="text" class="text_login" /> <a href="[!--news.url--]e/member/register/index.php?groupid=1">注册</a></p> <p>密 码:<input name="password" type="password" class="text_login" /> <input type="submit" name="Submit" value="登陆" /> </p> </form>
[!--empirenews.template--]
<p><font color=red>[!--username--]</font>,欢迎您!</p>
如果是会员组ID为1的用户,显示: <p> > <a href="/e/action/ListInfo/?classid=21" target="_blank">查看优惠条件或通知</a> </p>
如果是会员组ID为2的用户,显示: <p> > <a href="/e/action/ListInfo/?classid=22" target="_blank">查看联盟公告</a> </p>
<p>> <a href="[!--news.url--]e/enews/?enews=exit&ecmsfrom=9" onclick="return confirm('确认要退出?');">退出</a></p>
|