<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>
<?=global_cfg_sitename?>
-后台管理登录</title>
<link href="<?=BASEURL?>public/admin/css/login.css" rel="stylesheet" type="text/css" />
<link href="<?=BASEURL?>public/admin/css/main.css" rel="stylesheet" type="text/css" />
<!--[if IE 6]>
<script language="JavaScript" type="text/javascript">
if (navigator.platform == "Win32" && navigator.appName == "Microsoft Internet Explorer" && window.attachEvent) {
window.attachEvent("onload", enableAlphaImages);
}

function enableAlphaImages(){
    var rslt = navigator.appVersion.match(/MSIE (\d+\.\d+)/, '');
    var itsAllGood = (rslt != null && Number(rslt[1]) >= 5.5);
    if (itsAllGood) {
        for (var i=0; i<document.all.length; i++){
        var obj = document.all[i];
        var bg = obj.currentStyle.backgroundImage;
        var img = document.images[i];
        if (bg && bg.match(/\.png/i) != null) {
        var img = bg.substring(5,bg.length-2);
        var offset = obj.style["background-position"];
        obj.style.filter =
        "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+img+"', sizingMethod='crop')";
        obj.style.backgroundImage = "url('')";//替换透明PNG的图片
        obj.style["background-position"] = offset; // reapply
    } else if (img && img.src.match(/\.png$/i) != null) {
        var src = img.src;
        img.style.width = img.width + "px";
        img.style.height = img.height + "px";
        img.style.filter =
        "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+src+"', sizingMethod='crop')"
        img.src = "";//替换透明PNG的图片
    }
    }
    }
}
</script>
<![endif]-->
</head>
<body>
<div class="login">
  <div class="loginMain">
    <div class="loginMainFrame">
      <form id="form1" name="form1" method="post" action="<?=BASEURI?>login/index">
        <table width="600" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:50px;">
          <tr>
            <td class="login_bg"></td>
            <td><table width="300" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="80" height="30" align="right">用户名：</td>
                  <td><input type="text" name="login[user_name]" class="text" style="width:120px;"/></td>
                </tr>
                <tr>
                  <td width="80" height="30" align="right">密&nbsp;&nbsp;&nbsp;码：</td>
                  <td><input type="password" class="text" style="width:120px;" name="login[user_pwd]" /></td>
                </tr>
            </table></td>
          </tr>
          <tr>
            <td>&nbsp;</td>
            <td height="30"><input type="submit" value="登录" /></td>
          </tr>
        </table>
         <input type="hidden" name="login[position]" value="admin" />
      </form>
    </div>
  </div>
</div>
</body>
</html>
