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 /
asiafood.apps-dev.fr /
core /
Delete
Unzip
Name
Size
Permission
Date
Action
ajax
[ DIR ]
drwxrwxrwx
2020-11-01 12:56
boxes
[ DIR ]
drwxrwxrwx
2020-11-01 12:56
class
[ DIR ]
drwxrwxrwx
2020-11-01 12:56
db
[ DIR ]
drwxrwxrwx
2020-11-01 12:56
filemanagerdol
[ DIR ]
drwxrwxrwx
2020-11-01 12:56
js
[ DIR ]
drwxrwxrwx
2020-11-01 12:56
lib
[ DIR ]
drwxrwxrwx
2020-11-01 12:56
login
[ DIR ]
drwxrwxrwx
2020-11-01 12:56
menus
[ DIR ]
drwxrwxrwx
2020-11-01 12:56
modules
[ DIR ]
drwxrwxrwx
2020-11-01 12:56
tpl
[ DIR ]
drwxrwxrwx
2020-11-01 12:56
triggers
[ DIR ]
drwxrwxrwx
2020-11-01 12:56
.htaccess
510
B
-rw-r--r--
2023-01-18 07:38
actions_addupdatedelete.inc.php
6.59
KB
-rwxrwxrwx
2020-11-01 12:56
actions_builddoc.inc.php
4.99
KB
-rwxrwxrwx
2020-11-01 12:56
actions_changeselectedfields.inc.php
1.55
KB
-rwxrwxrwx
2020-11-01 12:56
actions_comments.inc.php
2.08
KB
-rwxrwxrwx
2020-11-01 12:56
actions_dellink.inc.php
1.59
KB
-rwxrwxrwx
2020-11-01 12:56
actions_extrafields.inc.php
11.87
KB
-rwxrwxrwx
2020-11-01 12:56
actions_fetchobject.inc.php
1.94
KB
-rwxrwxrwx
2020-11-01 12:56
actions_lineupdown.inc.php
2.54
KB
-rwxrwxrwx
2020-11-01 12:56
actions_linkedfiles.inc.php
9.75
KB
-rwxrwxrwx
2020-11-01 12:56
actions_massactions.inc.php
38.65
KB
-rwxrwxrwx
2020-11-01 12:56
actions_printing.inc.php
3.4
KB
-rwxrwxrwx
2020-11-01 12:56
actions_sendmails.inc.php
18.21
KB
-rwxrwxrwx
2020-11-01 12:56
actions_setmoduleoptions.inc.php
3.59
KB
-rwxrwxrwx
2020-11-01 12:56
actions_setnotes.inc.php
2.17
KB
-rwxrwxrwx
2020-11-01 12:56
antispamimage.php
1.88
KB
-rwxrwxrwx
2020-11-01 12:56
commonfieldsinexport.inc.php
1.78
KB
-rwxrwxrwx
2020-11-01 12:56
datepicker.php
9.15
KB
-rwxrwxrwx
2020-11-01 12:56
doxygen.php
1.71
KB
-rwxrwxrwx
2020-11-01 12:56
extrafieldsinexport.inc.php
2.25
KB
-rwxrwxrwx
2020-11-01 12:56
get_info.php
7.7
KB
-rwxrwxrwx
2020-11-01 12:56
get_menudiv.php
6.96
KB
-rwxrwxrwx
2020-11-01 12:56
index.html
0
B
-rwxrwxrwx
2020-11-01 12:56
index.php
6.98
KB
-rw-r--r--
2023-01-18 07:38
photos_resize.php
16.72
KB
-rwxrwxrwx
2020-11-01 12:56
search.php
4.94
KB
-rwxrwxrwx
2020-11-01 12:56
search_page.php
4.25
KB
-rwxrwxrwx
2020-11-01 12:56
tools.php
1.49
KB
-rwxrwxrwx
2020-11-01 12:56
website.inc.php
1.04
KB
-rwxrwxrwx
2020-11-01 12:56
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.')'; //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 '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