init web ems all
This commit is contained in:
45
wxc2_omc/index.php
Executable file
45
wxc2_omc/index.php
Executable file
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
if (!session_id()) session_start();
|
||||
?>
|
||||
<html>
|
||||
<head>
|
||||
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html">
|
||||
<title>WXC2 EMS</title>
|
||||
</head>
|
||||
<?php
|
||||
if(!isset($userInfo)) $userInfo = $_SESSION['userInfo'];
|
||||
$DEBUG=0;
|
||||
if (!empty($userInfo))
|
||||
$isLogin=sizeof($userInfo);
|
||||
if($isLogin < 4 || $userInfo['privilege'] < 1)
|
||||
{
|
||||
$tmpArr=explode('/', $_SERVER['PHP_SELF'] );
|
||||
$selectedOmcPath=$tmpArr[1];
|
||||
#session_register("selectedOmcPath"); //<2F><>??????<3F><>
|
||||
$_SESSION['selectedOmcPath'] = $selectedOmcPath;
|
||||
|
||||
if($DEBUG)
|
||||
{
|
||||
echo "<br>index.php begin";
|
||||
echo "<br>selectedOmcPath:$selectedOmcPath";
|
||||
echo "<br>inde.php end";
|
||||
}
|
||||
echo " <meta http-equiv=\"refresh\" content=\"0; url=../index.php\"> ";
|
||||
exit();
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
<frameset rows="47,*" framespacing="0" border="0" frameborder="0">
|
||||
<frame name="header" noresize scrolling="no" target="downMain" src="./frame/topMenu/topMenu.php" style="border-bottom: 0 solid #000000" marginwidth="0" marginheight="0">
|
||||
<frame name="downMain" src="./frame/downIndex/downIndex.php">
|
||||
<noframes>
|
||||
<body>
|
||||
|
||||
<p><3E><><EFBFBD><EFBFBD>ҳʹ<D2B3><CAB9><EFBFBD>˿<EFBFBD><CBBF>ܣ<EFBFBD><DCA3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֧<EFBFBD>ֿ<EFBFBD><D6BF>ܡ<EFBFBD></p>
|
||||
|
||||
</body>
|
||||
</noframes>
|
||||
</frameset>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user