-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
496 lines (473 loc) · 31.4 KB
/
index.html
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
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
<!DOCTYPE HTML>
<html>
<head>
<title>Welcome to Uravu</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<link rel="stylesheet" href="css/libs/jslider.css" type="text/css">
<link rel="stylesheet" href="css/libs/jquery.mobile.uravu.min.css" />
<link rel="stylesheet" href="css/libs/jquery.mobile.structure-1.4.5.min.css" />
<link rel="stylesheet" href="css/libs/jquery.tagsinput.css">
<link rel="stylesheet" href="css/font-awesome.min.css">
<link rel="stylesheet" href="css/jquery.mobile.icons.min.css" />
<link rel="stylesheet" href="css/uravu.css" />
<script type="text/javascript" src="cordova.js"></script>
<script type="text/javascript" src="js/libs/jquery.min.js"></script>
<script type="text/javascript" src="js/libs/jquery.mobile.router.min.js"></script>
<script type="text/javascript" src="js/libs/jquery.mobile-1.4.5.min.js"></script>
<script type="text/javascript" src="https://cdn.socket.io/socket.io-1.2.0.js"></script>
<script type="text/javascript" src="js/libs/jquery.loadTemplate-1.4.4.min.js"></script>
<script type="text/javascript" src="js/libs/jquery.tagsinput.min.js"></script>
<script type="text/javascript" src="js/libs/jquery.slider.js"></script>
<script type="text/javascript" src="js/libs/uuid.js"></script>
<script type="text/javascript" src="js/config.js"></script>
<script type="text/javascript" src="js/openfb.js"></script>
<script type="text/javascript" src="js/uravu.rest.js"></script>
<script type="text/javascript" src="js/db.js"></script>
<script type="text/javascript" src="js/chat.js"></script>
<script type="text/javascript" src="js/push.js"></script>
<script type="text/javascript" src="js/uravu.js"></script>
</head>
<body>
<div data-role="page" data-theme="a" class="welcome" id="home">
<div data-role="content">
<h1><img src="./images/logo-large.png" alt="Uravu" /></h1>
</div>
<div data-role="footer" data-position="fixed" data-tap-toggle="false" data-theme="b">
<fieldset class="ui-grid-a">
<div class="ui-block-a"><a role="button" href="#login" class="trans ui-btn ui-btn-b ui-btn-corner-all" data-transition="slidedown" data-label="LOGIN"></a></div>
<div class="ui-block-b"><a role="button" href="#register" class="trans ui-btn ui-btn-c ui-btn-corner-all" data-transition="slidedown" data-label="NEW_USER"></a></div>
</fieldset>
<fieldset class="ui-grid-solo">
<div class="ui-block-a"><button data-theme="b" class="btn-fblogin" onclick="fblogin();"><i class="fa fa-facebook"></i> <span class="trans" data-label="FACEBOOK_LOGIN"></span></button></div>
</fieldset>
</div>
</div> <!-- /home -->
<div data-role="page" data-theme='b' data-close-btn="none" id="register">
<div data-role="header" data-tap-toggle="false" data-position="fixed" data-theme='d'>
<a data-rel="back" data-role="button" class="ui-btn ui-btn-b ui-btn-corner-all ui-icon-carat-l ui-btn-icon-notext">Back</a>
<h1 class="trans" data-label="USER_REGISTRATION"></h1>
</div>
<div data-role="content">
<div class="registration">
<form id="frmRegister" enctype="multipart/form-data" onsubmit="return saveRegister();">
<input type="text" id="reg_name" name="name" class="transph" value="" maxlength="50" data-label="YOUR_NAME"/>
<input type="email" id="reg_email" name="email" value="" class="transph" data-label="YOUR_EMAIL" autocomplete="off" />
<input type="password" id="reg_password" name="password" value="" class="transph" data-label="ENTER_PASSWORD" autocomplete="off" />
<input type="password" id="reg_repassword" value="" class="transph" data-label="RE-ENTER_PASSWORD"/>
<input type="tel" id="reg_mobile" name="mobile" value="" class="transph" data-label="ENTER_MOBILE_NUMBER"/>
<textarea name="about" id="reg_about" class="transph" data-label="TELL_ABOUT_YOU"></textarea>
<input type="text" data-role='none' name="tags" id="reg_tags" class="transph" data-label="Tags each with comma seperated" />
<button type="submit" id="btnRegister" class="trans" data-label="COMPLETE_REGISTRATION"></button>
</form>
<div class="error" id="errReg"></div>
<br/><br/>
<fieldset class="ui-grid-a">
<div class="ui-block-a align-center"><a role="button" href="#login" class="trans ui-btn ui-btn-c ui-btn-corner-all" data-transition="flip" data-label="LOGIN"></a></div>
<div class="ui-block-b align-center"><button data-theme="b" class="btn-fblogin" onclick="fblogin();"><i class="fa fa-facebook"></i> <span class="trans" data-label="FACEBOOK_LOGIN"></span></button></div>
</fieldset>
</div>
<script type="text/javascript">
$('#reg_tags').tagsInput();
</script>
</div>
</div> <!-- /register -->
<div data-role="page" data-theme='b' data-close-btn="none" id="login">
<div data-role="header" data-tap-toggle="false" data-position="fixed" data-theme='d'>
<a data-rel="back" data-role="button" class="ui-btn ui-btn-b ui-btn-corner-all ui-icon-carat-l ui-btn-icon-notext">Back</a>
<h1 class="trans" data-label="USER_LOGIN"></h1>
</div>
<div data-role="content">
<form id="frmLogin" onsubmit="return emaillogin();">
<input type="email" id="lemail" name="email" value="" class="transph" data-label="YOUR_EMAIL"/>
<input type="password" id="lpassword" name="password" value="" class="transph" data-label="ENTER_PASSWORD"/>
<button type="submit" data-theme="b" class="trans" id="btnLogin" data-label="LOGIN"></button>
</form>
<div class="error" id="errLogin"></div>
<br/><br/>
<fieldset class="ui-grid-a">
<div class="ui-block-a align-center"><a role="button" href="#register" class="trans ui-btn ui-btn-c ui-btn-corner-all" data-transition="flip" data-label="NEW_USER"></a></div>
<div class="ui-block-b align-center"><a role="button" href="#forgotpass" class="trans ui-btn ui-btn-a ui-btn-corner-all" data-transition="flip" data-label="FORGOT_PASSWORD"></a></div>
</fieldset>
</div>
</div> <!-- /login -->
<div data-role="page" data-theme='b' data-close-btn="none" id="forgotpass">
<div data-role="header" data-tap-toggle="false" data-position="fixed" data-theme='d'>
<a data-rel="back" data-role="button" class="ui-btn ui-btn-b ui-btn-corner-all ui-icon-carat-l ui-btn-icon-notext">Back</a>
<h1 class="trans" data-label="FORGOT_PASSWORD"></h1>
</div>
<div data-role="content">
<form id="frmForgotpass" onsubmit="return forgotpass();">
<input type="email" id="femail" name="email" value="" class="transph" data-label="YOUR_EMAIL" autofocus/>
<button type="submit" data-theme="b" id="btnForgotpass" class="trans" data-label="RESET_PASSWORD"></button>
</form>
<div class="error" id="errForgotpass"></div>
</div>
</div> <!-- forgot password -->
<div data-role="page" data-theme='b' data-close-btn="none" id="reg_avatar">
<div data-role="header" data-tap-toggle="false" data-position="fixed" data-theme='d'>
<a href="#nearby" data-role="button" class="ui-btn ui-btn-e">Skip</a>
<h1 class="trans" data-label="PROFILE_IMAGE"></h1>
</div>
<div data-role="content">
<div class="avatar">
<form id="frmRegAvatar" enctype="multipart/form-data" onsubmit="return saveRegAvatar(this);">
<input type="file" name="image" id="reg-avatar-image" />
<button type="submit" id="btnRegAvatar" class="trans" data-label="SAVE_PHOTO"></button>
</form>
<div id="regavatar_msg" class="error"></div>
</div>
</div>
</div> <!-- register avatar -->
<div data-role="page" data-theme='b' id="nearby">
<div data-role="header" data-tap-toggle="false" data-position="fixed" data-theme='b'>
<input autocomplete="off" class="transph" id="query" data-theme="b" type="search" name="query" data-label="ENTER_YOUR_TEXT" />
<a href="#filter" class="ui-btn ui-shadow ui-btn-b ui-corner-all ui-btn-left ui-icon-gear ui-btn-icon-notext">Tags</a>
<a href="#popupMenu" data-rel="popup" data-transition="slideup" class="ui-btn ui-shadow ui-btn-b ui-corner-all ui-btn-right ui-icon-carat-d ui-btn-icon-notext">Actions...</a>
<div data-role="popup" id="popupMenu" data-theme="b">
<ul data-role="listview" data-inset="true" style="min-width:210px;">
<li data-role="list-divider" class="trans" data-label="SORT"></li>
<li><a href="#" class="trans" onclick="return setSortByName();" data-label="BY_NAME"></a></li>
<li><a href="#" class="trans" onclick="return setSortByDistance();" data-label="BY_DISTANCE"></a></li>
</ul>
<input type="hidden" id="sortBy" value="distance"/>
</div>
</div>
<div data-role="content">
<div id="users"></div>
</div>
<div data-role="footer" data-position="fixed" data-tap-toggle="false">
<div data-role="navbar">
<ul>
<li><a href="#nearby" data-icon="location" class="trans ui-btn-active" data-label="NEAR_BY"></a></li>
<li><a href="#favorite" data-icon="user" class="trans" data-label="FAVORITE"></a></li>
<li><a href="#chats" data-icon="comment" class="trans menuChats" data-label="CHATS"></a></li>
<li><a href="#me" data-icon="calendar" class="trans" data-label="ME"></a></li>
<li><a href="#more" data-icon="bullets" class="trans" data-label="MORE"></a></li>
</ul>
</div>
</div>
<script type="text/html" id="users_list_tpl">
<div class="user">
<img class="avatar" data-src="image" />
<div class="user-info">
<h3 class="name"><a data-template-bind='[
{"attribute": "content", "value": "name"},
{"attribute": "href", "value": "id", "formatter": "userHref"}]'></a>
<a class="btn_chat" data-template-bind='[
{"attribute": "href", "value": "email", "formatter": "chatHref"},
{"attribute": "id", "value": "email", "formatter": "chatBtn"},
{"attribute": "content", "value": "unread", "formatter": "chatLabel"}]'></span></a>
<div class="user-location">
<a class="ui-nodisc-icon ui-btn ui-btn-inline ui-alt-icon ui-shadow ui-corner-all ui-icon-location ui-btn-icon-left" data-content="distance" data-format="distanceFormat" >No disc</a>
</div>
</h3>
<ul class="tags" data-content="tags" data-format="userTags"></ul>
</div>
</div>
</script>
</div> <!-- nearby -->
<div data-role="page" data-theme='b' id="favorite">
<div data-role="header" data-tap-toggle="false" data-position="fixed" data-theme='a'>
<h1 class="trans" data-label="FAVORITE_USERS"></h1>
</div>
<div data-role="content">
<div id="favusers"></div>
</div>
<div data-role="footer" data-position="fixed" data-tap-toggle="false">
<div data-role="navbar">
<ul>
<li><a href="#nearby" data-icon="location" class="trans" data-label="NEAR_BY"></a></li>
<li><a href="#favorite" data-icon="user" class="trans ui-btn-active" data-label="FAVORITE"></a></li>
<li><a href="#chats" data-icon="comment" class="trans menuChats" data-label="CHATS"></a></li>
<li><a href="#me" data-icon="calendar" class="trans" data-label="ME"></a></li>
<li><a href="#more" data-icon="bullets" class="trans" data-label="MORE"></a></li>
</ul>
</div>
</div>
<script type="text/html" id="favorite_users_list_tpl">
<div class="user">
<img class="avatar" data-src="image" />
<div class="user-info">
<h3 class="name"><a data-template-bind='[
{"attribute": "content", "value": "name"},
{"attribute": "href", "value": "id", "formatter": "userHref"}]'></a>
<a class="btn_chat" data-template-bind='[
{"attribute": "href", "value": "email", "formatter": "chatHref"},
{"attribute": "id", "value": "email", "formatter": "chatBtn"}]'><i class="fa fa-comment"></i> <span class="newmsg-count"></span></a>
<div class="user-location">
<a class="ui-nodisc-icon ui-btn ui-btn-inline ui-alt-icon ui-shadow ui-corner-all ui-icon-location ui-btn-icon-left" data-content="distance" data-format="distanceFormat" >No disc</a>
</div>
</h3>
<ul class="tags" data-content="tags" data-format="userTags"></ul>
</div>
</div>
</script>
</div> <!-- favorite -->
<div data-role="page" data-theme='c' id="filter">
<div data-role="header" data-tap-toggle="false" data-position="fixed" data-theme='a'>
<a data-rel="back" data-role="button" class="ui-btn ui-btn-b ui-btn-corner-all ui-icon-carat-l ui-btn-icon-notext">Back</a>
<h1 class="trans" data-label="FILTER"></h1>
</div>
<div data-role="content">
<div id="filter_tags"></div>
<input data-role="none" type="checkbox" name="flag" id="flag" value="0" /> Show All
<div class="layout-slider">
<input id="slider" type="slider" name="distance" value="0" />
</div>
<a class="ui-btn ui-corner-all ui-btn-b trans" data-label="FILTER" onclick="setFilter();"></a>
<script type="text/javascript">
var km = _t('KM');
$('#filter_tags').tagsInput();
jQuery("#slider").slider({
from: 0,
to: 10000,
step: 0.1,
limits: false,
round: 1,
heterogeneity: ['50/100', '75/1000'],
format: {format: '##.0', locate: 'de'},
scale: [0, 50, 100, 1000, 10000],
dimension: ' ' + km,
skin: "round"
});
</script>
</div>
</div> <!-- filter users -->
<div data-role="page" data-theme='a' id="chat">
<div data-role="header" data-tap-toggle="false" data-position="fixed" data-theme='a'>
<a data-rel="back" data-role="button" class="ui-btn ui-btn-b ui-btn-corner-all ui-icon-carat-l ui-btn-icon-notext">Back</a>
<h1><img src="images/logo-icon.png" alt="Uravu"/></h1>
</div>
<div data-role="content">
<div id="messages"></div>
</div>
<div data-role="footer" data-position="fixed" data-tap-toggle="false">
<form id="chat-input" data-ajax="false" onsubmit="return chat.send();">
<textarea data-theme="a" class="msg transph" name="msg" id="msg" data-label="ENTER_YOUR_MESSAGE"></textarea>
<input type="submit" class="transv ui-btn ui-btn-right ui-btn-inline" data-label="SEND"/>
<input type="hidden" id="to" value=""/>
</form>
</div>
<script type="text/javascript">
$("#chat").on("pagebeforeshow", function () {
if (getVal(config.user_email)) {
var btn = "btn_" + mail2id(getVal(config.user_email));
$("#" + btn).removeClass('newmsg');
}
});
$("#chat").on("pageshow", function () {
$('#messages').animate({
scrollTop: $('#messages').prop("scrollHeight")}, 100);
});
$("#msg").focusin(function () {
var to = $("#to").val();
socket.emit('chat_message_typing', {
from: getVal(config.user_email),
to: to
});
});
$("#msg").focusout(function () {
var to = $("#to").val();
socket.emit('chat_message_typing_stop', {
from: getVal(config.user_email),
to: to
});
});
</script>
</div> <!-- chat -->
<div data-role="page" data-theme='a' id="user">
<div data-role="header" data-tap-toggle="false" data-position="fixed" data-theme='a'>
<a data-rel="back" data-role="button" class="ui-btn ui-btn-b ui-btn-corner-all ui-icon-carat-l ui-btn-icon-notext">Back</a>
<h1 class="trans" data-label="USER_DETAILS"></h1>
</div>
<div data-role="content">
<div id="user-details"></div>
</div>
<script type="text/html" id="user_details_tpl">
<p class="align-center"><img class="user-avator" data-src="image" /></p>
<h3 class="name align-center" data-content="name"></h3>
<fieldset class="ui-grid-b">
<div class="ui-block-a align-center"><a id="favorite_active" class="ui-btn ui-btn-d ui-btn-corner-all" onclick="return favoriteUser(this);" data-template-bind='[
{"attribute": "data-user-id", "value": "id"}]'><i class="fa fa-heart-o"></i> <span class="trans" data-label="FAVORITE"></span></a></div>
<div class="ui-block-b align-center"><a class="ui-btn ui-btn-d ui-btn-corner-all" data-template-bind='[
{"attribute": "href", "value": "email", "formatter": "chatHref"}]'><i class="fa fa-comment"></i> <span class="trans" data-label="CHATS"></span></a></div>
<div class="ui-block-c align-center"><a id="block_active" class="ui-btn ui-btn-d ui-btn-corner-all" onclick="return blockUser(this);" data-template-bind='[
{"attribute": "data-user-id", "value": "id"}]'><i class="fa fa-ban"></i> <span class="trans" data-label="BLOCK"></span></a></div>
</fieldset>
<div id="successmsg" class="error"></div>
<div class="ui-corner-all custom-corners">
<div class="ui-bar ui-bar-b">
<h3 class="trans" data-label ="MY_TAGS"></h3>
</div>
<div class="ui-body ui-body-b">
<ul class="tags" data-content="tags" data-format="userTags"></ul>
</div>
</div>
<br/>
<div class="ui-corner-all custom-corners">
<div class="ui-bar ui-bar-b">
<h3 class="trans" data-label="ABOUT_ME"></h3>
</div>
<div class="ui-body ui-body-b">
<div data-content="about"></div>
</div>
</div>
</script>
</div> <!-- individual user -->
<div data-role="page" data-theme='c' id="me">
<div data-role="header" data-tap-toggle="false" data-position="fixed" data-theme='a'>
<a data-rel="back" data-role="button" class="ui-btn ui-btn-b ui-btn-corner-all ui-icon-carat-l ui-btn-icon-notext">Back</a>
<h1 class="trans" data-label="ME"></h1>
</div>
<div data-role="content">
<ul data-role="listview" data-inset="true" data-theme='b'>
<li><a href="#profile" class="trans" data-label="MY_PROFILE"></a></li>
<li><a href="#setting" class="trans" data-label="SETTINGS"></a></li>
<li><a href="#avatar" class="trans" data-label="CHANGE_IMAGE"></a></li>
<li><a href="#change_password" class="trans" data-label="CHANGE_PASSWORD"></a></li>
</ul>
</div>
</div> <!-- me -->
<div data-role="page" data-theme='a' id="profile">
<div data-role="header" data-tap-toggle="false" data-position="fixed" data-theme='a'>
<a data-rel="back" data-role="button" class="ui-btn ui-btn-b ui-btn-corner-all ui-icon-carat-l ui-btn-icon-notext">Back</a>
<h1 class="trans" data-label="PROFILE"></h1>
</div>
<div data-role="content">
<div class="content-inner" id="profile-data">
<input type="text" id="pro-name" maxlength="100" class="transph" data-label="FIRST_NAME" />
<input type="email" id="pro-email" readonly/>
<input type="text" id="pro-mobile" maxlength="50" class="transph" data-label="MOBILE_NUMBER" />
<textarea id="pro-about" class="transph" data-label="ABOUT_YOU"></textarea>
<input id="pro-tags" maxlength="50" class="transph" data-label="TAGS" data-role='none' />
<fieldset class="ui-grid-a">
<div class="ui-block-a"><a class="ui-btn ui-corner-all ui-btn-b trans" onclick="saveProfile();" data-label="SAVE" ></a></div>
<div class="ui-block-b"><a class="ui-btn ui-corner-all trans" data-theme="a" onclick="logout();" data-label="LOGOUT"></a></div>
</fieldset>
</div>
<div class="error" id="update_msg"></div>
<script type="text/javascript">
$('#pro-tags').tagsInput();
</script>
</div>
</div> <!-- profile -->
<div data-role="page" data-theme="a" id="setting">
<div data-role="header" data-tap-toggle="false" data-position="fixed" data-theme='a'>
<a data-rel="back" data-role="button" class="ui-btn ui-btn-b ui-btn-corner-all ui-icon-carat-l ui-btn-icon-notext">Back</a>
<h1 class="trans" data-label="SETTINGS"></h1>
</div>
<div data-role="content">
<ul data-role="listview" data-inset="true" data-theme='b'>
<li><a href="#" class="trans" data-label="NEW_MESSAGE"></a></li>
<li><a href="#" class="trans" data-label="SOUND"></a></li>
<li><a href="#" class="trans" data-label="VIBRATE"></a></li>
<li><a href="#block" class="trans" data-label="BLOCKED_USERS"></a></li>
</ul>
<ul data-role="listview" data-inset="true" data-theme='d'>
<li><a href="#language" class="ui-alt-icon"><span class="trans" data-label="LANGUAGE"></span><span class="currLng"></span></a></li>
<li><a href="#distance" class="trans ui-alt-icon" data-label="DISTANCE"></a></li>
<li><a href="#privacy" class="trans ui-alt-icon" data-label="PRIVACY"></a></li>
<li><a href="#clear_history" class="trans ui-alt-icon" data-label="CLEAR_CHAT_HISTORY"></a></li>
</ul>
</div>
</div> <!-- /setting -->
<div data-role="page" data-theme='b' id="block">
<div data-role="header" data-tap-toggle="false" data-position="fixed" data-theme='a'>
<a data-rel="back" data-role="button" class="ui-btn ui-btn-b ui-btn-corner-all ui-icon-carat-l ui-btn-icon-notext">Back</a>
<h1 class="trans" data-label="BLOCKED_USERS"></h1>
</div>
<div data-role="content">
<div id="blockusers"></div>
</div>
<script type="text/html" id="blocked_users_list_tpl">
<div class="user">
<img class="avatar" data-src="image" />
<div class="user-info">
<h3 class="name"><a data-template-bind='[
{"attribute": "content", "value": "name"},
{"attribute": "href", "value": "id", "formatter": "userHref"}]'></a>
<a class="btn_chat" data-template-bind='[
{"attribute": "href", "value": "email", "formatter": "chatHref"},
{"attribute": "id", "value": "email", "formatter": "chatBtn"}]'><i class="fa fa-comment"></i> <span class="newmsg-count"></span></a>
<div class="user-location">
<a class="ui-nodisc-icon ui-btn ui-btn-inline ui-alt-icon ui-shadow ui-corner-all ui-icon-location ui-btn-icon-left" data-content="distance" data-format="distanceFormat" >No disc</a>
</div>
</h3>
<ul class="tags" data-content="tags" data-format="userTags"></ul>
</div>
</div>
</script>
</div> <!-- block -->
<div data-role="page" data-theme='a' data-close-btn="none" id="language">
<div data-role="header" data-tap-toggle="false" data-position="fixed" data-theme='d'>
<a data-rel="back" data-role="button" class="ui-btn ui-btn-b ui-btn-corner-all ui-icon-carat-l ui-btn-icon-notext">Back</a>
<h1 class="trans" data-label="SELECT_LANGUAGE"></h1>
</div>
<div data-role="content">
<form onsubmit="return selectLang(this);">
<ul data-role="listview">
<li><label><input data-role="none" type="radio" name="lang" id="langen" value="english"><span data-label="english" class="transfix"></span></label></li>
<li><label><input data-role="none" type="radio" name="lang" id="langtl" value="tamil"><span data-label="tamil" class="transfix"></span></label></li>
<li><button type="submit" value="Select" class="trans" data-label="SELECT"></button></li>
</ul>
</form>
</div>
</div> <!-- /language -->
<div data-role="page" data-theme='b' data-close-btn="none" id="avatar">
<div data-role="header" data-tap-toggle="false" data-position="fixed" data-theme='d'>
<a data-rel="back" data-role="button" class="ui-btn ui-btn-b ui-btn-corner-all ui-icon-carat-l ui-btn-icon-notext">Back</a>
<h1 class="trans" data-label="PROFILE_IMAGE"></h1>
</div>
<div data-role="content">
<div class="avatar">
<form id="frmAvatar" onsubmit="return uploadAvatar(this);" >
<input type="file" name="image" id="avatar-image"/>
<button type="submit" id="btnAvatar" class="trans" data-label="SAVE_PHOTO"></button>
</form>
<div id="done_msg" class="error"></div>
</div>
</div>
</div> <!-- change image -->
<div data-role="page" data-theme='b' data-close-btn="none" id="change_password">
<div data-role="header" data-tap-toggle="false" data-position="fixed" data-theme='d'>
<a data-rel="back" data-role="button" class="ui-btn ui-btn-b ui-btn-corner-all ui-icon-carat-l ui-btn-icon-notext">Back</a>
<h1 class="trans" data-label="CHANGE_PASSWORD"></h1>
</div>
<div data-role="content">
<form id="frmChangepass" onsubmit="return changepass();">
<input type="password" id="npass" value="" class="transph" data-label="NEW_PASSWORD" autocomplete="off" autofocus />
<input type="password" id="re_npass" value="" class="transph" data-label="RE-ENTER_NEW_PASSWORD" />
<button type="submit" data-theme="b" id="btnChangepass" class="trans" data-label="RESET_PASSWORD"></button>
</form>
<div class="error" id="errChangepass"></div>
</div>
</div> <!-- change password -->
<div data-role="page" data-theme='c' id="more">
<div data-role="header" data-tap-toggle="false" data-position="fixed" data-theme='a'>
<a data-rel="back" data-role="button" class="ui-btn ui-btn-b ui-btn-corner-all ui-icon-carat-l ui-btn-icon-notext">Back</a>
<h1 class="trans" data-label="MORE"></h1>
</div>
<div data-role="content">
<ul data-role="listview" data-inset="true" data-theme='d'>
<li><a href="#policy" class="ui-alt-icon trans" data-label="PRIVACY_POLICY"></a></li>
<li><a href="#faq" class="ui-alt-icon trans" data-label="FAQS"></a></li>
<li><a href="#about" class="ui-alt-icon trans" data-label="ABOUT_URAVU"></a></li>
</ul>
</div>
</div> <!-- more -->
<div data-role="page" data-theme='c' id="about">
<div data-role="header" data-tap-toggle="false" data-position="fixed" data-theme='a'>
<a data-rel="back" data-role="button" class="ui-btn ui-btn-b ui-btn-corner-all ui-icon-carat-l ui-btn-icon-notext">Back</a>
<h1 class="trans" data-label="ABOUT_URAVU"></h1>
</div>
<div data-role="content">
<div id="about_data">
<h4 class="trans" data-label="HOW_IT_WORKS"></h4>
<p class="trans" data-label="SHORT_DESCRIPTION"></p>
<p class="trans" data-label="CREATE_GROUPS"></p>
</div>
</div>
</div> <!-- about application -->
</body>
</html>