-
Notifications
You must be signed in to change notification settings - Fork 2
/
contactus.php
506 lines (224 loc) · 9.29 KB
/
contactus.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
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
497
498
499
500
501
502
503
504
505
<?php
session_start();
session_regenerate_id(true);
require "init/config.php";
$user_name = $_SESSION["this_is_session_for_user"];
$query = "select * from tablefor_users where thisisuser_name='" . $user_name . "'";
$execute_query = mysqli_query($db,$query) or die("error");
$user = mysqli_fetch_array($execute_query,MYSQLI_ASSOC);
//language
if (isset($_COOKIE["language"])) {
include "en-strings.php";
}else if (!isset($_COOKIE["language"])) {
include "ar-strings.php";
}
// add view
$get_views_query = "select * from website_settings";
$execute_views_query = mysqli_query($db,$get_views_query);
$fetch_views_results = mysqli_fetch_assoc($execute_views_query);
$current_views = $fetch_views_results["website_views"];
//add new view
$new_view = $current_views + 1;
$update_views_query = "update website_settings set website_views='" . $new_view . "'";
$execute_update_v = mysqli_query($db,$update_views_query);
?>
<!DOCTYPE html>
<html lang="<?php echo $lang; ?>">
<head>
<meta charset="utf-8">
<meta name="description" content="احصل علي رسائل صوتية مجهولة الهوية من اصدقائك وعائلتك وايضا من اشخاص لا تعرفهم وقم بمشاركة الرسائل علي وسائل التواصل الاجتماعي">
<meta name="keywords" content="Sarahah,ask.fm,sayat.me,ask,sayat,voice Messages,Sound Message, sarahah.com,facebook,twitter,instagram,snapchat,news,صراحة,موقع صراحة ,اسك ,سايت,فيس بوك ,تويتر,انستاجرام,اخبار,سناب شات, موقع رسائل صوتية,رسائل صوتية مجهولة, حكاية">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#5b81ec" >
<title><?php echo $contact_us_title; ?></title>
<link href="images/icon.png" rel="icon" >
<link rel="stylesheet" href="css/font-awesome.min.css" />
<link rel="stylesheet" href="css/materialize.min.css" />
<?php echo $style_file; ?>
<style>
.language-panel {
top: 49px;
left: 40px;
}
body {
overflow-x: hidden;
}
.user-header ul li:hover {
background-color: transparent;
background-image: none;
cursor: default;
}
#bars {
position: relative;
top:-150px;
}
.side-nav i {
float: right;
font-size: 14pt;
position: relative;
top: 17px;
right: 5px;
}
.side-nav li {
padding-right: 7px
}
</style>
<link href="css/<?php echo $media; ?>" rel="stylesheet">
<style>
.back {
float:left;color:white;position:absolute;top:15px;left:15px;
}
.socila-contact {
width: 100%;
background-image: url('images/shadow-layer.png');
}
.socila-contact ul {
width: 100%;
height: auto;
overflow: auto;
}
.socila-contact ul li {
width: 50%;
text-align: center;
float: right;
border: 1px solid white;
}
.socila-contact ul li i {
margin-right: 5px;
}
.socila-contact ul a {
color: white;
}
</style>
<script src="js/html5shiv.min.js"></script>
<script src="js/respond.min.js"></script>
</head>
<body>
<!-- Start Work Area -->
<div id="#header" style="padding: 10px 10px 0px 10px">
<?php
if (isset($_SESSION["this_is_session_for_user"])) {
echo '
<div class="header-right" style="padding-bottom:0px;padding-top:5px;">
<a href="index.php"><img src="images/logo.png" style="width:40px; height:40px;margin-right:8px;margin-top:1px"/></a>
<h2 class="label">'.$website_name.'</h2>
</div>
<div class="header-left" style="padding:0;padding-bottom:15px">
<nav>
<div class="nav-wrapper">
<a href="#" data-activates="mobile-demo" class="button-collapse"><i style="margin-left:10px;line-height:72px;" class="material-icons">menu</i></a>
<ul class="side-nav" id="mobile-demo">
<div class="side-header">
<center>
<img src="profile_pictures_for_users/'.$user["thisisuser_picture"].'" />
<h4>'.$user["thisis_name"].'</h4>
</center>
</div>
<li><a href="index.php">الصفحة الرئيسية</a> <i style="font-size:14pt;" class="fa fa-home"></i></li>
<li><a href="home" style="padding-right:13px;margin-top:2px">الرسائل المستلمة</a> <i style="font-size:14pt;right:4px" class="fa fa-envelope"></i></li>
<li><a href="settings">اعدادات الحساب</a> <i style="font-size:14pt;" class="fa fa-gear"></i></li>
<li><a href="help">مساعدة</a> <i class="fa fa-life-ring" style="font-size:14pt;float:right;right:3px"></i></li>
<li><a href="policy">الخصوصية</a> <i class="fa fa-shield" style="font-size:14pt;float:right;"></i></li>
<li><a href="contactus">اتصل بنا</a> <i class="fa fa-phone" style="font-size:14pt;float:right;"></i></li>
<li><a href="logout">تسجيل الخروج</a> <i style="font-size:14pt;" class="fa fa-sign-in"></i></li>
</ul>
</div>
</nav>
</div>
';
}else if (!isset($_SESSION["this_is_session_for_user"])) {
echo '
<div class="header-right" style="padding-bottom:0px;padding-top:5px;">
<a href="index.php"><img src="images/logo.png" style="width:40px; height:40px;margin-right:8px;margin-top:1px"/></a>
<h2 class="label">'.$website_name.'</h2>
</div>
<div class="header-left" style="padding:0;padding-bottom:15px">
<nav>
<div class="nav-wrapper">
<a href="#" data-activates="mobile-demo" class="button-collapse"><i class="material-icons" style="margin-left:10px;line-height:72px;">menu</i></a>
<ul class="side-nav" id="mobile-demo">
<div class="side-header">
<center>
<img src="images/vector.png" />
<h4>'.$user_login_label.'</h4>
</center>
</div>
<li><a href="login.php">'.$login_label.'</a> <i class="fa fa-sign-in list-side" style="font-size:14pt;float:right;"></i></li>
<li><a class="sp-2" href="register.php" style="padding-right:11px;">'.$register_label.'</a> <i class="fa fa-user-plus list-side" style="font-size:14pt;float:right;right:1.5px"></i></li>
<li><a class="sp-2" href="help">'.$help_label.'</a> <i class="fa fa-life-ring list-side" style="font-size:14pt;float:right;right:3px"></i></li>
<li><a class="sp-2" href="contactus">'.$contact_label.'</a> <i class="fa fa-phone list-side" style="font-size:14pt;float:right;"></i></li>
<li><a href="policy">'.$privacy_label.'</a> <i class="fa fa-shield list-side" style="font-size:14pt;float:right;"></i></li>
</ul>
</div>
</nav>
';
}
?>
</div>
</div>
<div class="user-header message-header">
<ul>
<li class="border-left my-messages" style="position:relative;width:100%;border-left:0"><h4><?php echo $contact_label; ?></h4></li>
</ul>
</div>
<div class="container-home">
<div class="policy-container" style="padding:auto">
<?php
if (isset($_GET["proccess"])) {
if ($_GET["proccess"] == "success") {
echo "<span style='display:block;text-align:center;width:100%;color:#5cff53;font-weight:bold'>".$success_contact ."</span>";
}else if ($_GET["proccess"] == "error") {
echo "<span style='display:block;text-align:center;width:100%;font-weight:bold'>".$missing_data_login."</span>";
}
}
?>
<?php echo $send_anonymous_developer; ?>
</br>
<div class="socila-contact">
<ul>
<a href="http://heakaya.com/u/youssefmousa" target="_blank"><li style="border-left:1px solid white;width:100%"><i class="fa fa-microphone"></i>Heakaya</li></a>
</ul>
</div>
<?php echo $social_net_developer; ?>
</br>
<div class="socila-contact">
<ul>
<a href="http://twitter.com/youssefmousa73" target="_blank"><li style="border-left:1px solid white;"><i class="fa fa-twitter-square"></i>Twitter</li></a>
<a href="https://www.facebook.com/youssef.mousa2001" target="_blank"><li><i class="fa fa-facebook-official"></i>Facebook</li></a>
</ul>
</div>
<div class="contact-header">
<?php echo $email_developer; ?>
</br>
<div class="socila-contact">
<ul>
<li style="width:100%"><i class="fa fa-envelope"></i>[email protected]</li>
</ul>
</div>
<span style="display:block;margin-top:10px"><?php echo $contact_form; ?></span>
</div>
<div class="contact-us-form">
<form method="post" action="contact_us_proccess.php">
<input type="text" placeholder="<?php echo $name_register; ?>" name="sender_name"/>
<input type="text" placeholder="<?php echo $email; ?>" name="sender_email"/>
<input type="text" placeholder="<?php echo $subject; ?>" name="message_subject"/>
<center style="padding:0;overflow:visible">
<textarea placeholder="<?php echo $your_message; ?>" name="message_text"></textarea>
</center>
</div>
<button><?php echo $send; ?></button>
</div>
<form>
</div>
<!-- End Work Area -->
<script src="js/jquery-3.1.0.min.js"></script>
<script type="text/javascript" src="js/materialize.min.js"></script>
<script type="text/javascript" src="js/<?php echo $js; ?>"></script>
<script type="text/javascript">
$(document).ready(function(){
$(".button-collapse").sideNav();
});
</script>
</body>
</html>