next requirement is to create Like/Dislike in post, 
so user can choose to like or dislike the post.
My idea is just duplicate the function from "Favorite Post" and "Comments" feature
first we create a table for handle the data,
the table is inspired from "Favorite Post"
CREATE TABLE post_likes (
			  id int(10) unsigned NOT NULL auto_increment,
			  user_id int(10) unsigned NOT NULL,
			  post_type enum('public','private') collate utf8_unicode_ci NOT NULL,
			  post_id int(10) unsigned NOT NULL,
                          like_type enum('like','dislike') collate utf8_unicode_ci NOT NULL,
			  date int(10) unsigned NOT NULL,
			  PRIMARY KEY  (id),
			  KEY post_type (post_type,post_id),
			  KEY user_id (user_id)
			) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
next, we will add function in class_post.php, inside_posts.js, view.php, single_post.php
