项目

一般

简介

main.html

黄 虹琳, 2017-11-09 11:46

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

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