return getPostElement(element).attr("id");
}
+function getPostTime(element) {
+ return getPostElement(element).find(".storage-time").text();
+}
+
function getReplyElement(element) {
return $(element).parents(".reply");
}
return getReplyElement(element).attr("id");
}
+function getReplyTime(element) {
+ return getReplyElement(element).find(".storage-time").text();
+}
+
function likePost(postId) {
$.getJSON("ajax/like.ajax", { "type": "post", "post" : postId, "formPassword": getFormPassword() }, function(data, textStatus) {
if ((data == null) || !data.success) {