blob: e928daae340484b82666954ec8a9f19767397554 (
plain)
1
2
3
4
5
6
7
8
9
10
|
<?php
require_once 'inc/functions.php';
checkBan();
if(@strlen($_POST["text"])>0) {
file_put_contents("attentionbar.txt",$_POST["text"]);
if(strlen($_SERVER['HTTP_REFERER'])>0) { header('Location: ' . $_SERVER['HTTP_REFERER']); }
else { header('Location: /'); }
} else print(file_get_contents("attentionbar.txt"));
return;
?>
|