summaryrefslogtreecommitdiff
path: root/attentionbar.php
diff options
context:
space:
mode:
authorasiekierka <asiekierka@gmail.com>2012-12-23 19:01:59 +0100
committerasiekierka <asiekierka@gmail.com>2012-12-23 19:01:59 +0100
commit260415fb5f1550dc12a09eac57290802121831ba (patch)
tree6fe7a591ff870da641801cb1c5c0db8aca19c896 /attentionbar.php
parent94e472438c1ae917a4b18d7a781459c0d226c4b8 (diff)
fixed to english
Diffstat (limited to 'attentionbar.php')
-rw-r--r--attentionbar.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/attentionbar.php b/attentionbar.php
new file mode 100644
index 00000000..e928daae
--- /dev/null
+++ b/attentionbar.php
@@ -0,0 +1,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;
+?>