-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathextract.php
61 lines (47 loc) · 1.36 KB
/
extract.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
<?php
/*
* This page will create cascade widget, so it's needed to include the file funcion
*/
require_once("cascade_widget.php");
?>
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<title>Extract</title>
<style>
.inputcontainer {
position: relative;
width: 100%;
}
#uri {
width: 100%;
box-sizing: border-box;
}
</style>
<script language="javascript" src="cascade_widget.js"></script>
</head>
<body>
<h1>Extract</h1>
<form action="extract_core.php" method="get">
<?php cascade_widget('Title'); ?>
<?php cascade_widget('Main text'); ?>
<div class="inputcontainer">
<label for="file_name">File Name</label><br />
<input name="file_name" id="file_name" type="text" value="extract.txt" />
</div>
<div class="inputcontainer">
<label for="uri">URI:</label>
<input name="uri" id="uri" type="text" value="http://blogdosakamoto.blogosfera.uol.com.br/2015/06/28/como-sera-o-dia-seguinte-a-reducao-da-maioridade-penal/" />
</div>
<div class="inputcontainer">
<label for="uri">Folder to save:</label>
<br />
<input name="folder" id="folder" type="file" webkitdirectory directory multiple />
</div>
<div class="inputcontainer">
<input type="submit" value="Submit" />
</div>
</form>
</body>
</html>