-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.php
170 lines (158 loc) · 5.91 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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
<?php
ob_start();
include("php/code.php");
ob_end_clean();
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Groupme Analysis</title>
<!-- SEO -->
<meta name="robots" content="index, follow, archive">
<meta charset="utf-8" />
<meta http-equiv="Cache-control" content="public">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:creator" content="@alex_beals">
<meta property="og:type" content="website">
<meta property="og:title" content="Groupme Analysis">
<meta property="og:image" content="http://groupmeanalysis.com/assets/images/summary.png">
<meta property="og:image:type" content="image/png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:url" content="http://groupmeanalysis.com">
<meta property="og:description" content="Analyze any of your groupme's at the click of a button.">
<meta name="description" content="Analyze any of your groupme's at the click of a button.">
<meta name="format-detection" content="telephone=no">
<meta name="google-site-verification" content="YIEgaynlS5pGb3Iw0EK4MqnNR5kcOX5GSgSq_30vQok" />
<!-- Favicons -->
<link rel="apple-touch-icon" sizes="180x180" href="assets/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" href="assets/favicon/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="assets/favicon/favicon-16x16.png" sizes="16x16">
<link rel="manifest" href="assets/favicon/manifest.json">
<link rel="mask-icon" href="assets/favicon/safari-pinned-tab.svg" color="#00aff0">
<link rel="shortcut icon" href="assets/favicon/favicon.ico">
<meta name="msapplication-config" content="assets/favicon/browserconfig.xml">
<meta name="theme-color" content="#00aff0">
<?php
// Respect 'Request Desktop'
if (preg_match("/(iPhone|iPod|iPad|Android|BlackBerry|Mobile)/i", $_SERVER['HTTP_USER_AGENT'])) {
?><meta name="viewport" content="width=650"><?php
}
?>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
<script src="js/main.js"></script>
<link type="text/css" rel="stylesheet" href="build/home.css" />
</head>
<body>
<header>
<img src="assets/images/header.png" alt="header" />
</header>
<div class="cta">
<div>
<h1>Get all the statistics on your GroupMe messages!</h1>
<div class="button-wrapper">
<a class="button" href="#steps">Get Started</a>
</div>
</div>
<img src="assets/images/phone.png" alt="phone" />
</div>
<div class="demo">
<h2>Demo Statistics</h2>
<div class="group">
<img src="assets/images/group_demo.png" alt="Group Stats" />
<div class="details">
<div>
<span class="tab active" data-name="group">Group</span>
<span class="tab" data-name="individual">Individual</span>
</div>
<ul>
<li>Most mentioned individuals</li>
<li>Number of comments</li>
<li>Number of likes</li>
<li>Best comments</li>
<li>More!</li>
</ul>
</div>
</div>
<div class="individual" style="display: none;">
<img src="assets/images/individual_demo.png" alt="Individual Stats" />
<div class="details">
<div>
<span class="tab" data-name="group">Group</span>
<span class="tab active" data-name="individual">Individual</span>
</div>
<ul>
<li>Likes received</li>
<li>Likes given</li>
<li>Number of comments</li>
<li>Best comment</li>
<li>Activity by time</li>
<li>Who likes your posts</li>
<li>More!</li>
</ul>
</div>
</div>
</div>
<div class="steps" id="steps">
<h2>Steps</h2>
<ul>
<div class="row">
<li>
<h3>Step 1</h3>
<div>
Add user on Groupme to the group you want to analyze.
</div>
<img src="assets/images/add0.jpg" alt="Add User" />
</li>
<li>
<h3>Step 2</h3>
<div>
Use the phone number:
<div class="well">
619-432-4317
</div>
and click 'Add new phone number'
</div>
<img src="assets/images/add1.jpg" alt="Use Phone #" />
</li>
</div>
<div class="row">
<li>
<h3>Step 3</h3>
<div>
Set the user's name to:
<div class="well">
<?php echo $code; ?>
</div>
and uncheck 'Save to your Address Book'
</div>
<img src="assets/images/add2.jpg" alt="Set Name" />
</li>
<li>
<h3>Step 4</h3>
<span id="alert"></span>
<div>
Click this button once the user has been added to the group!<br>Note: each code can only be used once.
<div class="button-wrapper">
<button type="submit" id="added" data-name="<?php echo $code; ?>">
Added!
<div id="spinner">
</div>
</button>
</div>
</div>
<img src="assets/images/add3.jpg" alt="Stats Comment" />
</li>
</div>
</ul>
</div>
<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','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-82195594-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>