-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathaccount.php
More file actions
113 lines (95 loc) · 4.7 KB
/
Copy pathaccount.php
File metadata and controls
113 lines (95 loc) · 4.7 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
<?php
session_start();
if (!isset($_SESSION['username'])) {
echo 'Unauthorised';
exit();
}
else if ($_SESSION['time'] + 900 > time()) {
$_SESSION['time'] = time();
} else {
header('Location:http://'. $_SERVER[HTTP_HOST] . '/index.php?status=timeout');
}
?>
<!DOCTYPE html>
<html>
<head>
<title>Account</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="Resources/css/AnnotationPage.css">
<link rel="stylesheet" type="text/css" href="Resources/css/account.css">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<!-- popup-->
<link rel="stylesheet" href="//code.jquery.com/ui/1.11.0/themes/smoothness/jquery-ui.css">
<script src="//code.jquery.com/jquery-1.10.2.js"></script>
<script src="//code.jquery.com/ui/1.11.0/jquery-ui.js"></script>
<!-- popup-->
</head>
<body>
<div class="navbar navbar-inverse navbar-static-top">
<div class="container">
<a href ="account.php" class="navbar-brand">VidNote</a>
<button class="navbar-toggle" data-toggle="collapse" data-target=".navHeaderCollpase">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<div class ="collapse navbar-collapse navHeaderCollapse">
<form class="searchBar" method="get" action="">
<table cellpadding="0px" cellspacing="0px">
<tr>
<td>
<input id='searchValue' type="text" name="query" placeholder=" Search for annotations" style="width:500px; border:1px solid #D5D5D5; height:25px; padding:5px; position:relative;">
</td>
<td >
<input type="submit" value="" style="border:1px solid #D5D5D5; background:url('images/searchbutton3.jpeg') no-repeat; background-position-x: 15px; background-position-y: 4px; background-size: 22px 15px; width: 54px; height: 25px;">
</td>
</tr>
</table>
</form>
<ul class="nav navbar-nav navbar-right">
<li class="sessionUser"><a href="account.php"><?php echo $_SESSION['username'] ?></a></li>
<li><img src="images/account.jpeg" height="40"></li>
</ul>
</div>
</div>
</div>
<div id="wrapper">
<div class="leftCont">
<div class="menu">
<div id="newVidButton">New Annotation</div>
<ul id="list">
<li id="li_home" class="selected"><a href='account.php' id="a_home">My Annotations</a></li>
<li id="li_starred"><a id="a_starred" >Starred</a></li>
<li id="li_recent" ><a id="a_recent" >Recent</a></li>
<li id="li_shared" ><a id="a_shared" >Shared with me</a></li>
</ul>
</div>
<div class="Categories">
<p id="catTitle">Categories</p>
<ul id="catList">
</ul>
</div>
</div>
<div class="middleCont" id='middleCon'>
</div>
<div class="rightCont">
</div>
</div>
<div id="dialog-form" title="New Annotation">
<form>
<fieldset>
<label for="title">Title</label>
<input type="text" default="" name="title" id="title" class="text ui-widget-content">
<label for="title">Category</label>
<input type="text" default="" name="category" id="category" class="text ui-widget-content">
<label for="url">YouTube URL</label>
<input type="text" default="" name="url" id="url" class="text ui-widget-content">
<!-- Allow form submission with keyboard without duplicating the dialog button -->
</fieldset>
</form>
</div>
<script type="text/javascript" src="Resources/js/AddnewUserPopUp.js"></script>
</body>
</html>