database_query("INSERT INTO ".$database->database_real_escape_string($_POST["object"])." SET videocomment_video_id='".$database->database_real_escape_string($_POST["object_id"])."', videocomment_authoruser_id='".$database->database_real_escape_string($_POST["user"])."', videocomment_date='".$time."', videocomment_body='".$database->database_real_escape_string($_POST["comment"])."'"); } elseif($_POST["object"]=="se_mediacomments"){ $database->database_query("INSERT INTO ".$database->database_real_escape_string($_POST["object"])." SET mediacomment_media_id='".$database->database_real_escape_string($_POST["object_id"])."', mediacomment_authoruser_id='".$database->database_real_escape_string($_POST["user"])."', mediacomment_date='".$time."', mediacomment_body='".$database->database_real_escape_string($_POST["comment"])."'"); } $owner=new SEUser(Array($_POST["user"])); ?>
"> user_photo("./images/nophoto.png"); echo $owner->userprofiledot($profilepicture, "75px");?>
user_info['user_id'] != $user->user_info['user_id'] ) { $notifytype = $notify->notify_add( $owner->user_info['user_id'], $this->comment_type."comment", $this->comment_identifying_value, Array( $owner->user_info['user_username'], $this->comment_identifying_value, $object_owner_id ), Array($object_title) ); $object_url = $url->url_base.vsprintf($notifytype['notifytype_url'], Array($owner->user_info['user_username'], $this->comment_identifying_value)); $owner->user_settings(); if( $owner->usersetting_info['usersetting_notify_'.$this->comment_type.'comment'] ) { //send_systememail($this->comment_type."comment", $owner->user_info['user_email'], Array($owner->user_displayname, $commenter, "$object_url")); } } } exit; function general(){} include "footer.php";