-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnewCourse.php
More file actions
37 lines (34 loc) · 1.08 KB
/
newCourse.php
File metadata and controls
37 lines (34 loc) · 1.08 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
<!-- 新增課程頁面 -->
<?php
include_once('api/auth.php');
include_once('api/isLogin.php');
session_start();
$_SESSION['url'] = $_SERVER['REQUEST_URI'];
?>
<!doctype html>
<html>
<head>
<?php require("meta_com.php"); ?>
<link type="text/css" rel="stylesheet" href="css/newCourse.css">
<title>新增課程 - NUCourse</title>
</head>
<body>
<div class="totalWrapper">
<?php require("header.php"); ?>
<div class="container">
<div class="newCourseForm-wrap">
<div id="title"><a>您想新增課程嗎?</a></div>
<form id="newCourseForm" action="api/add_newCourse.php" method="POST">
<input id="nameInput" class="nameInput" name="courseName" placeholder="請輸入課程名稱"><br>
<div class="status"></div>
<button id="nextBtn" type="submit">下一步</button>
<button class="giveupBtn" type="button" onclick="history.back()">取 消</button>
</form>
</div>
</div>
<?php require("footer.php"); ?>
</div>
<?php require("js/js_com.php"); ?>
<script type="text/javascript" src="js/newCourse.js"></script>
</body>
</html>