-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
159 lines (147 loc) · 5.71 KB
/
index.php
File metadata and controls
159 lines (147 loc) · 5.71 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
<?php
header('Content-type: text/html; charset=utf-8');
include('comps/detectmobile.php');
include('comps/usersession.php');
?>
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--><html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Admin-Ansicht</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/css/normalize.min.css">
<link rel="stylesheet" href="/css/nanoscroller.css">
<link rel="stylesheet" href="/css/main.css">
<link rel="stylesheet" href="/css/media.css">
<link href='http://fonts.googleapis.com/css?family=Droid+Sans:400,700' rel='stylesheet' type='text/css'>
<script src="/js/vendor/modernizr-2.6.2-respond-1.1.0.min.js"></script>
</head>
<body>
<!--[if lt IE 7]>
<p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
<![endif]-->
<header id="mainheader" class="clearfix">
<h1 class="title"><a href="/" class="ajaxlink"><img src="/img/scool.png" height="30" alt="s'Cool Ball" /><img id="dropdown" src="/img/dropdown.png" alt="Menü-Dropdown" /></a></h1>
<nav id="menu">
<ul>
<?php
if (isset($_SESSION['name'])) {
?>
<li><a href="/sponsoren" class="ajaxlink">Sponsoren</a></li>
<li><a href="/aufgaben" class="ajaxlink">Aufgaben</a></li>
<?php
if ($_SESSION['kernteam'] == '1' || $_SESSION['admin'] == '1') {
?>
<li><a href="/kontrolle" class="ajaxlink">Kontrolle</a></li>
<li><a href="/zuteilung" class="ajaxlink">Zuteilung</a></li>
<li><a href="/bearbeitung" class="ajaxlink">Bearbeitung</a></li>
<?php
}
}
?>
</ul>
</nav>
<div class="seperate"></div>
<div id="stats">
("Statistiken über Fertigstellung von Sponsoren und Aufgaben")
</div>
</header>
<aside id="sidekick">
<?php include('comps/userinfo.php'); ?>
<?php
if (isset($_SESSION['name'])) {
?>
<div id="freunde">
<div id="friends">
Kontakte
</div>
<div id="connected">
<div class="user testuser1 new">
<div class="chatlabel" onclick="openChat('45', 'testuser1')">
testuser1<div>1</div><span></span>
</div>
<div class="chat 45"><div class="nano"><div class="notes content"></div></div><textarea name="text" onkeydown="return valChat(event, '45', 'testuser1');"></textarea></div>
</div>
<div class="user testuser2 new">
<div class="chatlabel" onclick="openChat('47', 'testuser2')">
testuser2<div>2</div><span></span>
</div>
<div class="chat 47"><div class="nano"><div class="notes content"></div></div><textarea name="text" onkeydown="return valChat(event, '47', 'testuser2');"></textarea></div>
</div>
<div class="user nikc95 new">
<div class="chatlabel" onclick="openChat('46', 'nikc95')">
Nikc95<div>45</div><span></span>
</div>
<div class="chat 46"><div class="nano"><div class="notes content"></div></div><textarea name="text" onkeydown="return valChat(event, '46', 'nikc95');"></textarea></div>
</div>
</div>
</div>
<?php
}
?>
<div id="side-content">
Werbung<br />
Footer mit Logo und Informationen<br />
History of Changes<br />
Kommunikation
</div>
<div id="credits">
<img src="/img/buoance.png" width="120" alt="buoance" /><br />
© 03.2013
</div>
</aside>
<div id="wrapper">
<div id="cinema"><div id="c_table">
<div>
<h2>Loading...</h2>
<img src="/img/loader.gif" alt="loader.gif" />
</div>
</div></div>
<div id="content">
<?php
if (!isset($_SESSION['status'])) {
include 'sites/login.php';
} else if (isset($_GET['location'])) {
if ($_SESSION['userart'] == 'beides') {
include 'sites/chooseprofile.php';
} else if ($_GET['location'] == 'logout.php') {
include 'sites/logout.php';
} else {
include 'sites/'.$_SESSION['userart'].'/'.$_GET['location'];
}
} else {
include 'sites/'.$_SESSION['userart'].'/index.php';
}
?>
<div id="small">Fenster zu klein</div>
</div>
</div>
<img id="dragimage" src="/img/dragndrop.png" style="display: none;" />
<audio id="sound1">
<source src="https://dl.dropboxusercontent.com/u/21062820/media/success.mp3" type="audio/mp3" />
<source src="https://dl.dropboxusercontent.com/u/21062820/media/success.wav" type="audio/wav" />
</audio>
<script src="http://buoance_chat.jit.su/socket.io/socket.io.js"></script> <!-- online: http://buoance.eu01.aws.af.cm / lokal: http://localhost:8000 -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.2/jquery-ui.min.js"></script>
<script>window.jQuery || document.write('<script src="/js/vendor/jquery-1.9.1.min.js"><\/script>')</script>
<script src="/js/base.js"></script>
<script src="/js/nanoscroller.js"></script>
<script src="/js/dragndrop.js"></script>
<script src="/js/plugins.js"></script>
<script src="/js/crossbrowser.js"></script>
<script src="/js/main.js"></script>
<script src="/js/pageload.js"></script>
<script>
var _gaq=[['_setAccount','UA-XXXXX-X'],['_trackPageview']];
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
s.parentNode.insertBefore(g,s)}(document,'script'));
</script>
</body>
</html>