<?php
	require_once('inc/conn.php');
	require_once('inc/constant.php');
	$opendb=new mydb();
	$config_sql="select * from ls_config ";
	$config_query=$opendb->query($config_sql);
	$config_rows=mysql_fetch_assoc($config_query);
	
	
?>

<!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>
<title><?=$engineName?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<STYLE type="text/css">
<!--
a:link	   {text-decoration: none; font-family: AdobeSm; color: #000000 }
a:visited	{text-decoration: none; color: #000000 }
A:hover	  {COLOR: green; FONT-FAMILY: "Microsoft YaHei,MingLiU"; TEXT-DECORATION: underline}
body		 {font-size: 9pt; font-family: Microsoft YaHei,MingLiU, Arial;color: #000000}
TD		   {FONT-SIZE: 9pt; FONT-FAMILY: "Microsoft YaHei,MingLiU, Arial";color: #000000;table-layout:fixed;word-break:break-all}
p			{FONT-SIZE: 9pt; FONT-FAMILY: "Microsoft YaHei,MingLiU, Arial";color: #000000}
input		{FONT-SIZE: 9pt; FONT-FAMILY: "Microsoft YaHei,MingLiU, Arial";color: #000000}
body		 {margin-top: 0; margin-bottom: 0;margin-left:0;margin-right:0; color: #000000}
select	   {FONT-SIZE: 9PT;}
option	   {FONT-SIZE: 9pt;}
textarea	 {FONT-SIZE: 9pt;}
.STYLE1 {color: #FFFFFF}
-->
</STYLE>
<script language=javascript>
<!--


function CheckBrowser() 
{
  var app=navigator.appName;
  var verStr=navigator.appVersion;
  if (app.indexOf('Netscape') != -1) {
	alert(" 你使用的是Netscape浏览器，可能会导致无法使用后台的部分功能。建议您使用 IE6.0 或以上版本。");
  } 
  else if (app.indexOf('Microsoft') != -1) {
	if (verStr.indexOf("MSIE 3.0")!=-1 || verStr.indexOf("MSIE 4.0") != -1 || verStr.indexOf("MSIE 5.0") != -1 || verStr.indexOf("MSIE 5.1") != -1)
	  alert("   您的浏览器版本太低，可能会导致无法使用后台的部分功能。建议您使用 IE6.0 或以上版本。");
  }
}
//-->
</script>
<script language="JavaScript" type="text/JavaScript">
<!--
/*
  if(form1.password.value.length<5)
  {
  errors+="密码长度不能少于5个字符";

  }
*/

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
	d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_validateForm() { //v4.0
  var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
  for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
	if (val) { nm=val.name; if ((val=val.value)!="") {
	  if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
		if (p<1 || p==(val.length-1)) errors+='- '+nm+' 必须是邮箱地址.\n';
	  } else if (test!='R') { num = parseFloat(val);
		if (isNaN(val)) errors+='- '+nm+' 必须包含数字.\n';
		if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
		  min=test.substring(8,p); max=test.substring(p+1);
		  if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
	} } } else if (test.charAt(0) == 'R') errors += '- '+nm+' 不能为空：\n'; }
  } if (errors) alert('请更正下列错误:\n'+errors);
  document.MM_returnValue = (errors == '');
}
//-->
</script>
</head>

<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0">
	
<form action="lanscendchecklogin.php" method="post" name="form1" >
<div align="center">
	<table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%" id="table9" >
		<tr>
			<td style="font-size: 9pt; font-family: Microsoft YaHei,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all">
			<div align="center">
				<table border="0" cellpadding="0" cellspacing="0"  background="images/lanscend_login.gif" width="564" height="352" id="table10">
<tr>
						<td width="564" valign="top" style="font-size: 9pt; font-family: Microsoft YaHei,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all">
					  <div align="center">
							<div align="center">
							  
					  <table width="100%" height="363" border="0" cellpadding="0" cellspacing="0" id="table11">
						<tr> 
						  <td height="110" colspan="3" valign="top" style="font-size: 7pt; font-family: Microsoft YaHei,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all">　
							<table width="100%"  border="0" cellspacing="0" cellpadding="0">
							  <tr> 
								<td width="50"></td>
								<td><font color="#ffffff">蓝信网站后台参数配置</font></td>
							  </tr>
							</table></td>
						  <td width="35" height="119" style="font-size: 9pt; font-family: Microsoft YaHei,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all">　
						  </td>
						</tr>
						<tr> 
						  <td width="191" height="101" style="font-size: 9pt; font-family: Microsoft YaHei,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all">　
						  </td>
						  <td height="101" colspan="2" style="font-size: 9pt; font-family: Microsoft YaHei,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all"><table border="0" cellpadding="5" cellspacing="0" width="319" id="table12">
							  <tr> 
								<td width="88" align="center" style="font-size: 9pt; font-family: Microsoft YaHei,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all"> 
								  用户名</td>
								<td width="211" style="font-size: 9pt; font-family: Microsoft YaHei,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all">&nbsp; 
								  <input type="text" name="username" size="24" maxlength="20" style="font-size: 9pt; font-family: Microsoft YaHei,MingLiU, Arial; color: #000000" onMouseOver="this.style.background='#FDE8FE';" onMouseOut="this.style.background='#FFFFFF'" onFocus="this.select(); "></td>
							  </tr>
							  <tr> 
								<td width="88" align="center" style="font-size: 9pt; font-family: Microsoft YaHei,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all"> 
								  密　码</td>
								<td width="211" style="font-size: 9pt; font-family: Microsoft YaHei,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all">&nbsp; 
								  <input type="password" name="password" size="24" maxlength="20" style="font-size: 9pt; font-family: Microsoft YaHei,MingLiU, Arial; color: #000000" onMouseOver="this.style.background='#FDE8FE';" onMouseOut="this.style.background='#FFFFFF'" onFocus="this.select(); "></td>
							  </tr>
							  <tr> 
								<td width="88" align="center" style="font-size: 9pt; font-family: Microsoft YaHei,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all"> 
								  验证码<br> </td>
								<td width="211" style="font-size: 9pt; font-family: Microsoft YaHei,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all">&nbsp; 
								  <input type="text" name="code" size="10" onMouseOver="this.style.background='#FDE8FE';" onMouseOut="this.style.background='#FFFFFF'" onFocus="this.select(); "> 
								  &nbsp;&nbsp;&nbsp;<img src="inc/code.php" border="0" valign="bottom"><font color="#333333"><br>
								  </font></td>
							  </tr>
							</table></td>
						  <td width="35" height="101" style="font-size: 9pt; font-family: Microsoft YaHei,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all">　
						  </td>
						</tr>
						<tr> 
						  <td width="191" height="12" style="font-size: 9pt; font-family: Microsoft YaHei,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all">　
						  </td>
						  <td colspan="2" style="font-size: 9pt; font-family: Microsoft YaHei,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all">　
						  </td>
						  <td width="35" style="font-size: 9pt; font-family: Microsoft YaHei,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all">　
						  </td>
						</tr>
						<tr> 
						  <td width="191" height="34" style="font-size: 9pt; font-family: Microsoft YaHei,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all">　
						  </td>
						  <td colspan="2" style="font-size: 9pt; font-family: Microsoft YaHei,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all"><p align="center"> 
							  <input name="B1" type="image" value="提交" onClick="MM_validateForm('username','','R','password','','R');return document.MM_returnValue" src=images/login001.jpg width="72" height="21">
							  &nbsp; <a href="Login.asp" onClick="window.opener=null;window.close()" style="text-decoration: none; font-family: AdobeSm; color: #000000"> 
							  <img border="0" src="images/login002.jpg" width="72" height="21"></a></td>
						  <td width="35" style="font-size: 9pt; font-family: Microsoft YaHei,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all">　
						  </td>
						</tr>
						<tr> 
						  <td height="49" valign="middle" style="font-size: 9pt; font-family: Microsoft YaHei,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all"> 
							<div align="center"></div></td>
						  <td width="158" height="49" valign="bottom" style="font-size: 9pt; font-family: Microsoft YaHei,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all"> 
							<div align="center"><a href="fetchpassword.php" target="_blank"></a><a href="fetchpassword.php" target="_blank"><font color="#CCCCCC">验证码不区分大小写</font></a></div></td>
						  <td width="180" height="49" valign="bottom" style="font-size: 9pt; font-family: Microsoft YaHei,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all"> 
							<div align="right"></div></td>
						  <td height="49" style="font-size: 9pt; font-family: Microsoft YaHei,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all">&nbsp;</td>
						</tr>
						<tr> 
						  <td width="191" style="font-size: 9pt; font-family: Microsoft YaHei,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all">　
						  </td>
						  <td  colspan="2" valign="bottom" style="font-size: 9pt; font-family: Microsoft YaHei,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all"><div align="right" style="padding-bottom:4px"><a href="http://www.lanscend.com" target="_blank" class="STYLE1"><span class="STYLE1">Powered 
							  by Lanscend.com 蓝信网络</span></a></div></td>
						  <td width="35" height="37"  style="font-size: 9pt; font-family: Microsoft YaHei,MingLiU, Arial; color: #000000; table-layout: fixed; word-break: break-all">　
						  </td>
						</tr>
					  </table>
							</div>
						</div>						</td>
				  </tr>
				</table>
			</div>
			</td>
		</tr>
	</table>
</div>

</form>





</body>
</html>
