|
Revision 776, 1.2 KB
(checked in by michiel, 9 months ago)
|
|
update copyright year.
Closes #180
|
| Line | |
|---|
| 1 | <?php |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | |
|---|
| 5 | |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | |
|---|
| 9 | |
|---|
| 10 | |
|---|
| 11 | |
|---|
| 12 | |
|---|
| 13 | |
|---|
| 14 | |
|---|
| 15 | |
|---|
| 16 | |
|---|
| 17 | |
|---|
| 18 | |
|---|
| 19 | |
|---|
| 20 | require("mvblog.php"); |
|---|
| 21 | $mvblog = new MvBlog(); |
|---|
| 22 | $comment = "<b><i>Comment preview: </i></b>"; |
|---|
| 23 | $commentdata["title"] = htmlspecialchars(stripslashes($_REQUEST["title"])); |
|---|
| 24 | $commentdata["comment"] = nl2br($mvblog->parse_bbcode($mvblog->strip_invalid_xml(stripslashes($_REQUEST["comment"])))); |
|---|
| 25 | $commentdata["name"] = htmlspecialchars(stripslashes($_REQUEST["name"])); |
|---|
| 26 | $commentdata["ip"] = $mvblog->obfuscate_ip($_SERVER["REMOTE_ADDR"]); |
|---|
| 27 | $commentdata["email"] = htmlspecialchars(stripslashes($_REQUEST["email"])); |
|---|
| 28 | $commentdata["website"] = htmlspecialchars(stripslashes($_REQUEST["website"])); |
|---|
| 29 | $comment .= $mvblog->show_comment($commentdata); |
|---|
| 30 | echo $comment; |
|---|
| 31 | ?> |
|---|