-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
170 lines (136 loc) · 5.71 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
<?php
session_start();
$_SESSION["return"]="welcome";
?>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Teaching Service System">
<meta name="author" content="Godlike">
<link rel="shortcut icon" href="">
<title>Teaching Service System</title>
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="./ims/bootstrap/css/bootstrap.min.css">
<!-- Custom styles for this template -->
<link href="./ims/css/mainstyle.css" rel="stylesheet">
<script src="./ims/js/jquery.min.js"></script>
<link rel="stylesheet" href="./ims/unstyle.css">
<meta name="viewport" content="width=device-width">
<!-- Just for debugging purposes. Don't actually copy this line! -->
<!--[if lt IE 9]><script src="../../docs-assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.min.js"></script>
<script src="http://cdn.bootcss.com/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
</head>
<body>
<!-- Fixed navbar -->
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.php">Teaching Service Subsystem</a>
</div><!--navbar-header-->
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li class="dropdown">
<a href="" class="dropdown-toggle" data-toggle="dropdown">Subsystems<b class="caret"></b></a>
<ul class="dropdown-menu">
<li class="dropdown-header" style="font-size:18px">The portals:</li>
<li style="height:3px"><br/></li>
<li><a href="ims/IMSwelcome.php">Information Management System</a></li>
<li class="divider"></li>
<li><a href="crss/welcome.html">Resource Sharing Management System</a></li>
<li class="divider"></li>
<li><a href="aca/main.html">Automatic Course Arrangement Subsystem</a></li>
<li class="divider"></li>
<li><a href="css/">Course Selection Subsystem</a></li>
<li class="divider"></li>
<li><a href="">Online Testing Subsystem</a></li>
<li class="divider"></li>
<li><a href="score_manage/">Score Management Subsystem</a></li>
</ul>
</li>
</ul><!--nav navbar-nav-->
<a href="ims/logout.php"><button id="logout" type="button" class="btn btn-success navbar-btn navbar-right">Log out</button></a>
<button id="logout" style="#8A2BE2" class="btn navbar-btn navbar-right" ><?php echo $_SESSION["user_name"]; ?></button><!--User's name is here-->
</div><!--/.nav-collapse -->
</div><!--container-fluid-->
</div><!--navbar navbar-inverse navbar-fixed-top-->
<center><div class="banner">
<ul>
<li style="background-image: url('ims/p1.jpg');">
<div class="inner">
<h1>Welcome to Teaching Service System</h1>
<p>2014</p>
</div>
</li>
<li style="background-image: url('ims/p2.jpg');">
<div class="inner">
<h1>The System has seven subsystems</h1>
<p>2014</p>
</div>
</li>
<li style="background-image: url('ims/p3.jpg');">
<div class="inner">
<h1>Now you could choose subsystems on the top of this site</h1>
<p>2014</p>
</div>
</li>
<li style="background-image: url('ims/p6.jpg');">
<div class="inner">
<h1>Enjoy</h1>
<p>Programmed by seven groups of Software Engineering Course</p>
</div>
</li>
</ul>
</div></center>
<hr>
</div> <!-- /container -->
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="ims/bootstrap/js/jquery.min.js"></script>
<script src="ims/bootstrap/js/bootstrap.min.js"></script>
<script src="http://cdn.bootcss.com/jquery/1.9.1/jquery.min.js"></script>
<script src="ims/unslider.min.js"></script>
<script>
if(window.chrome) {
$('.banner li').css('background-size', '100% 100%');
}
$('.banner').unslider({
arrows: true,
fluid: true,
dots: true
});
// Find any element starting with a # in the URL
// And listen to any click events it fires
$('a[href^="#"]').click(function() {
// Find the target element
var target = $($(this).attr('href'));
// And get its position
var pos = target.offset(); // fallback to scrolling to top || {left: 0, top: 0};
// jQuery will return false if there's no element
// and your code will throw errors if it tries to do .offset().left;
if(pos) {
// Scroll the page
$('html, body').animate({
scrollTop: pos.top,
scrollLeft: pos.left
}, 1000);
}
// Don't let them visit the url, we'll scroll you there
return false;
});
</script>
</body></html>