<?php session_start(); include '../model/diary_model.php'; include '../model/comment_model.php'; include '../model/notify_model.php'; include '../model/user_model.php'; include '../model/like_model.php'; include '../model/friend_model.php'; $f = new FriendModel(); $l = new LikeModel(); $t = new DIaryModel(); $diary = array(array()); $diary = $t->getDiaryOfUserfriend($_SESSION['id']); $c = new CommentModel(); $n = new NotifyModel(); $m = new NotifyModel(); $u2 = new UserModel(); $u = new UserModel(); $typeseach = $_GET['type']; ?> <?php //include_once 'header.php'; ?> <!DOCTYPE html> <html lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> <title>My Diary</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1">