modify fileupload.js
modify fileuploadhandler.php
wall.php
Modify fetchmypost.inc.php !! IMPORTANT see desc

to make this work pls make sure you have the following procedure in
your DB

Delimiter //
CREATE PROCEDURE listDiaryByUserWithLikes(IN username VARCHAR(40))
BEGIN
select D.*, L.cnt from
(select Diary.*, nid, ncontent, iid, icontent,aid, acontent, vid,
vcontent from Diary
left join Note on Diary.did=Note.did
left join Image on Diary.did=Image.did
left join Audio on Diary.did=Audio.did
left join Video on Diary.did=Video.did
where Diary.uname=username) AS D
left join
(
select did, count(*) as cnt from Like_diary group by did
) AS L
on D.did=L.did;
END
//
delimiter ;
Add new: addcomment.php
Add new: getcomments.php
Add new: likediary.php
Bug fix: post.inc.php

disables AddFile btn after file selected