-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvideo.php
More file actions
268 lines (218 loc) · 11.6 KB
/
video.php
File metadata and controls
268 lines (218 loc) · 11.6 KB
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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
<?php require_once('./Connections/gra2017.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString( $gra2017, $theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
{
if (PHP_VERSION < 6) {
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
}
$theValue = function_exists("mysqli_real_escape_string") ? mysqli_real_escape_string($gra2017, $theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
}
return $theValue;
}
}
$query_rs_allalbum = "SELECT aId, aName FROM album ORDER BY aId ASC";
$rs_allalbum = mysqli_query($gra2017, $query_rs_allalbum);
$row_rs_allalbum = mysqli_fetch_assoc($rs_allalbum);
$totalRows_rs_allalbum = mysqli_num_rows($rs_allalbum);
?>
<!doctype html>
<html class="no-js" lang="zh-TW">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>XIN●啟程</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="apple-touch-icon" href="apple-touch-icon.png">
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/font-awesome.css">
<link rel="stylesheet" href="css/owl.carousel.css">
<link rel="stylesheet" href="css/owl.theme.css">
<link rel="stylesheet" href="css/prettyPhoto.css">
<link rel="stylesheet" href="css/jcf.css">
<link rel="stylesheet" href="css/jquery.classycountdown.css">
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/transitions.css">
<link rel="stylesheet" href="css/color.css">
<script src="js/vendor/modernizr-2.8.3-respond-1.4.2.min.js"></script>
</head>
<body>
<!--[if lt IE 8]>
<![endif]-->
<div id="wrapper">
<!-- Header Start -->
<header id="header" class="haslayout">
<div class="container">
<div class="row">
<nav id="nav">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
<span class="sr-only">Toggle Navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="row">
<li>
<a href="index.php">最新消息</a>
</li>
<li><a href="about.php">關於</a></li>
<li><a href="ceremony.php">儀式流程</a></li>
<li><a href="traffic.php">交通資訊</a></li>
<li class="logo"><a href="index.php"><img src="images/logo.png" ></a></li>
<li class="active"><a href="video.php">畢業影片</a></li>
<li><a href="blessed.php">師長祝福</a></li>
<li><a href="#">畢業相簿</a>
<ul class="dropdown">
<?php do { ?>
<li><a href="show-album.php?No=<?php echo $row_rs_allalbum['aId']; ?>"><?php echo $row_rs_allalbum['aName']; ?></a></li>
<?php } while ($row_rs_allalbum = mysqli_fetch_assoc($rs_allalbum)); ?> </ul>
</li>
<li><a href="#" >粉絲專頁</a>
<ul class="dropdown">
<li><a href="https://www.facebook.com/sshsgra2017" target="_blank">4717畢典</a></li>
<li><a href="https://www.facebook.com/XIN-%E4%B8%AD%E4%BA%BA%E8%87%BA%E4%B8%AD%E5%B8%82%E7%AB%8B%E6%96%B0%E7%A4%BE%E9%AB%98%E7%B4%9A%E4%B8%AD%E5%AD%B8%E7%B2%89%E7%B5%B2%E5%9C%98-289299034600446/" target="_blank">XIN中人</a></li>
</ul>
</li>
</ul>
</div>
</nav>
</div>
</div>
<strong class="logo"><a href="index.php"><img src="images/logo.png" ></a></strong>
</header>
<!-- Header End -->
<!-- Main Start -->
<div id="main" class="haslayout" style="margin-bottom:-150px;">
<div class="container" style="margin-bottom:50px;">
<div class="row">
<!-- Head Start -->
<div class="text-area col-sm-6 col-sm-offset-3">
<div class="theme-heading">
<h1>頒獎影片</h1>
</div>
</div>
<!-- Head End -->
<div class="row">
<iframe width="560" height="315" src="https://www.youtube.com/embed/GevZV6tsphA" frameborder="0" allowfullscreen></iframe>
</div>
</div>
</div>
<div class="container" style="margin-bottom:50px;">
<div class="row">
<!-- Head Start -->
<div class="text-area col-sm-6 col-sm-offset-3">
<div class="theme-heading">
<h1>導師祝福</h1>
</div>
</div>
<!-- Head End -->
<div class="row">
<iframe width="560" height="315" src="https://www.youtube.com/embed/mpAFk_L-ZkY" frameborder="0" allowfullscreen></iframe>
</div>
</div>
</div>
<div class="container" style="margin-bottom:50px;">
<div class="row">
<!-- Head Start -->
<div class="text-area col-sm-6 col-sm-offset-3">
<div class="theme-heading">
<h1>畢業影片</h1>
</div>
</div>
<!-- Head End -->
<div class="row">
<iframe width="560" height="315" src="https://www.youtube.com/embed/G6JYOyqzyeg" frameborder="0" allowfullscreen></iframe>
</div>
</div>
</div>
<div class="container" style="margin-bottom:100px;">
<div class="row">
<!-- Head Start -->
<div class="text-area col-sm-6 col-sm-offset-3">
<div class="theme-heading">
<h1 style="font-size:40px;">高三畢業生致詞</h1>
</div>
</div>
<!-- Head End -->
<div class="row">
<iframe width="560" height="315" src="https://www.youtube.com/embed/xqv_M6s16XM" frameborder="0" allowfullscreen></iframe>
</div>
</div>
</div>
<div class="container" style="margin-bottom:100px;">
<div class="row">
<!-- Head Start -->
<div class="text-area col-sm-6 col-sm-offset-3">
<div class="theme-heading">
<h1 style="font-size:40px;">中三畢業生致詞</h1>
</div>
</div>
<!-- Head End -->
<div class="row">
<iframe width="560" height="315" src="https://www.youtube.com/embed/E6GzkOvlIAU" frameborder="0" allowfullscreen></iframe>
</div>
</div>
</div>
<!-- Main End --></div>
<!-- Footer Start -->
<footer id="footer" class="haslayout">
<br>
<center style="color:#FFF;font-size:20px;line-height:1.5;margin-bottom:-20px;">42642臺中市新社區復盛里中和街三段國中巷10號<br>
TeL:04-25812116 <br>
FAX:04-25810148<br>
網路電話:070-910-5130</center>
<div class="copyright">
<div class="container">
<div class="row">
<span class="copyright-text">©2017 愛麗絲主題. 新社高級中學17屆畢籌會</span>
</div>
</div>
</div>
</footer>
<!-- Footer End -->
<script src="js/vendor/jquery-1.11.2.min.js"></script>
<script src="js/vendor/bootstrap.min.js"></script>
<script src="js/jquery.prettyPhoto.js"></script>
<script src="js/parallax.min.js"></script>
<script src="js/owl.carousel.js"></script>
<script src="js/jcf.js"></script>
<script src="js/jcf.select.js"></script>
<script src="js/jcf.radio.js"></script>
<script src="js/jcf.checkbox.js"></script>
<script src="js/isotope.pkgd.js"></script>
<script src="js/jquery.isotope.min.js"></script>
<script src="js/masonry-horizontal.js"></script>
<script src="js/jquery.simpleWeather.js"></script>
<script src="js/jquery.knob.js"></script>
<script src="js/jquery.throttle.js"></script>
<script src="js/jquery.classycountdown.js"></script>
<script src="http://maps.google.com/maps/api/js?sensor=false"></script>
<script src="js/gmap3.min.js"></script>
<script src="js/circle-progress.js"></script>
<script src="js/main.js"></script>
</body>
</html>
<?php
mysqli_free_result($rs_allalbum);
?>