-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsamba.php
More file actions
70 lines (59 loc) · 1.82 KB
/
samba.php
File metadata and controls
70 lines (59 loc) · 1.82 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
<?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/samba.png" alt="1/0">
<div class="caption">
<h3>Convert Users</h3>
<p>Convert the unix user to the samba user. </p>
<form action="samba1.php" method="post">
<p><button class="btn btn-primary" name="samba1" value="convert">Convert</button></p>
</form>
</div>
</div>
</div>
<div class="col-sm-6 col-md-4">
<div class="thumbnail">
<img src="images/samba.png" alt="1/0">
<div class="caption">
<h3>Create New Share</h3>
<p>Create new file share.</p>
<form action="samba1.php" method="post">
<p><button class="btn btn-primary" name="samba1" value="create">Create</button></p>
</form>
</div>
</div>
</div>
<div class="col-sm-6 col-md-4">
<div class="thumbnail">
<img src="images/samba.png" alt="1/0">
<div class="caption">
<h3>Undo File Share</h3>
<p>Undo existing file share.</p>
<form action="samba1.php" method="post">
<p><button class="btn btn-primary" name="samba1" value="undo">Undo</button></p>
</form>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-6 col-md-4">
<div class="thumbnail">
<img src="images/samba.png" alt="1/0">
<div class="caption">
<h3>Change Passowrd</h3>
<p>Change Password for Samba User.</p>
<form action="samba1.php" method="post">
<p><button class="btn btn-primary" name="samba1" value="change">Change</button></p>
</form>
</div>
</div>
</div>';
}
else
header("location:index.php");