-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpolls_index.php
112 lines (76 loc) · 3.01 KB
/
polls_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
<?php
include_once('database/connection.php');
include('templates/header.php');
?>
<style type="text/css">
body{margin: 0px; background-color: #4b8ead;}
#prlx_lyr_1{
position: fixed;
background: url(img/avatar.png) no-repeat 50% 200px;
width: 100%;
height: 800px;
z-index: 0;
}
#content_layer{
position: absolute;
}
</style>
<script>
function paralax(){
var prlx_lyr_1= document.getElementById('prlx_lyr_1');
prlx_lyr_1.style.top= -(window.pageYOffset /4)+'px';
}
window.addEventListener("scroll", paralax, false);
</script>
<div class="wrapper">
<main>
<section class="module parallax parallax-1">
</section>
<section class="module content">
<div class="container">
<h2>Search polls and answer them</h2>
<p>Polly allows you to search for polls, and answer any of them once as long as they're public. </p>
</div>
</section>
<section class="module parallax parallax-2">
<div class="container">
</div>
</section>
<section class="module content">
<div class="container">
<h2>Ask your own questions, public or privately</h2>
<p> Want to prove a point? Or simply need to decide where you and your friends should meet? Create a poll quickly and share the link with anyone you want. </p>
</div>
</section>
<section class="module parallax parallax-3">
<div class="container">
</div>
</section>
<section class="module content">
<div class="container">
<span> <div class="fb-like" data-href="http://paginas.fe.up.pt/~ei12021/ltw_projecto/polls_index.php" data-layout="standard" data-action="like" data-show-faces="true" data-share="true"></div>
</span>
<span>
<a href="https://twitter.com/share" class="twitter-share-button" data-text="Check out Polly, polls made easy" data-size="large">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
</span>
</div>
</section>
</main><!-- /main -->
</div><!-- /#wrapper -->
<!-- ads -->
<script src="js/fusionad.js"></script>
<!-- analytics -->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-34160351-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<?
include('templates/footer.php');
?>