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.112
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 /
btm2000_old /
htdocs /
core /
tpl /
Delete
Unzip
Name
Size
Permission
Date
Action
ajax
[ DIR ]
drwxr-xr-x
2021-10-16 13:26
README
123
B
-rw-r--r--
2021-10-16 13:26
admin_extrafields_add.tpl.php
15.14
KB
-rw-r--r--
2021-10-16 13:26
admin_extrafields_edit.tpl.php
18.14
KB
-rw-r--r--
2021-10-16 13:26
admin_extrafields_view.tpl.php
6.1
KB
-rw-r--r--
2021-10-16 13:26
advtarget.tpl.php
23.18
KB
-rw-r--r--
2021-10-16 13:26
ajaxrow.tpl.php
5.06
KB
-rw-r--r--
2021-10-16 13:26
bloc_comment.tpl.php
5.05
KB
-rw-r--r--
2021-10-16 13:26
bloc_showhide.tpl.php
3.15
KB
-rw-r--r--
2021-10-16 13:26
card_presend.tpl.php
10.56
KB
-rw-r--r--
2021-10-16 13:26
commonfields_add.tpl.php
2.77
KB
-rw-r--r--
2021-10-16 13:26
commonfields_edit.tpl.php
2.64
KB
-rw-r--r--
2021-10-16 13:26
commonfields_view.tpl.php
4.43
KB
-rw-r--r--
2021-10-16 13:26
contacts.tpl.php
12.46
KB
-rw-r--r--
2021-10-16 13:26
document_actions_post_headers.tpl.php
4.28
KB
-rw-r--r--
2021-10-16 13:26
error.tpl.php
779
B
-rw-r--r--
2021-10-16 13:26
extrafields_add.tpl.php
1.63
KB
-rw-r--r--
2021-10-16 13:26
extrafields_edit.tpl.php
1.56
KB
-rw-r--r--
2021-10-16 13:26
extrafields_list_array_fields.tpl.php
1.58
KB
-rw-r--r--
2021-10-16 13:26
extrafields_list_print_fields.tpl.php
2.6
KB
-rw-r--r--
2021-10-16 13:26
extrafields_list_search_input.tpl.php
2.57
KB
-rw-r--r--
2021-10-16 13:26
extrafields_list_search_param.tpl.php
669
B
-rw-r--r--
2021-10-16 13:26
extrafields_list_search_sql.tpl.php
2.51
KB
-rw-r--r--
2021-10-16 13:26
extrafields_list_search_title.tpl.php
1.87
KB
-rw-r--r--
2021-10-16 13:26
extrafields_view.tpl.php
12.01
KB
-rw-r--r--
2021-10-16 13:26
filemanager.tpl.php
8.21
KB
-rw-r--r--
2021-10-16 13:26
footer.tpl.php
779
B
-rw-r--r--
2021-10-16 13:26
header.tpl.php
787
B
-rw-r--r--
2021-10-16 13:26
index.html
0
B
-rw-r--r--
2021-10-16 13:26
list_print_total.tpl.php
839
B
-rw-r--r--
2021-10-16 13:26
login.tpl.php
15.29
KB
-rw-r--r--
2021-10-16 13:26
massactions_pre.tpl.php
6.94
KB
-rw-r--r--
2021-10-16 13:26
notes.tpl.php
5.64
KB
-rw-r--r--
2021-10-16 13:26
object_discounts.tpl.php
5.64
KB
-rw-r--r--
2021-10-16 13:26
objectline_create.tpl.php
37.71
KB
-rw-r--r--
2021-10-16 13:26
objectline_edit.tpl.php
19.21
KB
-rw-r--r--
2021-10-16 13:26
objectline_title.tpl.php
6.4
KB
-rw-r--r--
2021-10-16 13:26
objectline_view.tpl.php
18.1
KB
-rw-r--r--
2021-10-16 13:26
onlinepaymentlinks.tpl.php
7.59
KB
-rw-r--r--
2021-10-16 13:26
originproductline.tpl.php
2.01
KB
-rw-r--r--
2021-10-16 13:26
passwordforgotten.tpl.php
9.79
KB
-rw-r--r--
2021-10-16 13:26
resource_add.tpl.php
1.86
KB
-rw-r--r--
2021-10-16 13:26
resource_view.tpl.php
3.88
KB
-rw-r--r--
2021-10-16 13:26
Save
Rename
<?php /* Copyright (C) 2009-2015 Regis Houssin <regis.houssin@inodbox.com> * Copyright (C) 2011-2013 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/>. */ // Need global variable $title to be defined by caller (like dol_loginfunction) // Caller can also set $morelogincontent = array(['options']=>array('js'=>..., 'table'=>...); if (!defined('NOBROWSERNOTIF')) define('NOBROWSERNOTIF', 1); // Protection to avoid direct call of template if (empty($conf) || !is_object($conf)) { print "Error, template page can't be called as URL"; exit; } require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php'; header('Cache-Control: Public, must-revalidate'); header("Content-type: text/html; charset=".$conf->file->character_set_client); if (GETPOST('dol_hide_topmenu')) $conf->dol_hide_topmenu = 1; if (GETPOST('dol_hide_leftmenu')) $conf->dol_hide_leftmenu = 1; if (GETPOST('dol_optimize_smallscreen')) $conf->dol_optimize_smallscreen = 1; if (GETPOST('dol_no_mouse_hover')) $conf->dol_no_mouse_hover = 1; if (GETPOST('dol_use_jmobile')) $conf->dol_use_jmobile = 1; // If we force to use jmobile, then we reenable javascript if (!empty($conf->dol_use_jmobile)) $conf->use_javascript_ajax = 1; $php_self = dol_escape_htmltag($_SERVER['PHP_SELF']); $php_self .= dol_escape_htmltag($_SERVER["QUERY_STRING"]) ? '?'.dol_escape_htmltag($_SERVER["QUERY_STRING"]) : ''; if (!preg_match('/mainmenu=/', $php_self)) $php_self .= (preg_match('/\?/', $php_self) ? '&' : '?').'mainmenu=home'; // Javascript code on logon page only to detect user tz, dst_observed, dst_first, dst_second $arrayofjs = array( '/includes/jstz/jstz.min.js'.(empty($conf->dol_use_jmobile) ? '' : '?version='.urlencode(DOL_VERSION)), '/core/js/dst.js'.(empty($conf->dol_use_jmobile) ? '' : '?version='.urlencode(DOL_VERSION)) ); // We display application title instead Login term if (!empty($conf->global->MAIN_APPLICATION_TITLE)) { $titleofloginpage = $conf->global->MAIN_APPLICATION_TITLE; } else { $titleofloginpage = $langs->trans('Login'); } $titleofloginpage .= ' @ '.$titletruedolibarrversion; // $titletruedolibarrversion is defined by dol_loginfunction in security2.lib.php. We must keep the @, some tools use it to know it is login page and find true dolibarr version. $disablenofollow = 1; if (!preg_match('/'.constant('DOL_APPLICATION_TITLE').'/', $title)) $disablenofollow = 0; if (!empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) $disablenofollow = 0; print top_htmlhead('', $titleofloginpage, 0, 0, $arrayofjs, array(), 0, $disablenofollow); $colorbackhmenu1 = '60,70,100'; // topmenu if (!isset($conf->global->THEME_ELDY_TOPMENU_BACK1)) $conf->global->THEME_ELDY_TOPMENU_BACK1 = $colorbackhmenu1; $colorbackhmenu1 = empty($user->conf->THEME_ELDY_ENABLE_PERSONALIZED) ? (empty($conf->global->THEME_ELDY_TOPMENU_BACK1) ? $colorbackhmenu1 : $conf->global->THEME_ELDY_TOPMENU_BACK1) : (empty($user->conf->THEME_ELDY_TOPMENU_BACK1) ? $colorbackhmenu1 : $user->conf->THEME_ELDY_TOPMENU_BACK1); $colorbackhmenu1 = join(',', colorStringToArray($colorbackhmenu1)); // Normalize value to 'x,y,z' print "<!-- BEGIN PHP TEMPLATE LOGIN.TPL.PHP -->\n"; if (!empty($conf->global->ADD_UNSPLASH_LOGIN_BACKGROUND)) { // For example $conf->global->ADD_UNSPLASH_LOGIN_BACKGROUND = 'https://source.unsplash.com/random' ?> <body class="body bodylogin" style="background-image: url('<?php echo dol_escape_htmltag($conf->global->ADD_UNSPLASH_LOGIN_BACKGROUND); ?>'); background-repeat: no-repeat; background-position: center center; background-attachment: fixed; background-size: cover; background-color: #ffffff;"> <?php } else { ?> <body class="body bodylogin"<?php print empty($conf->global->MAIN_LOGIN_BACKGROUND) ? '' : ' style="background-size: cover; background-position: center center; background-attachment: fixed; background-repeat: no-repeat; background-image: url(\''.DOL_URL_ROOT.'/viewimage.php?cache=1&noalt=1&modulepart=mycompany&file=logos/'.urlencode($conf->global->MAIN_LOGIN_BACKGROUND).'\')"'; ?>> <?php } ?> <?php if (empty($conf->dol_use_jmobile)) { ?> <script> $(document).ready(function () { /* Set focus on correct field */ <?php if ($focus_element) { ?>$('#<?php echo $focus_element; ?>').focus(); <?php } ?> // Warning to use this only on visible element }); </script> <?php } ?> <div class="login_center center"<?php print empty($conf->global->MAIN_LOGIN_BACKGROUND) ? ' style="background-size: cover; background-position: center center; background-attachment: fixed; background-repeat: no-repeat; background-image: linear-gradient(rgb('.$colorbackhmenu1.',0.3), rgb(240,240,240));"' : '' ?>> <div class="login_vertical_align"> <form id="login" name="login" method="post" action="<?php echo $php_self; ?>"> <input type="hidden" name="token" value="<?php echo newToken(); ?>" /> <input type="hidden" name="actionlogin" value="login"> <input type="hidden" name="loginfunction" value="loginfunction" /> <!-- Add fields to send local user information --> <input type="hidden" name="tz" id="tz" value="" /> <input type="hidden" name="tz_string" id="tz_string" value="" /> <input type="hidden" name="dst_observed" id="dst_observed" value="" /> <input type="hidden" name="dst_first" id="dst_first" value="" /> <input type="hidden" name="dst_second" id="dst_second" value="" /> <input type="hidden" name="screenwidth" id="screenwidth" value="" /> <input type="hidden" name="screenheight" id="screenheight" value="" /> <input type="hidden" name="dol_hide_topmenu" id="dol_hide_topmenu" value="<?php echo $dol_hide_topmenu; ?>" /> <input type="hidden" name="dol_hide_leftmenu" id="dol_hide_leftmenu" value="<?php echo $dol_hide_leftmenu; ?>" /> <input type="hidden" name="dol_optimize_smallscreen" id="dol_optimize_smallscreen" value="<?php echo $dol_optimize_smallscreen; ?>" /> <input type="hidden" name="dol_no_mouse_hover" id="dol_no_mouse_hover" value="<?php echo $dol_no_mouse_hover; ?>" /> <input type="hidden" name="dol_use_jmobile" id="dol_use_jmobile" value="<?php echo $dol_use_jmobile; ?>" /> <!-- Title with version --> <div class="login_table_title center" title="<?php echo dol_escape_htmltag($title); ?>"> <?php if ($disablenofollow) echo '<a class="login_table_title" href="https://www.dolibarr.org" target="_blank">'; echo dol_escape_htmltag($title); if ($disablenofollow) echo '</a>'; ?> </div> <div class="login_table"> <div id="login_line1"> <div id="login_left"> <img alt="" src="<?php echo $urllogo; ?>" id="img_logo" /> </div> <br> <div id="login_right"> <div class="tagtable left centpercent" title="<?php echo $langs->trans("EnterLoginDetail"); ?>"> <!-- Login --> <div class="trinputlogin"> <div class="tagtd nowraponall center valignmiddle tdinputlogin"> <?php if (!empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) { ?><label for="username" class="hidden"><?php echo $langs->trans("Login"); ?></label><?php } ?> <!-- <span class="span-icon-user">--> <span class="fa fa-user"></span> <input type="text" id="username" placeholder="<?php echo $langs->trans("Login"); ?>" name="username" class="flat input-icon-user minwidth150" value="<?php echo dol_escape_htmltag($login); ?>" tabindex="1" autofocus="autofocus" /> </div> </div> <!-- Password --> <div class="trinputlogin"> <div class="tagtd nowraponall center valignmiddle tdinputlogin"> <?php if (!empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) { ?><label for="password" class="hidden"><?php echo $langs->trans("Password"); ?></label><?php } ?> <!--<span class="span-icon-password">--> <span class="fa fa-key"></span> <input id="password" placeholder="<?php echo $langs->trans("Password"); ?>" name="password" class="flat input-icon-password minwidth150" type="password" value="<?php echo dol_escape_htmltag($password); ?>" tabindex="2" autocomplete="<?php echo empty($conf->global->MAIN_LOGIN_ENABLE_PASSWORD_AUTOCOMPLETE) ? 'off' : 'on'; ?>" /> </div></div> <?php if ($captcha) { // Add a variable param to force not using cache (jmobile) $php_self = preg_replace('/[&\?]time=(\d+)/', '', $php_self); // Remove param time if (preg_match('/\?/', $php_self)) $php_self .= '&time='.dol_print_date(dol_now(), 'dayhourlog'); else $php_self .= '?time='.dol_print_date(dol_now(), 'dayhourlog'); // TODO: provide accessible captcha variants ?> <!-- Captcha --> <div class="trinputlogin"> <div class="tagtd none valignmiddle tdinputlogin"> <span class="fa fa-unlock"></span> <span class="span-icon-security inline-block"> <input id="securitycode" placeholder="<?php echo $langs->trans("SecurityCode"); ?>" class="flat input-icon-security width150" type="text" maxlength="5" name="code" tabindex="3" /> </span> <span class="nowrap inline-block"> <img class="inline-block valignmiddle" src="<?php echo DOL_URL_ROOT ?>/core/antispamimage.php" border="0" width="80" height="32" id="img_securitycode" /> <a class="inline-block valignmiddle" href="<?php echo $php_self; ?>" tabindex="4" data-role="button"><?php echo $captcha_refresh; ?></a> </span> </div></div> <?php } if (!empty($morelogincontent)) { if (is_array($morelogincontent)) { foreach ($morelogincontent as $format => $option) { if ($format == 'table') { echo '<!-- Option by hook -->'; echo $option; } } } else { echo '<!-- Option by hook -->'; echo $morelogincontent; } } ?> </div> </div> <!-- end div login_right --> </div> <!-- end div login_line1 --> <div id="login_line2" style="clear: both"> <!-- Button Connection --> <br> <div id="login-submit-wrapper"> <input type="submit" class="button" value=" <?php echo $langs->trans('Connection'); ?> " tabindex="5" /> </div> <?php if ($forgetpasslink || $helpcenterlink) { $moreparam = ''; if ($dol_hide_topmenu) $moreparam .= (strpos($moreparam, '?') === false ? '?' : '&').'dol_hide_topmenu='.$dol_hide_topmenu; if ($dol_hide_leftmenu) $moreparam .= (strpos($moreparam, '?') === false ? '?' : '&').'dol_hide_leftmenu='.$dol_hide_leftmenu; if ($dol_no_mouse_hover) $moreparam .= (strpos($moreparam, '?') === false ? '?' : '&').'dol_no_mouse_hover='.$dol_no_mouse_hover; if ($dol_use_jmobile) $moreparam .= (strpos($moreparam, '?') === false ? '?' : '&').'dol_use_jmobile='.$dol_use_jmobile; echo '<br>'; echo '<div class="center" style="margin-top: 5px;">'; if ($forgetpasslink) { $url = DOL_URL_ROOT.'/user/passwordforgotten.php'.$moreparam; if (!empty($conf->global->MAIN_PASSWORD_FORGOTLINK)) $url = $conf->global->MAIN_PASSWORD_FORGOTLINK; echo '<a class="alogin" href="'.dol_escape_htmltag($url).'">'; echo $langs->trans('PasswordForgotten'); echo '</a>'; } if ($forgetpasslink && $helpcenterlink) echo ' - '; if ($helpcenterlink) { $url = DOL_URL_ROOT.'/support/index.php'.$moreparam; if (!empty($conf->global->MAIN_HELPCENTER_LINKTOUSE)) $url = $conf->global->MAIN_HELPCENTER_LINKTOUSE; echo '<a class="alogin" href="'.dol_escape_htmltag($url).'" target="_blank">'; echo $langs->trans('NeedHelpCenter'); echo '</a>'; } echo '</div>'; } if (isset($conf->file->main_authentication) && preg_match('/openid/', $conf->file->main_authentication)) { $langs->load("users"); //if (! empty($conf->global->MAIN_OPENIDURL_PERUSER)) $url= echo '<br>'; echo '<div class="center" style="margin-top: 4px;">'; $url = $conf->global->MAIN_AUTHENTICATION_OPENID_URL; if (!empty($url)) print '<a class="alogin" href="'.$url.'">'.$langs->trans("LoginUsingOpenID").'</a>'; else { $langs->load("errors"); print '<font class="warning">'.$langs->trans("ErrorOpenIDSetupNotComplete", 'MAIN_AUTHENTICATION_OPENID_URL').'</font>'; } echo '</div>'; } ?> </div> <!-- end login line 2 --> </div> <!-- end login table --> </form> <?php // Show error message if defined if (!empty($_SESSION['dol_loginmesg'])) { ?> <div class="center login_main_message"><div class="error"> <?php echo $_SESSION['dol_loginmesg']; ?> </div></div> <?php } // Add commit strip if (!empty($conf->global->MAIN_EASTER_EGG_COMMITSTRIP)) { include_once DOL_DOCUMENT_ROOT.'/core/lib/geturl.lib.php'; if (substr($langs->defaultlang, 0, 2) == 'fr') { $resgetcommitstrip = getURLContent("https://www.commitstrip.com/fr/feed/"); } else { $resgetcommitstrip = getURLContent("https://www.commitstrip.com/en/feed/"); } if ($resgetcommitstrip && $resgetcommitstrip['http_code'] == '200') { $xml = simplexml_load_string($resgetcommitstrip['content']); $little = $xml->channel->item[0]->children('content', true); print preg_replace('/width="650" height="658"/', '', $little->encoded); } } ?> <?php if ($main_home) { ?> <div class="center login_main_home paddingtopbottom <?php echo empty($conf->global->MAIN_LOGIN_BACKGROUND) ? '' : ' backgroundsemitransparent'; ?>" style="max-width: 70%"> <?php echo $main_home; ?> </div><br> <?php } ?> <!-- authentication mode = <?php echo $main_authentication ?> --> <!-- cookie name used for this session = <?php echo $session_name ?> --> <!-- urlfrom in this session = <?php echo isset($_SESSION["urlfrom"]) ? $_SESSION["urlfrom"] : ''; ?> --> <!-- Common footer is not used for login page, this is same than footer but inside login tpl --> <?php if (!empty($conf->global->MAIN_HTML_FOOTER)) print $conf->global->MAIN_HTML_FOOTER; if (!empty($morelogincontent) && is_array($morelogincontent)) { foreach ($morelogincontent as $format => $option) { if ($format == 'js') { echo "\n".'<!-- Javascript by hook -->'; echo $option."\n"; } } } elseif (!empty($moreloginextracontent)) { echo '<!-- Javascript by hook -->'; echo $moreloginextracontent; } // Google Analytics // TODO Add a hook here if (!empty($conf->google->enabled) && !empty($conf->global->MAIN_GOOGLE_AN_ID)) { $tmptagarray = explode(',', $conf->global->MAIN_GOOGLE_AN_ID); foreach ($tmptagarray as $tmptag) { print "\n"; print "<!-- JS CODE TO ENABLE for google analtics tag -->\n"; print " <!-- Global site tag (gtag.js) - Google Analytics --> <script async src=\"https://www.googletagmanager.com/gtag/js?id=".trim($tmptag)."\"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', '".trim($tmptag)."'); </script>"; print "\n"; } } // TODO Replace this with a hook // Google Adsense (need Google module) if (!empty($conf->google->enabled) && !empty($conf->global->MAIN_GOOGLE_AD_CLIENT) && !empty($conf->global->MAIN_GOOGLE_AD_SLOT)) { if (empty($conf->dol_use_jmobile)) { ?> <div class="center"><br> <script><!-- google_ad_client = "<?php echo $conf->global->MAIN_GOOGLE_AD_CLIENT ?>"; google_ad_slot = "<?php echo $conf->global->MAIN_GOOGLE_AD_SLOT ?>"; google_ad_width = <?php echo $conf->global->MAIN_GOOGLE_AD_WIDTH ?>; google_ad_height = <?php echo $conf->global->MAIN_GOOGLE_AD_HEIGHT ?>; //--> </script> <script src="//pagead2.googlesyndication.com/pagead/show_ads.js"></script> </div> <?php } } ?> </div> </div><!-- end of center --> </body> </html> <!-- END PHP TEMPLATE -->