| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248 | <?phpdefine('EmpireCMSAdmin','1');define('EmpireCMSAPage','login');define('EmpireCMSNFPage','1');require("../class/connect.php");require("../class/functions.php");//风格$loginadminstyleid=EcmsReturnAdminStyle();//变量处理$empirecmskey1='';$empirecmskey2='';$empirecmskey3='';$empirecmskey4='';$empirecmskey5='';if($_POST['empirecmskey1']&&$_POST['empirecmskey2']&&$_POST['empirecmskey3']&&$_POST['empirecmskey4']&&$_POST['empirecmskey5']){	$empirecmskey1=RepPostVar($_POST['empirecmskey1']);	$empirecmskey2=RepPostVar($_POST['empirecmskey2']);	$empirecmskey3=RepPostVar($_POST['empirecmskey3']);	$empirecmskey4=RepPostVar($_POST['empirecmskey4']);	$empirecmskey5=RepPostVar($_POST['empirecmskey5']);	$ecertkeyrndstr=$empirecmskey1.'#!#'.$empirecmskey2.'#!#'.$empirecmskey3.'#!#'.$empirecmskey4.'#!#'.$empirecmskey5;	esetcookie('ecertkeyrnds',$ecertkeyrndstr,0);}elseif(getcvar('ecertkeyrnds')){	$certr=explode('#!#',getcvar('ecertkeyrnds'));	$empirecmskey1=RepPostVar($certr[0]);	$empirecmskey2=RepPostVar($certr[1]);	$empirecmskey3=RepPostVar($certr[2]);	$empirecmskey4=RepPostVar($certr[3]);	$empirecmskey5=RepPostVar($certr[4]);}else{}?><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>帝国CMS - 稳定可靠、安全省心</title><link rel="stylesheet" href="loginimg/css.css" type="text/css"><base onmouseover="window.status='帝国CMS - 稳定可靠、安全省心';return true"><script>if(self!=top){	parent.location.href='index.php';}function CheckLogin(obj){	if(obj.username.value=='')	{		alert('请输入用户名');		obj.username.focus();		return false;	}	if(obj.password.value=='')	{		alert('请输入登录密码');		obj.password.focus();		return false;	}	if(obj.loginauth!=null)	{		if(obj.loginauth.value=='')		{			alert('请输入认证码');			obj.loginauth.focus();			return false;		}	}	if(obj.key!=null)	{		if(obj.key.value=='')		{			alert('请输入验证码');			obj.key.focus();			return false;		}	}		return true;}function edoshowkey(showid,vname){	document.getElementById(showid).innerHTML='<img src="ShowKey.php?v='+vname+'&t='+Math.random()+'" name="'+vname+'KeyImg" id="'+vname+'KeyImg" align="bottom" onclick=edoshowkey("'+showid+'","'+vname+'") title="看不清楚,点击刷新">';}</script></head><body text="383636" bgcolor="#FFFFFF" onload="document.login.username.focus();"><table width="98" border="0" cellspacing="0" cellpadding="0" align="center">  <tr>     <td height="60"> </td>  </tr></table><table width="524" border="0" cellspacing="0" cellpadding="0" align="center" height="320">  <form name="login" id="login" method="post" action="ecmsadmin.php" onsubmit="return CheckLogin(document.login);" autocomplete="off">    <input type="hidden" name="enews" value="login">	<input name="eposttime" type="hidden" id="eposttime" value="0">    <tr>       <td width="61" rowspan="3" valign="top"> <TABLE WIDTH=61 height="100%" BORDER=0 CELLPADDING=0 CELLSPACING=0>          <TR>             <TD height="63"> <IMG SRC="loginimg/login_r1_c1_01.jpg" WIDTH=61 HEIGHT=63></TD>          </TR>          <TR>             <TD height="163" background="loginimg/login_r1_c1_02.jpg">  </TD>          </TR>          <TR>             <TD height="100%" background="loginimg/login_r1_c1_003.jpg"> </TD>          </TR>          <TR>             <TD height="23"> <IMG SRC="loginimg/login_r1_c1_03.jpg" WIDTH=61 HEIGHT=23></TD>          </TR>        </TABLE></td>      <td colspan="3"><img src="loginimg/login_r1_c2.gif" width="463" height="65"></td>    </tr>    <tr>       <td width="241" valign="top" bgcolor="#FFFFFF"><img src="loginimg/login_r2_c2.gif" width="241" height="104"></td>      <td width="157" rowspan="2" valign="top" bgcolor="#FFFFFF">         <table width="157" height="100%" border="0" cellpadding="0" cellspacing="0">          <tr>            <td> <br><br>              <img src="loginimg/login_r2_c3.gif" width="157" height="184"></td>          </tr>          <tr>            <td height="100%" valign="bottom"> <div align="right"><a href="../../" target="_blank"><img src="loginimg/homepage.gif" width="79" height="21" border="0"></a> <a href="http://bbs.phome.net" target="_blank"><img src="loginimg/empirebbs.gif" width="69" height="21" border="0"></a></div></td>          </tr>        </table> </td>      <td width="65" rowspan="2" valign="top">         <table width="65" height="100%" border="0" cellpadding="0" cellspacing="0">          <tr>             <td height="184" background="loginimg/login_r2_c4.gif"> </td>          </tr>          <tr>             <td height="100%" background="loginimg/login_r2_c4_002.jpg"> </td>          </tr>        </table>      </td>    </tr>    <tr>       <td height="80"> <table width="230" height="100%" border="0" align="right" cellpadding="0" cellspacing="0">          <tr>             <td width="50" height="27">用户名: </td>            <td colspan="2"> <input name="username" type="text" class="b-form2" size="22">             </td>          </tr>          <tr>             <td height="27">密   码: </td>            <td colspan="2"> <input name="password" type="password" class="b-form2" size="22">             </td>          </tr>		  <?php		  if($ecms_config['esafe']['loginauth'])		  {		  ?>          <tr>             <td height="27">认证码: </td>            <td colspan="2"><input name="loginauth" type="password" id="loginauth" class="b-form2" size="22"></td>          </tr>          <?php		  }		  ?>          <tr>            <td height="27">提   问: </td>            <td colspan="2"><select name="equestion" id="equestion" onchange="if(this.options[this.selectedIndex].value==0){showanswer.style.display='none';}else{showanswer.style.display='';}">                <option value="0">无安全提问</option>                <option value="1">母亲的名字</option>                <option value="2">爷爷的名字</option>                <option value="3">父亲出生的城市</option>                <option value="4">您其中一位老师的名字</option>                <option value="5">您个人计算机的型号</option>                <option value="6">您最喜欢的餐馆名称</option>                <option value="7">驾驶执照的最后四位数字</option>              </select></td>          </tr>          <tr id="showanswer">            <td height="27">答   案: </td>            <td colspan="2"><input name="eanswer" type="text" id="eanswer" class="b-form2" size="22"></td>          </tr>          <?php		  if(empty($public_r['adminloginkey']))		  {		  ?>          <tr>             <td height="27">验证码: </td>            <td width="83"> <input name="key" type="text" class="b-form2" size="9">             </td>            <td width="97" id="checkkeyshowkey"><a href="#EmpireCMS" onclick="edoshowkey('checkkeyshowkey','checkkey');" title="点击显示验证码">点击显示</a></td>          </tr>          <?php		  }		  ?>          <tr>             <td height="27">窗   口: </td>            <td colspan="2"><input type="radio" name="adminwindow" value="0" checked>              正常               <input type="radio" name="adminwindow" value="1">              全屏</td>          </tr>          <tr>             <td height="27"> </td>            <td colspan="2" valign="bottom"> <input name="imageField" type="image" src="loginimg/login2.gif" width="69" height="21" border="0">             </td>          </tr>        </table></td>    </tr>    <tr>       <td colspan="4"><table width="100%" border="0" cellpadding="0" cellspacing="0" background="loginimg/login_r4_c1.gif">          <tr>             <td width="111" height="32"> </td>            <td width="111" valign="top"> </td>            <td width="302"><input name="empirecmskey1" type="hidden" id="empirecmskey1" value="<?php echo $empirecmskey1;?>">              <input name="empirecmskey2" type="hidden" id="empirecmskey2" value="<?php echo $empirecmskey2;?>">              <input name="empirecmskey3" type="hidden" id="empirecmskey3" value="<?php echo $empirecmskey3;?>">              <input name="empirecmskey4" type="hidden" id="empirecmskey4" value="<?php echo $empirecmskey4;?>">              <input name="empirecmskey5" type="hidden" id="empirecmskey5" value="<?php echo $empirecmskey5;?>"></td>          </tr>        </table></td>    </tr>    <tr>       <td height="39" colspan="4" valign="top" bgcolor="ECECEC"><table width="100%" border="0" cellspacing="0" cellpadding="0">          <tr>             <td width="19%"><div align="center"></div></td>            <td width="73%" height="30">Powered by <a href="http://www.phome.net" target="_blank"><strong>EmpireCMS</strong></a>               <font color="#FF9900"><strong>7.5</strong></font> © 2002-2018 <a href="http://www.digod.com" target="_blank">EmpireSoft</a>               Inc.</td>            <td width="8%"> </td>          </tr>        </table></td>    </tr>  </form></table><table width="100%" border="0" cellspacing="1" cellpadding="3">  <tr>    <td height="90"><div align="center"><a href="http://ebak.phome.net" target="_blank" title="EmpireBak+phpMyAdmin+高安全"><img src="loginimg/ebakbanner.gif" width="523" style="border:1px solid #63CDEF;"></a></div></td>  </tr></table><script>if(document.login.equestion.value==0){	showanswer.style.display='none';}</script></body></html>
 |