-
Notifications
You must be signed in to change notification settings - Fork 2
/
view_published_corpora.php
51 lines (35 loc) · 1.41 KB
/
view_published_corpora.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
<?php session_start(); ?>
<!DOCTYPE html>
<html>
<head>
<title>Art2Artifact - Published Corpora</title>
<link rel="stylesheet" href="Content/bootstrap.css"/>
<link rel="stylesheet" href="Content/bootstrap-responsive.css"/>
<link rel="stylesheet" href="Content/style.css" />
<script type="text/javascript" src="Content/jquery.js"></script>
<script type="text/javascript" src="Content/bootstrap.js"></script>
<script type="text/javascript" src="Content/validation.js"></script>
<style type="text/css" media="all">@import "Content/master.css";</style> <style type="text/css" media="all">@import "Content/master.css";</style>
<link rel="stylesheet" href="Content/bootstrap_navbar.css"/>
</head>
<body style="background-image: url(Content/Login_map.jpg); background-size: 100%;">
<?php include('Includes/header.php'); ?>
<div style="width: 100%; height: 100%; padding: 20px; background-color: rgba(150, 27, 25, 0.75); border-color: black;">
<h3 style="color: #FACE8D;">Published Corpora</h3>
<?php
mb_internal_encoding('UTF-8');
mb_http_output('UTF-8');
include 'phpfunctions.php';
$db = new SunapeeDB();
$db->connect();
if (!isset($_SESSION['email'])) {
$_SESSION['email'] = $_POST["email"];
$_SESSION['password'] = $_POST["password"];
}
$db->view_all_published_corpora();
$db->disconnect();
?>
</div>
<?php include('Includes/footer.php'); ?>
</body>
</html>