mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-27 05:37:15 +00:00
Fix some sql inject & Add Credits
Fix some sql inject & Add Credits
This commit is contained in:
+15
-10
@@ -1,16 +1,21 @@
|
||||
<?php
|
||||
|
||||
#################################################################################
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename : chat.tpl ##
|
||||
## Type : Alliance Internal Chat ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Developed by : Shadow ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Contact : cata7007@gmail.com ##
|
||||
## Project : TravianZ ##
|
||||
## URLs: : https://travianz.org ##
|
||||
## GitHub : https://github.com/Shadowss/TravianZ ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## License : TravianZ Project ##
|
||||
## Copyright : TravianZ (c) 2010-2026. All rights reserved. ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Project: TravianZ (Incremental Refactor SAFE) ##
|
||||
## File: chat.tpl ##
|
||||
## Description: Alliance chat (AJAX) ##
|
||||
## Improvements: ##
|
||||
## - Input validation ##
|
||||
## - XSS protection ##
|
||||
## - Fixed invalid HTML structure ##
|
||||
## - Safer JavaScript (no string eval) ##
|
||||
## - Prevent empty / spam messages ##
|
||||
#################################################################################
|
||||
|
||||
// -------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user