-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.php
More file actions
138 lines (116 loc) · 4.69 KB
/
settings.php
File metadata and controls
138 lines (116 loc) · 4.69 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
<?php
//'session_check.php' checks if the session is active and if not
// redirects to the splash page
include("session_check.php");
?>
<!-- SESSION: ABOVE MUST BE PLACED AT VERY BEGINNING OF FILE BEFORE ANYTHING GET'S OUTPUTTED TO BROWSER -->
<!DOCTYPE html>
<html>
<!-- SETTINGS.PHP -->
<?php
//'head.php' includes all header information for all of our pages
// ie. everything that lives within <head>...info..</head>
include("head.php");
?>
<body>
<?php
//partial for the top banner of the page
$home='""';
$search='""';
$profile='""';
$settings='"active"';
include("banner.php");
?>
<!-- PLACE BODY INSIDE HERE - this is within the header and the footer-->
<div class="container firstOffset">
<!-- AMIT's awesome work lives in here-->
<!-- This is the collapse-able About Us box -->
<div class="accordion story" id="accordion2">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseOne">
About Balance
</a>
</div>
<div id="collapseOne" class="accordion-body collapse">
<div class="accordion-inner">
In the face of increasingly polarized news where the most extreme voices are the loudest, Balance gives you access to a spectrum of views to help you form a balanced opinion.
<br /><br />
We are a team of Stanford students hoping to levarage mobile media consumption to help readers be more informed, more aware and more balanced.
</div>
</div>
</div>
<!-- This is the collapse-able Tutorial box -->
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseTwo">
Tutorial
</a>
</div>
<div id="collapseTwo" class="accordion-body collapse">
<div class="accordion-inner">
Explore different aspects of the app, get to know the labeling system like a pro and find out how we learn your political preferences.
<br /><a href="tutorial_pg1.php" id="key" data-icon="custom">Take the interactive tutorial</a>
</div>
</div>
</div>
<!-- This is the collapse-able Contact Us box -->
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseThree">
Contact Us
</a>
</div>
<div id="collapseThree" class="accordion-body collapse">
<div class="accordion-inner">
We'd love to hear from you. <a href="mailto:sax@balance.com?Subject=Hello Balance!">Let us know</a> how we're doing or what we could improve on.
</div>
</div>
</div>
<!-- This is the collapse-able Logout box -->
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="./post_logout.php">
<strong>Log Out</strong>
</a>
</div>
<div id="collapseFour" class="accordion-body collapse">
<div class="accordion-inner">
Are you sure you want to logout? Click <a href="./post_logout.php">
here </a> to logout!
</div>
</div>
</div>
</div>
<!-- Footer -->
<?php
//partial for the footer of the page
$story=false;
include("footer.php");
?>
<script type="text/javascript">
$("a").click(function (event) {
event.preventDefault();
window.location = $(this).attr("href");
});
</script>
<!-- Below java script from twitter bootstrap-->
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
<script src="js/bootstrap-button.js"></script>
<script src="js/jquery.js"></script>
<script src="js/bootstrap-transition.js"></script>
<script src="js/bootstrap-alert.js"></script>
<script src="js/bootstrap-modal.js"></script>
<script src="js/bootstrap-dropdown.js"></script>
<script src="js/bootstrap-scrollspy.js"></script>
<script src="js/bootstrap-tab.js"></script>
<script src="js/bootstrap-tooltip.js"></script>
<script src="js/bootstrap-popover.js"></script>
<script src="js/bootstrap-button.js"></script>
<script src="js/bootstrap-collapse.js"></script>
<script src="js/bootstrap-carousel.js"></script>
<script src="js/bootstrap-typeahead.js"></script>
<script src="js/bootstrap-affix.js"></script>
<script src="js/application.js"></script>
</body>
</html>