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 /* Copyright (C) 2017-2019 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/>. * or see https://www.gnu.org/ */ /** * \file htdocs/core/website.inc.php * \brief Common file loaded by all website pages (after master.inc.php). It set the new object $weblangs, using parameter 'l'. * This file is included in top of all container pages. * The global variable $websitekey must be defined. */ // Load website class include_once DOL_DOCUMENT_ROOT.'/website/class/website.class.php'; include_once DOL_DOCUMENT_ROOT.'/website/class/websitepage.class.php'; // Define $website if (!is_object($website)) { $website = new Website($db); $website->fetch(0, $websitekey); } // Define $weblangs if (!is_object($weblangs)) { $weblangs = dol_clone($langs); // TODO Use an object lang from a language set into $website object instead of backoffice } // Define $websitepage if we have $websitepagefile defined if (!$pageid && !empty($websitepagefile)) { $pageid = str_replace(array('.tpl.php', 'page'), array('', ''), basename($websitepagefile)); if ($pageid == 'index.php') $pageid = $website->fk_default_home; } if (!is_object($websitepage)) { $websitepage = new WebsitePage($db); } if ($pageid > 0) { $websitepage->fetch($pageid); if (!defined('USEDOLIBARREDITOR') && in_array($websitepage->type_container, array('menu', 'other'))) { $weblangs->load("website"); http_response_code(404); print '<center><br><br>'.$weblangs->trans("YouTryToAccessToAFileThatIsNotAWebsitePage").'</center>'; exit; } } if (!defined('USEDOLIBARRSERVER') && !defined('USEDOLIBARREDITOR')) { header("X-Content-Type-Options: nosniff"); /* TODO Manage allow_frames flag on websitepage. if (empty($websitepage->allow_frames) && empty($conf->global->WEBSITE_ALLOW_FRAMES_ON_ALL_PAGES)) { header("X-Frame-Options: SAMEORIGIN"); } */ } // A lang was forced, so we change weblangs init if (GETPOST('l', 'aZ09')) $weblangs->setDefaultLang(GETPOST('l', 'aZ09')); // A lang was forced, so we check to find if we must make a redirect on translation page if ($_SERVER['PHP_SELF'] != DOL_URL_ROOT.'/website/index.php') // If we browsing page using Dolibarr server or a Native web server { //print_r(get_defined_constants(true));exit; if (GETPOST('l', 'aZ09')) { $sql = "SELECT wp.rowid, wp.lang, wp.pageurl, wp.fk_page"; $sql .= " FROM ".MAIN_DB_PREFIX."website_page as wp"; $sql .= " WHERE wp.fk_website = ".$website->id; $sql .= " AND (wp.fk_page = ".$pageid." OR wp.rowid = ".$pageid; if (is_object($websitepage) && $websitepage->fk_page > 0) $sql .= " OR wp.fk_page = ".$websitepage->fk_page." OR wp.rowid = ".$websitepage->fk_page; $sql .= ")"; $sql .= " AND wp.lang = '".$db->escape(GETPOST('l', 'aZ09'))."'"; $resql = $db->query($sql); if ($resql) { $obj = $db->fetch_object($resql); if ($obj) { $newpageid = $obj->rowid; if ($newpageid != $pageid) // To avoid to make a redirect on same page (infinite loop) { if (defined('USEDOLIBARRSERVER')) { header("Location: ".DOL_URL_ROOT.'/public/website/index.php?website='.$websitekey.'&pageid='.$newpageid.'&l='.GETPOST('l', 'aZ09')); exit; } else { $newpageref = $obj->pageurl; header("Location: ".$newpageref.'.php?l='.GETPOST('l', 'aZ09')); exit; } } } } } } // Show off line message if (!defined('USEDOLIBARREDITOR') && empty($website->status)) { $weblangs->load("website"); http_response_code(503); print '<center><br><br>'.$weblangs->trans("SorryWebsiteIsCurrentlyOffLine").'</center>'; exit; }