项目

一般

简介

main.html

页面删减 - 黄 虹琳, 2017-10-28 09:37

 
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=5" target="content">?¶?ʪ??</a></li>
29
                        <li><a href="C2.asp?subsys=6" target="content">???????</a></li>
30
            <li><a href="C2.asp?subsys=9" target="content">?𶯼??</a></li>
31
            <li><a href="C2.asp?subsys=10" target="content">??????</a></li>
32
            <li><a href="B1.html" target="content">?߼?????</a></li>
33
        </ul>
34
        <p class="list_p">??????־</p>
35
        <ul class="list_1">
36
            <li><a href="B2-t.html" target="content">??????¼</a></li>
37
            <li><a href="B2.html" target="content">??????ѯ</a></li>
38
        </ul>
39
        <p class="list_p">????ѡ??</p>
40
        <ul class="list_1">
41
            <li><a href="C0-1.asp" target="content">AI/DI?豸</a></li>
42
            <li><a href="C0-3.asp" target="content">232?豸</a></li>
43
            <li><a href="C0-4.asp" target="content">485?豸</a></li>
44
            <li><a href="C0-6.asp" target="content">?????豸</a></li>
45
                    <a href="omdev.html" target="_blank">?豸????</a>
46
        </ul>
47
            <p class="list_p">??????ʾ</p>
48
            <ul class="list_1">
49
                <li><a href="omdev-help.html" target="content">?????ο?</a></li>
50
            <li><a href="omdev-jxhelp.html" target="content">???߰???</a></li>
51
        </ul>
52
        <br>
53
  </div>
54
  <div id="main">
55
      <iframe id="content" name="content" src="A3-status.asp" frameborder="0"  style="width: 100%;background: #F3F3F3; height:100%">
56
      </iframe>
57
  </div>
58
</div>
59
<div id="ft">
60
  <!--<address class="copyright">??Ȩ???? &copy; &nbsp;<a href="http://www.omara.cn/">OMARA.cn </a>&nbsp;</address>-->
61
</div>
62

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