- [root@iz2ze3vg3mwbvieidoag7oz ~]# service bt res
- art
- Stopping Bt-Tasks... done
- Stopping Bt-Panel... done
- Starting Bt-Panel... done
- Starting Bt-Tasks... done
复制代码- /div>
- <img width="100" height="40" cla
- s="passcode" onClick="this.src=this.src.split('?
- )[0] + '?'+new Date().getTime()" src="/code" sty
- e="border: 1px solid #ccc; float: right;" title=
- 点 击 换 一 张 " >
- </div>
- <div class="login_btn"><input id="login-
- utton" value="登 录 " type="submit"></div>
- <p class="pwinfo" style="display:none">3
- 次 以 上 登 录 错 误 将 会 出 现 验 证 码 </p>
- <a class="resetpw" href="http://www.bt.c
- /bbs/thread-1172-1-1.html" target="_blank">忘 记 密
- 码 >></a>
- </form>
- </div>
- </div>
- <script type="text/javascript" src="/static/js/j
- uery-1.10.2.min.js"></script>
- <script src="/static/language/zh-cn.js"></script
- <script src="/static/language/Simplified_Chinese
- lan.js?date=20170920"></script>
- <script type="text/javascript" src="/static/laye
- /layer.js"></script>
- <script type="text/javascript" src="/static/js/V
- lidform_v5.3.2_min.js"></script>
- <script type="text/javascript">
- function Wreset(){
- var w = $(window).width();
- var yzmw = $(".login .line").wid
- h() - 140;
- if($(".yzm").is(":visible") && w
- > 640){
- $(".login").css({"height
- :"365px","margin-top":"-230px"})
- }
- else{
- $(".login").removeAttr("
- tyle")
- }
- $(".login .yzm .inputtxt").width
- yzmw);
- }
- $(function(){
- Wreset()
- })
- window.onresize=function(){
- Wreset()
- }
- </script>
- <script type="text/javascript">
- $(function(){
- $(".loginform").Validform({
- tiptype:function(msg,o,c
- sctl){
- if(!o.obj.is("fo
- m")){
- var objt
- p=o.obj.siblings(".Validform_checktip");
- cssctl(o
- jtip,o.type);
- objtip.t
- xt(msg);
- }
- }
- });
- });
- $('#login-button').click(function(){
- var username = encodeURIComponen
- ($("input[name='username']").val());
- var password = encodeURIComponen
- ($("input[name='password']").val());
- var code = $("input[name='code']
- ).val();
- if(username == '' || password ==
- ''){
- layer.msg("表 单 错 误 ,请 重
- 新 输 入 !",{icon:2});
- return;
- }
- var data = 'username='+username+
- &password='+password+'&code='+code;
- var loadT = layer.msg("正 在 登 录 .
- .",{icon:16,time:0,shade: [0.3, '#000']});
- $.post('/login',data,function(rd
- ta){
- layer.close(loadT);
- if(!rdata.status){
- $("#errorStr").h
- ml(rdata.msg);
- $("input[name='p
- ssword']").val('');
- num = rdata.msg.
- ubstring(rdata.msg.indexOf('[')+1,rdata.msg.inde
- Of(']'))
- if(num < 5){
- $(".yzm"
- .show();
- $(".logi
- ").css("height","332px");
- $("input
- name='code']").val('');
- $(".pass
- ode").click();
- }
- layer.msg(rdata.
- sg,{icon:2});
- return;
- }
- layer.msg(rdata.msg,{ico
- :16,time:0,shade: [0.3, '#000']});
- window.location.href = '
- ';
- });
- });
- </script>
- </body>
- </html>
- [root@iz2ze3vg3mwbvieidoag7oz ~]#
复制代码 |