fix special characters when send troops + add auto medals update system

This commit is contained in:
yi12345
2013-09-15 11:37:49 +02:00
parent f0024248d5
commit fdd9d3dc4d
6 changed files with 598 additions and 43 deletions
+1
View File
@@ -91,6 +91,7 @@ class Process {
$text = preg_replace("'%GP_LOCATE%'", $_POST['gp_locate'], $text);
$text = preg_replace("'%PLUS_TIME%'", $_POST['plus_time'], $text);
$text = preg_replace("'%PLUS_PRODUCTION%'", $_POST['plus_production'], $text);
$text = preg_replace("'%MEDALINTERVAL%'", $_POST['medalinterval'], $text);
$text = preg_replace("'%GREAT_WKS%'", $_POST['great_wks'], $text);
$text = preg_replace("'%TS_THRESHOLD%'", $_POST['ts_threshold'], $text);
$text = preg_replace("'%WW%'", $_POST['ww'], $text);