<!--#include file="Conn_Mail.asp"-->
<!--#include file="Function.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>互联之光邮件营销管理入口</title>
<meta name="keywords" content="CMS,网站内容管理系统,网站建设,Content Management System">
<meta name="description" content="互联之光网站内容管理系统(Content Management System)">
<link href="images/search.css" rel="stylesheet" type="text/css">
</head>
<body>
<table width="100%" height="100%"  border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center" valign="middle"><table width="590" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="25" align="right" valign="top" background="images/log_3_Company.gif">&nbsp;</td>
      </tr>
    </table>      <table width="590"  border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td valign="top" background="images/log_16.gif"><table width="500"  border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td width="19%" rowspan="2"><img src="images/log_7.gif" width="107" height="107"></td>
                <td width="81%" height="74" valign="bottom"> 
                  <%if Session("XiaBoleUserName")="" then%>
                  <img src="images/log_9_Company.gif" width="113" height="36">
                  <%else%>
                  <img src="images/log_10.gif" width="113" height="36">
                  <%end if%>
                </td>
            </tr>
            <tr>
              <td height="30" valign="middle"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="345" height="13">
                <param name="movie" value="images/prosgessbar.swf">
                <param name="quality" value="high">
                <embed src="images/prosgessbar.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="345" height="13"></embed>
              </object></td>
            </tr>
            <tr align="center">
              <td colspan="2"><IMG SRC="images/log_13.gif" WIDTH=539 HEIGHT=10 ALT=""></td>
            </tr>
          </table>          
          <table width="590" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td>
			  <%if Session("XiaBoleusername")=""then %>	
			  <form name="form2" method="post" action="login.asp">
                <table width="590" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td><table width="400"  border="0" align="center" cellpadding="0" cellspacing="0">
                          <tr>
                            <td>&nbsp;</td>
                          </tr>
                          <tr>
                            <td><table width="90%" height="100"  border="0" align="center" cellpadding="0" cellspacing="0">
                                <tr>
                                  <td width="72%"><table width="95%"  border="0" align="center" cellpadding="0" cellspacing="0">
                                      <tr>
                                        <td width="27%" height="30" align="right">用户名：</td>
                                        <td width="73%" height="30"><input name="username" type="text" class="loginbox" size="20"></td>
                                      </tr>
                                      <tr>
                                        <td height="30" align="right">密　码：</td>
                                        <td height="30"><input name="userpassword" type="password" class="loginbox" size="20"></td>
                                      </tr>
                                      <tr>
                                        <td height="30" align="right">验证码：</td>
                                        <td height="30">
                                          <input name="yz" type="text" class="reg2" id="yz" onKeyPress	= "return regInput(this,	/^\d*\.?\d{0,2}$/,		String.fromCharCode(event.keyCode))" size="8" maxlength="4" 
		onpaste		= "return regInput(this,	/^\d*\.?\d{0,2}$/,		window.clipboardData.getData('Text'))"
		ondrop		= "return regInput(this,	/^\d*\.?\d{0,2}$/,		event.dataTransfer.getData('Text'))">
&nbsp;                                          <%Call GetSafeCode%>
</td>
                                      </tr>
                                  </table>                                    </td>
                                  <td width="28%" align="left"><input name="imageField" type="image" img src="images/logo3.gif" border="0" onClick="return checkfk();"></td>
                                </tr>
                            </table></td>
                          </tr>
                          <tr>
                              <td height="30" align="center" valign="middle">&nbsp;</td>
                          </tr>
                        </table>                        
                        </td>
                    </tr>
                  </table>
                </form>

<%else%>
<table width="590" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width="350"  border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td>    
<table width="301" border="0" align="center" cellpadding="0" cellspacing="0">
                                <tr> 
                                  <td height="25" >·<a href="./logout.asp">退出登录</a></td>
                                </tr>
                              </table></td>
</tr>
</table>
<p>&nbsp;</p></td>
</tr>
</table>

<%end if%></td>
</tr>
</table>          </td>
</tr>
</table>
<table width="590" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><IMG SRC="images/log_18.gif" WIDTH=590 HEIGHT=8 ALT=""></td>
</tr>
</table>
<table width="590" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="right"><span class="style4">Copyright&copy;2004, <a href="http://www.elight.cn" target="_blank"><span class="style4">elight.cn</span></a> inc All Rights Resrved </span></td>
</tr>
</table>    </td>
</tr>
</table>
</body>
</html>
<SCRIPT LANGUAGE="JavaScript">
<!--
function checkspace(checkstr) {
  var str = '';
  for(i = 0; i < checkstr.length; i++) {
    str = str + ' ';
  }
  return (str == checkstr);
}

function checkfk()
{
   if(checkspace(document.form2.username.value)) {
	document.form2.username.focus();
    alert("请填写用户名！");
	return false;
  }
   if(checkspace(document.form2.userpassword.value) || document.form2.userpassword.value.length < 6 || document.form2.userpassword.value.length > 20){
	document.form2.userpassword.focus();
    alert("密码不能为空，在6位到20位之间，请重新输入！");
	return false;
  }
    if(document.form2.yz.value.length!=4) {
	document.form2.yz.focus();
    alert("验证码不能为空，应该是4个数字！");
	return false;
  }
}
//-->
</script> 
<script>
	function regInput(obj, reg, inputStr)
	{
		var docSel	= document.selection.createRange()
		if (docSel.parentElement().tagName != "INPUT")	return false
		oSel = docSel.duplicate()
		oSel.text = ""
		var srcRange	= obj.createTextRange()
		oSel.setEndPoint("StartToStart", srcRange)
		var str = oSel.text + inputStr + srcRange.text.substr(oSel.text.length)
		return reg.test(str)
	}
</script>

