mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-19 17:51:02 +00:00
more update
This commit is contained in:
@@ -10,6 +10,8 @@ foreach($topics as $top) {
|
|||||||
}
|
}
|
||||||
foreach($posts as $pos) {
|
foreach($posts as $pos) {
|
||||||
$poss = stripslashes($pos['post']);
|
$poss = stripslashes($pos['post']);
|
||||||
|
$poss = preg_replace('/\[message\]/', '', $poss);
|
||||||
|
$poss = preg_replace('/\[\/message\]/', '', $poss);
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<form method="post" name="post" action="allianz.php?s=2&fid2=<?php echo $_GET['fid2']; ?>&pid=<?php echo $_GET['pid']; ?>&tid=<?php echo $_GET['idt']; ?>">
|
<form method="post" name="post" action="allianz.php?s=2&fid2=<?php echo $_GET['fid2']; ?>&pid=<?php echo $_GET['pid']; ?>&tid=<?php echo $_GET['idt']; ?>">
|
||||||
|
|||||||
@@ -20,11 +20,15 @@ foreach($varray as $vil) {
|
|||||||
$countAu = $database->CountTopic($arr['owner']);
|
$countAu = $database->CountTopic($arr['owner']);
|
||||||
$displayarray = $database->getUserArray($arr['owner'],1);
|
$displayarray = $database->getUserArray($arr['owner'],1);
|
||||||
if($displayarray['tribe'] == 1) {
|
if($displayarray['tribe'] == 1) {
|
||||||
$trip = "Roman";
|
$trip = "Fire";
|
||||||
}else if($displayarray['tribe'] == 2) {
|
}else if($displayarray['tribe'] == 2) {
|
||||||
$trip = "Teutons";
|
$trip = "Water";
|
||||||
}else if($displayarray['tribe'] == 3) {
|
}else if($displayarray['tribe'] == 3) {
|
||||||
$trip = "Gauls";
|
$trip = "Earth";
|
||||||
|
}else if($displayarray['tribe'] == 4) {
|
||||||
|
$trip = "Air";
|
||||||
|
}else if($displayarray['tribe'] == 5) {
|
||||||
|
$trip = "Lightning";
|
||||||
}
|
}
|
||||||
$input = $arr['post'];
|
$input = $arr['post'];
|
||||||
$bbcoded = $input;
|
$bbcoded = $input;
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ $topics = $database->ShowTopic($topic_id);
|
|||||||
foreach($topics as $top) {
|
foreach($topics as $top) {
|
||||||
$title = stripslashes($top['title']);
|
$title = stripslashes($top['title']);
|
||||||
$ans = stripslashes($top['post']);
|
$ans = stripslashes($top['post']);
|
||||||
|
$ans = preg_replace('/\[message\]/', '', $ans);
|
||||||
|
$ans = preg_replace('/\[\/message\]/', '', $ans);
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<form method="post" name="post" action="allianz.php?s=2&fid2=<?php echo $_GET['fid2']; ?>&pid=<?php echo $_GET['pid']; ?>&tid=<?php echo $_GET['idt']; ?>">
|
<form method="post" name="post" action="allianz.php?s=2&fid2=<?php echo $_GET['fid2']; ?>&pid=<?php echo $_GET['pid']; ?>&tid=<?php echo $_GET['idt']; ?>">
|
||||||
|
|||||||
Reference in New Issue
Block a user