js.php 874 Bytes
<?php
define('EmpireCMSAdmin','1');
require("../../class/connect.php");
require("../../class/db_sql.php");
require("../../class/functions.php");
require("../../data/dbcache/class.php");
$link=db_connect();
$empire=new mysqlquery();
$editor=1;
//驗證用戶
$lur=is_login();
$logininid=$lur['userid'];
$loginin=$lur['username'];
$loginrnd=$lur['rnd'];
$loginlevel=$lur['groupid'];
$loginadminstyleid=$lur['adminstyleid'];
//ehash
$ecms_hashur=hReturnEcmsHashStrAll();

$js=ehtmlspecialchars($_GET['js']);
$classid=ehtmlspecialchars($_GET['classid']);
$ztid=ehtmlspecialchars($_GET['ztid']);
$p=ehtmlspecialchars($_GET['p']);
if($classid)
{
	$url=$js;
}
else
{
	$url="../../../d/js/".$p."/".$js.".js";
}
?>
<link href="../adminstyle/<?=$loginadminstyleid?>/adminstyle.css" rel="stylesheet" type="text/css">
<script src="<?=$url?>"></script>