-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
59 lines (51 loc) · 2.64 KB
/
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
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Email sender</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300i,400,400i,500,500i,600,600i,700,700i&subset=latin-ext">
<link href="./assets/css/dashboard.css" rel="stylesheet" />
</head>
<body>
<div class="page">
<div class="page-single">
<div class="container">
<div class="row">
<div class="col col-login mx-auto">
<form class="card" action="/sender.php" method="POST">
<div class="card-body p-6">
<div class="card-title">Отправить имейл</div>
<?php if (isset($_GET['success']) && $_GET['success']) { ?>
<div class="alert alert-success" role="alert">
Сообщение отправленно
</div>
<?php } ?>
<div class="form-group">
<label>От кого</label>
<input type="text" name="from" class="form-control" placeholder="От кого">
</div>
<div class="form-group">
<label>Кому</label>
<input type="text" name="to" class="form-control" placeholder="Кому">
</div>
<div class="form-group">
<label>Тема</label>
<input type="text" name="subject" class="form-control" placeholder="Тема">
</div>
<div class="form-group">
<label>Сообщение</label>
<textarea name="message" class="form-control" placeholder="Сообщение"></textarea>
</div>
<div class="form-footer">
<button type="submit" class="btn btn-primary">Отправить</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</body>
</html>