<span>&nbsp;&nbsp;</span>
<?php
if ($menu_value->menu_status == 2) {
    ?>
    <a href="javascript:void(0)"
       onclick="checkChildID('<?php echo base_url() . 'super-admin/change-menu-status/' . $menu_value->menu_id; ?>', 'active', '<?php echo $menu_value->menu_id; ?>')" >
        <i class="fa fa-user-plus" title="Acitve"></i>
    </a>
    <span>&nbsp</span>
    <?php
} else {
    if ($menu_value->menu_status == 1) {
        ?>
        <a href="javascript:void(0)"
           onclick="checkChildID('<?php echo base_url() . 'super-admin/change-menu-status/' . $menu_value->menu_id; ?>', 'inactive', '<?php echo $menu_value->menu_id; ?>')" >
            <i class="fa fa-user-times" title="Inactive"></i>
        </a>
        <span>&nbsp</span>
        <a href="javascript:void(0)"
           onclick="checkChildID('<?php echo base_url() . 'super-admin/change-menu-status/' . $menu_value->menu_id; ?>', 'archive', '<?php echo $menu_value->menu_id; ?>')" >
            <i class="fa fa-archive" title="Archive"></i>
        </a>
        <span>&nbsp</span>
        <?php
    } else if ($menu_value->menu_status == 3) {
        ?>
        <a href="javascript:void(0)"
           onclick="checkChildID('<?php echo base_url() . 'super-admin/change-menu-status/' . $menu_value->menu_id; ?>', 'active', '<?php echo $menu_value->menu_id; ?>')" >
            <i class="fa fa-user-plus" title="Acitve"></i>
        </a>
        <span>&nbsp</span>
        <a href="javascript:void(0)"
           onclick="checkChildID('<?php echo base_url() . 'super-admin/change-menu-status/' . $menu_value->menu_id; ?>', 'archive', '<?php echo $menu_value->menu_id; ?>')" >
            <i class="fa fa-archive" title="Archive"></i>
        </a>
        <span>&nbsp</span>
        <?php
    }
}
?>

<a href="javascript:void(0)"
   onclick="checkChildID('<?php echo base_url() . 'super-admin/change-menu-status/' . $menu_value->menu_id; ?>', 'delete', '<?php echo $menu_value->menu_id; ?>')" >
    <i class="fa fa-trash-o" title="Delete"></i>
</a>
<span>&nbsp</span>
<a href="<?php echo base_url() ?>super-admin/edit-menu/<?php echo $menu_value->url; ?>"><i class="fa fa-edit" title="Edit"></i></a>