Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.35
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
html_old /
btm2000_old /
htdocs /
core /
Delete
Unzip
Name
Size
Permission
Date
Action
ajax
[ DIR ]
drwxr-xr-x
2021-10-16 13:26
boxes
[ DIR ]
drwxr-xr-x
2021-10-16 13:26
class
[ DIR ]
drwxr-xr-x
2021-10-16 13:26
data
[ DIR ]
drwxr-xr-x
2021-10-16 13:26
db
[ DIR ]
drwxr-xr-x
2021-10-16 13:26
filemanagerdol
[ DIR ]
drwxr-xr-x
2021-10-16 13:26
js
[ DIR ]
drwxr-xr-x
2021-10-16 13:26
lib
[ DIR ]
drwxr-xr-x
2021-10-16 13:26
login
[ DIR ]
drwxr-xr-x
2021-10-16 13:26
menus
[ DIR ]
drwxr-xr-x
2021-10-16 13:26
modules
[ DIR ]
drwxr-xr-x
2021-10-16 13:26
tpl
[ DIR ]
drwxr-xr-x
2021-10-16 13:26
triggers
[ DIR ]
drwxr-xr-x
2021-10-16 13:26
actions_addupdatedelete.inc.php
15.54
KB
-rw-r--r--
2021-10-16 13:26
actions_builddoc.inc.php
4.82
KB
-rw-r--r--
2021-10-16 13:26
actions_changeselectedfields.inc.php
1.55
KB
-rw-r--r--
2021-10-16 13:26
actions_comments.inc.php
2.56
KB
-rw-r--r--
2021-10-16 13:26
actions_dellink.inc.php
1.59
KB
-rw-r--r--
2021-10-16 13:26
actions_extrafields.inc.php
12.33
KB
-rw-r--r--
2021-10-16 13:26
actions_fetchobject.inc.php
1.88
KB
-rw-r--r--
2021-10-16 13:26
actions_lineupdown.inc.php
2.53
KB
-rw-r--r--
2021-10-16 13:26
actions_linkedfiles.inc.php
10.71
KB
-rw-r--r--
2021-10-16 13:26
actions_massactions.inc.php
49.03
KB
-rw-r--r--
2021-10-16 13:26
actions_printing.inc.php
3.3
KB
-rw-r--r--
2021-10-16 13:26
actions_sendmails.inc.php
19.58
KB
-rw-r--r--
2021-10-16 13:26
actions_setmoduleoptions.inc.php
3.5
KB
-rw-r--r--
2021-10-16 13:26
actions_setnotes.inc.php
3.47
KB
-rw-r--r--
2021-10-16 13:26
antispamimage.php
1.88
KB
-rw-r--r--
2021-10-16 13:26
commonfieldsinexport.inc.php
2
KB
-rw-r--r--
2021-10-16 13:26
customreports.php
31.84
KB
-rw-r--r--
2021-10-16 13:26
datepicker.php
9.28
KB
-rw-r--r--
2021-10-16 13:26
doxygen.php
1.71
KB
-rw-r--r--
2021-10-16 13:26
extrafieldsinexport.inc.php
2.77
KB
-rw-r--r--
2021-10-16 13:26
get_info.php
7.9
KB
-rw-r--r--
2021-10-16 13:26
get_menudiv.php
6.98
KB
-rw-r--r--
2021-10-16 13:26
index.html
0
B
-rw-r--r--
2021-10-16 13:26
photos_resize.php
21.73
KB
-rw-r--r--
2021-10-16 13:26
search.php
4.92
KB
-rw-r--r--
2021-10-16 13:26
search_page.php
4.28
KB
-rw-r--r--
2021-10-16 13:26
tools.php
1.56
KB
-rw-r--r--
2021-10-16 13:26
website.inc.php
5.05
KB
-rw-r--r--
2021-10-16 13:26
Save
Rename
<?php // $keyforselect = name of main table // keyforelement = name of picto // $keyforaliasextra = a key to avoid conflict with extrafields of other objects if (empty($keyforselect) || empty($keyforelement) || empty($keyforaliasextra)) { //print $keyforselet.' - '.$keyforelement.' - '.$keyforaliasextra; dol_print_error('', 'include of file extrafieldsinexport.inc.php was done but var $keyforselect or $keyforelement or $keyforaliasextra was not set'); exit; } // Add extra fields $sql = "SELECT name, label, type, param, fieldcomputed, fielddefault FROM ".MAIN_DB_PREFIX."extrafields"; $sql .= " WHERE elementtype = '".$this->db->escape($keyforselect)."' AND type != 'separate' AND entity IN (0, ".$conf->entity.') ORDER BY pos ASC'; //print $sql; $resql = $this->db->query($sql); if ($resql) // This can fail when class is used on old database (during migration for example) { while ($obj = $this->db->fetch_object($resql)) { $fieldname = $keyforaliasextra.'.'.$obj->name; $fieldlabel = ucfirst($obj->label); $typeFilter = "Text"; $typefield = preg_replace('/\(.*$/', '', $obj->type); // double(24,8) -> double switch ($typefield) { case 'int': case 'integer': case 'double': case 'price': $typeFilter = "Numeric"; break; case 'date': case 'datetime': case 'timestamp': $typeFilter = "Date"; break; case 'boolean': $typeFilter = "Boolean"; break; case 'select': if (!empty($conf->global->EXPORT_LABEL_FOR_SELECT)) { $tmpparam = unserialize($obj->param); // $tmpparam may be array with 'options' = array(key1=>val1, key2=>val2 ...) if ($tmpparam['options'] && is_array($tmpparam['options'])) { $typeFilter = "Select:".$obj->param; } } break; case 'sellist': $tmp = ''; $tmpparam = unserialize($obj->param); // $tmp ay be array 'options' => array 'c_currencies:code_iso:code_iso' => null if ($tmpparam['options'] && is_array($tmpparam['options'])) { $tmpkeys = array_keys($tmpparam['options']); $tmp = array_shift($tmpkeys); } if (preg_match('/[a-z0-9_]+:[a-z0-9_]+:[a-z0-9_]+/', $tmp)) $typeFilter = "List:".$tmp; break; } if ($obj->type != 'separate') { // If not a computed field if (empty($obj->fieldcomputed)) { $this->export_fields_array[$r][$fieldname] = $fieldlabel; $this->export_TypeFields_array[$r][$fieldname] = $typeFilter; $this->export_entities_array[$r][$fieldname] = $keyforelement; } // If this is a computed field else { $this->export_fields_array[$r][$fieldname] = $fieldlabel; $this->export_TypeFields_array[$r][$fieldname] = $typeFilter.'Compute'; $this->export_special_array[$r][$fieldname] = $obj->fieldcomputed; $this->export_entities_array[$r][$fieldname] = $keyforelement; } } } } // End add axtra fields