Repository navigation
Expand file tree
/
Copy pathindex.php
More file actions
265 lines (237 loc) · 19.8 KB
/
Copy pathindex.php
File metadata and controls
265 lines (237 loc) · 19.8 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
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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
<!DOCTYPE html>
<html>
<head>
<meta data-react-helmet="true" name="charset" content="utf-8">
<meta data-react-helmet="true" name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>Lucky devil dating</title>
<link rel="stylesheet" href="css/style.css">
<meta name="author" content="Lucky-devil.ru">
</head>
<body>
<ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-8704488728958008" data-ad-slot="7353721856" data-ad-format="auto" data-full-width-responsive="true"></ins>
<script>(adsbygoogle = window.adsbygoogle || []).push({});</script>
<main>
<nav class="">
<div class="flex_box">
<div class="icon"><svg class="fill-gray w24h24" width="22px" height="27px" viewBox="0 0 22 27"><g stroke="none" stroke-width="1"><path class="" d="M15 14.7c1.6-1.3 2.6-3.5 2.6-7.4 0-4-3.3-7.3-7.3-7.3S3 3.2 3 7.3c0 4 1 6.3 2.7 7.6C2.3 17-1 21 .2 23 2.7 27.7 19 28 21 23.2c.8-2.3-2.5-6.2-6-8.5"></path></g></svg></div>
<div class="icon"><svg viewBox="0 0 41 41" class="w24h24 scale12"><path d="M13.487283,16.2463028 C13.443119,16.2613055 13.392482,16.2474393 13.364735,16.2108417 C12.00469,14.4100559 11.662483,11.3142592 11.57878,10.1249495 C11.562595,9.89490718 11.304089,9.76692909 11.098765,9.88217756 C6.898163,12.2417025 3,17.8220472 3,23.2128115 C3,32.4704236 9.430964,40.2370794 20.5,40.2370794 C30.871441,40.2370794 38,32.2319704 38,23.2128115 C38,11.4113225 29.566427,3.57101666 22.055658,0.0265010148 C21.85912,-0.0660160153 21.640384,0.0971958327 21.672293,0.307234469 C22.639261,6.66613142 21.303726,13.5828583 13.487283,16.2463028 Z" fill="url(#svg-fill-radial__tinder)"></path></svg>
</div>
<div class="icon"><svg width="34px" height="29px" viewBox="0 0 34 29" class="fill-gray w24h24"><g stroke="none" stroke-width="1"><g><path d="M16.3 20.2c0-4.6 4.4-8.5 10-8.5 1.3 0 2.6.3 3.8.7 0-6.6-6.7-12-14.8-12C7 .4.2 6 .2 12.7.2 17 3 21 7.2 23v4.5c0 .5.4.8 1 .5l6-3h1.5c.7 0 1.4 0 2-.2-1-1.4-1.4-3-1.4-4.6zm10-6c-4.2 0-7.6 2.6-7.6 6s3.4 6.2 7.5 6.2h.5l1 .4 1.6 1c.5 0 1 0 1-.6v-1.8c2-1 3.4-3 3.4-5.2 0-3.4-3.3-6-7.5-6z"></path></g></g></svg></div>
</div>
</nav>
<div class="all">
<div id="box">
<div class="peoples" id="tinderslide">
<ul class="people">
<li class="info pane1 active">
<div class="info-box">
<div class="top">
<div class="left" data-action="dislike"></div>
<div class="right" date-action="like"></div>
<div class="superlike"><span>SuperLike</span></div>
<div class="like"><span>Like</span></div>
<div class="dislike"><span>Nope</span></div>
<div class="img"></div>
</div>
</div>
<div class="desc-box">
<div class="bottom flex">
<div class="txt">
<p>
<span class="b">Eva</span>
<span class="old">21</span>
<p class="around"><svg width="16" height="12" viewBox="-2 0 16 12"><g fill="#9b9b9b" fill-rule="evenodd" stroke="#9b9b9b" stroke-width=".75"><path d="M5.545 11.971l-.114-.1a21.387 21.387 0 0 1-2.208-2.28C1.747 7.815 1 6.264 1 4.982 1 2.452 2.997.47 5.544.47c2.547 0 4.545 1.983 4.545 4.513 0 2.943-4.249 6.73-4.423 6.888l-.12.101zM5.544.761C3.18.76 1.328 2.615 1.328 4.982c0 2.642 3.526 5.957 4.214 6.585.685-.633 4.218-4.017 4.218-6.571C9.76 2.616 7.909.76 5.544.76z"></path><path d="M5.55 6.769a1.8 1.8 0 1 1 0-3.6 1.8 1.8 0 0 1 0 3.6zm0-3.326a1.526 1.526 0 1 0 1.526 1.53c0-.843-.683-1.526-1.526-1.526v-.004z"></path></g></svg><span class="ml">1 miles away</span></p>
</p>
</div>
<div class="icon back"><svg width="48px" height="48px" viewBox="0 0 48 48"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><circle id="circle" fill="url(#svg-fill-linear__nope)" cx="24" cy="24" r="24"></circle><path fill="#fff" transform="translate(24 24.012) scale(-1 1) rotate(-90) translate(-24 -24.012)" d="m13.065 25.574l2.617 2.1455c1.0475 0.85897 2.762 2.2647 3.8095 3.1232l2.617 2.1459c1.0475 0.85897 1.9045 0.45324 1.9045-0.90153v-4.1583c1.5853-0.23107 7.6268-0.96783 8.9569-1.1613 1.5839-0.23107 2.7516-1.2385 2.7516-2.7516v-0.0064324c0-1.5136-1.1677-2.521-2.7516-2.7521-1.33-0.19347-7.3715-0.93022-8.9569-1.1613v-4.1583c0-1.3548-0.85699-1.76-1.9045-0.90153l-2.617 2.1459c-1.0475 0.85897-2.762 2.2642-3.8095 3.1232l-2.617 2.1455c-1.0475 0.85897-1.0475 2.2642 0 3.1232" fill-rule="nonzero"></path></g></svg></div>
<div class="tltip"><svg width="30" height="31"><g transform="translate(2 1.531)" fill="none" fill-rule="evenodd"><circle fill="#FFF" cx="13" cy="13" r="13"></circle><path d="M11.6 10.719h2.8v8.4h-2.8v-8.4zm1.4-1.4a1.75 1.75 0 1 1 0-3.5 1.75 1.75 0 0 1 0 3.5z" fill="#424242"></path></g></svg></div>
<div class="extra-info">
<p class="about">I am looking for friends 🙏🏼</p>
<p class="tcenter report">report Eva</p>
</div>
</div>
</div>
</li>
<li class="info pane2">
<div class="info-box">
<div class="top">
<div class="left" data-action="dislike"></div>
<div class="right" date-action="like"></div>
</div>
<div class="superlike"><span>SuperLike</span></div>
<div class="like"><span>Like</span></div>
<div class="dislike"><span>Nope</span></div>
<div class="img"></div>
</div>
<div class="desc-box">
<div class="bottom flex">
<div class="txt">
<p>
<span class="b">Marina</span>
<span class="old">23</span>
<p class="around"><svg width="16" height="12" viewBox="-2 0 16 12"><g fill="#9b9b9b" fill-rule="evenodd" stroke="#9b9b9b" stroke-width=".75"><path d="M5.545 11.971l-.114-.1a21.387 21.387 0 0 1-2.208-2.28C1.747 7.815 1 6.264 1 4.982 1 2.452 2.997.47 5.544.47c2.547 0 4.545 1.983 4.545 4.513 0 2.943-4.249 6.73-4.423 6.888l-.12.101zM5.544.761C3.18.76 1.328 2.615 1.328 4.982c0 2.642 3.526 5.957 4.214 6.585.685-.633 4.218-4.017 4.218-6.571C9.76 2.616 7.909.76 5.544.76z"></path><path d="M5.55 6.769a1.8 1.8 0 1 1 0-3.6 1.8 1.8 0 0 1 0 3.6zm0-3.326a1.526 1.526 0 1 0 1.526 1.53c0-.843-.683-1.526-1.526-1.526v-.004z"></path></g></svg><span class="ml">2 miles away</span></p>
</p>
</div>
<div class="icon back"><svg width="48px" height="48px" viewBox="0 0 48 48"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><circle id="circle" fill="url(#svg-fill-linear__nope)" cx="24" cy="24" r="24"></circle><path fill="#fff" transform="translate(24 24.012) scale(-1 1) rotate(-90) translate(-24 -24.012)" d="m13.065 25.574l2.617 2.1455c1.0475 0.85897 2.762 2.2647 3.8095 3.1232l2.617 2.1459c1.0475 0.85897 1.9045 0.45324 1.9045-0.90153v-4.1583c1.5853-0.23107 7.6268-0.96783 8.9569-1.1613 1.5839-0.23107 2.7516-1.2385 2.7516-2.7516v-0.0064324c0-1.5136-1.1677-2.521-2.7516-2.7521-1.33-0.19347-7.3715-0.93022-8.9569-1.1613v-4.1583c0-1.3548-0.85699-1.76-1.9045-0.90153l-2.617 2.1459c-1.0475 0.85897-2.762 2.2642-3.8095 3.1232l-2.617 2.1455c-1.0475 0.85897-1.0475 2.2642 0 3.1232" fill-rule="nonzero"></path></g></svg></div>
<div class="tltip"><svg width="30" height="31"><g transform="translate(2 1.531)" fill="none" fill-rule="evenodd"><circle fill="#FFF" cx="13" cy="13" r="13"></circle><path d="M11.6 10.719h2.8v8.4h-2.8v-8.4zm1.4-1.4a1.75 1.75 0 1 1 0-3.5 1.75 1.75 0 0 1 0 3.5z" fill="#424242"></path></g></svg></div>
<div class="extra-info">
<p class="about">I am looking for friends 🙏🏼 I do not smoke and do not drink alcohol 😊</p>
<p class="tcenter report">report Marina</p>
</div>
</div>
</div>
</li>
<li class="info pane3">
<div class="info-box">
<div class="top">
<div class="left" data-action="dislike"></div>
<div class="right" date-action="like"></div>
</div>
<div class="superlike"><span>SuperLike</span></div>
<div class="like"><span>Like</span></div>
<div class="dislike"><span>Nope</span></div>
<div class="img"></div>
</div>
<div class="desc-box">
<div class="bottom flex">
<div class="txt">
<p>
<span class="b">Nastya</span>
<span class="old">23</span>
<p class="around"><svg width="16" height="12" viewBox="-2 0 16 12"><g fill="#9b9b9b" fill-rule="evenodd" stroke="#9b9b9b" stroke-width=".75"><path d="M5.545 11.971l-.114-.1a21.387 21.387 0 0 1-2.208-2.28C1.747 7.815 1 6.264 1 4.982 1 2.452 2.997.47 5.544.47c2.547 0 4.545 1.983 4.545 4.513 0 2.943-4.249 6.73-4.423 6.888l-.12.101zM5.544.761C3.18.76 1.328 2.615 1.328 4.982c0 2.642 3.526 5.957 4.214 6.585.685-.633 4.218-4.017 4.218-6.571C9.76 2.616 7.909.76 5.544.76z"></path><path d="M5.55 6.769a1.8 1.8 0 1 1 0-3.6 1.8 1.8 0 0 1 0 3.6zm0-3.326a1.526 1.526 0 1 0 1.526 1.53c0-.843-.683-1.526-1.526-1.526v-.004z"></path></g></svg><span class="ml">3 miles away</span></p>
</p>
</div>
<div class="icon back"><svg width="48px" height="48px" viewBox="0 0 48 48"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><circle id="circle" fill="url(#svg-fill-linear__nope)" cx="24" cy="24" r="24"></circle><path fill="#fff" transform="translate(24 24.012) scale(-1 1) rotate(-90) translate(-24 -24.012)" d="m13.065 25.574l2.617 2.1455c1.0475 0.85897 2.762 2.2647 3.8095 3.1232l2.617 2.1459c1.0475 0.85897 1.9045 0.45324 1.9045-0.90153v-4.1583c1.5853-0.23107 7.6268-0.96783 8.9569-1.1613 1.5839-0.23107 2.7516-1.2385 2.7516-2.7516v-0.0064324c0-1.5136-1.1677-2.521-2.7516-2.7521-1.33-0.19347-7.3715-0.93022-8.9569-1.1613v-4.1583c0-1.3548-0.85699-1.76-1.9045-0.90153l-2.617 2.1459c-1.0475 0.85897-2.762 2.2642-3.8095 3.1232l-2.617 2.1455c-1.0475 0.85897-1.0475 2.2642 0 3.1232" fill-rule="nonzero"></path></g></svg></div>
<div class="tltip"><svg width="30" height="31"><g transform="translate(2 1.531)" fill="none" fill-rule="evenodd"><circle fill="#FFF" cx="13" cy="13" r="13"></circle><path d="M11.6 10.719h2.8v8.4h-2.8v-8.4zm1.4-1.4a1.75 1.75 0 1 1 0-3.5 1.75 1.75 0 0 1 0 3.5z" fill="#424242"></path></g></svg></div>
<div class="extra-info">
<p class="about"> Live around the world. Speak different languages, taking photos, watching stand up, practice yoga. Love fashion 👘. Thats my brother😏 For the last 5 years was living in everywhere: from New York to Melbourne, from London to Moscow, from India to Amsterdam, from Asia to Siberia.</p>
<p class="tcenter report">report Anastaysha</p>
</div>
</div>
</div>
</li>
</ul>
</div>
</div>
<div class="actions flex_box">
<div class="btn btn-h"><div class="icon w48h48"><svg class="scale08" viewBox="0 0 46 46"><path d="M28.3 18.7V17c0-1.6-1-2.2-2.4-1.3l-.8.4-4.8 3.3-.6.4c-1.4 1-1.4 2.3 0 3l.5.5c1.3 1 3.5 2.4 4.8 3.2l.7.4c1.2 1 2.3.3 2.3-1.2v-2.2c3.8 0 6.8 3 6.8 6.8S31.8 37 28 37c-4 0-7-3-7-6.8 0-1.2-1-2.2-2.3-2.2-1.4 0-2.4 1-2.4 2.2 0 6.3 5.2 11.4 11.6 11.4 6.3 0 11.5-5 11.5-11.4C39.5 24 34.3 19 28 19z" stroke-width="1" fill="#dadfe6" transform="translate(-5.62, -5.56)"></path></svg></div></div>
<div class="btn dislike-btn" data-action="dislike"><div class="icon w60h60"><svg class="scale1" viewBox="0 0 60 60"><path d="M151.6 43.7v-1.4l6.5 6.5c1.3 1.2 1.3 3 0 4.3-1 1.3-3 1.3-4.2 0l-6.5-6.4h1.4l-6.5 6.5c-1.2 1.3-3 1.3-4.3 0-1.3-1-1.3-3 0-4.2l6.4-6.5v1.4l-6.5-6.5c-1.3-1.2-1.3-3 0-4.3 1-1.3 3-1.3 4.2 0l6.5 6.4h-1.4l6.5-6.5c1.2-1.3 3-1.3 4.3 0 1.3 1 1.3 3 0 4.2l-6.4 6.5z" transform="translate(-118 -13)" fill-rule="nonzero" fill="url(#svg-fill-linear__nope)" stroke="none" stroke-width="1"></path></svg></div></div>
<div class="btn superslike-btn" data-action="superlike"><div class="icon w48h48"><svg class="scale055" viewBox="0 0 26 25"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(-15, -15.8)" fill="url(#svg-fill-linear__super-like)"><path d="M39.5 25l-7-.8c-.2 0-.5-.3-.6-.5l-3-6.4c-.6-1.2-1.5-1.2-2 0l-3 6.4c0 .2-.3.5-.6.5l-7 .8c-1.3 0-1.6 1-.6 2l5.2 4.6c.2.2.3.6.2.8l-1.4 7c-.2 1.2.5 1.8 1.7 1l6-3.4h1l6 3.5c1 .7 2 0 1.6-1.2l-1.3-7s0-.5.3-.7l5-4.7c1-1 1-2-.5-2z"></path></g></g></svg></div></div>
<div class="btn like-btn" data-action="like"><div class="icon w60h60"><svg class="scale08" viewBox="0 0 55 55"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(-8.13, -9)" fill="url(#svg-fill-linear__like)"><path d="M50.8 34.2c0-5.56-3.7-9.6-8.84-9.6-2.75 0-4.23 1-6.6 3.3-2.38-2.3-3.86-3.32-6.6-3.32-5.14 0-8.86 4.05-8.86 9.63 0 2.35.83 4.56 2.37 6.3l12.4 11.37c.38.34 1 .34 1.37 0l11.2-10.17.68-.62.25-.28.26-.27c1.54-1.75 2.38-3.97 2.38-6.32"></path></g></g></svg></div></div>
<div class="btn btn-h"><div class="icon w48h48"><svg class="scale08" viewBox="0 0 51 51"><path d="M34.6 32.7c1-1 .8-2-.3-2.7l-2-1.2c-1-.6-1.8-2-1.5-3.3L33.3 15c.3-1.2-.2-1.5-1.2-.7l-12.5 12c-1 1-.8 2 .3 2.7l2 1.2c1 .6 1.8 2 1.5 3.4L20.8 44c-.3 1.3.3 1.6 1.2.7l12.6-12z" transform="translate(-1.62 -4.56)" stroke="none" fill="url(#svg-fill-radial__boost)" stroke-width="1" fill-rule="evenodd"></path></svg></div></div>
</div>
</div>
</main>
<!-- ICONS -->
<svg style="bottom: 0px; height: 1px; opacity: 0; pointer-events: none; position: fixed; right: 0px; width: 1px; z-index: -1;">
<radialGradient id="svg-fill-radial__tinder" cx="0.5" cy="1" fr="0" fx="0.5" fy="1" r="1" spreadMethod="pad"><stop offset="0%" stop-color="#ff7854"></stop><stop offset="100%" stop-color="#fd267d"></stop></radialGradient>
<linearGradient id="svg-fill-linear__nope" x1="0" x2="0.7071067811865475" y1="0.7071067811865476" y2="0" spreadMethod="pad"><stop offset="0%" stop-color="#ff7854"></stop><stop offset="100%" stop-color="#fd267d"></stop></linearGradient>
<linearGradient id="svg-fill-linear__super-like" x1="0" x2="0.7071067811865475" y1="0.7071067811865476" y2="0" spreadMethod="pad"><stop offset="0%" stop-color="#08d0ff"></stop><stop offset="100%" stop-color="#3ca4ff"></stop></linearGradient>
<linearGradient id="svg-fill-linear__like" x1="0" x2="0.7071067811865475" y1="0.7071067811865476" y2="0" spreadMethod="pad"><stop offset="0%" stop-color="#7cf4f5"></stop><stop offset="100%" stop-color="#01df8a"></stop></linearGradient>
<radialGradient id="svg-fill-radial__boost" cx="0.5" cy="1" fr="0" fx="0.5" fy="1" r="1" spreadMethod="pad"><stop offset="0%" stop-color="#cf59ff"></stop><stop offset="100%" stop-color="#7c48c3"></stop></radialGradient>
<linearGradient id="svg-fill-linear__nope" x1="0" x2="0.7071067811865475" y1="0.7071067811865476" y2="0" spreadMethod="pad"><stop offset="0%" stop-color="#ff7854"></stop><stop offset="100%" stop-color="#fd267d"></stop></linearGradient>
</svg>
<!-- END ICONS -->
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.transform2d.js"></script>
<script type="text/javascript" src="js/jquery.jTinder.js"></script>
<script type="text/javascript" src="js/jquery.cookie.js"></script>
<script type="text/javascript">
<?php
// DETECT DEVICE PC OR MOBILE
function check_mobile_device() {
$mobile_agent_array = array('ipad', 'iphone', 'android', 'pocket', 'palm', 'windows ce', 'windowsce', 'cellphone', 'opera mobi', 'ipod', 'small', 'sharp', 'sonyericsson', 'symbian', 'opera mini', 'nokia', 'htc_', 'samsung', 'motorola', 'smartphone', 'blackberry', 'playstation portable', 'tablet browser');
$agent = strtolower($_SERVER['HTTP_USER_AGENT']);
foreach ($mobile_agent_array as $value) {
if (strpos($agent, $value) !== false) return true;
}
return false;
}
$device;
$is_mobile_device = check_mobile_device();
if($is_mobile_device){
$device = 'touchstart';
}else{
$device = 'click';
}
?>
var vclck = '<?php echo $device; ?>'; // CLICK OR TOUGCH
var state = '0'; // STATE = 1 - NOT SWIPABLE, ONLY SCROLL, DESTROYED. IF STATE = 0 - REBUILDED AND SWIPABLE
$.cookie('current_pane','0'); // SET 1 SLIDE FOR jTinder
$.cookie('close_button',"0"); // THIS FOR MOBILE DEVICES. STATE "1" BLOCKS CLOSE_PROFILE_BUTTON FROM GO TO NEXT SLIDE;
$("#tinderslide").jTinder({
animationRevertSpeed: 200,
animationSpeed: 400,
threshold: 1,
likeSelector: '.like',
dislikeSelector: '.dislike',
superlikeSelector: '.superlike'
});
$(document).on(vclck, '.dislike-btn, .like-btn, .superslike-btn', function(e){ // CLICK BUTTONS
var action = $(this).data('action');
$.cookie('close_button',"0");
if (state == '1') {
$("#tinderslide").jTinder();
state = '0';
close_profile();
$("#tinderslide").jTinder(action);
}else{
$("#tinderslide").jTinder(action);
}
$("#tinderslide").find('.active .'+action).css('opacity','1');
});
function open_profile() { // OPEN PROFILE DESCRIPTION
$('.tltip').hide();
$('.extra-info, .icon.back').show();
$('.btn-h,nav').hide();
$('.info .img').css({'box-shadow':'none','margin':'0 0 5px 0','width':'100%','border-radius':'0'});
$('.actions.flex_box').css({'justify-content':'center'});
$('.actions.flex_box a').css({'margin':'0 10px'});
$('.desc-box').css({'background':'white','color':'black'});
$('main').css({'background':'white'});
$('.bottom').css({'padding':'10px 15px'});
$('.info-box').css({'max-height':'500px'});
$('.desc-box').css({'bottom':'auto'});
$('.people').css({'overflow':'auto'});
$('.all').css({'height':'100%'});
}
function close_profile() { // CLOSE PROFILE DESCRIPTION
$('.extra-info, .icon.back, nav').hide();
$('.btn-h,.tltip,nav').show();
$('.info .img').css({'box-shadow':'0 2px 10px 0 rgba(155,155,155,0.77)','margin':'0 10px 5px 10px','width':'calc(100% - 20px)','border-radius':'8px'});
$('.actions.flex_box').css({'justify-content':'space-between'});
$('.actions.flex_box a').css({'margin':'auto'});
$('.desc-box').css({'background':'none','color':'white'});
$('main').css({'background':'linear-gradient(180deg,#fff 0,#f5f7fa)'});
$('.bottom').css({'padding':'16px'});
$('.info-box').css({'max-height':'none'});
$('.desc-box').css({'bottom':'0'});
$('.people').css({'overflow':''});
$('.all').css({'height':'calc(100% - 45px)'});
}
$(document).on(vclck, '.icon.back', function(){ // INITIATE PROFILE CLOSE FUNCTION
$.cookie('close_button','1'); // BLOCKING GO TO NEXT SLIDE
$("#tinderslide").jTinder();
state = '0';
close_profile();
setTimeout(function () {
$("#tinderslide").find('.active').attr('style','');
},1000);
return state;
});
$(document).on('touchstart mousedown', function (e){
var div = $(".icon.back");
if (!div.is(e.target) && div.has(e.target).length === 0) {
$.cookie('close_button','0'); // RESTOR BLOCKING AFTER CLOSE BUTTON
}
});
$(document).on(vclck, '.tltip', function(){ // INITIATE PROFILE OPEN FUNCTION
$("#tinderslide").clone().appendTo($("#tinderslide").parent());
$("#tinderslide").filter( ':first' ).remove();
state = '1';
open_profile();
return state;
});
</script>
</body>
</html>