forked from srisonti/crypto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
149 lines (126 loc) · 6.11 KB
/
index.php
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
<!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>
<!-- ALL YOUR ENCRYPTION ARE BELONG TO US -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>CryptoParty ATX</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<!-- Load Google Web Fonts -->
<link href='http://fonts.googleapis.com/css?family=Lato:400,300,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/bootstrap.min.css">
<style>
body {
padding-top: 50px;
padding-bottom: 20px;
}
.logo { /* just playing around with this, feel free to change or remove */
background:url("crypto-icon-wide.png");
width:325px;
height:44px;
}
.sub-item {
font-size: .9em;
padding-left:2em;
}
.subactive {
background-color:#FF925D;
padding-left:2em;
}
a.sub-item:hover {
background-color:#FDCDAF;
}
.hideme {
display:none;
}
</style>
<link rel="stylesheet" href="css/bootstrap-theme.min.css">
<link rel="stylesheet" href="css/main.css">
<script src="js/vendor/modernizr-2.6.2.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]-->
<div class="container">
<!-- Example row of columns -->
<div class="row">
<div class="col-lg-4">
<!-- LOGO: just playing around with this, feel free to remove or change as needed -->
<a href="?page=0"><div class="logo"> </div></a>
<!-- /LOGO -->
<?php
$pageid = $_GET['page'];
if (!$pageid || ($pageid < 0) || ($pageid > 3)){
$pageid=0;
}
?>
<div class="list-group">
<a href="?page=0" class="list-group-item<?php if($pageid==0)echo ' active' ?>">
About CryptoParty ATX
</a>
<a href="?page=1" class="list-group-item<?php if($pageid >= 1 && $pageid < 2)echo ' active'; else $inactive=true; ?>">Crypto Info and How-To Guides</a>
<a href="?page=1.1" class="list-group-item sub-item<?php if($pageid==1.1)echo ' subactive'; if($inactive) echo ' hideme'; ?>">Email Encryption</a>
<a href="?page=1.2" class="list-group-item sub-item<?php if($pageid==1.2)echo ' subactive'; if($inactive) echo ' hideme'; ?>">File and Folder Encryption</a>
<a href="?page=1.3" class="list-group-item sub-item<?php if($pageid==1.3)echo ' subactive'; if($inactive) echo ' hideme'; ?>">Instant Message Encryption</a>
<a href="?page=1.4" class="list-group-item sub-item<?php if($pageid==1.4)echo ' subactive'; if($inactive) echo ' hideme'; ?>">Text Message (SMS) Encryption</a>
<a href="?page=1.5" class="list-group-item sub-item<?php if($pageid==1.5)echo ' subactive'; if($inactive) echo ' hideme'; ?>">Encrypted Web Browsing</a>
<a href="?page=2" class="list-group-item<?php if($pageid==2)echo ' active' ?>">Upcoming Events</a>
<a href="?page=3" class="list-group-item<?php if($pageid==3)echo ' active' ?>">Contribute</a>
<!-- <a href="#" class="list-group-item">Vestibulum at eros</a> -->
</div>
<div>Follow <a href="https://twitter.com/atxcrypto">ATXCrypto on Twitter</a></div>
</div>
<div class="col-lg-8">
<?php
if ($pageid==0){
include "content/ATX.html";
}
if ($pageid==1){
include "content/how-to.html";
}
if ($pageid==1.1){
include "content/HT-EMAIL.html";
}
if ($pageid==1.2){
include "content/HT-FILE.html";
}
if ($pageid==1.3){
include "content/HT-OTR.html";
}
if ($pageid==1.4){
include "content/HT-SMS.html";
}
if ($pageid==1.5){
include "content/HT-WEB.html";
}
if ($pageid==2){
include "content/events.html";
}
if ($pageid==3){
include "content/contrib.html";
}
?>
<hr>
<p><img width=44 src="images/gplv3-88x31.png" /> <strong>Copyleft Notice:</strong> The content on this page is covered under <a href="https://www.gnu.org/copyleft/gpl.html">GNU General Public License version 3.0</a> unless otherwise noted. The applications referenced in this site are open-source unless otherwise noted and can be obtained at the creators' websites, listed when used. Please consult application documentation for specific licenses. We have no affiliation with any linked site unless otherwise noted.</p>
<p>If you find problems with this site, need help, or have improvements or suggestions, please contribute to the <a href="https://github.com/srisonti/crypto">git repo</a> or email me at <a href="mailto:plexiglass@riseup.net">plexiglass@riseup.net</a>.</p>
</div>
</div>
</div> <!-- /container --> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.10.1.min.js"><\/script>')</script>
<script src="js/vendor/bootstrap.min.js"></script>
<script src="js/plugins.js"></script>
<script src="js/main.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='//www.google-analytics.com/ga.js';
s.parentNode.insertBefore(g,s)}(document,'script'));
</script>
</body>
</html>