-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdbexport_form.inc.php
More file actions
26 lines (24 loc) · 894 Bytes
/
dbexport_form.inc.php
File metadata and controls
26 lines (24 loc) · 894 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
<? if (!defined('IN_ENGINE')) {die('forbidden');}
if ($functen['export']==1 && auth_user('EXPORT')) {
echo '<form name="export" id="export" action="'.'dbexport.php'.'" method="post">';
echo 'Export'.': ';
echo 'Format'.' ';
echo '<select name="out">';
echo '<option value="txt">'.'Text'.'</option>';
echo '<option value="html">'.'HTML'.'</option>';
echo '<option value="xml">'.'XML'.'</option>';
echo '<option value="json">'.'JSON'.'</option>';
echo '<option value="csv" selected>'.'CSV'.'</option>';
echo '</select>';
echo ' ';
echo 'Destination'.' ';
echo '<select name="put">';
echo '<option value="dload" selected>'.'Download'.'</option>';
echo '<option value="browser">'.'Browser'.'</option>';
echo '</select>';
echo '<input type="hidden" name="action" value="'.'export'.'" />';
echo ' ';
echo '<input type="submit" value="'.'Export'.'" />';
echo '</form>';
}
?>