-
Notifications
You must be signed in to change notification settings - Fork 0
/
index
77 lines (71 loc) · 2.65 KB
/
index
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
<!DOCTYPE html>
<html dir="rtl" lang="en">
<head >
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Form</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
<style>
.header {
background-color: #f8f9fa;
padding: 20px;
text-align: center;
}
.footer {
background-color: #f8f9fa;
padding: 20px ;
text-align: center;
}
.container{
background-color: #f8f9fa;
}
</style>
</head>
<body>
<header class="header">
<div class="container">
<h1>مبدل تاریخ</h1>
</div>
</header>
<br>
<br>
<br>
<div class="container">
<form action="converter.php" method="post">
<div class="mb-3">
<label for="type" class="form-label">تبدیل به:</label>
<select name="type" id="type" class="form-select">
<option value="miladi"> میلادی</option>
<option value="shamsi"> شمسی</option>
</select>
</div>
<div class="mb-3">
<label for="year" class="form-label">سال:</label>
<input type="number" name="year" id="year" class="form-control">
</div>
<div class="mb-3">
<label for="month" class="form-label">ماه:</label>
<input type="number" name="month" id="month" class="form-control">
</div>
<div class="mb-3">
<label for="day" class="form-label">روز:</label>
<input type="number" name="day" id="day" class="form-control">
</div>
<center><button type="submit" class="btn btn-success">تبدیل</button>
<button type="reset" class="btn btn-danger">پاک کردن!</button></center>
</form>
</div>
<br>
<br>
<br>
<br>
<footer class="footer">
<div class="container">
<p>Designed by <b>Sepas Setayesh</b></p>
<p>© 2023 تمامی حقوق محفوظ است.</p>
</div>
</footer>
</body>
</html>