| Server IP : 103.161.17.216 / Your IP : 216.73.216.1 Web Server : nginx/1.18.0 System : Linux tipsysaigoncharming 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 7.4.3-4ubuntu2.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/app.houseland.info/application/views/admin/projects/ |
Upload File : |
<?php defined('BASEPATH') or exit('No direct script access allowed'); ?>
<div class="panel_s">
<div class="panel-body">
<div class="activity-feed">
<?php foreach ($activity as $activity) {
?>
<div class="feed-item">
<div class="row">
<div class="col-md-8">
<div class="date"><span class="text-has-action" data-toggle="tooltip"
data-title="<?php echo e(_dt($activity['dateadded'])); ?>"><?php echo e(time_ago($activity['dateadded'])); ?></span>
</div>
<div class="text">
<?php
$fullname = e($activity['fullname']);
if ($activity['staff_id'] != 0) { ?>
<a
href="<?php echo admin_url('profile/' . $activity['staff_id']); ?>"><?php echo staff_profile_image($activity['staff_id'], ['staff-profile-xs-image', 'pull-left mright10']); ?></a>
<?php } elseif ($activity['contact_id'] != 0) {
$fullname = '<span class="label label-info inline-block mbot5">' . _l('is_customer_indicator') . '</span> ' . $fullname = e($activity['fullname']); ?>
<a
href="<?php echo admin_url('clients/client/' . get_user_id_by_contact_id($activity['contact_id']) . '?contactid=' . $activity['contact_id']); ?>">
<img src="<?php echo e(contact_profile_image_url($activity['contact_id'])); ?>
"
class="staff-profile-xs-image pull-left mright10">
</a>
<?php
} ?>
<?php if ($activity['visible_to_customer'] == 1) {
$checked = 'checked';
} else {
$checked = '';
} ?>
<p class="mtop10 no-mbot">
<?php echo $fullname . ' - <b>' . e($activity['description']) . '</b>'; ?></p>
<p class="no-mbot text-muted mleft30 mtop5"><?php echo $activity['additional_data']; ?></p>
</div>
</div>
<div class="col-md-4 text-right">
<p class="text-muted"><?php echo _l('project_activity_visible_to_customer'); ?></p>
<div class="pull-right">
<div class="onoffswitch">
<input type="checkbox" <?php if (staff_cant('create', 'projects')) {
echo 'disabled';
} ?> id="<?php echo e($activity['id']); ?>" data-id="<?php echo e($activity['id']); ?>" class="onoffswitch-checkbox"
data-switch-url="<?php echo admin_url(); ?>projects/change_activity_visibility"
<?php echo e($checked); ?>>
<label class="onoffswitch-label" for="<?php echo e($activity['id']); ?>"></label>
</div>
</div>
</div>
<div class="clearfix"></div>
<div class="col-md-12">
<hr class="hr-10" />
</div>
</div>
</div>
<?php } ?>
</div>
</div>
</div>