<?php defined('G_IN_ADMIN')or exit('No permission resources.'); ?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>后台首页</title>
<link rel="stylesheet" href="<?php echo G_GLOBAL_STYLE; ?>/global/css/global.css" type="text/css">
<link rel="stylesheet" href="<?php echo G_GLOBAL_STYLE; ?>/global/css/style.css" type="text/css">
<style>
 body{ background-color:#fefeff; font:12px/1.5 arial,宋体b8b\4f53,sans-serif;}
.width30{ width:25%; font-size:12px; border-radius:5px 2px 20px 2px;  }

.title{ font-size:15px; font-weight:bold; color:#444; line-height:30px; border-bottom:1px solid #ccc;}
.div-news{ height:50px; background-color:#fff}
.div-user span{ display:block; font-size:12px; font: 12px/1.5 arial,宋体b8b\4f53,sans-serif; line-height:20px; color:#999}
.div-user{ background-color:#fff; padding:20px;width:30%;float:left;  border-bottom:1px solid #eee }
.div-button{ float:left;background-color:#fff; float:left; padding:20px; margin:0 10px; width:55%;border-radius:5px 5px 5px 5px;}
.div-button ul li{ float:left; margin:0px 25px;}
.div-button li a{  cursor:pointer; text-decoration:none}
.div-button li span{ display:block; width:60px; text-align:center; line-height:32px;} 

.div-system{background-color:#fff; float:left; padding:20px; margin:0 10px;border-right:1px solid #eee}
.div-webinfo{background-color:#fff; float:left; padding:20px; margin:0 10px; width:27%;border-right:1px solid #eee }
.div-about{background-color:#fff; float:left; padding:20px; margin:0 10px; overflow:hidden}



 li{font:12px/1.5 arial,宋体b8b\4f53,sans-serif;}
.div-system ul li{height:30px; line-height:30px;color:#333;border-bottom:1px dotted #ddd;}
.div-system ul li i{width:90px;height:30px; line-height:30px; display:inline-block; color:#666;}


.div-about ul li{height:30px; line-height:30px;color:#333;border-bottom:1px dotted #ddd;}
.div-about ul li i{width:90px;height:30px; line-height:30px; display:inline-block; color:#666;}

.div-webinfo ul li{height:30px; line-height:30px;color:#333;border-bottom:1px dotted #ddd;}
.div-webinfo ul li i{width:90px;height:30px; line-height:30px; display:inline-block; color:#666;}

.CMS_message{background-color: #eef3f7;border: 1px solid #d5dfe8; height:20px; padding:5px 0px; overflow:hidden}
.CMS_message li{ text-indent:50px; height:25px; line-height:25px; color:#09c;font-size:12px; font-weight:bold;}

</style>
</head>
<body>
哪里出问题呢 网站后台输入账号密码 点登录没任何反应

解决方案 »

  1.   

    <?php defined('G_IN_ADMIN')or exit('No permission resources.'); ?>
    <!DOCTYPE html>
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>后台首页</title>
    <link rel="stylesheet" href="<?php echo G_GLOBAL_STYLE; ?>/global/css/global.css" type="text/css">
    <link rel="stylesheet" href="<?php echo G_GLOBAL_STYLE; ?>/global/css/style.css" type="text/css">
    <style>
     body{ background-color:#fefeff; font:12px/1.5 arial,宋体b8b\4f53,sans-serif;}
    .width30{ width:25%; font-size:12px; border-radius:5px 2px 20px 2px;  }

    .title{ font-size:15px; font-weight:bold; color:#c40000; line-height:30px; border-bottom:1px solid #ccc;}
    .div-news{ height:50px; background-color:#fff}
    .div-user span{ display:block; font-size:12px; font: 12px/1.5 arial,宋体b8b\4f53,sans-serif; line-height:20px; color:#999}
    .div-user{ background-color:#fff; padding:20px;width:30%;float:left;  border-bottom:1px solid #eee }
    .div-button{ float:left;background-color:#fff; float:left; padding:20px; margin:0 10px; width:55%;border-radius:5px 5px 5px 5px;}
    .div-button ul li{ float:left; margin:0px 25px;}
    .div-button li a{  cursor:pointer; text-decoration:none}
    .div-button li span{ display:block; width:60px; text-align:center; line-height:32px;} 

    .div-system{background-color:#fff; float:left; padding:20px; margin:0 10px;border-right:1px solid #eee}
    .div-webinfo{background-color:#fff; float:left; padding:20px; margin:0 10px; width:27%;border-right:1px solid #eee }
    .div-about{background-color:#fff; float:left; padding:20px; margin:0 10px; overflow:hidden}



     li{font:12px/1.5 arial,宋体b8b\4f53,sans-serif;}
    .div-system ul li{height:30px; line-height:30px;color:#333;border-bottom:1px dotted #ddd;}
    .div-system ul li i{width:90px;height:30px; line-height:30px; display:inline-block; color:#666;}


    .div-about ul li{height:30px; line-height:30px;color:#333;border-bottom:1px dotted #ddd;}
    .div-about ul li i{width:90px;height:30px; line-height:30px; display:inline-block; color:#666;}

    .div-webinfo ul li{height:30px; line-height:30px;color:#333;border-bottom:1px dotted #ddd;}
    .div-webinfo ul li i{width:90px;height:30px; line-height:30px; display:inline-block; color:#666;}

    .CMS_message{background-color: #eef3f7;border: 1px solid #d5dfe8; height:20px; padding:5px 0px; overflow:hidden}
    .CMS_message li{ text-indent:50px; height:25px; line-height:25px; color:#C40000;font-size:12px; font-weight:bold;}
    </style>
    </head>
    <body><div class="bk30"></div>
    <div class="div-user lr10">
    <h1>Hello, <font color="#C40000"><?php echo $info['username'] ;?></font><h1>
        <span>欢迎您使用福利CMS夺宝管理后台!</span>
    <span>福利CMS(FULICMS.COM)一个为大家创造福利的CMS!</span>
        <span>所属角色: 超级管理员</span>
        <span>上次登录时间: <?php echo date("Y-m-d H:i:s",$info['logintime']); ?></span>
        <span>上次登录IP: <?php echo $info['loginip']; ?></span>
    </div>
    <div class="div-button">
    <div class="bk15"></div>
      

  2.   

    <?php defined('G_IN_ADMIN')or exit('No permission resources.'); ?>
    <!DOCTYPE html>
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv=Content-Type content="text/html; charset=utf-8"> 
    <link rel="Shortcut Icon" href="<?php echo G_WEB_PATH;?>/favicon.ico">
    <link rel="stylesheet" href="<?php echo G_GLOBAL_STYLE; ?>/global/css/global.css" type="text/css">
    <link rel="stylesheet" href="<?php echo G_GLOBAL_STYLE; ?>/global/css/index.css" type="text/css">
    <script src="<?php echo G_GLOBAL_STYLE; ?>/global/js/jquery-1.8.3.min.js"></script>
    <script src="<?php echo G_PLUGIN_PATH; ?>/layer/layer.min.js"></script>
    <script src="<?php echo G_GLOBAL_STYLE; ?>/global/js/global.js"></script>
    <title>后台首页</title>
    <script type="text/javascript">
    var ready=1;
    var kj_width;
    var kj_height;
    var header_height=100;
    var R_label;
    var R_label_one = "当前位置: 系统设置 >";
    function left(init){
    var left = document.getElementById("left");
    var leftlist = left.getElementsByTagName("ul");

    for (var k=0; k<leftlist.length; k++){
    leftlist[k].style.display="none";
    }
    document.getElementById(init).style.display="block";
    }function secBoard(elementID,n,init,r_lable) {

    var elem = document.getElementById(elementID);
    var elemlist = elem.getElementsByTagName("li");
    for (var i=0; i<elemlist.length; i++) {
    elemlist[i].className = "normal";
    }
    elemlist[n].className = "current";
    R_label_one="当前位置: "+r_lable+" >";
    R_label.text(R_label_one);
    left(init);
    }
    function set_div(){
    kj_width=$(window).width();
    kj_height=$(window).height();
    if(kj_width<1000){kj_width=1000;}
    if(kj_height<500){kj_height=500;} $("#header").css('width',kj_width); 
    $("#header").css('height',header_height);
    $("#left").css('height',kj_height-header_height); 
        $("#right").css('height',kj_height-header_height); 
    $("#left").css('top',header_height); 
    $("#right").css('top',header_height);

    $("#left").css('width',180);
    $("#right").css('width',kj_width-182); 
    $("#right").css('left',182);

    $("#right_iframe").css('width',kj_width-206); 
    $("#right_iframe").css('height',kj_height-148);
     
    $("#iframe_src").css('width',kj_width-208); 
    $("#iframe_src").css('height',kj_height-150); 

    $("#off_on").css('height',kj_height-180);

    var nav=$("#nav");
    nav.css("left",(kj_width-nav.get(0).offsetWidth)/2);
    nav.css("top",61);
    }
    $(document).ready(function(){
    set_div();
    $("#off_on").click(function(){
    if($(this).attr('val')=='open'){
    $(this).attr('val','exit');
    $("#right").css('width',kj_width);
    $("#right").css('left',1);
    $("#right_iframe").css('width',kj_width-25); 
    $("iframe").css('width',kj_width-27);
    }else{
    $(this).attr('val','open');
    $("#right").css('width',kj_width-182);
    $("#right").css('left',182);
    $("#right_iframe").css('width',kj_width-206); 
    $("iframe").css('width',kj_width-208);
    }
    });

    left('setting');
    $(".left_date a").click(function(){
    $(".left_date li").removeClass("set");   
    $(this).parent().addClass("set");
    R_label.text(R_label_one+' '+$(this).text()+' >');
    $("#iframe_src").attr("src",$(this).attr("src"));
    });
    $("#iframe_src").attr("src","<?php echo G_MODULE_PATH; ?>/index/Tdefault");
    R_label=$("#R_label");
    $('body').bind('contextmenu',function(){return false;});
    $('body').bind("selectstart",function(){return false;});

    });function api_off_on_open(key){
    if(key=='open'){
    $("#off_on").attr('val','exit');
    $("#right").css('width',kj_width);
    $("#right").css('left',1);
    $("#right_iframe").css('width',kj_width-25); 
    $("iframe").css('width',kj_width-27);
    }else{
    $("#off_on").attr('val','open');
    $("#right").css('width',kj_width-182);
    $("#right").css('left',182);
    $("#right_iframe").css('width',kj_width-206); 
    $("iframe").css('width',kj_width-208);
    }
    }
    </script><style>
    .header_case{  position:absolute; right:10px; top:10px; color:#fff}
    .header_case a{ padding-left:5px}
    .header_case a:hover{ color:#fff; }.left_date a{text-decoration:none;word-wrap:break-word;outline:none;hide-focus:expression(this.hideFocus=true);transition:all 0.2s ease-in-out;-webkit-transition:all 0.2s ease-in-out;-moz-transition:all 0.2s ease-in-out;-o-transition:all 0.2s ease-in-out;-ms-transition:all 0.2s ease-in-out;}
    .left_date{overflow:hidden;}
    .left_date ul{ margin:0px; padding:0px;}
    .left_date li{line-height:40px; height:40px; margin:1px 0px; margin-left:0px; overflow:hidden;}
    .left_date li a{display:block;height:40px;background:#f9f9f9;border-bottom:1px solid #eee;border-top:2px solid #fff;border-left:3px solid #c40000;border-right:1px solid #eee;font:normal 12px/33px Georgia "宋体"; color:#666;padding-left:40px; line-height: 33px;}
    .left_date li a:hover{border-left:5px solid #111;background-color:#f6f6f6;color:#C40000;font-weight:bold;}
    .left_date .set a{background-color:#666;border-radius:3px; color:#fff; font-weight:bold}
    .head{display:block;height:40px;background:#222;font:bold 14px/40px "宋体"; color:#fff;padding-left:30px;}</style></head>
    <body onResize="set_div();"><div id="header">
    <div class="logo"></div>
        <div class="header_case">
        欢迎您:<a href="javascript:;" title="<?php echo $info['username']; ?>"><?php echo $info['username']; ?> [超级管理员]</a>
        <a href="<?php echo G_MODULE_PATH; ?>/user/out" title="退出">[退出]</a>
        <a href="<?php echo G_WEB_PATH; ?>" title="网站首页" target="_blank">网站首页</a>

        <button  style="width:0px;height:0px;" onClick="document.location.hash='hello'"></button>
        </div>
        <div class="nav" id="nav">  
      

  3.   

    你需要给出php处理login,调用mysql的代码,你现在给的只是前端代码。
      

  4.   

    这种问题,需要你自己去找了。首先第一点,一步一步打印你的代码,看看运行是否正确。看传的参数是不是对。
    再看调用model之后,执行的结果。一步一步查,总有一步是错误的。某一步不明白哪里错了,再发帖子问。
      

  5.   

    你登陆界面的代码呢? 你贴代码的时候不用贴CSS,把表单代码贴过来,把处理表单界面贴过来就行了。我找了半天就是一堆CSS