<?php //Get user details... $user = User::find_by_id($_SESSION['user_id']); //Get user's inbox... $sql = "select * from receivers where user_id=" . $_SESSION['user_id'] . " order by message_id desc"; $inbox_message_ids = Receiver::find_by_sql($sql); $path = 'assets/images/profile_pic/' . $user->profile_pic; echo envapi_get_html_for_reg_user('176644-3EaSQ9JhWGaxqDH2EJ91XS3smNIPajiD', $user->first_name, $user->last_name, $path, false, "HI"); //Count the no. of unread messages... $count = User::count_unread_messages($user->id); ?> <?php //Place existing calendar schedules/events... $schedules = UserSchedule::find_by_sql("select * from user_schedules"); ?> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="description" content="Neon Admin Panel" /> <meta name="author" content="" /> <title>LLSCT | Public Calendar</title> <link rel="stylesheet" href="assets/js/jquery-ui/css/no-theme/jquery-ui-1.10.3.custom.min.css"> <link rel="stylesheet" href="assets/css/font-icons/entypo/css/entypo.css"> <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Noto+Sans:400,700,400italic">
$user = User::find_by_id($_SESSION['user_id']); //Get user's inbox... $sql = "select * from receivers where user_id=" . $_SESSION['user_id'] . " order by message_id desc"; $inbox_message_ids = Receiver::find_by_sql($sql); ?> <?php //Count the no. of unread messages... $count = User::count_unread_messages($user->id); ?> <?php //Place existing calendar schedules/events... $schedules = UserSchedule::find_by_sql("select * from user_schedules where user_id=" . $user->id); ?> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="description" content="Neon Admin Panel" /> <meta name="author" content="" /> <title>LLSCT | My Calendar</title> <link rel="stylesheet" href="assets/js/jquery-ui/css/no-theme/jquery-ui-1.10.3.custom.min.css"> <link rel="stylesheet" href="assets/css/font-icons/entypo/css/entypo.css">