You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
712 B
33 lines
712 B
<?php
|
|
define('EmpireCMSAdmin','1');
|
|
require("../class/connect.php");
|
|
require("../class/db_sql.php");
|
|
require("../class/functions.php");
|
|
$link=db_connect();
|
|
$empire=new mysqlquery();
|
|
//验证用户
|
|
$lur=is_login();
|
|
$logininid=$lur['userid'];
|
|
$loginin=$lur['username'];
|
|
$loginrnd=$lur['rnd'];
|
|
$loginlevel=$lur['groupid'];
|
|
$loginadminstyleid=$lur['adminstyleid'];
|
|
hCheckEcmsRHash();
|
|
db_close();
|
|
$empire=null;
|
|
|
|
//取得汉字
|
|
$hz=ehtmlspecialchars($_GET['hz']);
|
|
$returnform=RepPostVar($_GET['returnform']);
|
|
if(empty($hz)||empty($returnform))
|
|
{
|
|
echo"<script>alert('没输入汉字!');window.close();</script>";
|
|
exit();
|
|
}
|
|
|
|
$py=ReturnPinyinFun($hz);
|
|
?>
|
|
<script>
|
|
<?=$returnform?>="<?=$py?>";
|
|
window.close();
|
|
</script>
|
|
|