You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
336 B
11 lines
336 B
12 years ago
|
<?php
|
||
|
require_once 'inc/functions.php';
|
||
12 years ago
|
checkBan();
|
||
|
if(@strlen($_POST["text"])>0) {
|
||
|
file_put_contents("attentionbar.txt",$_POST["text"]);
|
||
12 years ago
|
if(strlen($_SERVER['HTTP_REFERER'])>0) { header('Location: ' . $_SERVER['HTTP_REFERER']); }
|
||
|
else { header('Location: /'); }
|
||
12 years ago
|
} else print(file_get_contents("attentionbar.txt"));
|
||
12 years ago
|
return;
|
||
12 years ago
|
?>
|