-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
89 lines (86 loc) · 4.42 KB
/
Copy pathindex.php
File metadata and controls
89 lines (86 loc) · 4.42 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
<?php
/*
Published by Mizegerd.agency
*/
session_start();
include('captcha/math_captcha.php');
$captchaQuestion = generateCaptcha();
?>
<!DOCTYPE html>
<html lang="fa">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>تماس با ما</title>
<link rel="icon" href="images/favicon.png">
<link rel="stylesheet" href="css & js/styles.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" rel="stylesheet">
<script src="css & js/scripts.js" defer></script>
</head>
<body>
<div class="contact-container">
<div class="logo">
<img src="images/logoC.png" alt="لوگو">
</div>
<h1>تماس با ما</h1>
<form id="contact-form" action="bot/send_message.php" method="post" enctype="multipart/form-data">
<div class="form-step form-step-active">
<div class="form-row">
<div class="form-group half-width">
<label for="email"><i class="fas fa-envelope"></i> ایمیل:</label>
<input type="email" id="email" name="email" required>
</div>
<div class="form-group half-width">
<label for="telegram-id"><i class="fas fa-hashtag"></i> آیدی تلگرام:</label>
<input type="text" id="telegram-id" name="telegram-id">
</div>
</div>
<div class="form-row">
<div class="form-group half-width">
<label for="name"><i class="fas fa-user"></i> نام:</label>
<input type="text" id="name" name="name" required>
</div>
<div class="form-group half-width">
<label for="lastname"><i class="fas fa-user-tag"></i> نام خانوادگی:</label>
<input type="text" id="lastname" name="lastname" required>
</div>
</div>
<div class="btn-container">
<button type="button" class="btn-next">بعدی <i class="fas fa-chevron-left" style="margin-left: 5px;"></i></button>
</div>
</div>
<div class="form-step">
<div class="form-group">
<label for="subject"><i class="fas fa-heading"></i> موضوع:</label>
<input type="text" id="subject" name="subject" required>
</div>
<div class="form-group">
<label for="message"><i class="fas fa-pencil-alt"></i> پیام:</label>
<textarea id="message" name="message" rows="5" required></textarea>
</div>
<div class="form-group">
<label for="file-upload"><i class="fas fa-upload"></i> آپلود فایل:</label>
<input type="file" id="file-upload" name="file-upload">
<small class="file-info">فرمتهای مجاز: JPEG, PNG, MP4</small>
<p id="file-error" class="error-message"></p>
</div>
<div class="btn-container">
<button type="button" class="btn-prev"><i class="fas fa-chevron-right" style="margin-left: 5px;"></i> قبلی</button>
<button type="button" class="btn-next">بعدی <i class="fas fa-chevron-left" style="margin-left: 5px;"></i></button>
</div>
</div>
<div class="form-step">
<div class="form-group">
<label for="captcha"><i class="fas fa-puzzle-piece"></i> لطفاً حل کنید: <?php echo $captchaQuestion; ?></label>
<input type="text" id="captcha" name="captcha" required>
</div>
<div class="btn-container">
<button type="button" class="btn-prev"><i class="fas fa-chevron-right" style="margin-left: 5px;"></i> قبلی</button>
<button type="submit"><i class="fas fa-paper-plane" style="margin-left: 5px;"></i> ارسال</button>
</div>
</div>
</form>
</div>
</body>
</html>