" . print_post(stripslashes($title), stripslashes($body), time(), $color, "", false) . "
Modify post
Bad password.
"); else { $title = preparse($_POST['title']); $body = preparse($_POST['body']); if(!mysql_query("INSERT into posts (title, body, color, time) VALUES ('" . $title . "', '" . $body . "', '" . $color . "', '" . time() . "')")) print("Error inserting data into database, please try again later.
"); else print("Post created.
"); } } else { ?>Create a post