Emlog前台添加内嵌式登陆模块

nimaboke 2014-7-21 2071

QQ截图20140721134723.png

实现登陆,需要在css中加入:
/*foot内嵌式登陆模块*/
.login{float:right;color:#FFFFFF}
.login input {width:112px;}
.login .submit1 {width:68px; background-color:#2AB5DC;}
.login .submit1:hover{background-color:#FF006C;}
.login .submit2:hover{background-color:#FF006C;}
.login .submit2 {width:68px; margin-left:24px;background-color:#2AB5DC;}

然后在侧边栏内加入
<div class="login">
<form method="post" action="你的博客地址/admin/index.php?action=login" name="f">
<ul class="login">
<li><label for="log">登陆账号:</label><input type="text" value="" id="user" name="user"></li>
<li><label for="pwd">登陆密码:</label><input type="password" id="pw" name="pw"></li>
<li><input type="submit" class="submit1" value="确 定" name="submit">&nbsp; &nbsp;<input type="reset" class="submit2" name="Submit2" value="取 消"><input type="hidden" value="/" name="redirect_to"></li>
</ul>
</form>
</div>

 

其中你的博客地址,需要修改成你的博客的网址

 

欧美图片吧 评论:
很是值得关注下的哈!
最新回复 (0)
返回
发新帖