<?php $page_base = ''; get_header(''); ?> <!-- begin row --> <div class="row"> <div class="col-md-8"> <?php get_notification($notification); get_form_start(base_url() . 'hobby/add_hobby', 'Add Hobby', ''); get_field('Hobby Name', 'text', 'name', 'required'); get_form_close("Add Hobby"); ?> </div> </div> <?php $page_base = ''; get_footer($page_base);
echo $total; ?> </a> <ul class="dropdown-menu notification_ul" style="width:350px"> <?php echo $html['html']; ?> </ul> </li> <li> <a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <span class="glyphicon glyphicon-bell" style="color:white" aria-hidden="true"></span> </a> <?php $this->load->helper('notification'); $html = get_notification(); ?> <ul class="dropdown-menu notification_ul"> <?php echo $html; ?> </ul> </li> <?php $user_id = is_logged_in(); if ($user_id) { ?> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Hi <?php echo user_meta('first_name'); ?>
private function processNotification() { $this->notification = get_notification(); }