<div class="col-sm-7" style="padding: 10px 20px 0 10px  ">
    <p class="text-justify" id="post_detail<?php echo $note_alert_value->post_id ?>"
    <?php
    if ($note_alert_value->post_type == 2) {
        echo 'style="color:#a70b0c;"';
    }
    ?> >

        <?php
        if (strlen($note_alert_value->post_details) > 150) {
            $limited_string = mb_substr($note_alert_value->post_details, 0, 150, 'utf-8');
            echo $this->cf->view_emoticons($limited_string);
            ?>
            <a href="javascript:void(0)" style="padding-left: 10px;"
               onclick="viewDetails('<?php echo base_url() . 'post/view_post_details/' . $note_alert_value->post_id . '/post' ?>', 'post_detail', '<?php echo $note_alert_value->post_id ?>')" >
                more...
            </a>
            <?php
        } else {
            echo $this->cf->view_emoticons($note_alert_value->post_details);
        }
        ?>

    </p>
</div>
<div class="col-sm-3" style="padding: 10px 0 0 0  ">
    <?php echo $note_alert_value->post_date_time; ?>
</div>
<div class="col-sm-2" style="padding: 10px 0 0 0" id="note_alert_action<?php echo $note_alert_value->post_id ?>">
    <?php
    if ($note_alert_value->post_status == 1) {
        ?>
        <a href="javascript:void(0)" onclick="changePostStatus('<?php echo base_url() . 'post/change_post_status/' . $note_alert_value->post_id . '/inactive' ?>', '<?php echo $note_alert_value->post_id ?>')">
            <i class="fa fa-user-times " title="Inactive"></i>
        </a>&nbsp;
    <?php } else { ?>
        <a href="javascript:void(0)" onclick="changePostStatus('<?php echo base_url() . 'post/change_post_status/' . $note_alert_value->post_id . '/active' ?>', '<?php echo $note_alert_value->post_id ?>')">
            <i class="fa fa-user-plus " title="Active"></i>
        </a>&nbsp;
    <?php } ?>

    <a href="javascript:void(0)" onclick="editPost('<?php echo base_url() . 'post/edit_post_form/' . $note_alert_value->post_id; ?>', '<?php echo $note_alert_value->post_id ?>')">
        <i class="fa fa-edit" title="Edit"></i>
    </a>&nbsp;
    <a href="javascript:void(0)" onclick="changePostStatus('<?php echo base_url() . 'post/change_post_status/' . $note_alert_value->post_id . '/delete' ?>', '<?php echo $note_alert_value->post_id ?>')" >
        <i class="fa fa-trash-o" title="Delete"></i>
    </a>&nbsp;
    <a href="<?php echo base_url() ?>view-content"><i class="fa fa-th" title="View"></i></a>&nbsp;
</div>