mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 08:34:33 +00:00
da0828e83e
You can no longer rename other WW or your village WW if you don't have one.
21 lines
1012 B
PHP
Executable File
21 lines
1012 B
PHP
Executable File
<?php
|
|
#################################################################################
|
|
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
|
## --------------------------------------------------------------------------- ##
|
|
## Filename WorldWonderName.php ##
|
|
## Developed by: Dzoki ##
|
|
## License: TravianX Project ##
|
|
## Copyright: TravianX (c) 2010-2011. All rights reserved. ##
|
|
## ##
|
|
#################################################################################
|
|
|
|
include("../Village.php");
|
|
if(isset($_POST['wwname']) && !empty($_POST['wwname']) && $village->natar){
|
|
$database->submitWWname($village->wid,$_POST['wwname']);
|
|
header("Location: ../../build.php?id=99&n");
|
|
}else{
|
|
header("Location: ../../dorf2.php");
|
|
}
|
|
|
|
|
|
?>
|