forked from davidmelhart/PAGAN
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathterms.php
More file actions
58 lines (52 loc) · 2.43 KB
/
Copy pathterms.php
File metadata and controls
58 lines (52 loc) · 2.43 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
<?php
require_once "config.php";
// Initialize the session
session_start();
// Generate User if User does not exists
if(!isset($_COOKIE['user'])){
$id = getGUID();
setcookie('user', $id, time()+315400000,"/");
$_COOKIE['user'] = $id;
}
$current_page = explode(".", $_SERVER['REQUEST_URI'])[0];
// Generates GUID for username
function getGUID(){
mt_srand((double)microtime()*10000);//optional for php 4.2.0 and up.
$charid = strtoupper(md5(uniqid(rand(), true)));
$hyphen = chr(45);
$uuid = substr($charid, 0, 8).$hyphen
.substr($charid, 8, 4).$hyphen
.substr($charid,12, 4).$hyphen
.substr($charid,16, 4).$hyphen
.substr($charid,20,12);
return $uuid;
}
$title = 'Platform for Affective Game ANnotation';
include("header.php");
?>
<div id="subheader">
<h2>[Platform for Audiovisual General-purpose ANotation]</h2>
<div class="subheader-buttons">
<?php
if(isset($_SESSION["loggedin"]) && $_SESSION["loggedin"] === true){
echo '<a class="button" href="./logout.php">log out</a>';
} else {
echo '<a class="button" href="./register.php">register</a><a class="button" href="./login.php">log in</a>';
}
?>
</div>
</div>
<div class="page-header">
</div>
<div class="main-text">
<h2>Terms of Using the Platform as a Registered Partner</h2>
<p>By registering and using the PAGAN framework, the users acknowelge and accept that their project data, including, links, uploaded videos, and annotation logs are stored on remote servers and might be accessed and reused by IDG researchers. Athough the captured annotations are automatically anonymised, partnering researchers and their subjects should be aware that the provided data could be used for third party research purposes and/or released as part of a larger public dataset.</p>
<p>Registered users won't be able to delete projects and collected data from the servers, however, we cannot guarantee that the data is stored indefinitely. We advise all our partners to download and keep copies of the data generated by our platform.</p>
<h2>Licence</h2>
<p>Under update...</p>
</div>
<?php
include("scripts.php");
$tooltip = '';
include("footer.php");
?>