-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdns.php
94 lines (73 loc) · 2.29 KB
/
dns.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
<?php
include("header.php");
if($_SESSION['flag']=="allowed")
{
echo'
<div class="row">
<div class="col-sm-6 col-md-4">
<div class="thumbnail">
<img src="images/dns.png" alt="1/0">
<div class="caption">
<h3>Master Zone</h3>
<p>Manage Master Records.</p>
<p>
<form action="zone.php" method="post">
<button class="btn btn-primary" name="sub-dns" value="master-create">Create</button>
<button class="btn btn-primary" name="sub-dns" value="master-del">Delete</button>
</form>
</p>
</div>
</div>
</div>
<div class="col-sm-6 col-md-4">
<div class="thumbnail">
<img src="images/dns.png" alt="1/0">
<div class="caption">
<h3>Slave Zone</h3>
<p>Manage Slave Records.</p>
<p>
<form action="zone.php" method="post">
<button class="btn btn-primary" name="sub-dns" value="slave-create">Create</button>
<button class="btn btn-primary" name="sub-dns" value="slave-del">Delete</button>
</form>
</p>
</div>
</div>
</div>
<div class="col-sm-6 col-md-4">
<div class="thumbnail">
<img src="images/dns.png" alt="1/0">
<div class="caption">
<h3>Forward Zone</h3>
<p>Manage Forward Records.</p>
<p>
<form action="zone.php" method="post">
<button class="btn btn-primary" name="sub-dns" value="forward-create">Create</button>
<button class="btn btn-primary" name="sub-dns" value="forward-del">Delete</button>
</form>
</p>
</div>
</div>
</div>
<div class="col-sm-6 col-md-4">
<div class="thumbnail">
<img src="images/dns.png" alt="1/0">
<div class="caption">
<h3>Add to Existing Zone</h3>
<p>Edit Existing Records.</p>
<p>
<form action="zone.php" method="post">
<button class="btn btn-primary" name="sub-dns" value="add-a">A Record</button>
<button class="btn btn-primary" name="sub-dns" value="add-ns">NS Record</button>
<button class="btn btn-primary" name="sub-dns" value="add-mx">MX Record</button>
</form>
</p>
</div>
</div>
</div>
</div>
</body>
';
}
else
header("location:index.php");