国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

??????? ???? ???? ????? ???? ????.
清雨
清雨 2017-08-20 11:18:19
0
1
1528
??? div class="x-top">

? ? ? ? ? ? ? ?<i class="layui-icon x-login-close">

? ? ? ? ? ? ? ? ? ?ဇ

? ? ? ? ? ? ? ?</i>
? ? ? ?? ? ? ?<ul class="x-login- ??">
? ? ? ? ? ? ? ? ? ?<li style="???: #F1C85F;" color="#F1C85F">
? ? ? ? ? ? ? ? ? ?</li>
? ? ? ? ? ? ? ? ? ?<li style="Background-color: #EA569A;" color="#EA569A">
? ? ? ? ? ? ? ? ? ?</li>
? ? ? ? ? ? ? ? ? ?<li style="???: #393D49;" color="#393D49">
? ? ? ? ? ? ? ? ? ?</li>
? ? ? ? ? ? ? ?</ul>
? ? ? ? ? ?</div>
? ? ? ? ? ?<div class="x- mid">
? ? ? ? ? ? ? ?<div class="x-avtar" >
? ? ? ? ? ? ? ? ? ?<img src="__STATIC__/images/logo.png" alt="">
? ? ? ? ? ? ? ?</div>???? gt;
? ? ? ? ? ? ? ? ? ? ? ? ? ?<?? ="username" class="layui-form-label">
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?<i class="layui-icon"></i>
? ? ? ? ? ? ? ? ? ? ? ? ?</label>
? ? ? ? ? ? ? ? ? ? ? ? ? ?<div class=" layui-input-inline">
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?<input type="text" id="username" name="username" ??=""
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? placeholder="username" class="layui-input"> ;
? ? ? ? ? ? ? ? ? ? ? ? ? ?</ div>
? ? ? ? ? ? ? ? ? ? ? ?</div>????? ? ? ? ? ? ? ? ? ?<i class="layui- icon"></i>
? ? ? ? ? ? ? ? ? ? ? ? ? ?</label>
? ? ? ? ? ? ? ? ? ? ? ? ?<div class="layui-input-inline">
? ? ?? ? ? ? ? ? ? ? ? ? ? ? ?<input type="password" id="password" ??= "password" ??=""
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? placeholder="******" class="layui-input">
? ? ? ? ? ? ? ? ? ? ? ? ?</div>
? ? ? ? ? ?? ? ? ? ? ?</div>
? ? ? ? ? ? ? ? ? ? ? ?<div class="layui-form- item" id="loginbtn">
? ? ? ? ? ? ? ? ? ? ? ? ? ?<button ?class="layui-btn"lay-filter="save"lay-submit="" type="button" id="loginbtn">
? ? ? ? ? ? ? ? ? ? ? ? ? ?? ?登 錄
? ? ? ? ? ? ? ? ? ? ? ? ? ?< ;/button>
? ? ? ? ? ? ? ? ? ? ? ?</div>
? ? ? ? ? ? ? ? ? ?</form>
? ? ? ? ? ? ? ?</div>
? ? ? ? ?< ;/div>
? ? ? ?</div>
? ? ? ?<p style="color:#fff;text-align: center;">Copyright ? 2017.??? All right X-admin </p>
? ? ? ?{include file='public/base_js'/}
? ? ? ?<script>
? ? ? ? ? ?layui.use(['form'],
? ? ? ? ? ?function() {
? ? ? ? ? ? ? ?$ =layui.jquery;
? ? ? ? ? ? ? ?var form =layui.form (),
? ? ? ? ? ? ? ?layer =layui.layer;

? ? ? ? ? ? ? ?$(' .x-login-right li').click(function(event) {
? ? ? ? ? ? ? ? ? ?color = $(this).attr('color');
? ? ? ? ? ? ? ? ? ?$('body').css('Background-color', color) ;
? ? ? ? ? ? ?});

? ? ? ? ? ? ? ?//監(jiān)聽提交
// ? ? ? ? ? ? ? ?form.on('??(??)',
// ? ? ? ? ? ? ???(??? ) {
// ? ? ? ? ? ? ? ? ? ?console.log(data);
// ? ? ? ? ? ? ? ? ? ?layer.alert( JSON.stringify(data.field), {
// ? ? ? ? ? ? ? ? ? ? ?title: '最終的提交信息'
// ? ? ? ? ? ? ? ? ?},function ?() {
// ? ? ? ? ? ? ? ? ? ?? ?location.href = "./index.html";
// ? ? ? ? ? ? ? ? ? ?})
// ? ? ? ? ? ? ? ? ? ?false ??;
// ? ? ? ? ? ? ? ?});


? ? ? ? ? ?});

? ? ? ?</script>
? ? ? ?<script >
? ? ? ? ? ?$(?? () {
? ? ? ? ? ? ? ?$("#loginbtn").on('?? ',function () {
? ? ? ? ? ? ? ? ? ?$.ajax({
? ? ? ? ? ? ? ? ? ? ? ?type:'POST',
? ? ? ? ? ? ? ? ? ? ? ?url:"{:url('login/check')}",
?? ? ? ? ? ? ? ? ? ? ?data:$(".layui-form").serialize (),
? ? ? ? ? ? ? ? ? ? ? ?dataType:"json",
? ? ? ? ? ? ? ? ? ? ? ???:?? (???) {
? ? ? ? ? ? ? ? ? ? ? ? ?if (data.status == 1){
? ? ? ? ? ? ? ? ? ? ? ? ? ? ??alert(data.message);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?window.location.href = "{:url('index/index' )}";
? ? ? ? ? ? ? ? ? ? ? ? ? ?}else {
? ? ? ? ? ? ? ? ? ? ? ? ? ? ?alert(data.message);
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?window.location.href = "{:url('login/index')}";
? ? ? ? ? ? ? ? ? ? ? ? ? ?}
? ? ? ? ? ? ? ? ? ? ?}
? ? ? ? ? ? ? ? ? ? ? ? ? })
? ? ? ?? ? ?})
? ? ? ? ? ?})
? ? ? ?</script>
? ?</body>

</html>


lohin 控system器

<?php

namespace appadmincontroller;

use appadmincommonBase;
use thinkRequest;
use appadminmodelAdmin;
use thinkSession;

class ??? ?? Base
{
//??? ??? ?????
?? ?? index()
{
//
????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? $this ?? -> view -> 0 ;
? ? ? ? ? ? ? ? ? // ?? ?? ???? ???? ??
? ? ? ? ? $data = $request -> param();? $userName = $data['??? ??'] ; ? ? ? ? ? ? $password = ?md5($data['password']) ;

?????????????????????????????????????????????????????$map = [' ????? ??? ?????
? ? ? ? ? ? ? ? ? ? ? ???? ? ? ? ? ? ? ? ? ? ? ? ? ?t; != $password) {
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? ?? ?? ‐ ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ??? ?? ??
$status = 1;
$message = '??? ???????. ???? ????? ??? ?????.';

//??? ??? ??? ??? ???????. ???? ??? ??? ??
$admin -> setInc('login_count')
? ? ? ? ? $admin -> save(['last_time' => time()]);

???????????????????????????????????????????????????????????????????? // ??? ??? ??? ?? ??? ?????. ?? ????? ??? ??? ??? ??
//???????????????????? Session::set('user_id' , $userName);
// Session::set('user_inf',$data);
Session::set('user_id' , $userName);
??::set('suer_inf', $data);

) sion::delete(' user_id');
Session::delete('user_inf');

$this -> Success('???? ??, ??....', 'login/index');
}

}

清雨
清雨

?? ??(1)
清雨

捕獲.PNG??? ?? ????? ???

  • ???? ????? ???? ???? ????. ?????? ????? ?????? ???? ??? ??? ?? ??? ???? ?????. ????? ??? ?? ??? ?? ?????. ?? ??? get ??? ??? ????? ??? ?????. ????? ?? ???, jQuery? Ajax ??? ???? ??? jQuery ?????? x-admin ?? ???? ???? ???. jQuery ?????? ????? ???? ???? ???? ??? ? ????. ???? ?? ??? ????? lib ???? ??? ????. ?? js ??({load href='***' /})? ?? ?? view/pulic/base_js.js? ????.
    天蓬老師 ?? 2017-08-21 08:16:09