fix update spieler.php and graphic.tpl + fix edit forum for player without forum access + fix send resouces + more updates for farmlist (still not 100%)

This commit is contained in:
unknown
2012-04-09 14:37:32 +03:00
parent acf620f833
commit 17ab0ae696
9 changed files with 56 additions and 61 deletions
+2
View File
@@ -76,6 +76,7 @@ if(!isset($_GET['admin'])) {
$_GET['admin'] = null;
}
if($_GET['admin']== "switch_admin"){
if($opt['opt5'] == 1){
if($database->CheckResultEdit($aid) != 1){
$database->CreatResultEdit($aid,1);
}else{
@@ -86,6 +87,7 @@ if($_GET['admin']== "switch_admin"){
}
}
}
}
if($_GET['admin']== "pin"){
$database->StickTopic($_GET[idt],1); // stick topic
}