-
Notifications
You must be signed in to change notification settings - Fork 23
/
backup_at_file.php
36 lines (35 loc) · 1012 Bytes
/
backup_at_file.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
<?php
include './Database/Controler.php';
include 'role.php';
?>
<script language="javascript" src="./assets/js/validation.js"></script>
<script language="javascript">
function validate_form(f1)
{
if(isEmpty(f1.filenm.value,"the File Name.."))
{
alert(errMsg);
f1.filenm.focus();
return (false);
}
}
</script>
<h2>Backup Data</h2>
<div class="row">
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-body">
<div class="row">
<div class="col-md-12">
<form method="post" onSubmit="return validate_form(this)">
<div class="form-group">
<label>First Name:</label>
<input class="form-control" id="filenm" name="filenm" placeholder="Enter File Name"/>
</div>
<center>
<button type="submit" id="backup_at_data" name="backup_at_data" class="btn btn-primary"style="width: 30%;">Backup</button>
</center>
</form>
<?php
include 'footer.php';
?>