You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
94 lines
4.1 KiB
94 lines
4.1 KiB
<?php exit;?>0014665718467ec4b5714055672d486333974a3509c7s:4247:"a:2:{s:8:"template";s:4183:"<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
|
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
|
|
<meta name="format-detection" content="telephone=no" />
|
|
<meta charset="utf-8">
|
|
<meta name="description" content="" />
|
|
<meta name="keywords" content="" />
|
|
<title><?php echo $page_title; ?></title>
|
|
<link href="<?php echo __TPL__;?>css/jquery-ui-1.10.1.custom.min.css" rel="stylesheet" />
|
|
<!--字体图标库-->
|
|
<link rel="stylesheet" href="<?php echo __TPL__;?>fonts/iconfont.css">
|
|
<link rel="stylesheet" href="<?php echo __TPL__;?>css/swiper-3.2.5.min.css">
|
|
<!--主样式-->
|
|
<link rel="stylesheet" href="<?php echo __TPL__;?>css/ectouch.css" />
|
|
<script type="text/javascript" src="<?php echo __TPL__;?>js/jquery-2.1.4.min.js"></script>
|
|
|
|
</head>
|
|
|
|
<body class="b-color-f">
|
|
<?php $__Template->display($this->getTpl("float_nav")); ?>
|
|
<?php $__Template->display($this->getTpl("search")); ?>
|
|
<div class="con b-color-f">
|
|
<section class="user-center user-login margin-lr">
|
|
<form class="login-form" action="<?php echo U('index');?>" method="post" onsubmit="return loginform()">
|
|
<div class="text-all dis-box j-text-all" name="usernamediv" >
|
|
<label>账 号</label>
|
|
<div class="box-flex input-text">
|
|
<input class="j-input-text" name="username" datatype="s5-16" errormsg="昵称至少5个字符,最多16个字符!" type="text" placeholder="用户名/手机号/邮箱" />
|
|
<i class="iconfont icon-guanbi is-null j-is-null"></i>
|
|
</div>
|
|
</div>
|
|
<div class="text-all dis-box j-text-all" name="passworddiv">
|
|
<label>密 码</label>
|
|
<div class="box-flex input-text" >
|
|
<input class="j-input-text" name="password" type="password" placeholder="请输入密码" />
|
|
<i class="iconfont icon-guanbi is-null j-is-null"></i>
|
|
</div>
|
|
<i class="iconfont icon-yanjing is-yanjing j-yanjing disabled"></i>
|
|
</div>
|
|
<input type="hidden" name="back_act" value="<?php echo $back_act; ?>" />
|
|
<a class="fr t-remark" href="<?php echo U('get_password_phone',array('enabled_sms'=>'1'));?>">忘记密码?</a>
|
|
<button type="submit" class="btn-submit">登录</button>
|
|
|
|
</form>
|
|
<a class="a-first u-l-register" href="<?php echo U('register');?>">新用户注册</a>
|
|
<div class="other-login">
|
|
<h4 class="title-hrbg"><span>第三方登录</span><hr/> </h4>
|
|
<ul class="dis-box">
|
|
<li class="box-flex"><a href="<?php echo U('oauth/index/index', array('type'=>'qq','back_url'=>$back_act));?>"><span class="qq"><i class="iconfont icon-qq"></i></span>QQ</a></li>
|
|
<li class="box-flex"><a href="<?php echo U('oauth/index/index', array('type'=>'weibo','back_url'=>$back_act));?>"><span class="xinlang"><i class="iconfont icon-xinlang"></i></span>微博</a></li>
|
|
<li class="box-flex"><a href="<?php echo U('oauth/index/index', array('type'=>'wechat','back_url'=>$back_act));?>"><span class="weixin"><i class="iconfont icon-weixin"></i></span>微信</a></li>
|
|
</ul>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
<div class="div-messages"></div>
|
|
<!--引用js-->
|
|
|
|
<?php $__Template->display($this->getTpl("script")); ?>
|
|
<script>
|
|
$(":input").keyup(function(){
|
|
var box=this.name+"div";
|
|
var div=$("div[name="+box+"]");
|
|
var value=div.attr("class").indexOf("active")
|
|
if ( value > 0 ){
|
|
div.removeClass("active");
|
|
}
|
|
});
|
|
/*
|
|
* login check
|
|
*/
|
|
function loginform(){
|
|
var username = $("input[name=username]");
|
|
var password = $("input[name=password]");
|
|
if(username.val() == ''){
|
|
d_messages('请输入用户名',2);
|
|
$("div[name=usernamediv]").addClass("active");
|
|
return false;
|
|
}
|
|
if(password.val() == ''){
|
|
d_messages('请输入密码',2);
|
|
$("div[name=passworddiv]").addClass("active");
|
|
return false;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
</script>
|
|
</body>
|
|
|
|
</html>";s:12:"compile_time";i:1466485446;}";
|