我自己用WE 改了下CSS什么的,
地址:www.zilnar.com/munbar/
就是现在打开后台一直有问题!后台管理页面进入以后就空白,然后按返回键就正常登录,这算BUG吗?别人你们遇到过这样的问题不?
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8" />
<meta name="renderer" content="webkit" />
<meta http-equiv="X-UA-Compatible" content="<?php echo X_UA_COMPATIBLE; ?>" />
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="blank" />
<meta name="format-detection" content="telephone=no" />
<title><?php echo $this->page_title; ?></title>
<link type="text/css" rel="stylesheet" href="<?php echo G_STATIC_URL; ?>/css/bootstrap.css?v=<?php echo G_VERSION_BUILD; ?>" />
<link type="text/css" rel="stylesheet" href="<?php echo G_STATIC_URL; ?>/css/icon.css?v=<?php echo G_VERSION_BUILD; ?>" />
<link type="text/css" rel="stylesheet" href="<?php echo G_STATIC_URL; ?>/admin/css/login.css?v=<?php echo G_VERSION_BUILD; ?>" />
<script type="text/javascript">
var G_INDEX_SCRIPT = "<?php echo G_INDEX_SCRIPT; ?>";
var G_BASE_URL = "<?php echo base_url(); ?>/<?php echo rtrim(G_INDEX_SCRIPT, '/'); ?>";
var G_USER_ID = "<?php echo $this->user_id; ?>";
var G_POST_HASH = "";
</script>
<?php if (is_array($this->_import_css_files)) { ?>
<?php foreach ($this->_import_css_files AS $import_css) { ?>
<link type="text/css" rel="stylesheet" href="<?php echo $import_css; ?>?v=<?php echo G_VERSION_BUILD; ?>" />
<?php } ?>
<?php } ?>
<?php if (is_array($this->_import_js_files)) { ?>
<?php foreach ($this->_import_js_files AS $import_js) { ?>
<script type="text/javascript" src="<?php echo $import_js; ?>?v=<?php echo G_VERSION_BUILD; ?>" ></script>
<?php } ?>
<?php } ?>
</head>
<body>
<div class="aw-login">
<div class="mod center-block">
<h1><img src="<?php echo G_STATIC_URL; ?>/admin/img/wecenter-logo.png" alt="" /></h1>
<form role="form" id="login_form" onsubmit="return false" action="admin/ajax/login_process/" method="post">
<?php if ($_GET['url']){ ?>
<input type="hidden" name="url" value="<?php echo htmlspecialchars($_GET['url']); ?>">
<?php } ?>
<div class="alert alert-danger collapse error_message"></div>
<div class="form-group">
<label><?php _e('邮箱'); ?></label>
<input type="text" class="form-control" placeholder="<?php _e('邮箱'); ?>" value="<?php echo $this->user_info['email']; ?>" disabled="disabled" />
<i class="icon icon-user"></i>
</div>
<div class="form-group">
<label><?php _e('密码'); ?></label>
<input type="password" class="form-control" placeholder="<?php _e('密码'); ?>" type="password" name="password" onkeydown="if (event.keyCode == 13) { document.getElementById('login_submit').click(); };" autofocus/>
<i class="icon icon-lock"></i>
</div>
<?php if (get_setting('admin_login_seccode') == 'Y') { ?>
<div class="form-group">
<label><?php _e('验证码'); ?></label>
<div class="row">
<div class="col-xs-5">
<input type="text" class="form-control" name="seccode_verify" onkeydown="if (event.keyCode == 13) { document.getElementById('login_submit').click(); };" maxlength="4" />
</div>
<div class="col-xs-4 col-xs-offset-1">
<img src="" class="verification" id="captcha" onclick="this.src = G_BASE_URL + '/account/captcha/' + Math.floor(Math.random() * 10000);" />
</div>
</div>
</div>
<?php } ?>
<button type="submit" class="btn btn-primary" id="login_submit" onclick="AWS.ajax_post($('#login_form'), AWS.ajax_processer, 'error_message');"><?php _e('登录'); ?></button>
</form>
<h2 class="text-center text-color-999">WeCenter Admin Control</h2>
</div>
</div>
这个是就登录的代码 ,如果要修改的话修改那里!在线等,!
阅读全文
收起全文