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 /
ctm.bdcloud.fr /
core /
Delete
Unzip
Name
Size
Permission
Date
Action
ajax
[ DIR ]
drwxrwxrwx
2020-09-03 11:41
boxes
[ DIR ]
drwxrwxrwx
2020-09-03 11:41
class
[ DIR ]
drwxrwxrwx
2020-09-03 11:41
db
[ DIR ]
drwxrwxrwx
2020-09-03 11:41
filemanagerdol
[ DIR ]
drwxrwxrwx
2020-09-03 11:41
js
[ DIR ]
drwxrwxrwx
2020-09-03 11:41
lib
[ DIR ]
drwxrwxrwx
2020-09-03 11:40
login
[ DIR ]
drwxrwxrwx
2020-09-03 11:41
menus
[ DIR ]
drwxrwxrwx
2020-09-03 11:41
modules
[ DIR ]
drwxrwxrwx
2020-09-03 11:41
tpl
[ DIR ]
drwxrwxrwx
2020-09-03 11:40
triggers
[ DIR ]
drwxrwxrwx
2020-09-03 11:41
.htaccess
510
B
-rw-r--r--
2023-01-18 07:38
actions_addupdatedelete.inc.php
12.82
KB
-rwxrwxrwx
2020-09-03 11:37
actions_builddoc.inc.php
5.25
KB
-rwxrwxrwx
2020-09-03 11:37
actions_changeselectedfields.inc.php
1.57
KB
-rwxrwxrwx
2020-09-03 11:37
actions_comments.inc.php
2.63
KB
-rwxrwxrwx
2020-09-03 11:37
actions_dellink.inc.php
1.6
KB
-rwxrwxrwx
2020-09-03 11:37
actions_extrafields.inc.php
12.14
KB
-rwxrwxrwx
2020-09-03 11:37
actions_fetchobject.inc.php
1.94
KB
-rwxrwxrwx
2020-09-03 11:37
actions_lineupdown.inc.php
2.55
KB
-rwxrwxrwx
2020-09-03 11:37
actions_linkedfiles.inc.php
10.66
KB
-rwxrwxrwx
2020-09-03 11:37
actions_massactions.inc.php
48.76
KB
-rwxrwxrwx
2020-09-03 11:37
actions_printing.inc.php
3.7
KB
-rwxrwxrwx
2020-09-03 11:37
actions_sendmails.inc.php
19.29
KB
-rwxrwxrwx
2020-09-03 11:37
actions_setmoduleoptions.inc.php
3.64
KB
-rwxrwxrwx
2020-09-03 11:37
actions_setnotes.inc.php
3.44
KB
-rwxrwxrwx
2020-09-03 11:37
antispamimage.php
1.89
KB
-rwxrwxrwx
2020-09-03 11:37
commonfieldsinexport.inc.php
2.01
KB
-rwxrwxrwx
2020-09-03 11:37
datepicker.php
9.21
KB
-rwxrwxrwx
2020-09-03 11:37
doxygen.php
1.71
KB
-rwxrwxrwx
2020-09-03 11:37
extrafieldsinexport.inc.php
2.63
KB
-rwxrwxrwx
2020-09-03 11:37
get_info.php
7.79
KB
-rwxrwxrwx
2020-09-03 11:37
get_menudiv.php
6.98
KB
-rwxrwxrwx
2020-09-03 11:37
index.html
0
B
-rwxrwxrwx
2020-09-03 11:37
index.php
6.98
KB
-rw-r--r--
2023-01-18 07:38
photos_resize.php
19.92
KB
-rwxrwxrwx
2020-09-03 11:37
search.php
4.95
KB
-rwxrwxrwx
2020-09-03 11:37
search_page.php
4.31
KB
-rwxrwxrwx
2020-09-03 11:37
tools.php
1.54
KB
-rwxrwxrwx
2020-09-03 11:37
website.inc.php
4.12
KB
-rwxrwxrwx
2020-09-03 11:37
Save
Rename
<?php 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 WHERE elementtype = '".$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