⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.63
Server IP:
217.76.53.76
Server:
Linux vmi1397931.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64
Server Software:
Apache
PHP Version:
8.2.27
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
www
/
wwwroot
/
test2.webi.com.ng
/
app
/
Models
/
View File Name :
ActivityLog.php
hasOne('App\Models\User', 'id', 'user_id'); } public function getRemark() { $remark = json_decode($this->remark, true); if($remark) { $user = $this->user; if($user) { $user_name = $user->name; } else { $user_name = ''; } if($this->log_type == 'Upload File') { return $user_name . ' ' . __('Upload new file') . '
' . $remark['file_name'] . '
'; } elseif($this->log_type == 'Create Task') { return $user_name . ' ' . __('Create new Task') . "
" . $remark['title'] . "
"; } elseif($this->log_type == 'Add Product') { return $user_name . ' ' . __('Add new Products') . "
" . $remark['title'] . "
"; } elseif($this->log_type == 'Update Sources') { return $user_name . ' ' . __('Update Sources'); } elseif($this->log_type == 'Create Deal Call') { return $user_name . ' ' . __('Create new Deal Call'); } elseif($this->log_type == 'Create Deal Email') { return $user_name . ' ' . __('Create new Deal Email'); } elseif($this->log_type == 'Move') { return $user_name . " " . __('Moved the deal') . "
" . $remark['title'] . "
" . __('from') . " " . __(ucwords(!empty($remark['old_status'])?$remark['old_status']:'')) . " " . __('to') . " " . __(ucwords($remark['new_status'])); } } else { return $this->remark; } } public function logIcon($type = '') { $icon = ''; if(!empty($type)) { if($type == 'Invite User') { $icon = 'user'; } else if($type == 'User Assigned to the Task') { $icon = 'user-check'; } else if($type == 'User Removed from the Task') { $icon = 'user-x'; } else if($type == 'Upload File') { $icon = 'upload-cloud'; } else if($type == 'Create Milestone') { $icon = 'crop'; } else if($type == 'Create Bug') { $icon = 'alert-triangle'; } else if($type == 'Create Task') { $icon = 'list'; } else if($type == 'Move Task') { $icon = 'command'; } else if($type == 'Create Expense') { $icon = 'clipboard'; } else if($type == 'Move') { $icon = 'move'; } elseif($type == 'Add Product') { $icon = 'shopping-cart'; } elseif($type == 'Upload File') { $icon = 'file'; } elseif($type == 'Update Sources') { $icon = 'airplay'; } elseif($type == 'Create Deal Call') { $icon = 'phone-call'; } elseif($type == 'Create Deal Email') { $icon = 'voicemail'; } elseif($type == 'Create Invoice') { $icon = 'file-plus'; } elseif($type == 'Add Contact') { $icon = 'book'; } elseif($type == 'Create Task') { $icon = 'list'; } } return $icon; } }