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.119
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
html /
asiafood.bdcloud.fr /
core /
tpl /
Delete
Unzip
Name
Size
Permission
Date
Action
ajax
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
README
125
B
-rwxr-xr-x
2021-01-30 17:42
admin_extrafields_add.tpl.php
15.08
KB
-rwxr-xr-x
2021-01-30 17:41
admin_extrafields_edit.tpl.php
17.73
KB
-rwxr-xr-x
2021-01-30 17:41
admin_extrafields_view.tpl.php
5.95
KB
-rwxr-xr-x
2021-01-30 17:41
advtarget.tpl.php
23.98
KB
-rwxr-xr-x
2021-01-30 17:41
ajaxrow.tpl.php
5.13
KB
-rwxr-xr-x
2021-01-30 17:41
bloc_comment.tpl.php
5.5
KB
-rwxr-xr-x
2021-01-30 17:41
bloc_showhide.tpl.php
3.24
KB
-rwxr-xr-x
2021-01-30 17:41
card_presend.tpl.php
10.8
KB
-rwxr-xr-x
2021-01-30 17:41
commonfields_add.tpl.php
2.33
KB
-rwxr-xr-x
2021-01-30 17:41
commonfields_edit.tpl.php
2.5
KB
-rwxr-xr-x
2021-01-30 17:41
commonfields_view.tpl.php
4.05
KB
-rwxr-xr-x
2021-01-30 17:41
contacts.tpl.php
12.8
KB
-rwxr-xr-x
2021-01-30 17:41
document_actions_post_headers.tpl.php
4.5
KB
-rwxr-xr-x
2021-01-30 17:41
error.tpl.php
803
B
-rwxr-xr-x
2021-01-30 17:41
extrafields_add.tpl.php
1.68
KB
-rwxr-xr-x
2021-01-30 17:41
extrafields_edit.tpl.php
1.61
KB
-rwxr-xr-x
2021-01-30 17:41
extrafields_list_print_fields.tpl.php
2.83
KB
-rwxr-xr-x
2023-04-13 09:15
extrafields_list_search_input.tpl.php
3
KB
-rwxr-xr-x
2021-01-30 17:41
extrafields_list_search_param.tpl.php
720
B
-rwxr-xr-x
2021-01-30 17:41
extrafields_list_search_sql.tpl.php
2.24
KB
-rwxr-xr-x
2021-01-30 17:41
extrafields_list_search_title.tpl.php
1.92
KB
-rwxr-xr-x
2021-01-30 17:42
extrafields_view.tpl.php
11.29
KB
-rwxr-xr-x
2023-04-13 09:15
filemanager.tpl.php
8.61
KB
-rwxr-xr-x
2021-01-30 17:42
footer.tpl.php
803
B
-rwxr-xr-x
2021-01-30 17:42
header.tpl.php
811
B
-rwxr-xr-x
2021-01-30 17:42
index.html
0
B
-rwxr-xr-x
2021-01-30 17:42
list_print_total.tpl.php
873
B
-rwxr-xr-x
2021-01-30 17:42
login.tpl.php
15.46
KB
-rwxr-xr-x
2021-01-30 17:42
massactions_pre.tpl.php
7.11
KB
-rwxr-xr-x
2021-01-30 17:42
notes.tpl.php
5.56
KB
-rwxr-xr-x
2021-01-30 17:42
object_discounts.tpl.php
5.47
KB
-rwxr-xr-x
2021-01-30 17:42
objectline_create.tpl.php
37.17
KB
-rwxr-xr-x
2021-03-26 20:12
objectline_edit.tpl.php
18.75
KB
-rwxr-xr-x
2021-01-30 17:42
objectline_title.tpl.php
5.9
KB
-rwxr-xr-x
2021-06-03 11:53
objectline_view.tpl.php
19.06
KB
-rwxr-xr-x
2021-06-15 19:59
onlinepaymentlinks.tpl.php
7.85
KB
-rwxr-xr-x
2021-01-30 17:42
originproductline.tpl.php
2.05
KB
-rwxr-xr-x
2021-01-30 17:42
passwordforgotten.tpl.php
10.02
KB
-rwxr-xr-x
2021-01-30 17:42
resource_add.tpl.php
1.91
KB
-rwxr-xr-x
2021-01-30 17:42
resource_view.tpl.php
3.87
KB
-rwxr-xr-x
2021-01-30 17:42
Save
Rename
<?php // 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 require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php'; // Vars $userstatic = new User($db); $varpage = empty($contextpage) ? $_SERVER["PHP_SELF"] : $contextpage; // Add comment print '<br>'; print '<div id="comment">'; print '<form method="POST" action="'.$varpage.'?id='.$object->id.'">'; print '<input type="hidden" name="token" value="'.newToken().'">'; print '<input type="hidden" name="action" value="addcomment">'; print '<input type="hidden" name="id" value="'.$object->id.'">'; print '<input type="hidden" name="comment_element_type" value="'.$object->element.'">'; print '<input type="hidden" name="withproject" value="'.$withproject.'">'; print '<table class="noborder nohover centpercent">'; print '<tr class="liste_titre">'; print '<td width="25%">'.$langs->trans("Comments").'</td>'; print '<td width="25%"></td>'; print '<td width="25%"></td>'; print '<td width="25%"></td>'; print "</tr>\n"; if ($action !== 'editcomment') { print '<tr class="oddeven">'; // Description print '<td colspan="3">'; $desc = GETPOST('comment_description'); $doleditor = new DolEditor('comment_description', $desc, '', 80, 'dolibarr_notes', 'In', 0, true, true, ROWS_3, '100%'); print $doleditor->Create(1); print '</td>'; print '<td class="center">'; print '<input type="submit" class="button" value="'.$langs->trans("Add").'">'; print '</td></tr>'; } print '</table></form>'; // List of comments if (!empty($object->comments)) { // Default color for current user $TColors = array($user->id => array('bgcolor'=>'efefef', 'color'=>'555')); $first = true; foreach ($object->comments as $comment) { $fk_user = $comment->fk_user_author; $userstatic->fetch($fk_user); if (empty($TColors[$fk_user])) { $bgcolor = randomColor(180, 240); if (!empty($userstatic->color)) { $bgcolor = $userstatic->color; } $color = (colorIsLight($bgcolor)) ? '555' : 'fff'; $TColors[$fk_user] = array('bgcolor'=>$bgcolor, 'color'=>$color); } print '<div class="width100p" style="color:#'.$TColors[$fk_user]['color'].'">'; if ($fk_user != $user->id) { print '<div class="width25p float"> </div>'; } print '<div class="width75p float comment comment-table" style="background-color:#'.$TColors[$fk_user]['bgcolor'].'">'; print '<div class="comment-info comment-cell">'; if (!empty($user->photo)) { print Form::showphoto('userphoto', $userstatic, 80, 0, 0, '', 'small', 0, 1).'<br/>'; } print $langs->trans('User').' : '.$userstatic->getNomUrl().'<br/>'; print $langs->trans('Date').' : '.dol_print_date($comment->datec, 'dayhoursec'); print '</div>'; // End comment-info print '<div class="comment-cell comment-right">'; print '<div class="comment-table width100p">'; if ($action === 'editcomment' && $comment->id == $idcomment) { print '<form method="POST" action="'.$varpage.'?id='.$object->id.'">'; print '<input type="hidden" name="token" value="'.newToken().'">'; print '<input type="hidden" name="action" value="updatecomment">'; print '<input type="hidden" name="id" value="'.$object->id.'">'; print '<input type="hidden" name="idcomment" value="'.$idcomment.'">'; print '<input type="hidden" name="withproject" value="'.$withproject.'">'; } print '<div class="comment-description comment-cell">'; if ($action === 'editcomment' && $comment->id == $idcomment) { $doleditor = new DolEditor('comment_description', $comment->description, '', 80, 'dolibarr_notes', 'In', 0, true, true, ROWS_3, '100%'); print $doleditor->Create(1); } else { print $comment->description; } print '</div>'; // End comment-description if ($action === 'editcomment' && $comment->id == $idcomment) { print '<input name="update" type="submit" class="button" value="'.$langs->trans("Update").'">'; print '<input name="cancel" type="submit" class="button" value="'.$langs->trans("Cancel").'">'; print '</form>'; } else { if ($fk_user == $user->id || $user->admin == 1) { print '<a class="comment-edit comment-cell" href="'.$varpage.'?action=editcomment&id='.$id.'&withproject=1&idcomment='.$comment->id.'#comment" title="'.$langs->trans('Edit').'">'; print img_picto('', 'edit.png'); print '</a>'; } if (($first && $fk_user == $user->id) || $user->admin == 1) { print '<a class="comment-delete comment-cell" href="'.$varpage.'?action=deletecomment&id='.$id.'&withproject=1&idcomment='.$comment->id.'" title="'.$langs->trans('Delete').'">'; print img_picto('', 'delete.png'); print '</a>'; } } print '</div>'; // End comment-table print '</div>'; // End comment-right print '</div>'; // End comment if ($fk_user == $user->id) { print '<div class="width25p float"> </div>'; } print '<div class="clearboth"></div>'; print '</div>'; // end 100p $first = false; } } print '<br>'; print '</div>';