<!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>
        <base href="{base}/application/views/" />
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>{page_title}</title>
        <link href="css/login.css" rel="stylesheet" />

        <script src="js/jquery-1.8.2.min.js"></script>
        <script src="js/login.js"></script>
        <script>
            var ret="{ret}";
            if(ret!=""){
                alert(ret);
            }
            var base = "{base}";
			
			document.onkeydown = function(evt){
			  var evt = window.event?window.event:evt;
			  if (evt.keyCode==13) {
				  if (document.activeElement.id == "imgcode") {
				  	check();
				  }
			  }
		    } 
        </script>
    </head>

    <body background="images/bg_main.gif">

        <div id="main">
            <div id="div_login">
                <form id="frm_login" method="post">
                    <table cellspacing="5" id="table1">

                        <tr width="240px" height="30px">

                            <td width="59" >邮&nbsp;&nbsp;&nbsp;箱：</td>
                            <td><input class="inp_name" type="text" name="email" id="email" style="width:150px; height:14px"  /></td>
                        </tr>

                        <tr>
                            <td >密&nbsp;&nbsp;&nbsp;码：</td>
                            <td><input class="inp_pwd" type="password" name="password" id="password" style="width:150px; height:14px"  /></td>
                        </tr>

                        <tr>
                            <td>
                                验证码： 
                            </td>
                            <td>
                                <input type="text" name="imgcode" id="imgcode" style="width:30px; height:14px" > <a  href="javascript:reloadcode();" title="更换一张验证码图片"><img src="{base}captcha_code" width="80px" height="20px" name="code" id="code" border="0" /></a> <a href="javascript:reloadcode();" id="next" name="next">换一张</a>
                            </td>

                        </tr>
                        <tr>
                            <td width="59">&nbsp;</td>
                            <td width="174">
                                <input class="btn_OK" type="button" value="登录" name="btn_OK" id="login_again" onclick="check()"  style="width:45px; height:20px" />　　<a onclick="forget_email('{base}')" href="javascript:void(0);">忘记密码？</a></td>

                        </tr>
                    </table>
                </form>
            </div>
            <div>
                </body>
                </html>
