czaks
10 years ago
4 changed files with 0 additions and 25 deletions
@ -1,11 +0,0 @@ |
|||||
<?php |
|
||||
require_once 'inc/functions.php'; |
|
||||
checkBan(); |
|
||||
$text = isset($_POST['text']) ? $_POST['text'] : ''; |
|
||||
if(strlen($text)>0 && !preg_match('/a href/', $text)) { |
|
||||
file_put_contents("attentionbar.txt",htmlspecialchars($text)); |
|
||||
if(strlen($_SERVER['HTTP_REFERER'])>0) { header('Location: ' . $_SERVER['HTTP_REFERER']); } |
|
||||
else { header('Location: /'); } |
|
||||
} else print(file_get_contents("attentionbar.txt")); |
|
||||
return; |
|
||||
?> |
|
@ -1 +0,0 @@ |
|||||
- * ( Pasek Atencji ) * - |
|
@ -1,8 +0,0 @@ |
|||||
$(document).ready(function(){ |
|
||||
$("#attention_bar").click(function(eO){ $("#attention_bar").css("display","none"); |
|
||||
$("#attention_bar_form").css("display","block"); }); |
|
||||
$.get(configRoot + "attentionbar.txt", function(data) { |
|
||||
$("#attention_bar").html(data); |
|
||||
$("#attention_bar_input").val($("#attention_bar").text()); |
|
||||
}); |
|
||||
}); |
|
Loading…
Reference in new issue