项目

一般

简介

main.html

黄 虹琳, 2018-01-31 17:00

 
1
<!DOCTYPE html>
2
<html>
3
<head>
4
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
5
<meta http-equiv="Content-Language" content="zh-cn" />
6
<title></title>
7
<link href="css/omdev.css" title="style" rel="stylesheet" type="text/css" />
8
<script src="js/jquery-1.6.3.min.js"></script>
9
</head>
10
<body>
11
<div id="hd">
12
  <div class="logo">
13
     <img class=logoimg src="img/LOGO.png">
14
  </div>
15
  <div class="logotxt">?????????ͻ??????ϵͳ</div>
16
  <div class="logonav" style=";">
17
    <ul>
18
      <li><a href="A3-status.asp" target="content">??ҳ</a></li>
19
      <li><a href="pwd.html" target="content">?޸?????</a></li>
20
      <li><a href="javascript:void(0)" onclick="Logout();">??ȫ?˳?</a></li>
21
    </ul>
22
  </div>
23
</div>
24
<div id="bd">
25
  <div id="side">
26
        <a href="A3-status.asp" id="navhome" target="content" class="list_p">?? ҳ</a>
27
        <ul class="list_1">
28
            <li><a href="C2.asp?subsys=1" target="content">?е???</a></li>
29
            <!--<li><a href="C2.asp?subsys=2" target="content">?????</a></li>
30
            <li><a href="C2.asp?subsys=3" target="content">UPS ???</a></li>
31
            <li><a href="C2.asp?subsys=4" target="content">??ؼ??</a></li>-->
32
            <li><a href="C2.asp?subsys=5" target="content">?¶?ʪ??</a></li>
33
            <li><a href="C2.asp?subsys=6" target="content">©ˮ???</a></li>
34
            <!--<li><a href="C2.asp?subsys=7" target="content">?յ????</a></li>
35
            <li><a href="C2.asp?subsys=8" target="content">???ܿյ?</a></li>
36
            <li><a href="C2.asp?subsys=9" target="content">???????</a></li>
37
            <li><a href="C2.asp?subsys=10" target="content">??????</a></li>
38
            <li><a href="C2.asp?subsys=11" target="content">?Ŵ??Ž?</a></li>
39
            <li><a href="C2.asp?subsys=12" target="content">ȫ????Ƶ</a></li>-->
40
            <li><a href="B1.html" target="content">?߼?????</a></li>
41
        </ul>
42
        <p class="list_p">??????־</p>
43
        <ul class="list_1">
44
            <li><a href="B2-t.html" target="content">??????¼</a></li>
45
            <li><a href="B2.html" target="content">??????ѯ</a></li>
46
        </ul>
47
        <p class="list_p">????ѡ??</p>
48
        <ul class="list_1">
49
            <li><a href="C0-1.asp" target="content">AI/DI?豸</a></li>
50
            <li><a href="C0-3.asp" target="content">232?豸</a></li>
51
            <li><a href="C0-4.asp" target="content">485?豸</a></li>
52
            <li><a href="C0-6.asp" target="content">?????豸</a></li>
53
                    <a href="omdev.html" target="_blank">?豸????</a>
54
        </ul>
55
            <p class="list_p">??????ʾ</p>
56
            <ul class="list_1">
57
                <li><a href="omdev-help.html" target="content">?????ο?</a></li>
58
            <li><a href="omdev-jxhelp.html" target="content">???߰???</a></li>
59
        </ul>
60
        <br>
61
  </div>
62
  <div id="main">
63
      <iframe id="content" name="content" src="A3-status.asp" frameborder="0"  style="width: 100%;background: #F3F3F3; height:100%">
64
      </iframe>
65
  </div>
66
</div>
67
<div id="ft">
68
  <!--<address class="copyright">??Ȩ???? &copy; &nbsp;<a href="http://www.omara.cn/">OMARA.cn </a>&nbsp;</address>-->
69
</div>
70

    
71
<script>
72
window.onbeforeunload=function(){
73
    var snote="??ǰλ??: ?????????ͻ??????ϵͳ";
74
        if(document.all){
75
                if(event.clientY<0) return snote;
76
        }else return snote;
77
}        
78
$("#navhome").click(function(){
79
    $(".list_1 li a").removeClass("sideA");
80
});
81
$(".list_1 li a").click(function(){
82
    $(".list_1 li a").removeClass("sideA");
83
    $(this).addClass("sideA");
84
});
85
function parseState(istate){
86
    if(istate==0) return "????";
87
    else   if(istate==1) return "?澯";
88
    else   if(istate==2) return "????";
89
    else return "??Ч";
90
}
91
function getCookie(c_name) {
92
  if (document.cookie.length > 0) {
93
    c_start = document.cookie.indexOf(c_name + "=")
94
    if (c_start != -1) {
95
      c_start = c_start + c_name.length + 1
96
      c_end = document.cookie.indexOf(";", c_start)
97
      if (c_end == -1) c_end = document.cookie.length
98
      return unescape(document.cookie.substring(c_start, c_end))
99
    }
100
  }
101
  return ""
102
}
103
function setCookie(c_name, value, expiredays) {
104
  var exdate = new Date()
105
  exdate.setDate(exdate.getDate() + expiredays)
106
  document.cookie = c_name + "=" + escape(value) +
107
    ((expiredays == null) ? "" : ";expires=" + exdate.toGMTString())
108
}
109
function checkCookie() {
110
  var user = getCookie('user');
111
  if (user == null || user == "") {
112
    Logout();
113
  }
114
  else {
115
    var isadmin = user.indexOf("|OK1") >= 0;
116
        if (isadmin == false) $("#config").hide(); 
117
  }
118
}
119
function Logout() {
120
  setCookie('user', '');
121
  window.top.location.replace("index.html");
122
}
123
window.onload = new function() {
124
  checkCookie();
125
}
126
</script>
127
</body>
128
</html>