-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.php
More file actions
executable file
·135 lines (106 loc) · 5.02 KB
/
index.php
File metadata and controls
executable file
·135 lines (106 loc) · 5.02 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
<?php
require_once $_SERVER['DOCUMENT_ROOT'] . '/include/main_func.php';
?><!DOCTYPE html>
<html lang="en">
<head>
<title>WebMorph</title>
<meta charset='utf-8'>
<meta name='author' content='Lisa DeBruine and Bernard Tiddeman' />
<meta name='Description' content='Online tools for manipulating faces by morphing and transforming.' />
<meta name='keywords' content='webmorph,morphing,psychomorph,face research,faces,psychology,research,computer graphics' />
<!--<meta name='verify-v1' content='oCEvWF1olBQ+/+nyyAZfRnSeVVGeEVlD0Qw8aHTRvAU=' />-->
<meta property='og:site_name' content='WebMorph'/>
<meta property='og:image' content='/include/images/logo.png'/>
<meta name="viewport" id="vp" content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1">
<meta name='apple-mobile-web-app-capable' content='yes' />
<link rel='apple-touch-startup-image' href='/include/images/logo.png' />
<link rel='apple-touch-startup-image' sizes='640x920' href='/include/images/logo@2x.png' />
<meta name='apple-mobile-web-app-status-bar-style' content='black' />
<link rel='shortcut icon' href='/include/images/favicon.ico' />
<link rel='apple-touch-icon-precomposed' href='/include/images/apple-touch-icon-precomposed.png' />
<link rel='stylesheet' type='text/css' href='<?= JQUERYUI_THEME ?>'>
<link rel='stylesheet' type='text/css' href='/include/css/style.css'>
<link rel='stylesheet' type='text/css' href='/include/css/theme.php' id='themecss'>
</head>
<!-- START BODY -->
<body class="loading">
<div data-role="page" id="page">
<!-- !menubar -->
<div data-role="header">
<?php include 'include/sections/menubar.php'; ?>
</div><!-- end menu header -->
<!-- START CONTENT -->
<div data-role="content" id="content">
<div id='loadingInterface' class='interface'>Loading</div>
<!-- !- loginInterface -->
<?php include 'include/sections/login.php'; ?>
<!-- !- projectInterface -->
<?php include 'include/sections/projects.php'; ?>
<!-- !- finderInterface -->
<?php include 'include/sections/finder.php'; ?>
<!-- !- delineationInterface -->
<?php include 'include/sections/delineate.php'; ?>
<!-- !- averageInterface -->
<?php include 'include/sections/average.php'; ?>
<!-- !- transformInterface -->
<?php include 'include/sections/transform.php'; ?>
<!-- !- hidden dialog boxes -->
<?php include 'include/sections/dialogs.php'; ?>
<!-- !- help dialog -->
<?php include 'include/sections/help.php'; ?>
</div><!-- /content -->
<div data-role='footer'>
<footer id='footer'><span id='footer-text' data-persistent=''></span><span id='imgname'></span></footer>
<div id="toggleMenu" title="Toggle navigation">
<ul id="quickSwitch">
<li data-window="menu" title="Full Menu"></li>
<li data-window="finder" title="Finder">Fi</li>
<li data-window="delineate" title="Delineate">De</li>
<li data-window="average" title="Average">Av</li>
<li data-window="transform" title="Transform">Tr</li>
<li data-window="project" title="Projects">Pr</li>
</ul>
</div>
</div>
</div><!-- /page -->
<!-- !Javascripts for this page -->
<script src='<?= JQUERY ?>'></script>
<script src='<?= JQUERYUI ?>'></script>
<script src='/include/js/jquery/jquery-finger-0.1.2.js'></script>
<script src='/include/js/jquery/jquery.ui.touch-punch.min.js'></script>
<script src='/include/js/three/three.min.js'></script>
<script src='/include/js/three/loaders/OBJLoader.js'></script>
<script src='/include/js/three/threex/stats.js'></script>
<script src='/include/js/psychomorph/vars.js'></script>
<?php if (LOGGEDIN) echo "<script>WM.user.id = {$_SESSION['user_id']};</script>\n"; ?>
<!--<script src='/include/js/psychomorph/webmorph.min.js'></script>-->
<script src='/include/js/psychomorph/functions.js'></script>
<script src='/include/js/psychomorph/batch.func.js'></script>
<script src='/include/js/psychomorph/finder.func.js'></script>
<script src='/include/js/psychomorph/delin.func.js'></script>
<script src='/include/js/psychomorph/morph.func.js'></script>
<script src='/include/js/psychomorph/project.func.js'></script>
<script src='/include/js/psychomorph/user.func.js'></script>
<script src='/include/js/psychomorph/three.func.js'></script>
<script src='/include/js/psychomorph/keyboard.js'></script>
<script src='/include/js/psychomorph/page.js'></script>
<?php if (!DEBUG) {
/*
echo "<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-1815702-3', 'auto');
ga('send', 'pageview');
</script>";
*/
echo "<script>
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
ga('create', 'UA-1815702-3', 'auto');
ga('send', 'pageview');
</script>
<script async src='https://www.google-analytics.com/analytics.js'></script>";
} ?>
</body>
</html>