more update

This commit is contained in:
unknown
2013-04-12 12:04:17 +03:00
parent 4d89393077
commit 06d7018b22
3 changed files with 11 additions and 3 deletions
+2
View File
@@ -10,6 +10,8 @@ foreach($topics as $top) {
}
foreach($posts as $pos) {
$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']; ?>">
+7 -3
View File
@@ -20,11 +20,15 @@ foreach($varray as $vil) {
$countAu = $database->CountTopic($arr['owner']);
$displayarray = $database->getUserArray($arr['owner'],1);
if($displayarray['tribe'] == 1) {
$trip = "Roman";
$trip = "Fire";
}else if($displayarray['tribe'] == 2) {
$trip = "Teutons";
$trip = "Water";
}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'];
$bbcoded = $input;
+2
View File
@@ -6,6 +6,8 @@ $topics = $database->ShowTopic($topic_id);
foreach($topics as $top) {
$title = stripslashes($top['title']);
$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']; ?>">