-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapply.php
32 lines (26 loc) · 854 Bytes
/
apply.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
<?php session_start();
require_once(dirname(__FILE__) . "/lib/std.php");
require_once(dirname(__FILE__) . "/config.php");
if(!isset($_SESSION['stuID'])){
setLog($DBmain, "warning", "Illegal Entry. ");
locate($URLPv . "index.php");
}
else{
?>
<!Doctype html>
<html>
<head>
<meta charset="utf8">
<title>通識教育中心擔任教學助理(TA)申請</title>
<link rel="stylesheet" href="<?php echo $URLPv; ?>lib/bootstrap/css/bootstrap.css">
<link rel="stylesheet" href="<?php echo $URLPv; ?>index.css">
<script src="<?php echo $URLPv; ?>lib/jquery/jquery-1.11.2.js"></script>
<script src="<?php echo $URLPv; ?>lib/bootstrap/js/bootstrap.js"></script>
</head>
<body>
<?php require_once(dirname(__FILE__) . "/lib/header.php"); ?>
<div class="container body">
<?php
$result = $DBmain->query("SELECT * FROM `apply` WHERE ")
</div>
<?}