-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathhome.php
More file actions
33 lines (26 loc) · 703 Bytes
/
home.php
File metadata and controls
33 lines (26 loc) · 703 Bytes
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
<?php
include 'header.php';
if($_SESSION['flag']=="allowed")
{echo '
<div class="container">
<div class="jumbotron">
<h1>Hello, world!</h1>
<blockquote>
<p>Welcome to open-source Network management tool. A web utility to manage your server.</p>
<footer>Developed By <cite title="Source Title">Mashrin and Saumya</cite></footer>
</blockquote>
<form action="ip.php" method="post">
<p><button class="btn btn-primary btn-lg" role="button" name="sub" value="ip">Know your IP!</button>
<button class="btn btn-primary btn-lg" role="button" name="sub" value="who">Check WHO!!</button></p>
</form>
</div>
</div>
</center>
</body>
</html>';
}
else
{
header("location:index.php");
}
?>