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 /
tpl /
Delete
Unzip
Name
Size
Permission
Date
Action
ajax
[ DIR ]
drwxrwxrwx
2020-09-03 11:41
README
123
B
-rwxrwxrwx
2020-09-03 11:40
admin_extrafields_add.tpl.php
14.47
KB
-rwxrwxrwx
2020-09-03 11:40
admin_extrafields_edit.tpl.php
16.74
KB
-rwxrwxrwx
2020-09-03 11:40
admin_extrafields_view.tpl.php
5.56
KB
-rwxrwxrwx
2020-09-03 11:40
advtarget.tpl.php
23.01
KB
-rwxrwxrwx
2020-09-03 11:40
ajaxrow.tpl.php
4.8
KB
-rwxrwxrwx
2020-09-03 11:40
bloc_comment.tpl.php
5.35
KB
-rwxrwxrwx
2020-09-03 11:40
bloc_showhide.tpl.php
3.17
KB
-rwxrwxrwx
2020-09-03 11:40
card_presend.tpl.php
10.17
KB
-rwxrwxrwx
2020-09-03 11:40
commonfields_add.tpl.php
2.17
KB
-rwxrwxrwx
2020-09-03 11:40
commonfields_edit.tpl.php
2.43
KB
-rwxrwxrwx
2020-09-03 11:40
commonfields_view.tpl.php
3.94
KB
-rwxrwxrwx
2020-09-03 11:40
contacts.tpl.php
10.01
KB
-rwxrwxrwx
2020-09-03 11:40
document_actions_post_headers.tpl.php
4.33
KB
-rwxrwxrwx
2020-09-03 11:40
error.tpl.php
779
B
-rwxrwxrwx
2020-09-03 11:40
extrafields_add.tpl.php
1.63
KB
-rwxrwxrwx
2020-09-03 11:40
extrafields_edit.tpl.php
1.56
KB
-rwxrwxrwx
2020-09-03 11:40
extrafields_list_print_fields.tpl.php
2.74
KB
-rwxrwxrwx
2020-09-03 11:40
extrafields_list_search_input.tpl.php
2.85
KB
-rwxrwxrwx
2020-09-03 11:40
extrafields_list_search_param.tpl.php
699
B
-rwxrwxrwx
2020-09-03 11:40
extrafields_list_search_sql.tpl.php
2.21
KB
-rwxrwxrwx
2020-09-03 11:40
extrafields_list_search_title.tpl.php
1.61
KB
-rwxrwxrwx
2020-09-03 11:40
extrafields_view.tpl.php
9.92
KB
-rwxrwxrwx
2020-09-03 11:40
filemanager.tpl.php
8.3
KB
-rwxrwxrwx
2020-09-03 11:40
footer.tpl.php
779
B
-rwxrwxrwx
2020-09-03 11:40
header.tpl.php
787
B
-rwxrwxrwx
2020-09-03 11:40
index.html
0
B
-rwxrwxrwx
2020-09-03 11:40
list_print_total.tpl.php
842
B
-rwxrwxrwx
2020-09-03 11:40
login.tpl.php
15.09
KB
-rwxrwxrwx
2020-09-03 11:40
massactions_pre.tpl.php
6.59
KB
-rwxrwxrwx
2020-09-03 11:40
notes.tpl.php
5.43
KB
-rwxrwxrwx
2020-09-03 11:40
object_discounts.tpl.php
5.37
KB
-rwxrwxrwx
2020-09-03 11:40
objectline_create.tpl.php
35.53
KB
-rwxrwxrwx
2020-09-03 11:40
objectline_edit.tpl.php
16.28
KB
-rwxrwxrwx
2020-09-03 11:40
objectline_title.tpl.php
5.3
KB
-rwxrwxrwx
2020-09-03 11:40
objectline_view.tpl.php
16.22
KB
-rwxrwxrwx
2020-09-03 11:40
onlinepaymentlinks.tpl.php
7.69
KB
-rwxrwxrwx
2020-09-03 11:40
originproductline.tpl.php
1.99
KB
-rwxrwxrwx
2020-09-03 11:40
passwordforgotten.tpl.php
8.11
KB
-rwxrwxrwx
2020-09-03 11:40
resource_add.tpl.php
1.86
KB
-rwxrwxrwx
2020-09-03 11:40
resource_view.tpl.php
3.75
KB
-rwxrwxrwx
2020-09-03 11:40
Save
Rename
<?php /* Copyright (C) 2017 Laurent Destailleur <eldy@users.sourceforge.net> * * 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/>. * * Output code for the filemanager * $module must be defined ('ecm', 'medias', ...) */ // Protection to avoid direct call of template if (empty($conf) || ! is_object($conf)) { print "Error, template page filemanager.tpl.php can't be called as URL"; exit; } ?> <!-- BEGIN PHP TEMPLATE core/tpl/filemanager.tpl.php --> <!-- Doc of fileTree plugin at https://www.abeautifulsite.net/jquery-file-tree --> <?php require_once DOL_DOCUMENT_ROOT.'/ecm/class/ecmdirectory.class.php'; if (empty($module)) $module='ecm'; $permtoadd = 0; $permtoupload = 0; $showroot = 0; if ($module == 'ecm') { $permtoadd = $user->rights->ecm->setup; $permtoupload = $user->rights->ecm->upload; $showroot = 0; } if ($module == 'medias') { $permtoadd = ($user->rights->mailing->creer || $user->rights->website->write); $permtoupload = ($user->rights->mailing->creer || $user->rights->website->write); $showroot = 1; } // Confirm remove file (for non javascript users) if (($action == 'delete' || $action == 'file_manager_delete') && empty($conf->use_javascript_ajax)) { // TODO Add website, pageid, filemanager if defined print $form->formconfirm($_SERVER["PHP_SELF"].'?section='.$section.'&urlfile='.urlencode($_GET["urlfile"]), $langs->trans('DeleteFile'), $langs->trans('ConfirmDeleteFile'), 'confirm_deletefile', '', '', 1); } // Start container of all panels ?> <!-- Begin div id="containerlayout" --> <div id="containerlayout"> <div id="ecm-layout-north" class="toolbar largebutton"> <?php // Start top panel, toolbar print '<div class="inline-block toolbarbutton centpercent">'; // Toolbar if ($permtoadd) { print '<a href="'.DOL_URL_ROOT.'/ecm/dir_add_card.php?action=create&module='.urlencode($module).($websitekey?'&website='.$websitekey:'').($pageid?'&pageid='.$pageid:'').'&backtopage='.urlencode($_SERVER["PHP_SELF"].'?file_manager=1&website='.$websitekey.'&pageid='.$pageid).'" class="inline-block valignmiddle toolbarbutton" title="'.dol_escape_htmltag($langs->trans('ECMAddSection')).'">'; print '<img class="toolbarbutton" border="0" src="'.DOL_URL_ROOT.'/theme/common/folder-new.png">'; print '</a>'; } else { print '<a href="#" class="inline-block valignmiddle toolbarbutton" title="'.$langs->trans("NotAllowed").'">'; print '<img class="toolbarbutton disabled" border="0" src="'.DOL_URL_ROOT.'/theme/common/folder-new.png">'; print '</a>'; } if ($module == 'ecm') { $tmpurl=((! empty($conf->use_javascript_ajax) && empty($conf->global->MAIN_ECM_DISABLE_JS))?'#':($_SERVER["PHP_SELF"].'?action=refreshmanual'.($module?'&module='.$module:'').($section?'&section='.$section:''))); print '<a href="'.$tmpurl.'" class="inline-block valignmiddle toolbarbutton" title="'.dol_escape_htmltag($langs->trans('ReSyncListOfDir')).'">'; print '<img id="refreshbutton" class="toolbarbutton" border="0" src="'.DOL_URL_ROOT.'/theme/common/view-refresh.png">'; print '</a>'; } // Start "Add new file" area $nameforformuserfile = 'formuserfileecm'; print '<div class="inline-block valignmiddle floatright">'; // To attach new file if ((! empty($conf->use_javascript_ajax) && empty($conf->global->MAIN_ECM_DISABLE_JS)) || ! empty($section)) { if ((empty($section) || $section == -1) && ($module != 'medias')) { ?> <script type="text/javascript"> jQuery(document).ready(function() { jQuery('#<?php echo $nameforformuserfile ?>').hide(); }); </script> <?php } $sectiondir=GETPOST('file', 'alpha')?GETPOST('file', 'alpha'):GETPOST('section_dir', 'alpha'); print '<!-- Start form to attach new file in filemanager.tpl.php sectionid='.$section.' sectiondir='.$sectiondir.' -->'."\n"; include_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php'; $formfile=new FormFile($db); $formfile->form_attach_new_file($_SERVER["PHP_SELF"], 'none', 0, ($section?$section:-1), $permtoupload, 48, null, '', 0, '', 0, $nameforformuserfile, '', $sectiondir); } else print ' '; print '</div>'; // End "Add new file" area print '</div>'; // End top panel, toolbar ?> </div> <div id="ecm-layout-west" class="inline-block"> <?php // Start left area // Confirmation de la suppression d'une ligne categorie if ($action == 'delete_section') { print $form->formconfirm($_SERVER["PHP_SELF"].'?section='.$section, $langs->trans('DeleteSection'), $langs->trans('ConfirmDeleteSection', $ecmdir->label), 'confirm_deletesection', '', '', 1); } // End confirm if (empty($action) || $action == 'editfile' || $action == 'file_manager' || preg_match('/refresh/i', $action) || $action == 'delete') { $langs->load("ecm"); print '<table width="100%" class="liste noborderbottom">'."\n"; print '<!-- Title for manual directories -->'."\n"; print '<tr class="liste_titre">'."\n"; print '<th class="liste_titre left">'; print ' '.$langs->trans("ECMSections"); print '</th></tr>'; $showonrightsize=''; // Manual section $htmltooltip=$langs->trans("ECMAreaDesc2"); if (! empty($conf->use_javascript_ajax) && empty($conf->global->MAIN_ECM_DISABLE_JS)) { // Show the link to "Root" if ($showroot) { print '<tr><td><div style="padding-left: 5px; padding-right: 5px;"><a href="'.$_SERVER["PHP_SELF"].'?file_manager=1&pageid='.$pageid.'">'; if ($module == 'medias') print $langs->trans("RootOfMedias"); else print $langs->trans("Root"); print '</a></div></td></tr>'; } print '<tr><td>'; // Show filemanager tree (will be filled by a call of ajax /ecm/tpl/enablefiletreeajax.tpl.php, later, that executes ajaxdirtree.php) print '<div id="filetree" class="ecmfiletree"></div>'; if ($action == 'deletefile') print $form->formconfirm('eeeee', $langs->trans('DeleteFile'), $langs->trans('ConfirmDeleteFile'), 'confirm_deletefile', '', '', 'deletefile'); print '</td></tr>'; } else // Show filtree when ajax is disabled (rare) { print '<tr><td style="padding-left: 20px">'; $_POST['modulepart'] = $module; $_POST['openeddir'] = GETPOST('openeddir'); $_POST['dir'] = empty($_POST['dir'])?'/':$_POST['dir']; // Show filemanager tree (will be filled by direct include of ajaxdirtree.php in mode noajax, this will return all dir - all levels - to show) print '<div id="filetree" class="ecmfiletree">'; // Variables that may be defined: // $_GET['modulepart'], $_GET['openeddir'], $_GET['sortfield'], $_GET['sortorder'] // $_POST['dir'] $mode='noajax'; if (empty($url)) $url=DOL_URL_ROOT.'/ecm/index.php'; include DOL_DOCUMENT_ROOT.'/core/ajax/ajaxdirtree.php'; print '</div>'; print '</td></tr>'; } print "</table>"; } // End left panel ?> </div> <div id="ecm-layout-center" class="inline-block"> <div class="pane-in ecm-in-layout-center"> <div id="ecmfileview" class="ecmfileview"> <?php // Start right panel $mode='noajax'; if (empty($url)) $url=DOL_URL_ROOT.'/ecm/index.php'; include DOL_DOCUMENT_ROOT.'/core/ajax/ajaxdirpreview.php'; // Show content of a directory on right side // End right panel ?> </div> </div> </div> </div> <!-- End div id="containerlayout" --> <?php if (! empty($conf->use_javascript_ajax) && empty($conf->global->MAIN_ECM_DISABLE_JS)) // Show filtree when ajax is enabled { //var_dump($modulepart); // Variables that may be defined: // $_GET['modulepart'], $_GET['openeddir'], $_GET['sortfield'], $_GET['sortorder'] // $_POST['dir'] // $_POST['section_dir'], $_POST['section_id'], $_POST['token'], $_POST['max_file_size'], $_POST['sendit'] if (GETPOST('section_dir', 'alpha')) { $preopened=GETPOST('section_dir', 'alpha'); } include DOL_DOCUMENT_ROOT.'/ecm/tpl/enablefiletreeajax.tpl.php'; } ?> <!-- END PHP TEMPLATE core/tpl/filemanager.tpl.php -->