mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-26 21:27:15 +00:00
big update
This commit is contained in:
@@ -38,7 +38,15 @@ if($msg)
|
||||
<div class="clear"></div>
|
||||
<div class="line"></div>
|
||||
<div class="message" style="min-height: 10px;">
|
||||
<?php echo $msg[0]['message'];?>
|
||||
<?php
|
||||
$input = $msg[0]['message'];
|
||||
$alliance = $msg[0]['alliance'];
|
||||
$player = $msg[0]['player'];
|
||||
$coor = $msg[0]['coor'];
|
||||
$report = $msg[0]['report'];
|
||||
include("../GameEngine/BBCode.php");
|
||||
echo stripslashes(nl2br($bbcoded));
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<div id="read_foot" class="msg_foot"></div>
|
||||
|
||||
+1
-2
@@ -42,8 +42,7 @@ class funct {
|
||||
case addBan:
|
||||
if($get['time']){$end = time()+$get['time']; }else{$end = '';}
|
||||
|
||||
if(preg_match("/^[0-9]+$/",$get['uid'])){
|
||||
//if(eregi("^[0-9]*+$",$get['uid'])){
|
||||
if(is_numeric($get['uid'])){
|
||||
$get['uid'] = $get['uid'];
|
||||
}else{
|
||||
$get['uid'] = $database->getUserField($get['uid'],'id',1);
|
||||
|
||||
Reference in New Issue
Block a user